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
#define _GNU_SOURCE | |
#include <dlfcn.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <fcntl.h> | |
#include <linux/videodev2.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
static uint32_t (*real_local_sdk_video_set_encode_frame_callback)(uint32_t param1,uint32_t param2)=NULL; | |
typedef uint32_t (* framecb)(uint32_t); | |
void *pfunccb=NULL; | |
int cnt=0; | |
char fname[255]; | |
static uint32_t test_capture(void *param){ | |
// param is malloc'd pointer | |
if( cnt < 1000) { | |
fprintf(stderr,"callback!!!!!![%p]\n",param); |
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
System startup | |
hello, open console | |
do_auto_sd_update: detect flash size: 0x1000000, gsdexist=0 | |
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
#!/bin/sh | |
set -x | |
echo "========== It works! ===========" | |
echo "========== It works! ===========" | |
echo "========== It works! ===========" | |
mkdir /tmp/dump | |
mount /dev/mmcblk0p1 /tmp/dump | |
dd if=/dev/mtdblock0 of=/tmp/dump/0_boot.bin |
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
U-Boot SPL 2013.07 (Mar 19 2021 - 11:29:15) | |
Timer init | |
CLK stop | |
PLL init | |
pll_init:366 |
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
rst:0x5 (DEEPSLEEP_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) | |
configsip: 0, SPIWP:0x00 | |
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 | |
mode:DIO, clock div:2 | |
load:0x3fff0008,len:4 | |
load:0x3fff000c,len:3348 | |
load:0x40078000,len:11408 | |
load:0x40080000,len:268 | |
entry 0x40080034 | |
W (30) boot: force 0, enable 1, tieh 0, drefh 0, drefm 0, drefl 1 |
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
############################################################################################################ | |
# | |
# General Setting | |
# | |
############################################################################################################ | |
- general: MTK_PLATFORM_CFG | |
info: | |
- config_version: V1.1.2 | |
platform: MT6737M | |
project: x6068_blu_s3_37m35 |
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
from gps3 import gps3 | |
gps_socket = gps3.GPSDSocket() | |
data_stream = gps3.DataStream() | |
gps_socket.connect() | |
gps_socket.watch() | |
for new_data in gps_socket: | |
if new_data: | |
data_stream.unpack(new_data) |
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
############################################################################################################ | |
# | |
# General Setting | |
# | |
############################################################################################################ | |
- general: MTK_PLATFORM_CFG | |
info: | |
- config_version: V1.1.2 | |
platform: MT6580 | |
project: nck_team |
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
############################################################################################################ | |
# | |
# General Setting | |
# | |
############################################################################################################ | |
- general: MTK_PLATFORM_CFG | |
info: | |
- config_version: V1.1.2 | |
platform: MT6580 | |
project: honeylab |