arm-openwrt-linux-uclibcgnueabi-gcc -std=c99 -Os -ffunction-sections -Wl,--gc-sections
-fno-asynchronous-unwind-tables -Wl,--strip-all -DNDEBUG
-L/src/chaos_calmer/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/usr/lib
-L/src/chaos_calmer/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/lib
-L/src/chaos_calmer/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib
-L/src/chaos_calmer/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib CMakeFiles/venc.dir/sample_venc/sample_venc.c.o CMakeFiles/venc.dir/sample_venc/jpg.c.o
CMakeFiles/venc.dir/sample_venc/h264.c.o CMakeFiles/venc.dir/common/sample_comm_audio.c.o
CMakeFiles/venc.dir/common/sample_comm_isp.c.o CMakeFiles/venc.dir/common/sample_comm_ive.c.o
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.gitmodules b/.gitmodules | |
index f3eb902..ca26136 100644 | |
--- a/.gitmodules | |
+++ b/.gitmodules | |
@@ -1,7 +1,7 @@ | |
[submodule "src/llvm"] | |
path = src/llvm | |
url = https://github.com/rust-lang/llvm.git | |
- branch = master | |
+ branch = rust-llvm-release-7-0-0-v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@IPCam_HI35xx:/tmp# dmesg | |
[ 0.000000] Booting Linux on physical CPU 0 | |
[ 0.000000] Linux version 3.4.35 (root@0923079cdeb5) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #4 Mon Oct 22 18:14:25 UTC 2018 | |
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 | |
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache | |
[ 0.000000] Machine: hi3518ev200 | |
[ 0.000000] Ignoring unrecognised tag 0x54410010 | |
[ 0.000000] Memory policy: ECC disabled, Data cache writeback | |
[ 0.000000] On node 0 totalpages: 9472 | |
[ 0.000000] free_area_init_node: node 0, pgdat c0d62784, node_mem_map c0da1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cam { | |
hostname: '192.168.0.4', | |
username: undefined, | |
password: undefined, | |
port: 80, | |
path: '/onvif/device_service', | |
timeout: 120000, | |
agent: false, | |
preserveAddress: false, | |
events: {}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "types.h" | |
#include "enums.h" | |
void HI_BOOL_json(FILE *file, HI_BOOL *val) { | |
char *str = "unknown"; | |
if (*val == HI_FALSE) str = "HI_FALSE"; | |
if (*val == HI_TRUE) str = "HI_TRUE"; | |
fprintf(file, "%s", str); | |
} | |
void hiPIC_SIZE_E_json(FILE *file, enum hiPIC_SIZE_E *val) { |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
types: | |
- # type | |
size: 8 | |
clang_kind: 107 | |
kind: TYPEDEF | |
hash: 577728 | |
spelling: "ISP_AE_RANGE_S" | |
usr: "c:@S@hiISP_AE_ATTR_S@FI@stISPDGainRange" | |
display_name: "stISPDGainRange" | |
canonical_hash: 2397320344 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"github.com/pions/ice" | |
"log" | |
"strconv" | |
"time" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <sys/ioctl.h> | |
#include <sys/poll.h> | |
#include <sys/time.h> | |
#include <fcntl.h> | |
#include <errno.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn str_err(code :i32) -> String { | |
let _code = code as u32; | |
match _code { | |
0xA0028003 => "ERR_SYS_ILLEGAL_PARAM:".to_owned() + "The parameter configuration is invalid.", | |
0xA0028006 => "ERR_SYS_NULL_PTR:".to_owned() + "The pointer is null.", | |
0xA0028009 => "ERR_SYS_NOT_PERM:".to_owned() + "The operation is forbidden.", | |
0xA0028010 => "ERR_SYS_NOTREADY:".to_owned() + "The system control attributes are not configured.", | |
0xA0028012 => "ERR_SYS_BUSY:".to_owned() + "The system is busy.", | |
0xA002800C => "ERR_SYS_NOMEM:".to_owned() + "The memory fails to be allocated due to some causes such as insufficient system memory.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hisilicon # bootm 0x82000000 | |
## Booting kernel from Legacy Image at 82000000 ... | |
Image Name: Hisilicon OpenWrt Linux-3.4.35 | |
Image Type: ARM Linux Kernel Image (uncompressed) | |
Data Size: 5545328 Bytes = 5.3 MiB | |
Load Address: 80008000 | |
Entry Point: 80008000 | |
Loading Kernel Image ... OK |