Skip to content

Instantly share code, notes, and snippets.

char decidedFilename[1024];
int songNumTray;
int songNumChapter;
int movieFirst=1;
// 曲番号を取得するために、OKD(オケデータ??)を開くときの関数をオーバーライドして番号を保存しておく
int (*okdplayeropen)(void *okdPlayer,int sn,void *songdata,int mode,void *lpInfo);
int _ZN10COkdPlayer4OpenEmP17YMH_OKDP_SONGDATA17YMH_OKDP_OPENMODEPv(
void *okdPlayer,int sn,void *songdata,int mode,void *lpInfo
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;
#pragma pack(1)
typedef struct _noteOnOffData {
unsigned int tickOn;
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <termios.h>
#include <time.h>
#define DEV_NAME "/dev/tty.usbserial-23410"
#define BAUD_RATE B9600
{ÿxosPc0 serial#f050412cc7e4c7e22c7ee7d08699826b subid 0xc4
xenv cs2 ok
Power supply: OK
DRAM0 OK (9)
DRAM1 OK (8)
System startup
Uncompress Ok!
U-Boot 2016.11 (Feb 24 2020 - 14:07:21 +0800)hi3516dv300
Relocation Offset is: 0f6d5000
Relocating to 8fed5000, new gd at 8fe34ef0, sp at 8fe34ed0
MMC:
EMMC/MMC/SD controller initialization.
錂DR Version V1.05 20201214
DDR3, 328MHz
BW=16 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Size=512MB
change to: 328MHz
change to: 528MHz
change to: 784MHz
change to: 924MHz(final freq)
out
渾-Boot 2014.10-RK3399-06-03398-g4e8224e (Mar 22 2021 - 22:41:09), Build: jenkins-SensePassPro_RK3399_JCV_NO_FactoryApp-64
CPU: rk3399
cpu version = 0
CPU's clock information:
aplll = 816000000HZ
apllb = 24000000HZ
gpll = 800000000HZ
aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
aclk_periph_l0 = 266666666HZ, hclk_periph_l0 = 88888888HZ, pclk_periph_l0 = 44444444HZ
40 24 2a 23 30 34 46 46 33 36 46 37 30 30 39 32 30 31 30 36 30 30 30 30 30 37 45 45 31 44 30 30 30 30 30 30 30 30 30 30 30 37 38 45 31 45 30 30 30 30 30 30 30 30 30 30 30 37 45 45 31 44 30 30 30 30 30 30 30 30 30 30 30 37 37 32 31 46 30 30 30 30 30 30 30 30 30 30 30 37 39 41 32 41 30 30 30 30 30 30 30 30 30 30 30 37 39 41 32 41 30 30 30 30 30 30 30 30
40 24 2a 23 30 34 46 46 33 36 46 37 30 30 39 32 30 31 30 36 30 30 30 30 30 37 45 45 31 44 30 30 30 30 30 30 30 30 30 30 30 37 38 45 31 45 30 30 30 30 30 30 30 30 30 30 30 37 45 45 31 44 30 30 30 30 30 30 30 30 30 30 30 37 37 32 31 46 30 30 30 30 30 30 30 30 30 30 30 37 39 41 32 41 30 30 30 30 30 30 30 30 30 30 30 37 39 41 32 41 30 30 30 30 30 30 30 30
40 24 2a 23 30 34 46 46 33 36 46 37 30 30 39 32 30 31 30 36 30 30 30 30 30 37 45 45 31 44 30 30 30 30 30 30 30 30 30 30 30 37 38 45 31 45 30 30 30 30 30 30 30 30 30 30 30 37 45 45 31 44 30 30 30 30 30 30 30 30 30 30 30 37 37 32 31 46 30 30 30 30 30 30 30 30 30 30 30 37 39 41 32 41 30 30 30 30 30 30 30 30 30 30 3
--------- hex ----------
00
30 30 00 31 38 00 0d
30 32 00 31 31 00 30 31 00 30 30 00 32 61 00 0d
35 31 00 32 64 00 35 33 00 34 63 00 33 31 00 0d
30 32 00 32 31 00 30 31 00 30 31 00 32 61 00 0d
30 30 00 30 32 00 0d
30 31 00 31 38 00 0d
30 61 00 31 38 00 0d
30 32 00 31 31 00 30 33 00 32 39 00 32 61 00 0d
U-Boot 2016.11-00008-g646f33f4b5-dirty-gda8418b-dirty (Jul 24 2021 - 14:45:30 +0800)Lombo Technology
V:1033-1.20 D:[24,3,16]672(256) C:912
Relocation Offset is: 0cb0d000
Warning: gmac@01242000 (eth0) using random MAC address - 46:dc:c1:21:a6:69
lschen debug stdio_update bootcmd: lbmmc read 1 0x20000 0x40007fc0 0x1de5; bootm 0x40007fc0 - 0x4f2dedc8
Net: eth0: 42000