WhyCan Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2018-10-12 15:47:08

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

SDK结构和 V3s camdroid SDK 基本相同.

社区逆向出来的编解码器资料: https://github.com/allwinner-zh/media-codec
S3原理图: S3_EVB_Schematic.pdf
S3 贴片图: S3_EVB_SMT.pdf
PMU手册: Allwinner_AXP203_Datasheet_V1_0.pdf

PMU程序:axp20x_19x_17x-driver-20140320.rar

全志S3手册V0.2: Allwinner_S3_Datasheet_V0_2.pdf (索智S3手册)

全志S3手册V1.0: http://www.sochip.com.cn/s3/S3_Datasheet_V1.0.pdf

S3 系统配置手册: S3_System_Configuration_Manual.pdf

S3 开发板规格书: SC1615S_Development_board_specifications_20171031.pdf

S3 硬件资料(原理图,PCB)下载: S3_Hardware.7z




S3的SDK是基于Linux,而不是Camdroid框架, 值得研究。

本站 30 以上朋友,上面小窗我的QQ发给你, 大小约 2.2G字节.

离线

#2 2018-10-12 15:51:32

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

1. 初始化环境:

sudo apt-get update

sudo apt-get install -y git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev ccache \
libgl1-mesa-dev libxml2-utils xsltproc unzip u-boot-tools gawk

2. 解压, 编译

tar xvf zeta.tar.gz
cd workspace
source build/envsetup.sh
zmake all

离线

#3 2018-10-12 15:51:35

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181019135113.png

QQ20181019135154.png

QQ20181019135311.png

QQ20181019135349.png

QQ20181019135640.png

DXP格式原理图与PCB下载: S3_PCB_Project.7z

感谢debugdump网友 @playflash !!!

离线

#4 2018-10-12 15:51:41

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

占坑

离线

#5 2018-10-12 15:51:44

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

占坑

离线

#6 2018-10-12 15:51:47

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181012154519.png

编译正在进行...

离线

#7 2018-10-12 16:46:55

kakatoo
会员
注册时间: 2018-10-08
累计积分: 37

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

支持,搞个4.4或者4.14的LTS kernel啊。 3.4实在有点老.....

最近编辑记录 kakatoo (2018-10-12 16:47:14)

离线

#8 2018-10-12 16:54:26

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

kakatoo 说:

支持,搞个4.4或者4.14的LTS kernel啊。 3.4实在有点老.....

做产品稳定性是第一位的,不追求最新。

离线

#9 2018-10-12 16:58:57

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181012165759.png

LD [M]  net/wireless/lib80211.ko
‘arch/arm/boot/Image’ -> ‘output/bImage’
‘arch/arm/boot/uImage’ -> ‘output/uImage’
‘arch/arm/boot/zImage’ -> ‘output/zImage’
Building modules
regenerate rootfs cpio
11282 blocks
11282 blocks
awk: line 2: function strtonum never defined
awk: line 2: function strtonum never defined
ERROR: build kernel Failed

嗯嗯,只有一个小错误.



找到解决方案:
https://blog.csdn.net/dpppppp/article/details/53018132

sudo apt-get install gawk

离线

#10 2018-10-12 17:05:35

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181012170516.png

QQ20181012171225.png

S3 SDK编译完成, 接下来看看怎么到 V3s 板子上跑跑.

离线

#11 2018-10-12 17:50:01

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

离线

#12 2018-10-12 18:35:39

thor_yu
会员
注册时间: 2018-10-12
累计积分: 18

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

支持
S3可以用这个编解码器的api?那是不是主线linux的V3S也可以用硬编码了?

离线

#13 2018-10-12 19:07:03

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

thor_yu 说:

支持
S3可以用这个编解码器的api?那是不是主线linux的V3S也可以用硬编码了?

对,理论上是可以的,实际操作还要摸索。

离线

#14 2018-10-12 20:26:34

playflash
会员
注册时间: 2018-09-14
累计积分: 77

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

晕哥,在哪下SDK

离线

#15 2018-10-12 20:41:29

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

src_files   = /disk4/zeta/core/tinyalsa//tinyplay.c
asm_files   =  
asm_objects =  
c_files     = /disk4/zeta/core/tinyalsa//tinyplay.c
c_objects   = /disk4/zeta/core/tinyalsa//tinyplay.o
cpp_files   = 
cpp_objects = 
inc_path    = -I/disk4/zeta/core/include/tinyalsa 
shared_libs = 
static_libs = 
whole_static_libs = 
pre_shared_libs = 
all_objects =   /disk4/zeta/core/tinyalsa//tinyplay.o 
all_pre_libs =  
install_targets = /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinyplay
ALL_MODULES=  libtinyalsa.so tinyplay
TARGET_CLEAN =  /disk4/zeta/core/tinyalsa//libtinyalsa.so  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libtinyalsa.so  /disk4/zeta/core/tinyalsa//tinyplay  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinyplay 
private_asflags =  
private_cflags =  -fPIC -Wall -g --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//staging -lc -I/disk4/zeta/core/include -D_GNU_SOURCE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -ffunction-sections -fdata-sections -DUSE_LOG_LIB_GLOG
private_cppflags =  -fPIC -Wall 
private_ldflags = -lcutils -lutils -ltinyalsa  -Wl,--gc-sections -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib
private_arflags =  -rcs
-----------------END----------------------
-----------------begin--------------------
target      = /disk4/zeta/core/tinyalsa//tinycap
src_files   = /disk4/zeta/core/tinyalsa//tinycap.c
asm_files   =  
asm_objects =  
c_files     = /disk4/zeta/core/tinyalsa//tinycap.c
c_objects   = /disk4/zeta/core/tinyalsa//tinycap.o
cpp_files   = 
cpp_objects = 
inc_path    = -I/disk4/zeta/core/include/tinyalsa 
shared_libs = 
static_libs = 
whole_static_libs = 
pre_shared_libs = 
all_objects =   /disk4/zeta/core/tinyalsa//tinycap.o 
all_pre_libs =  
install_targets = /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinycap
ALL_MODULES=  libtinyalsa.so tinyplay tinycap
TARGET_CLEAN =  /disk4/zeta/core/tinyalsa//libtinyalsa.so  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libtinyalsa.so  /disk4/zeta/core/tinyalsa//tinyplay  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinyplay  /disk4/zeta/core/tinyalsa//tinycap  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinycap 
private_asflags =  
private_cflags =  -fPIC -Wall -fPIC -Wall -g --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//staging -lc -I/disk4/zeta/core/include -D_GNU_SOURCE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -ffunction-sections -fdata-sections -DUSE_LOG_LIB_GLOG
private_cppflags =  -fPIC -Wall -fPIC -Wall 
private_ldflags = -lcutils -lutils -ltinyalsa  -Wl,--gc-sections -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib
private_arflags =  -rcs
-----------------END----------------------
-----------------begin--------------------
target      = /disk4/zeta/core/tinyalsa//tinymix
src_files   = /disk4/zeta/core/tinyalsa//tinymix.c
asm_files   =  
asm_objects =  
c_files     = /disk4/zeta/core/tinyalsa//tinymix.c
c_objects   = /disk4/zeta/core/tinyalsa//tinymix.o
cpp_files   = 
cpp_objects = 
inc_path    = -I/disk4/zeta/core/include/tinyalsa 
shared_libs = 
static_libs = 
whole_static_libs = 
pre_shared_libs = 
all_objects =   /disk4/zeta/core/tinyalsa//tinymix.o 
all_pre_libs =  
install_targets = /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinymix
ALL_MODULES=  libtinyalsa.so tinyplay tinycap tinymix
TARGET_CLEAN =  /disk4/zeta/core/tinyalsa//libtinyalsa.so  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libtinyalsa.so  /disk4/zeta/core/tinyalsa//tinyplay  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinyplay  /disk4/zeta/core/tinyalsa//tinycap  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinycap  /disk4/zeta/core/tinyalsa//tinymix  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinymix 
private_asflags =  
private_cflags =  -fPIC -Wall -g --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//staging -lc -I/disk4/zeta/core/include -D_GNU_SOURCE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -ffunction-sections -fdata-sections -DUSE_LOG_LIB_GLOG
private_cppflags =  -fPIC -Wall 
private_ldflags = -lcutils -lutils -ltinyalsa  -Wl,--gc-sections -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib
private_arflags =  -rcs
-----------------END----------------------
make: Entering directory `/disk4/zeta'
   CC    /disk4/zeta/core/tinyalsa//mixer.o 
   CC    /disk4/zeta/core/tinyalsa//pcm.o 
   LD    /disk4/zeta/core/tinyalsa//libtinyalsa.so
   COPY  /disk4/zeta/core/tinyalsa//libtinyalsa.so to /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libtinyalsa.so
   CC    /disk4/zeta/core/tinyalsa//tinyplay.o 
   LD    /disk4/zeta/core/tinyalsa//tinyplay
   COPY  /disk4/zeta/core/tinyalsa//tinyplay to /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinyplay
   CC    /disk4/zeta/core/tinyalsa//tinycap.o 
   LD    /disk4/zeta/core/tinyalsa//tinycap
   COPY  /disk4/zeta/core/tinyalsa//tinycap to /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinycap
   CC    /disk4/zeta/core/tinyalsa//tinymix.o 
   LD    /disk4/zeta/core/tinyalsa//tinymix
   COPY  /disk4/zeta/core/tinyalsa//tinymix to /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/tinymix
make: Leaving directory `/disk4/zeta'
build... /disk4/zeta/core/interface/zeta.in
-----------------begin--------------------
target      = /disk4/zeta/core/interface//libinterface.so
src_files   = /disk4/zeta/core/interface//MemoryBase.cpp /disk4/zeta/core/interface//ZetaDisplayInterface.cpp /disk4/zeta/core/interface//ZetaCameraInterface.cpp /disk4/zeta/core/interface//ZetaMediaPlayInterface.cpp
asm_files   =  
asm_objects =  
c_files     = 
c_objects   = 
cpp_files   = /disk4/zeta/core/interface//MemoryBase.cpp /disk4/zeta/core/interface//ZetaDisplayInterface.cpp /disk4/zeta/core/interface//ZetaCameraInterface.cpp /disk4/zeta/core/interface//ZetaMediaPlayInterface.cpp
cpp_objects = /disk4/zeta/core/interface//MemoryBase.o /disk4/zeta/core/interface//ZetaDisplayInterface.o /disk4/zeta/core/interface//ZetaCameraInterface.o /disk4/zeta/core/interface//ZetaMediaPlayInterface.o
inc_path    = -I/disk4/zeta -I/disk4/zeta/core/include/cutils -I/disk4/zeta/core/include/recorder -I/disk4/zeta/core/include/mediaplayer -I/disk4/zeta/core/include/interface -I/disk4/zeta/core/include/inculde_adas -I/disk4/zeta/core/display -I/disk4/zeta/core/include/hardware -I/disk4/zeta/core/include/media -I/disk4/zeta/core/include/media/openmax -I/disk4/zeta/core/include/system -I/disk4/zeta/core/include/cedar 
shared_libs = libhwdisp.so libcamera.so librecorder.so libAdas.so
static_libs = 
whole_static_libs = 
pre_shared_libs = 
all_objects =    /disk4/zeta/core/interface//MemoryBase.o /disk4/zeta/core/interface//ZetaDisplayInterface.o /disk4/zeta/core/interface//ZetaCameraInterface.o /disk4/zeta/core/interface//ZetaMediaPlayInterface.o
all_pre_libs =  
install_targets = /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libinterface.so
ALL_MODULES=  libinterface.so
TARGET_CLEAN =  /disk4/zeta/core/interface//libinterface.so  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libinterface.so 
private_asflags =  
private_cflags =  -fPIC -Wall -g --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//staging -lc -I/disk4/zeta/core/include -D_GNU_SOURCE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -ffunction-sections -fdata-sections -DUSE_LOG_LIB_GLOG
private_cppflags =  -fPIC -Wall 
private_ldflags =   --shared -Wl,--gc-sections -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib
private_arflags =  -rcs
-----------------END----------------------
make: Entering directory `/disk4/zeta'
   CPP    /disk4/zeta/core/interface//MemoryBase.o
   CPP    /disk4/zeta/core/interface//ZetaDisplayInterface.o
   CPP    /disk4/zeta/core/interface//ZetaCameraInterface.o
   CPP    /disk4/zeta/core/interface//ZetaMediaPlayInterface.o
   LD    /disk4/zeta/core/interface//libinterface.so
   COPY  /disk4/zeta/core/interface//libinterface.so to /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libinterface.so
make: Leaving directory `/disk4/zeta'
build... /disk4/zeta/core/wifi/zeta.in
-----------------begin--------------------
target      = /disk4/zeta/core/wifi//libwifi_ap.so
src_files   = /disk4/zeta/core/wifi//wifi_ap.c
asm_files   =  
asm_objects =  
c_files     = /disk4/zeta/core/wifi//wifi_ap.c
c_objects   = /disk4/zeta/core/wifi//wifi_ap.o
cpp_files   = 
cpp_objects = 
inc_path    = -I/disk4/zeta/core/include/include_wifi 
shared_libs = 
static_libs = 
whole_static_libs = 
pre_shared_libs = 
all_objects =   /disk4/zeta/core/wifi//wifi_ap.o 
all_pre_libs =  
install_targets = /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libwifi_ap.so
ALL_MODULES=  libwifi_ap.so
TARGET_CLEAN =  /disk4/zeta/core/wifi//libwifi_ap.so  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libwifi_ap.so 
private_asflags =  
private_cflags =  -fPIC -g --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//staging -lc -I/disk4/zeta/core/include -D_GNU_SOURCE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -ffunction-sections -fdata-sections -DUSE_LOG_LIB_GLOG
private_cppflags =  
private_ldflags =  -lpthread  --shared -Wl,--gc-sections -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib
private_arflags =  -rcs
-----------------END----------------------
make: Entering directory `/disk4/zeta'
   CC    /disk4/zeta/core/wifi//wifi_ap.o 
   LD    /disk4/zeta/core/wifi//libwifi_ap.so
   COPY  /disk4/zeta/core/wifi//libwifi_ap.so to /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib/libwifi_ap.so
make: Leaving directory `/disk4/zeta'
clean... /disk4/zeta/app/evb/zeta.in
Clear ....
-----------------begin--------------------
target      = /disk4/zeta/app/evb//evb
src_files   = /disk4/zeta/app/evb//src/widget/CdrIcon.cpp /disk4/zeta/app/evb//src/widget/RegisterWidgets.cpp /disk4/zeta/app/evb//src/widget/SubMenu.cpp /disk4/zeta/app/evb//src/widget/showMessageBox.cpp /disk4/zeta/app/evb//src/widget/PopUpMenu.cpp /disk4/zeta/app/evb//src/widget/CdrLabel.cpp /disk4/zeta/app/evb//src/widget/dateSetting.cpp /disk4/zeta/app/evb//src/widget/wifi_info.cpp /disk4/zeta/app/evb//src/widget/coolIndicator.cpp /disk4/zeta/app/evb//src/widget/MenuList.cpp /disk4/zeta/app/evb//src/widget/licensePlateWM.cpp /disk4/zeta/app/evb//src/widget/CdrProgressBar.cpp /disk4/zeta/app/evb//src/widget/TipLabel.cpp /disk4/zeta/app/evb//src/widget/CdrToolTip.cpp /disk4/zeta/app/evb//src/storage/uevent.cpp /disk4/zeta/app/evb//src/storage/Process.cpp /disk4/zeta/app/evb//src/storage/StorageManager.cpp /disk4/zeta/app/evb//src/window/StatusBar.cpp /disk4/zeta/app/evb//src/window/MainWindow.cpp /disk4/zeta/app/evb//src/window/RecordPreview.cpp /disk4/zeta/app/evb//src/window/PlayBack.cpp /disk4/zeta/app/evb//src/window/PlayBackPreview.cpp /disk4/zeta/app/evb//src/window/RegisterCDRWindow.cpp /disk4/zeta/app/evb//src/window/Menu.cpp /disk4/zeta/app/evb//src/window/MainPreview.cpp /disk4/zeta/app/evb//src/window/OtherPreview.cpp /disk4/zeta/app/evb//src/window/ModePreview.cpp /disk4/zeta/app/evb//src/event/ConfigData.cpp /disk4/zeta/app/evb//src/event/EventManager.cpp /disk4/zeta/app/evb//src/power/PowerManager.cpp /disk4/zeta/app/evb//src/server/CdrServer.cpp /disk4/zeta/app/evb//src/misc/CdrTimer.cpp /disk4/zeta/app/evb//src/misc/Dialog.cpp /disk4/zeta/app/evb//src/misc/ResourceManager.cpp /disk4/zeta/app/evb//src/misc/posixTimer.cpp /disk4/zeta/app/evb//src/misc/cdrLang.cpp /disk4/zeta/app/evb//src/misc/wifi_tip.cpp /disk4/zeta/app/evb//src/misc/Message2Str.cpp /disk4/zeta/app/evb//src/misc/Rtc.cpp /disk4/zeta/app/evb//src/misc/cdr_misc.cpp
asm_files   =  
asm_objects =  
c_files     = 
c_objects   = 
cpp_files   = /disk4/zeta/app/evb//src/widget/CdrIcon.cpp /disk4/zeta/app/evb//src/widget/RegisterWidgets.cpp /disk4/zeta/app/evb//src/widget/SubMenu.cpp /disk4/zeta/app/evb//src/widget/showMessageBox.cpp /disk4/zeta/app/evb//src/widget/PopUpMenu.cpp /disk4/zeta/app/evb//src/widget/CdrLabel.cpp /disk4/zeta/app/evb//src/widget/dateSetting.cpp /disk4/zeta/app/evb//src/widget/wifi_info.cpp /disk4/zeta/app/evb//src/widget/coolIndicator.cpp /disk4/zeta/app/evb//src/widget/MenuList.cpp /disk4/zeta/app/evb//src/widget/licensePlateWM.cpp /disk4/zeta/app/evb//src/widget/CdrProgressBar.cpp /disk4/zeta/app/evb//src/widget/TipLabel.cpp /disk4/zeta/app/evb//src/widget/CdrToolTip.cpp /disk4/zeta/app/evb//src/storage/uevent.cpp /disk4/zeta/app/evb//src/storage/Process.cpp /disk4/zeta/app/evb//src/storage/StorageManager.cpp /disk4/zeta/app/evb//src/window/StatusBar.cpp /disk4/zeta/app/evb//src/window/MainWindow.cpp /disk4/zeta/app/evb//src/window/RecordPreview.cpp /disk4/zeta/app/evb//src/window/PlayBack.cpp /disk4/zeta/app/evb//src/window/PlayBackPreview.cpp /disk4/zeta/app/evb//src/window/RegisterCDRWindow.cpp /disk4/zeta/app/evb//src/window/Menu.cpp /disk4/zeta/app/evb//src/window/MainPreview.cpp /disk4/zeta/app/evb//src/window/OtherPreview.cpp /disk4/zeta/app/evb//src/window/ModePreview.cpp /disk4/zeta/app/evb//src/event/ConfigData.cpp /disk4/zeta/app/evb//src/event/EventManager.cpp /disk4/zeta/app/evb//src/power/PowerManager.cpp /disk4/zeta/app/evb//src/server/CdrServer.cpp /disk4/zeta/app/evb//src/misc/CdrTimer.cpp /disk4/zeta/app/evb//src/misc/Dialog.cpp /disk4/zeta/app/evb//src/misc/ResourceManager.cpp /disk4/zeta/app/evb//src/misc/posixTimer.cpp /disk4/zeta/app/evb//src/misc/cdrLang.cpp /disk4/zeta/app/evb//src/misc/wifi_tip.cpp /disk4/zeta/app/evb//src/misc/Message2Str.cpp /disk4/zeta/app/evb//src/misc/Rtc.cpp /disk4/zeta/app/evb//src/misc/cdr_misc.cpp
cpp_objects = /disk4/zeta/app/evb//src/widget/CdrIcon.o /disk4/zeta/app/evb//src/widget/RegisterWidgets.o /disk4/zeta/app/evb//src/widget/SubMenu.o /disk4/zeta/app/evb//src/widget/showMessageBox.o /disk4/zeta/app/evb//src/widget/PopUpMenu.o /disk4/zeta/app/evb//src/widget/CdrLabel.o /disk4/zeta/app/evb//src/widget/dateSetting.o /disk4/zeta/app/evb//src/widget/wifi_info.o /disk4/zeta/app/evb//src/widget/coolIndicator.o /disk4/zeta/app/evb//src/widget/MenuList.o /disk4/zeta/app/evb//src/widget/licensePlateWM.o /disk4/zeta/app/evb//src/widget/CdrProgressBar.o /disk4/zeta/app/evb//src/widget/TipLabel.o /disk4/zeta/app/evb//src/widget/CdrToolTip.o /disk4/zeta/app/evb//src/storage/uevent.o /disk4/zeta/app/evb//src/storage/Process.o /disk4/zeta/app/evb//src/storage/StorageManager.o /disk4/zeta/app/evb//src/window/StatusBar.o /disk4/zeta/app/evb//src/window/MainWindow.o /disk4/zeta/app/evb//src/window/RecordPreview.o /disk4/zeta/app/evb//src/window/PlayBack.o /disk4/zeta/app/evb//src/window/PlayBackPreview.o /disk4/zeta/app/evb//src/window/RegisterCDRWindow.o /disk4/zeta/app/evb//src/window/Menu.o /disk4/zeta/app/evb//src/window/MainPreview.o /disk4/zeta/app/evb//src/window/OtherPreview.o /disk4/zeta/app/evb//src/window/ModePreview.o /disk4/zeta/app/evb//src/event/ConfigData.o /disk4/zeta/app/evb//src/event/EventManager.o /disk4/zeta/app/evb//src/power/PowerManager.o /disk4/zeta/app/evb//src/server/CdrServer.o /disk4/zeta/app/evb//src/misc/CdrTimer.o /disk4/zeta/app/evb//src/misc/Dialog.o /disk4/zeta/app/evb//src/misc/ResourceManager.o /disk4/zeta/app/evb//src/misc/posixTimer.o /disk4/zeta/app/evb//src/misc/cdrLang.o /disk4/zeta/app/evb//src/misc/wifi_tip.o /disk4/zeta/app/evb//src/misc/Message2Str.o /disk4/zeta/app/evb//src/misc/Rtc.o /disk4/zeta/app/evb//src/misc/cdr_misc.o
inc_path    = -I./include/minigui -I/disk4/zeta/app/evb//include/event -I/disk4/zeta/app/evb//include/misc -I/disk4/zeta/app/evb//include/server -I/disk4/zeta/app/evb//include/power -I/disk4/zeta/app/evb//include/storage -I/disk4/zeta/app/evb//include/widget -I/disk4/zeta/app/evb//include/window -I/disk4/zeta/core/include -I/disk4/zeta/core/include/cedar -I/disk4/zeta/core/include/cutils -I/disk4/zeta/core/include/hardware -I/disk4/zeta/core/include/system -I/disk4/zeta/core/include/media -I/disk4/zeta/core/include/interface -I/disk4/zeta/core/display -I/disk4/zeta/core/include/media/openmax -I/disk4/zeta/core/camera -I/disk4/zeta/core/include/recorder -I/disk4/zeta/core/include/mediaplayer 
shared_libs = libcutils.so libinterface.so librecorder.so libmp4v2.so libglog.so libmediaplayer.so
static_libs = 
whole_static_libs = 
pre_shared_libs = 
all_objects =    /disk4/zeta/app/evb//src/widget/CdrIcon.o /disk4/zeta/app/evb//src/widget/RegisterWidgets.o /disk4/zeta/app/evb//src/widget/SubMenu.o /disk4/zeta/app/evb//src/widget/showMessageBox.o /disk4/zeta/app/evb//src/widget/PopUpMenu.o /disk4/zeta/app/evb//src/widget/CdrLabel.o /disk4/zeta/app/evb//src/widget/dateSetting.o /disk4/zeta/app/evb//src/widget/wifi_info.o /disk4/zeta/app/evb//src/widget/coolIndicator.o /disk4/zeta/app/evb//src/widget/MenuList.o /disk4/zeta/app/evb//src/widget/licensePlateWM.o /disk4/zeta/app/evb//src/widget/CdrProgressBar.o /disk4/zeta/app/evb//src/widget/TipLabel.o /disk4/zeta/app/evb//src/widget/CdrToolTip.o /disk4/zeta/app/evb//src/storage/uevent.o /disk4/zeta/app/evb//src/storage/Process.o /disk4/zeta/app/evb//src/storage/StorageManager.o /disk4/zeta/app/evb//src/window/StatusBar.o /disk4/zeta/app/evb//src/window/MainWindow.o /disk4/zeta/app/evb//src/window/RecordPreview.o /disk4/zeta/app/evb//src/window/PlayBack.o /disk4/zeta/app/evb//src/window/PlayBackPreview.o /disk4/zeta/app/evb//src/window/RegisterCDRWindow.o /disk4/zeta/app/evb//src/window/Menu.o /disk4/zeta/app/evb//src/window/MainPreview.o /disk4/zeta/app/evb//src/window/OtherPreview.o /disk4/zeta/app/evb//src/window/ModePreview.o /disk4/zeta/app/evb//src/event/ConfigData.o /disk4/zeta/app/evb//src/event/EventManager.o /disk4/zeta/app/evb//src/power/PowerManager.o /disk4/zeta/app/evb//src/server/CdrServer.o /disk4/zeta/app/evb//src/misc/CdrTimer.o /disk4/zeta/app/evb//src/misc/Dialog.o /disk4/zeta/app/evb//src/misc/ResourceManager.o /disk4/zeta/app/evb//src/misc/posixTimer.o /disk4/zeta/app/evb//src/misc/cdrLang.o /disk4/zeta/app/evb//src/misc/wifi_tip.o /disk4/zeta/app/evb//src/misc/Message2Str.o /disk4/zeta/app/evb//src/misc/Rtc.o /disk4/zeta/app/evb//src/misc/cdr_misc.o
all_pre_libs =  
install_targets = /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/evb
ALL_MODULES=  evb
TARGET_CLEAN =  /disk4/zeta/app/evb//evb  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/evb 
private_asflags =  
private_cflags =  -DCOMPILE_VERSION="\"hexing@zeta 2018-10-13 10:01:22\"" -g --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//staging -lc -I/disk4/zeta/core/include -D_GNU_SOURCE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -ffunction-sections -fdata-sections -DUSE_LOG_LIB_GLOG
private_cppflags =  -g 
private_ldflags =  -lminigui_ths -lutils -lrt -lpthread -law_net -lwifi_ap	 -Wl,--gc-sections -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib
private_arflags =  -rcs
-----------------END----------------------
make: Entering directory `/disk4/zeta'
removed ‘/disk4/zeta/app/evb//evb’
make: Leaving directory `/disk4/zeta'
build... /disk4/zeta/app/evb/zeta.in
-----------------begin--------------------
target      = /disk4/zeta/app/evb//evb
src_files   = /disk4/zeta/app/evb//src/widget/CdrIcon.cpp /disk4/zeta/app/evb//src/widget/RegisterWidgets.cpp /disk4/zeta/app/evb//src/widget/SubMenu.cpp /disk4/zeta/app/evb//src/widget/showMessageBox.cpp /disk4/zeta/app/evb//src/widget/PopUpMenu.cpp /disk4/zeta/app/evb//src/widget/CdrLabel.cpp /disk4/zeta/app/evb//src/widget/dateSetting.cpp /disk4/zeta/app/evb//src/widget/wifi_info.cpp /disk4/zeta/app/evb//src/widget/coolIndicator.cpp /disk4/zeta/app/evb//src/widget/MenuList.cpp /disk4/zeta/app/evb//src/widget/licensePlateWM.cpp /disk4/zeta/app/evb//src/widget/CdrProgressBar.cpp /disk4/zeta/app/evb//src/widget/TipLabel.cpp /disk4/zeta/app/evb//src/widget/CdrToolTip.cpp /disk4/zeta/app/evb//src/storage/uevent.cpp /disk4/zeta/app/evb//src/storage/Process.cpp /disk4/zeta/app/evb//src/storage/StorageManager.cpp /disk4/zeta/app/evb//src/window/StatusBar.cpp /disk4/zeta/app/evb//src/window/MainWindow.cpp /disk4/zeta/app/evb//src/window/RecordPreview.cpp /disk4/zeta/app/evb//src/window/PlayBack.cpp /disk4/zeta/app/evb//src/window/PlayBackPreview.cpp /disk4/zeta/app/evb//src/window/RegisterCDRWindow.cpp /disk4/zeta/app/evb//src/window/Menu.cpp /disk4/zeta/app/evb//src/window/MainPreview.cpp /disk4/zeta/app/evb//src/window/OtherPreview.cpp /disk4/zeta/app/evb//src/window/ModePreview.cpp /disk4/zeta/app/evb//src/event/ConfigData.cpp /disk4/zeta/app/evb//src/event/EventManager.cpp /disk4/zeta/app/evb//src/power/PowerManager.cpp /disk4/zeta/app/evb//src/server/CdrServer.cpp /disk4/zeta/app/evb//src/misc/CdrTimer.cpp /disk4/zeta/app/evb//src/misc/Dialog.cpp /disk4/zeta/app/evb//src/misc/ResourceManager.cpp /disk4/zeta/app/evb//src/misc/posixTimer.cpp /disk4/zeta/app/evb//src/misc/cdrLang.cpp /disk4/zeta/app/evb//src/misc/wifi_tip.cpp /disk4/zeta/app/evb//src/misc/Message2Str.cpp /disk4/zeta/app/evb//src/misc/Rtc.cpp /disk4/zeta/app/evb//src/misc/cdr_misc.cpp
asm_files   =  
asm_objects =  
c_files     = 
c_objects   = 
cpp_files   = /disk4/zeta/app/evb//src/widget/CdrIcon.cpp /disk4/zeta/app/evb//src/widget/RegisterWidgets.cpp /disk4/zeta/app/evb//src/widget/SubMenu.cpp /disk4/zeta/app/evb//src/widget/showMessageBox.cpp /disk4/zeta/app/evb//src/widget/PopUpMenu.cpp /disk4/zeta/app/evb//src/widget/CdrLabel.cpp /disk4/zeta/app/evb//src/widget/dateSetting.cpp /disk4/zeta/app/evb//src/widget/wifi_info.cpp /disk4/zeta/app/evb//src/widget/coolIndicator.cpp /disk4/zeta/app/evb//src/widget/MenuList.cpp /disk4/zeta/app/evb//src/widget/licensePlateWM.cpp /disk4/zeta/app/evb//src/widget/CdrProgressBar.cpp /disk4/zeta/app/evb//src/widget/TipLabel.cpp /disk4/zeta/app/evb//src/widget/CdrToolTip.cpp /disk4/zeta/app/evb//src/storage/uevent.cpp /disk4/zeta/app/evb//src/storage/Process.cpp /disk4/zeta/app/evb//src/storage/StorageManager.cpp /disk4/zeta/app/evb//src/window/StatusBar.cpp /disk4/zeta/app/evb//src/window/MainWindow.cpp /disk4/zeta/app/evb//src/window/RecordPreview.cpp /disk4/zeta/app/evb//src/window/PlayBack.cpp /disk4/zeta/app/evb//src/window/PlayBackPreview.cpp /disk4/zeta/app/evb//src/window/RegisterCDRWindow.cpp /disk4/zeta/app/evb//src/window/Menu.cpp /disk4/zeta/app/evb//src/window/MainPreview.cpp /disk4/zeta/app/evb//src/window/OtherPreview.cpp /disk4/zeta/app/evb//src/window/ModePreview.cpp /disk4/zeta/app/evb//src/event/ConfigData.cpp /disk4/zeta/app/evb//src/event/EventManager.cpp /disk4/zeta/app/evb//src/power/PowerManager.cpp /disk4/zeta/app/evb//src/server/CdrServer.cpp /disk4/zeta/app/evb//src/misc/CdrTimer.cpp /disk4/zeta/app/evb//src/misc/Dialog.cpp /disk4/zeta/app/evb//src/misc/ResourceManager.cpp /disk4/zeta/app/evb//src/misc/posixTimer.cpp /disk4/zeta/app/evb//src/misc/cdrLang.cpp /disk4/zeta/app/evb//src/misc/wifi_tip.cpp /disk4/zeta/app/evb//src/misc/Message2Str.cpp /disk4/zeta/app/evb//src/misc/Rtc.cpp /disk4/zeta/app/evb//src/misc/cdr_misc.cpp
cpp_objects = /disk4/zeta/app/evb//src/widget/CdrIcon.o /disk4/zeta/app/evb//src/widget/RegisterWidgets.o /disk4/zeta/app/evb//src/widget/SubMenu.o /disk4/zeta/app/evb//src/widget/showMessageBox.o /disk4/zeta/app/evb//src/widget/PopUpMenu.o /disk4/zeta/app/evb//src/widget/CdrLabel.o /disk4/zeta/app/evb//src/widget/dateSetting.o /disk4/zeta/app/evb//src/widget/wifi_info.o /disk4/zeta/app/evb//src/widget/coolIndicator.o /disk4/zeta/app/evb//src/widget/MenuList.o /disk4/zeta/app/evb//src/widget/licensePlateWM.o /disk4/zeta/app/evb//src/widget/CdrProgressBar.o /disk4/zeta/app/evb//src/widget/TipLabel.o /disk4/zeta/app/evb//src/widget/CdrToolTip.o /disk4/zeta/app/evb//src/storage/uevent.o /disk4/zeta/app/evb//src/storage/Process.o /disk4/zeta/app/evb//src/storage/StorageManager.o /disk4/zeta/app/evb//src/window/StatusBar.o /disk4/zeta/app/evb//src/window/MainWindow.o /disk4/zeta/app/evb//src/window/RecordPreview.o /disk4/zeta/app/evb//src/window/PlayBack.o /disk4/zeta/app/evb//src/window/PlayBackPreview.o /disk4/zeta/app/evb//src/window/RegisterCDRWindow.o /disk4/zeta/app/evb//src/window/Menu.o /disk4/zeta/app/evb//src/window/MainPreview.o /disk4/zeta/app/evb//src/window/OtherPreview.o /disk4/zeta/app/evb//src/window/ModePreview.o /disk4/zeta/app/evb//src/event/ConfigData.o /disk4/zeta/app/evb//src/event/EventManager.o /disk4/zeta/app/evb//src/power/PowerManager.o /disk4/zeta/app/evb//src/server/CdrServer.o /disk4/zeta/app/evb//src/misc/CdrTimer.o /disk4/zeta/app/evb//src/misc/Dialog.o /disk4/zeta/app/evb//src/misc/ResourceManager.o /disk4/zeta/app/evb//src/misc/posixTimer.o /disk4/zeta/app/evb//src/misc/cdrLang.o /disk4/zeta/app/evb//src/misc/wifi_tip.o /disk4/zeta/app/evb//src/misc/Message2Str.o /disk4/zeta/app/evb//src/misc/Rtc.o /disk4/zeta/app/evb//src/misc/cdr_misc.o
inc_path    = -I./include/minigui -I/disk4/zeta/app/evb//include/event -I/disk4/zeta/app/evb//include/misc -I/disk4/zeta/app/evb//include/server -I/disk4/zeta/app/evb//include/power -I/disk4/zeta/app/evb//include/storage -I/disk4/zeta/app/evb//include/widget -I/disk4/zeta/app/evb//include/window -I/disk4/zeta/core/include -I/disk4/zeta/core/include/cedar -I/disk4/zeta/core/include/cutils -I/disk4/zeta/core/include/hardware -I/disk4/zeta/core/include/system -I/disk4/zeta/core/include/media -I/disk4/zeta/core/include/interface -I/disk4/zeta/core/display -I/disk4/zeta/core/include/media/openmax -I/disk4/zeta/core/camera -I/disk4/zeta/core/include/recorder -I/disk4/zeta/core/include/mediaplayer 
shared_libs = libcutils.so libinterface.so librecorder.so libmp4v2.so libglog.so libmediaplayer.so
static_libs = 
whole_static_libs = 
pre_shared_libs = 
all_objects =    /disk4/zeta/app/evb//src/widget/CdrIcon.o /disk4/zeta/app/evb//src/widget/RegisterWidgets.o /disk4/zeta/app/evb//src/widget/SubMenu.o /disk4/zeta/app/evb//src/widget/showMessageBox.o /disk4/zeta/app/evb//src/widget/PopUpMenu.o /disk4/zeta/app/evb//src/widget/CdrLabel.o /disk4/zeta/app/evb//src/widget/dateSetting.o /disk4/zeta/app/evb//src/widget/wifi_info.o /disk4/zeta/app/evb//src/widget/coolIndicator.o /disk4/zeta/app/evb//src/widget/MenuList.o /disk4/zeta/app/evb//src/widget/licensePlateWM.o /disk4/zeta/app/evb//src/widget/CdrProgressBar.o /disk4/zeta/app/evb//src/widget/TipLabel.o /disk4/zeta/app/evb//src/widget/CdrToolTip.o /disk4/zeta/app/evb//src/storage/uevent.o /disk4/zeta/app/evb//src/storage/Process.o /disk4/zeta/app/evb//src/storage/StorageManager.o /disk4/zeta/app/evb//src/window/StatusBar.o /disk4/zeta/app/evb//src/window/MainWindow.o /disk4/zeta/app/evb//src/window/RecordPreview.o /disk4/zeta/app/evb//src/window/PlayBack.o /disk4/zeta/app/evb//src/window/PlayBackPreview.o /disk4/zeta/app/evb//src/window/RegisterCDRWindow.o /disk4/zeta/app/evb//src/window/Menu.o /disk4/zeta/app/evb//src/window/MainPreview.o /disk4/zeta/app/evb//src/window/OtherPreview.o /disk4/zeta/app/evb//src/window/ModePreview.o /disk4/zeta/app/evb//src/event/ConfigData.o /disk4/zeta/app/evb//src/event/EventManager.o /disk4/zeta/app/evb//src/power/PowerManager.o /disk4/zeta/app/evb//src/server/CdrServer.o /disk4/zeta/app/evb//src/misc/CdrTimer.o /disk4/zeta/app/evb//src/misc/Dialog.o /disk4/zeta/app/evb//src/misc/ResourceManager.o /disk4/zeta/app/evb//src/misc/posixTimer.o /disk4/zeta/app/evb//src/misc/cdrLang.o /disk4/zeta/app/evb//src/misc/wifi_tip.o /disk4/zeta/app/evb//src/misc/Message2Str.o /disk4/zeta/app/evb//src/misc/Rtc.o /disk4/zeta/app/evb//src/misc/cdr_misc.o
all_pre_libs =  
install_targets = /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/evb
ALL_MODULES=  evb
TARGET_CLEAN =  /disk4/zeta/app/evb//evb  /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/evb 
private_asflags =  
private_cflags =  -DCOMPILE_VERSION="\"hexing@zeta 2018-10-13 10:01:23\"" -g --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//staging -lc -I/disk4/zeta/core/include -D_GNU_SOURCE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -ffunction-sections -fdata-sections -DUSE_LOG_LIB_GLOG
private_cppflags =  -g 
private_ldflags =  -lminigui_ths -lutils -lrt -lpthread -law_net -lwifi_ap	 -Wl,--gc-sections -Wl,-rpath-link=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib -Wl,--no-whole-archive -L/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/lib
private_arflags =  -rcs
-----------------END----------------------
make: Entering directory `/disk4/zeta'
   CPP    /disk4/zeta/app/evb//src/widget/CdrIcon.o
   CPP    /disk4/zeta/app/evb//src/widget/RegisterWidgets.o
   CPP    /disk4/zeta/app/evb//src/widget/SubMenu.o
   CPP    /disk4/zeta/app/evb//src/widget/showMessageBox.o
   CPP    /disk4/zeta/app/evb//src/widget/PopUpMenu.o
   CPP    /disk4/zeta/app/evb//src/widget/CdrLabel.o
   CPP    /disk4/zeta/app/evb//src/widget/dateSetting.o
   CPP    /disk4/zeta/app/evb//src/widget/wifi_info.o
   CPP    /disk4/zeta/app/evb//src/widget/coolIndicator.o
   CPP    /disk4/zeta/app/evb//src/widget/MenuList.o
   CPP    /disk4/zeta/app/evb//src/widget/licensePlateWM.o
   CPP    /disk4/zeta/app/evb//src/widget/CdrProgressBar.o
   CPP    /disk4/zeta/app/evb//src/widget/TipLabel.o
   CPP    /disk4/zeta/app/evb//src/widget/CdrToolTip.o
   CC    /disk4/zeta/app/evb//src/storage/uevent.o 
   CPP    /disk4/zeta/app/evb//src/storage/Process.o
   CPP    /disk4/zeta/app/evb//src/storage/StorageManager.o
   CPP    /disk4/zeta/app/evb//src/window/StatusBar.o
   CPP    /disk4/zeta/app/evb//src/window/MainWindow.o
   CPP    /disk4/zeta/app/evb//src/window/RecordPreview.o
   CPP    /disk4/zeta/app/evb//src/window/PlayBack.o
   CPP    /disk4/zeta/app/evb//src/window/PlayBackPreview.o
   CPP    /disk4/zeta/app/evb//src/window/RegisterCDRWindow.o
   CPP    /disk4/zeta/app/evb//src/window/Menu.o
   CPP    /disk4/zeta/app/evb//src/window/MainPreview.o
   CPP    /disk4/zeta/app/evb//src/window/OtherPreview.o
   CPP    /disk4/zeta/app/evb//src/window/ModePreview.o
   CPP    /disk4/zeta/app/evb//src/event/ConfigData.o
   CPP    /disk4/zeta/app/evb//src/event/EventManager.o
   CPP    /disk4/zeta/app/evb//src/power/PowerManager.o
   CPP    /disk4/zeta/app/evb//src/server/CdrServer.o
   CPP    /disk4/zeta/app/evb//src/misc/CdrTimer.o
   CPP    /disk4/zeta/app/evb//src/misc/Dialog.o
   CPP    /disk4/zeta/app/evb//src/misc/ResourceManager.o
   CPP    /disk4/zeta/app/evb//src/misc/posixTimer.o
   CPP    /disk4/zeta/app/evb//src/misc/cdrLang.o
   CPP    /disk4/zeta/app/evb//src/misc/wifi_tip.o
   CPP    /disk4/zeta/app/evb//src/misc/Message2Str.o
   CPP    /disk4/zeta/app/evb//src/misc/Rtc.o
   CPP    /disk4/zeta/app/evb//src/misc/cdr_misc.o
   LD    /disk4/zeta/app/evb//evb
   COPY  /disk4/zeta/app/evb//evb to /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/usr/bin/evb
make: Leaving directory `/disk4/zeta'
[zeta] Build squashfs rootfs ...
rootdir=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//target/
table='/disk4/zeta/build/rootfs_tar/_device_table.txt'
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot//images/rootfs.squashfs, block size 131072.
[======================================================================================================================================-] 703/703 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 11484.92 Kbytes (11.22 Mbytes)
	34.19% of uncompressed filesystem size (33587.94 Kbytes)
Inode table size 7978 bytes (7.79 Kbytes)
	23.30% of uncompressed inode table size (34247 bytes)
Directory table size 9058 bytes (8.85 Kbytes)
	49.91% of uncompressed directory table size (18148 bytes)
Number of duplicate files found 10
Number of inodes 976
Number of files 513
Number of fragments 63
Number of symbolic links  350
Number of device nodes 3
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 110
Number of ids (unique uids + gids) 2
Number of uids 2
	root (0)
	www-data (33)
Number of gids 2
	root (0)
	www-data (33)
INFO: packing firmware ...
copying tools file
copying configs file
copying multiple configs file
copying boot resource
copying boot file
‘chips/sun8iw8p1/configs/zeta-evb/boot-resource/logo/boot_logo.JPG’ -> ‘out/boot_logo.fex’
‘chips/sun8iw8p1/configs/zeta-evb/boot-resource/logo/shutdown_logo.JPG’ -> ‘out/shutdown_logo.fex’
script file Path=/disk4/zeta/tools/pack/out/sys_config.bin
not used muti config
no used multi config
CAMLINUX_IMAGE_OUT=
packing for linux
/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common
normal
input file : boot0_spinor.fex
file len=16384
input file : u-boot-spinor.fex
input file : sunxi_mbr.fex
file len=16384
input file : boot.fex
input file : rootfs.fex
input file : cfg.fex
input file : boot_logo.fex
input file : shutdown_logo.fex
input file : env.fex
this is not a partition key
sys parition end
/disk4/zeta/tools/pack/pctools/linux/eDragonEx/
/disk4/zeta/tools/pack/out
Begin Parse sys_partion.fex
Add partion boot.fex BOOT_FEX00000000
Add partion very boot.fex BOOT_FEX00000000
FilePath: boot.fex
FileLength=4a9000Add partion rootfs.fex ROOTFS_FEX000000
Add partion very rootfs.fex ROOTFS_FEX000000
FilePath: rootfs.fex
FileLength=b38000Add partion cfg.fex CFG_FEX000000000
Add partion very cfg.fex CFG_FEX000000000
FilePath: cfg.fex
FileLength=10000Add partion boot_logo.fex BOOT_LOGO_FEX000
Add partion very boot_logo.fex BOOT_LOGO_FEX000
FilePath: boot_logo.fex
FileLength=c48cAdd partion shutdown_logo.fex SHUTDOWN_LOGO_FEX
Add partion very shutdown_logo.fex SHUTDOWN_LOGO_FEX
FilePath: shutdown_logo.fex
FileLength=5948Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=10000sys_config.fex Len: 0xe405
config.fex Len: 0x8af4
split_xxxx.fex Len: 0x200
sys_partition.fex Len: 0xa0c
boot0_spinor.fex Len: 0x4000
boot0_sdcard.fex Len: 0x8000
boot0_spinand.fex Len: 0x6000
u-boot.fex Len: 0xac000
fes1.fex Len: 0x31c0
full_img.fex Len: 0xfd3000
usbtool.fex Len: 0x23000
aultools.fex Len: 0x26ead
aultls32.fex Len: 0x238dd
cardtool.fex Len: 0x14000
cardscript.fex Len: 0x6ea
sunxi_mbr.fex Len: 0x4000
dlinfo.fex Len: 0x4000
boot.fex Len: 0x4a9000
Vboot.fex Len: 0x4
rootfs.fex Len: 0xb38000
Vrootfs.fex Len: 0x4
cfg.fex Len: 0x10000
Vcfg.fex Len: 0x4
boot_logo.fex Len: 0xc48c
Vboot_logo.fex Len: 0x4
shutdown_logo.fex Len: 0x5948
Vshutdown_logo.fex Len: 0x4
env.fex Len: 0x10000
Venv.fex Len: 0x4
BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is at----------

/disk4/zeta/tools/pack/sun8iw8p1_linux_zeta-evb_uart0.img

pack finish
hexing@ubuntu:/disk4/zeta$ 

QQ20181012203955.png

source build/envsetup.sh
zmake all

按芒果 @mango 的提示,
终于编译成功了.

离线

#16 2018-10-12 20:42:08

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

playflash 说:

晕哥,在哪下SDK

满 30 分, Q我发在线给你.

离线

#17 2018-10-13 10:11:13

lcfmax
会员
注册时间: 2018-04-13
累计积分: 158

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

这个有的玩了,晕哥用啥开发板的?

离线

#18 2018-10-13 11:09:15

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

lcfmax 说:

这个有的玩了,晕哥用啥开发板的?

暂时还没有 S3 开发板, 等widora的板子吧,现在试一试 V3s.

离线

#19 2018-10-13 11:11:51

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181013110823.png

fes commit : c8e0a19bbff4496d5c9810791b445e7061801bb1

i2c gpio config 22777722
axp209 read error
axp152 read error
beign to init dram
DRAM DRIVE INFO: V0.9
DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 696 MHz
DRAM zq value: 000039bb

试一试荔枝派zero开发板,

串口接上 UART2(PB0,PB1),用官方软件PhoenixSuit烧录, 进度条始终是0.

估计是 S3的DRAM参数与 S3还是有不同的。

离线

#20 2018-10-13 13:53:30

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

https://whycan.cn/t_866.html#p3484

pgdat c0522b24, node_mem_map c05b1000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 init=/linuxrc loglevel=8 partitions= mac_addr= uid=1234567890 kmemleak=on rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 64MB = 64MB total
[    0.000000] Memory: 29292k/29292k available, 36244k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc048f000   (4636 kB)
[    0.000000]       .init : 0xc048f000 - 0xc04b2000   ( 140 kB)
[    0.000000]       .data : 0xc04b2000 - 0xc0523260   ( 453 kB)
[    0.000000]        .bss : 0xc0523284 - 0xc05b0a64   ( 566 kB)
[    0.000000] NR_IRQS:544
[    0.000000] 524 ahb1 set parent pll_periph0d2
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000156] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000179] pid_max: default: 32768 minimum: 301
[    0.000329] Mount-cache hash table entries: 512
[    0.000849] CPU: Testing write buffer coherency: ok
[    0.001113] Setting up static identity map for 0x40367798 - 0x403677f0
[    0.001769] devtmpfs: initialized
[    0.003674] pinctrl core: initialized pinctrl subsystem
[    0.004171] NET: Registered protocol family 16
[    0.004542] DMA: preallocated 128 KiB pool for atomic coherent allocations
[    0.004594] script_sysfs_init success
[    0.004630] sunxi_dump_init success
[    0.005386] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[    0.006314] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.006668] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[    0.007348] tsc2003 device registered
[    0.007631] persistent_ram: uncorrectable error in header
[    0.007645] persistent_ram: no valid data in buffer (sig = 0x00000003)
[    0.014120] console [ram-1] enabled
[    0.014538] [sunxi-module]: [sunxi-module.0] probe success
[    0.014767] ++axp20_board_init!
[    0.014959] axp driver uning configuration failed(801)
[    0.015071] axp driver uning configuration failed(808)
[    0.015550] script config pll_isp to 360 Mhz
[    0.015688] Not Found clk pll_video in script 
[    0.015893] script config pll_ve to 360 Mhz
[    0.016015] Not Found clk pll_periph0 in script 
[    0.016123] Not Found clk pll_de in script 
[    0.016320] sunxi_default_clk_init
[    0.016428] try to set pll6ahb1 to 200000000
[    0.016539] Error not get clk pll6ahb1
[    0.016741] Error not get clk pll6ahb1try to set ahb1 to 200000000
[    0.016961] try to set apb1 to 100000000
[    0.017452] ===fe3o4==== sunxi_root_procfs_attach ret:0
[    0.021302] bio: create slab <bio-0> at 0
[    0.021668] pwm module init!
[    0.023481] ion_mem.size = 30408704
[    0.024168] SCSI subsystem initialized
[    0.024505] usbcore: registered new interface driver usbfs
[    0.024776] usbcore: registered new interface driver hub
[    0.025029] usbcore: registered new device driver usb
[    0.025363] twi_chan_cfg()342 - [twi0] has no twi_speed!
[    0.025479] twi_chan_cfg()353 - [twi0] has no twi_regulator.
[    0.025682] twi_chan_cfg()342 - [twi1] has no twi_speed!
[    0.025792] twi_chan_cfg()353 - [twi1] has no twi_regulator.
[    0.025993] sunxi_i2c_adap_init()1563 - Sunxi I2C init channel 0 
[    0.026219] sunxi_i2c_adap_init()1563 - Sunxi I2C init channel 1 
[    0.026526] ++sunxi_i2c_probe
[    0.026681] twi_request_gpio()406 - Pinctrl init 0 ... [twi0]
[    0.026987] twi_clk_write_reg()241 - twi_clk_write_reg: clk_n = 0, clk_m = 5
[    0.027320] ++axp_i2c_probe!
[    0.027617] sunxi_i2c_do_xfer()998 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x34)
[    0.027829] axp20_board 0-0034: failed reading at 0x03
[    0.028027] [AXP20-MFD] try to read chip id failed = -70!
[    0.028137] axp mfd register failed
[    0.028257] axp20_board: probe of 0-0034 failed with error -70
[    0.028468] sunxi_i2c_probe()1250 - I2C: i2c-0: sunxi I2C adapter
[    0.028582] sunxi_i2c_probe()1251 - TWI_CTL  0xf1c2ac0c: 0x00000040 
[    0.028785] sunxi_i2c_probe()1252 - TWI_STAT 0xf1c2ac10: 0x000000f8 
[    0.028987] sunxi_i2c_probe()1253 - TWI_CLK  0xf1c2ac14: 0x00000028 
[    0.029099] sunxi_i2c_probe()1254 - TWI_SRST 0xf1c2ac18: 0x00000000 
[    0.029301] sunxi_i2c_probe()1255 - TWI_EFR  0xf1c2ac1c: 0x00000000 
[    0.029429] ++sunxi_i2c_probe
[    0.029575] twi_request_gpio()406 - Pinctrl init 1 ... [twi1]
[    0.029776] twi_clk_write_reg()241 - twi_clk_write_reg: clk_n = 0, clk_m = 11
[    0.030209] sunxi_i2c_probe()1250 - I2C: i2c-1: sunxi I2C adapter
[    0.030329] sunxi_i2c_probe()1251 - TWI_CTL  0xf1c2b00c: 0x00000040 
[    0.030532] sunxi_i2c_probe()1252 - TWI_STAT 0xf1c2b010: 0x000000f8 
[    0.030645] sunxi_i2c_probe()1253 - TWI_CLK  0xf1c2b014: 0x00000058 
[    0.030848] sunxi_i2c_probe()1254 - TWI_SRST 0xf1c2b018: 0x00000000 
[    0.030960] sunxi_i2c_probe()1255 - TWI_EFR  0xf1c2b01c: 0x00000000 
[    0.031196] Linux video capture interface: v2.00
[    0.031409] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[    0.031611] axp pinctrl used,skip
[    0.032026] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.033160] cfg80211: Calling CRDA to update world regulatory domain
[    0.034245] Switching to clocksource arch_sys_counter
[    0.039940] NET: Registered protocol family 2
[    0.039940] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040560] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.040717] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.040937] TCP: Hash tables configured (established 2048 bind 2048)
[    0.041139] TCP: reno registered
[    0.041252] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.041375] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.041841] NET: Registered protocol family 1
[    0.042345] [pm]aw_pm_init!
[    0.042555] standby_mode = 1. 
[    0.042665] wakeup src cnt is : 3. 
[    0.042779] pmu name: pmu1_para .
[    0.042892] pmu1_enable = 0x1. 
[    0.043090] pmux_id = 0x1. 
[    0.043200] pmu name: pmu2_para .
[    0.043309] config_pmux_para: script_parser_fetch err. 
[    0.043507] pmu2_enable = 0x0. 
[    0.043618] add_sys_pwr_dm: get ldo name failed
[    0.043726] add_sys_pwr_dm: get ldo name failed
[    0.043924] add_sys_pwr_dm: get ldo name failed
[    0.044033] add_sys_pwr_dm: get ldo name failed
[    0.044231] add_sys_pwr_dm: get ldo name failed
[    0.044341] add_sys_pwr_dm: get ldo name failed
[    0.044450] add_sys_pwr_dm: get ldo name failed
[    0.044649] add_sys_pwr_dm: get ldo name failed
[    0.044760] add_sys_pwr_dm: get ldo name failed
[    0.044960] add_sys_pwr_dm: get ldo name failed
[    0.045068] after inited: sys_mask config = 0x0. 
[    0.045178] dynamic_standby enalbe = 0x0. 
[    0.045422] sunxi_reg_init enter
[    0.047254] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.047512] jffs2: version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
[    0.047819] msgmni has been set to 57
[    0.048835] io scheduler noop registered
[    0.049046] io scheduler deadline registered
[    0.049222] io scheduler cfq registered (default)
[    0.049834] [DISP]disp_module_init
[    0.050418] cmdline,disp=
[    0.051059] rotation_sw module is config as no used
[    0.051282] [DISP] disp_get_rotation_sw,line:68:disp 0 out of range? g_rot_sw=0
[    0.051498] [DISP] disp_init_connections,line:289:NULL pointer: 0, 0
[    0.051875] disp_fb_to_var:format = 0
[    0.051992] fb_para.width = 480,fb_para.height = 272,fb_para.buffer_num = 2
[    0.052200] gen_pool_alloc:nbits = 255,size = 1044480,order = 12
[    0.052312] chunk->start_addr = 0x42300000,chunk->end_addr = 0x43ffffffchunk->avail = 30408704
[    0.052615] end_bit = 7424
[    0.056445] [DISP] disp_sys_power_enable,line:387:some error happen, fail to get regulator 
[    0.056770] [DISP] disp_sys_gpio_set_value,line:374:OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    0.057734] [DISP]disp_module_init finish
[    0.058159] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[    0.058714] uart2: ttyS0 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[    0.058835] sw_uart_pm()890 - uart2 clk is already enable
[    0.059048] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.155036] console [ttyS0] enabled
[    1.077551] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    1.085399] spi spi0: master is unqueued, this is deprecated
[    1.092050] m25p_probe()966 - Use the Dual Mode Read.
[    1.097861] NorFlash ID: 0xef4019 - 0x0
[    1.102351] m25p80 spi0.0: unrecognized JEDEC id ef4019
[    1.108534] priv->phy_ext = INT_PHY
[    1.113738] Failed to alloc md5
[    1.117377] eth0: Use random mac address
[    1.121939] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.149495] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.158558] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    1.167297] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    1.174103] [DISP] disp_lcd_pwm_enable,line:1022:pwm device hdl is NULL
[    1.200039] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    1.207548] hub 1-0:1.0: USB hub found
[    1.211950] hub 1-0:1.0: 1 port detected
[    1.216858] sunxi-ehci sunxi-ehci.1: remove, state 1
[    1.222612] usb usb1: USB disconnect, device number 1
[    1.512667] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[    1.529153] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.556214] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    1.564968] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[    1.573627] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    1.644644] hub 1-0:1.0: USB hub found
[    1.649020] hub 1-0:1.0: 1 port detected
[    1.653981] sunxi-ohci sunxi-ohci.1: remove, state 1
[    1.659607] usb usb1: USB disconnect, device number 1
[    1.666021] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[    1.682449] Initializing USB Mass Storage driver...
[    1.688144] usbcore: registered new interface driver usb-storage
[    1.694933] USB Mass Storage support registered.
[    1.700597] file system registered
[    1.706060] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    1.713860] android_usb gadget: Number of LUNs=1
[    1.719087]  lun0: LUN: removable file: (no medium)
[    1.725109] android_usb gadget: android_usb ready
[    1.730685] sunxikbd_script_init: key para not found, used default para. 
[    1.738906] tsc2003_ts_init
[    1.742248] =====ctp_fetch_sysconfig_para=====. 
[    1.747480] ctp_fetch_sysconfig_para: ctp_power_ldo script_get_item err. 
[    1.755218] ctp_fetch_sysconfig_para: ctp_power_ldo_vol script_get_item err. 
[    1.763260] ctp_fetch_sysconfig_para: ctp_power_io script_get_item err. 
[    1.770896] script_get_item ctp_wakeup err
[    1.775549] ctp_irq gpio number is 36
[    1.779831] wakeup gpio_request is failed
[    1.784449] =============GT82x Probe==================
[    1.791012] sunxi_i2c_do_xfer()998 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x48)
[    1.800414] i2c_write_bytes error -70
[    1.804591] tsc2003: probe of 1-0048 failed with error -70
[    1.811460] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    1.819081] sunxi cedar version 0.1 
[    1.823325] [cedar]: install start!!!
[    1.827768] [cedar]: install end!!!
[    1.832253] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.841231] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.850175] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.858812] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.867560] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.876296] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.884953] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.893960] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    1.901311] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    1.912734] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    1.920405] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    1.926794] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    1.936535] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.114 2015-6-2 10:21) Compiled in Mar 23 2018 at 20:51:16
[    1.948113] [mmc]: get mmc0's sdc_power failed
[    1.953267] [mmc]: get mmc1's sdc_power failed
[    1.958306] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2
[    1.966531] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.979850] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.992763] sunxi_leds_fetch_sysconfig_para leds is not used in config
[    2.000252] =========script_get_err============
[    2.005578] usbcore: registered new interface driver usbhid
[    2.011991] usbhid: USB HID core driver
[    2.016980] ashmem: initialized
[    2.020758] logger: created 256K log 'log_main'
[    2.026088] logger: created 32K log 'log_events'
[    2.031491] logger: created 32K log 'log_radio'
[    2.036746] logger: created 32K log 'log_system'
[    2.043514] script_get_item return audio_pa_ctrl type err
[    2.050493] asoc: sndcodec <-> sunxi-codec mapping ok
[    2.058343] TCP: cubic registered
[    2.062209] NET: Registered protocol family 17
[    2.067459] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    2.076193] ThumbEE CPU extension supported.
[    2.081156] Registering SWP/SWPB emulation handler
[    2.087636] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    2.096796] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    2.105368] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    2.114021] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    2.122666] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    2.131222] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    2.140055] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    2.148955] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:07:24 UTC (444)
[    2.159193] [wifi module_pm]: select module num is 6
[    2.164993] [wifi module_pm]: step [0] failed to fetch module_power0
[    2.172162] [wifi module_pm]: mod has no chip_en gpio
[    2.177956] [wifi module_pm]: failed to fetch lpo_use_apclk
[    2.184600] [wifi_pm]: wifi gpio init is OK !!
[    2.189831] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    2.198639] 
[    2.198642] *****Mar 23 2018 20:51:22 EAGLE DRIVER VER:75be56bfbaf7*****
[    2.198649] 
[    2.209842] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    2.218773] =======================================================
[    2.225943] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[    2.233015] =======================================================
[    2.240168] Espressif ESP8089 SDIO WiFi driver (Powered by Rockchip, Ver2.25(01/22/2016),Drv: 2.26) init.
[    2.250997] [wifi_pm]: set wl_reg_on 1 !
[    2.355623] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.365611] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    2.374165] [mmc]: sdc1 power_supply is null
[    2.380350] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    2.388905] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    2.397664] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    2.406332] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    2.415252] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.442358] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    2.451597] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    2.459940] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.472709] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.484978] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !!
[    2.493310] *******************Try sdio*******************
[    2.500301] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.509429] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.518578] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.527623] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.535945] *******************Try sd *******************
[    2.542856] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.552078] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.561303] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.570431] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.578852] *******************Try mmc*******************
[    2.584953] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.596223] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !!
[    2.604553] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.614670] [mmc]: sdc1 power_supply is null
[    2.622107] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.633482] [mmc]: sdc1 power_supply is null
[    2.650035] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.682603] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    2.692101] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    2.700434] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.713403] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.725962] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !!
[    2.734196] *******************Try sdio*******************
[    2.741555] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.750945] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.760248] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.769638] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    2.777976] *******************Try sd *******************
[    2.785148] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.794642] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.804038] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.813532] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    2.821949] *******************Try mmc*******************
[    2.823503] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.839592] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !!
[    2.847926] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.857942] [mmc]: sdc1 power_supply is null
[    2.865478] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.876754] [mmc]: sdc1 power_supply is null
[    2.900022] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.933135] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    2.943074] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    2.951506] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.969751] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.982860] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !!
[    2.991095] *******************Try sdio*******************
[    2.998980] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.008825] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.018755] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.028680] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.036917] *******************Try sd *******************
[    3.044717] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.054686] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.064710] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.074736] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.083070] *******************Try mmc*******************
[    3.084693] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.101372] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !!
[    3.109610] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.119726] [mmc]: sdc1 power_supply is null
[    3.127170] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.138544] [mmc]: sdc1 power_supply is null
[    3.160029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.192603] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    3.202100] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    3.210522] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.223401] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.235965] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !!
[    3.244287] *******************Try sdio*******************
[    3.251555] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.265023] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.274425] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.283724] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !!
[    3.292052] *******************Try sd *******************
[    3.299211] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.308701] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.318188] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.327588] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO !!
[    3.336024] *******************Try mmc*******************
[    3.342219] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.353672] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !!
[    3.362003] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.372114] [mmc]: sdc1 power_supply is null

V3s 是酱紫的.

离线

#21 2018-10-13 14:18:26

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181013141728.png

\0fes commit : c8e0a19bbff4496d5c9810791b445e7061801bb1
 
i2c gpio config 22777722
axp209 read error
axp152 read error
beign to init dram
DRAM DRIVE INFO: V0.9
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
init dram ok
[      2.969]

U-Boot 2011.09-rc1-00000-gc8e0a19-dirty (Dec 01 2017 - 15:12:33) Allwinner Technology 

[      2.978]version: 1.1.0
[      2.981]uboot commit : c8e0a19bbff4496d5c9810791b445e7061801bb1
 
[      2.991]pmbus:   ready
not set main pmu id
axp read error
probe axp20x failed
axp152 read error
probe axp15 failed
axp_probe error
[      3.117]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz 
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
ldo4_vol = 1800
axp set ldo4_vol to 1800 failed
find power_sply to end
vbus exist
no battery, limit to dc
dram_para_set start
dram_para_set end
[      3.251]DRAM:  64 MiB
relocation Offset is: 0309e000
save config for small mem_size 
workmode = 16
storage type = 0
sunxi spinor is initing...[debug_jaosn]:use the clock in sys_config 
OK
nor id is 0x1940ef 
spinor id is 1940ef 
try nor successed 
sunxi sprite has installed spi function
read flash error
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
mbr not exist
[      3.350]Hit any key to stop autoboot:  0 
work mode=0x10
run usb efex
delay time 2500
usb init ok
set address 0x2
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x0
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
sunxi spinor is already inited
flash size =32768 M
flash sectors: 0x8000
algin 512 byte  fullimg_size 16592896 
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
before sunxi_sprite_setdata_finish
spinor_datafinish
spinor id = 0x1940ef
_spinor_wrsr status is 0 
begin to erase all ......................................................................................................................................
status = 0
count = 133 
spinor has erasered
eGON.BT0U 谸
dram para[0] = 198
dram para[1] = 2
dram para[2] = 39bb
dram para[3] = 0
dram para[4] = d20040
dram para[5] = 0
dram para[6] = 263
dram para[7] = 4
dram para[8] = 0
dram para[9] = 0
dram para[10] = 25994e
dram para[11] = 121210a
dram para[12] = 43031
dram para[13] = 0
dram para[14] = 0
dram para[15] = 0
dram para[16] = 0
dram para[17] = 0
dram para[18] = 0
dram para[19] = 0
dram para[20] = 0
dram para[21] = 220000
dram para[22] = 78
dram para[23] = d000001
dram para[24] = 0
dram para[25] = 0
dram para[26] = 0
dram para[27] = 0
dram para[28] = 0
dram para[29] = 0
dram para[30] = 0
dram para[31] = 0
update dram para success 
total write bytes = 16592896
start = 0x0, cnt=0x7e98
nor_page_cnt=64816
nor_page_cnt=511
nor_page_cnt=1023
nor_page_cnt=1535
nor_page_cnt=2047
nor_page_cnt=2559
nor_page_cnt=3071
nor_page_cnt=3583
nor_page_cnt=4095
nor_page_cnt=4607
nor_page_cnt=5119
nor_page_cnt=5631
nor_page_cnt=6143
nor_page_cnt=6655
nor_page_cnt=7167
nor_page_cnt=7679
nor_page_cnt=8191
nor_page_cnt=8703
nor_page_cnt=9215
nor_page_cnt=9727
nor_page_cnt=10239
nor_page_cnt=10751
nor_page_cnt=11263
nor_page_cnt=11775
nor_page_cnt=12287
nor_page_cnt=12799
nor_page_cnt=13311
nor_page_cnt=13823
nor_page_cnt=14335
nor_page_cnt=14847
nor_page_cnt=15359
nor_page_cnt=15871
nor_page_cnt=16383
nor_page_cnt=16895
nor_page_cnt=17407
nor_page_cnt=17919
nor_page_cnt=18431
nor_page_cnt=18943
nor_page_cnt=19455
nor_page_cnt=19967
nor_page_cnt=20479
nor_page_cnt=20991
nor_page_cnt=21503
nor_page_cnt=22015
nor_page_cnt=22527
nor_page_cnt=23039
nor_page_cnt=23551
nor_page_cnt=24063
nor_page_cnt=24575
nor_page_cnt=25087
nor_page_cnt=25599
nor_page_cnt=26111
nor_page_cnt=26623
nor_page_cnt=27135
nor_page_cnt=27647
nor_page_cnt=28159
nor_page_cnt=28671
nor_page_cnt=29183
nor_page_cnt=29695
nor_page_cnt=30207
nor_page_cnt=30719
nor_page_cnt=31231
nor_page_cnt=31743
nor_page_cnt=32255
nor_page_cnt=32767
nor_page_cnt=33279
nor_page_cnt=33791
nor_page_cnt=34303
nor_page_cnt=34815
nor_page_cnt=35327
nor_page_cnt=35839
nor_page_cnt=36351
nor_page_cnt=36863
nor_page_cnt=37375
nor_page_cnt=37887
nor_page_cnt=38399
nor_page_cnt=38911
nor_page_cnt=39423
nor_page_cnt=39935
nor_page_cnt=40447
nor_page_cnt=40959
nor_page_cnt=41471
nor_page_cnt=41983
nor_page_cnt=42495
nor_page_cnt=43007
nor_page_cnt=43519
nor_page_cnt=44031
nor_page_cnt=44543
nor_page_cnt=45055
nor_page_cnt=45567
nor_page_cnt=46079
nor_page_cnt=46591
nor_page_cnt=47103
nor_page_cnt=47615
nor_page_cnt=48127
nor_page_cnt=48639
nor_page_cnt=49151
nor_page_cnt=49663
nor_page_cnt=50175
nor_page_cnt=50687
nor_page_cnt=51199
nor_page_cnt=51711
nor_page_cnt=52223
nor_page_cnt=52735
nor_page_cnt=53247
nor_page_cnt=53759
nor_page_cnt=54271
nor_page_cnt=54783
nor_page_cnt=55295
nor_page_cnt=55807
nor_page_cnt=56319
nor_page_cnt=56831
nor_page_cnt=57343
nor_page_cnt=57855
nor_page_cnt=58367
nor_page_cnt=58879
nor_page_cnt=59391
nor_page_cnt=59903
nor_page_cnt=60415
nor_page_cnt=60927
nor_page_cnt=61439
nor_page_cnt=61951
nor_page_cnt=62463
nor_page_cnt=62975
nor_page_cnt=63487
nor_page_cnt=63999
nor_page_cnt=64511
spinor download data ok
force sunxi spinor exit
sunxi_efex_next_action=2
exit usb
next work 2
SUNXI_UPDATE_NEXT_ACTION_REBOOT
set next mode 14
drv_disp_exit
[    103.219][mmc]: MMC Device 2 not found
[    103.223][mmc]:  mmc 馃?馃?馃?馃?馃?馃?馃謇鐧C 铏C€铏C噼機@闄C犻機嚅機xV4 not find,so not exit
sunxi spinor has not inited
HELLO! BOOT0 is starting!
boot0 version : 4.0.0
boot0 commit : 767a43563eb0783ad441489d022e0e21781eafcd
 
fel flag  = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
i2c gpio config 22777722
axp read fail, maybe no pmu 
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
dram size =64
Succeed in reading Boot1 file head.
The size of uboot is 00038000.
Ready to disable icache.
Jump to secend Boot.
[      0.159]

U-Boot 2011.09-rc1-00000-gc8e0a19-dirty (Dec 01 2017 - 15:08:10) Allwinner Technology 

[      0.168]version: 1.1.0
[      0.170]uboot commit : c8e0a19bbff4496d5c9810791b445e7061801bb1
 
[      0.181]pmbus:   ready
not set main pmu id
axp read error
probe axp20x failed
axp152 read error
probe axp15 failed
axp_probe error
[      0.307]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz 
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
ldo4_vol = 1800
axp set ldo4_vol to 1800 failed
find power_sply to end
vbus exist
no battery, limit to dc
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      0.380]DRAM:  64 MiB
relocation Offset is: 036c1000
try gpio_flashing
workmode = 0
sunxi spinor is initing...[debug_jaosn]:use the clock in sys_config 
OK
nor id is 0x1940ef 
[      0.781]sunxi flash init ok
hello @flash_speed=1
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:7-
-name-        -start-       -size-      
boot        : 4000          280000      
system      : 284000        c83000      
cfg         : f07000        40000       
boot_logo   : f47000        20000       
shutdown_logo: f67000        20000       
env         : f87000        10000       
UDISK       : f97000        0           
-----------------------------------
WORK_MODE_BOOT
read bootlogo partition successful,start_block=0x7a38,rblock=0x100 ,ret=256
Use decode 1x1 sampling
sunxi_read_bootlogo: jpg convert argb  
[      1.514]Hit any key to stop autoboot:  0 
read boot or recovery all
[      1.696]sunxi flash read :offset 4000, 2621951 bytes OK
[      1.709]ready to boot
force sunxi spinor exit
[      1.711]
Starting kernel ...

一番折腾之后荔枝派zero(V3s)终于可以烧写了, 但是 Starting kernel ... 就挂了...


断电重启后酱紫的:

\0HELLO! BOOT0 is starting!
boot0 version : 4.0.0
boot0 commit : 767a43563eb0783ad441489d022e0e21781eafcd
 
fel flag  = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
i2c gpio config 22777722
axp read fail, maybe no pmu 
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
dram size =64
Succeed in reading Boot1 file head.
The size of uboot is 00038000.
Ready to disable icache.
Jump to secend Boot.
[      0.159]

U-Boot 2011.09-rc1-00000-gc8e0a19-dirty (Dec 01 2017 - 15:08:10) Allwinner Technology 

[      0.168]version: 1.1.0
[      0.170]uboot commit : c8e0a19bbff4496d5c9810791b445e7061801bb1
 
[      0.181]pmbus:   ready
not set main pmu id
axp read error
probe axp20x failed
axp152 read error
probe axp15 failed
axp_probe error
[      0.307]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz 
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
ldo4_vol = 1800
axp set ldo4_vol to 1800 failed
find power_sply to end
vbus exist
no battery, limit to dc
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      0.380]DRAM:  64 MiB
relocation Offset is: 036c1000
try gpio_flashing
workmode = 0
sunxi spinor is initing...[debug_jaosn]:use the clock in sys_config 
OK
nor id is 0x1940ef 
[      0.781]sunxi flash init ok
hello @flash_speed=1
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:7-
-name-        -start-       -size-      
boot        : 4000          280000      
system      : 284000        c83000      
cfg         : f07000        40000       
boot_logo   : f47000        20000       
shutdown_logo: f67000        20000       
env         : f87000        10000       
UDISK       : f97000        0           
-----------------------------------
WORK_MODE_BOOT
read bootlogo partition successful,start_block=0x7a38,rblock=0x100 ,ret=256
Use decode 1x1 sampling
sunxi_read_bootlogo: jpg convert argb  
[      1.514]Hit any key to stop autoboot:  0 
read boot or recovery all
[      1.696]sunxi flash read :offset 4000, 2621951 bytes OK
[      1.709]ready to boot
force sunxi spinor exit
[      1.711]
Starting kernel ...

离线

#22 2018-10-13 15:32:01

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

https://hk.saowen.com/a/c8522b043b3139c9608b206c7f54eb43ddbc60822c78e0729bc927ee46f5e8f4

在全志V3/V3s和索智S3/S3L上調試32MB NorFlash

2018-05-07 / VIEWS: 33

選取MX25L25635F作為調試對象,其他型號的NorFlash開發調試原理基本一致。為了使V3/V3s/S3/S3L識別32MB NorFlash並正常工作,主要針對以下三個部分進行開發和調試。下文將針對這三個部分的開發進行説明。

U-Boot
Linux Kernel
System Configuration

第一部分,U-boot

原始的SDK包支持3線模式,但沒有支持4線模式,因此,必須在引導過程中加入4線模式。簡單解釋一下,3線模式是指NorFlash支持3x8位地址線,可以訪問的地址空間是16MB(2^24/1024/1024),4線模式支持4x8位地址線,可以訪問比16MB大的地址空間。找到源碼文檔drivers/spinor/sunxi_spinor.c,增加4線模式的使能函數。

static void spinor_enter_4bytes_addr(int enable)
{
    int command = 0;
    if(spinor_4bytes_addr_mode == 1 && enable == 1)
        command = 0xB7;
    else if(spinor_4bytes_addr_mode == 1 && enable == 0)
        command = 0xE9;
    else
        return ;
#ifdef CONFIG_ARCH_SUN8IW8P1
    spic_config_dual_mode(0, 0, 0, 1);
#endif
    spic_rw(1, (void*)&command, 0, 0);
    return;
}

需要注意的是,0xB7和0xE9不代碼所有32MB NorFlash的4線模式進入/退出命令,應從datasheet中獲取相應的命令值。接下來,找到spinor_init函數,回覆flash size大於16MB的處理。

if(spi_size > 16*1024*1024/512)
{
    spinor_4bytes_addr_mode = 1;
    spinor_enter_4bytes_addr(ENABLE_4BYTES);
}

找到NorFlash讀寫函數__spinor_pp和__spinor_sector_normal_read,增加4線模式的數據讀寫代碼片段。

------------寫
if(spinor_4bytes_addr_mode == 0)
{
    txnum = len+4;
    sdata[0]  =  SPINOR_PP;
    sdata[1]  = (page_addr >> 16) & 0xff;
    sdata[2]  = (page_addr >> 8 ) & 0xff;
    sdata[3]  =  page_addr        & 0xff;
    memcpy((void *)(sdata+4), buf, len);
}
else if(spinor_4bytes_addr_mode == 1)
{
    txnum = len+5;
    sdata[0]  =  SPINOR_PP;
    sdata[1]  = (page_addr >> 24) & 0xff;
    sdata[2]  = (page_addr >> 16) & 0xff;
    sdata[3]  = (page_addr >> 8 ) & 0xff;
    sdata[4]  =  page_addr        & 0xff;
    memcpy((void *)(sdata+5), buf, len);
}
------------讀
if(spinor_4bytes_addr_mode == 0)
{
    txnum = 4;
    sdata[0]  =  SPINOR_READ;
    sdata[1]  = (page_addr >> 16) & 0xff;
    sdata[2]  = (page_addr >> 8 ) & 0xff;
    sdata[3]  =  page_addr        & 0xff;
}
else if(spinor_4bytes_addr_mode == 1)
{
    txnum = 5;
    sdata[0]  =  SPINOR_READ;
    sdata[1]  = (page_addr >> 24) & 0xff;
    sdata[2]  = (page_addr >> 16) & 0xff;
    sdata[3]  = (page_addr >> 8 ) & 0xff;
    sdata[4]  =  page_addr        & 0xff;
}

最後需要在spinor_datafinish_card函數最後退出4線模式,這樣做,刷機結束後,系統啟動時才可以正確得到boot0,否則會重複刷機。


第二部分,Linux Kernel

內核部分的修改比較簡單,在NorFlash設備驅動drivers/mtd/devices/m25p80.c中加入針對MX25L25635F這款32MB NorFlash的支持,如下:

--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -724,7 +724,7 @@ static const struct spi_device_id m25p_ids[] = {
        { "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) },
        { "mx25l3205d",  INFO(0xc22016, 0, 64 * 1024,  64, 0) },
        { "mx25l6405d",  INFO(0xc22017, 0, 64 * 1024, 128, 0) },
-       { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
+       { "mx25l12805f", INFO(0xc22018, 0, 64 * 1024, 512, 0) },
        { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
        { "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, 0) },
        { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
@@ -1136,6 +1136,22 @@ static int __devexit m25p_remove(struct spi_device *spi)
}


+static int  m25p_shutdown(struct spi_device *spi)
+{
+       struct m25p     *flash = dev_get_drvdata(&spi->dev);
+       const struct spi_device_id      *id = spi_get_device_id(spi);
+       struct flash_info               *info;
+    printk("m25p: spinor shutdown\n");
+
+       if(flash->addr_width == 4)
+       {
+               info = (void *)id->driver_data;
+               set_4byte(flash, info->jedec_id, 0);
+       }
+       return 0;
+}
+
+
static struct spi_driver m25p80_driver = {
        .driver = {
                .name   = "m25p80",
@@ -1144,6 +1160,7 @@ static struct spi_driver m25p80_driver = {
        .id_table       = m25p_ids,
        .probe  = m25p_probe,
        .remove = __devexit_p(m25p_remove),
+       .shutdown = m25p_shutdown,

        /* REVISIT: many of these chips have deep power-down modes, which
         * should clearly be entered on suspend() to minimize power use.

第三部分,System Configuration

V3/V3s/S3/S3L這4個平台的SDK裏面,U-Boot和Kernel都會調用sys_config.fex的Nor配置,需要將Nor Flash的大小修改成32,意思是32MB。

@@ -301,7 +298,8 @@ max_speed_hz  = 50000000
bus_num       = 0
chip_select   = 0
mode          = 0
-sflash_size             = 16
+sflash_size   = 32


完成上述三個環節的修改以後,依次編譯U-Boot,Linux Kernel,最後打包Firmware,燒錄到設備。

离线

#23 2018-10-13 15:35:40

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

https://hk.saowen.com/a/3a1b3530795293f998f3090e82be9f6e9080115a6495281e3a1eac303e54d6e1

Ubuntu18.04編譯S3的Linux SDK(Zeta)

2018-05-04 / VIEWS: 44
按照S3官方Wiki(http://www.sochip.com.cn/s3)的陳述,推薦使用Ubuntu16.04作為Host端系統,筆者是一名樂於並熱衷於嚐鮮的搬磚工,於是,嘗試在最新的18.04上進行編譯和構建S3平台的Linux開發包。以下是操作的完整過程,並不順利,但以成功告終。

安裝Ubuntu18.04操作系統 ,安裝下面的軟件包:

sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
libgl1-mesa-dev libxml2-utils xsltproc unzip u-boot-tools gawk samba

編譯buildroot過程中,會出現若干來自於buildroot packages與Ubuntu18.04自帶的工具/包衝突的錯誤,以下buildroot補丁可處理掉這些錯誤。

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

    deleted:    package/automake/0001-noman.patch
    deleted:    package/automake/automake.hash
    modified:   package/automake/automake.mk
    deleted:    package/e2fsprogs/0001-sem-init-libs.patch
    deleted:    package/e2fsprogs/0002-MCONFIG.in-handle-CLOCK_GETTIME_LIB.patch
    deleted:    package/e2fsprogs/e2fsprogs.hash
    modified:   package/e2fsprogs/e2fsprogs.mk
diff --git a/package/automake/automake.mk b/package/automake/automake.mk
index 84f05dc..928a33f 100644
--- a/package/automake/automake.mk
+++ b/package/automake/automake.mk
@@ -4,7 +4,7 @@
#
################################################################################

-AUTOMAKE_VERSION = 1.15
+AUTOMAKE_VERSION = 1.16.1
AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.xz
AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake
AUTOMAKE_LICENSE = GPLv2+
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index b6e79d2..8a4edc8 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -4,7 +4,7 @@
#
################################################################################

-E2FSPROGS_VERSION = 1.43.3
+E2FSPROGS_VERSION = 1.44.1
E2FSPROGS_SOURCE = e2fsprogs-$(E2FSPROGS_VERSION).tar.xz
E2FSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/tytso/e2fsprogs/v$(E2FSPROGS_VERSION)
E2FSPROGS_LICENSE = GPLv2, libuuid BSD-3c, libss and libet MIT-like with advertising clause

完成上述修改以後,按照S3 Linux SDK的編譯方法進行編譯即可。

离线

#24 2018-10-13 15:38:08

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181013152136.png

有个问题没有搞明白, 索智开发板用的是 UART1 作为调试串口, 而 sys_config.fex 却使用 UART2 作为调试串口.

离线

#25 2018-10-13 21:23:42

playflash
会员
注册时间: 2018-09-14
累计积分: 77

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

[12:41:57:763] switch to partitions #0, OK
[12:41:57:766] mmc0 is current device
[12:41:58:334] Scanning mmc 0:1...
[12:41:58:389] Found U-Boot script /boot.scr
[12:41:58:400] reading /boot.scr
[12:41:58:415] 290 bytes read in 15 ms (18.6 KiB/s)
[12:41:58:418] ## Executing script at 41900000
[12:41:58:430] reading uImage
[12:41:58:602] 2906568 bytes read in 172 ms (16.1 MiB/s)
[12:41:58:614] reading script.bin
[12:41:58:640] 32624 bytes read in 25 ms (1.2 MiB/s)
[12:41:58:643] ## Booting kernel from Legacy Image at 41000000 ...
[12:41:58:651]    Image Name:   Linux-3.4.39
[12:41:58:651]    Image Type:   ARM Linux Kernel Image (uncompressed)
[12:41:58:655]    Data Size:    2906504 Bytes = 2.8 MiB
[12:41:58:660]    Load Address: 40008000
[12:41:58:665]    Entry Point:  40008000
[12:41:58:665]    Verifying Checksum ... OK
[12:41:58:688]    Loading Kernel Image ... OK
[12:41:58:705] Using machid 0x1029 from environment
[12:41:58:710] 
[12:41:58:710] Starting kernel ...
[12:41:58:710] 

试图在zero 上用TF卡启动,我也卡在这里

最近编辑记录 playflash (2018-10-13 21:28:58)

离线

#26 2018-10-13 21:27:48

playflash
会员
注册时间: 2018-09-14
累计积分: 77

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

<0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0 
[19:58:06:225] switch to partitions #0, OK
[19:58:06:228] mmc0 is current device
[19:58:06:798] Scanning mmc 0:1...
[19:58:06:852] Found U-Boot script /boot.scr
[19:58:06:863] reading /boot.scr
[19:58:06:878] 290 bytes read in 15 ms (18.6 KiB/s)
[19:58:06:883] ## Executing script at 41900000
[19:58:06:895] reading uImage
[19:58:07:054] 2928680 bytes read in 160 ms (17.5 MiB/s)
[19:58:07:066] reading script.bin
[19:58:07:092] 32624 bytes read in 25 ms (1.2 MiB/s)
[19:58:07:095] ## Booting kernel from Legacy Image at 41000000 ...
[19:58:07:102]    Image Name:   Linux-3.4.39
[19:58:07:107]    Image Type:   ARM Linux Kernel Image (uncompressed)
[19:58:07:112]    Data Size:    2928616 Bytes = 2.8 MiB
[19:58:07:112]    Load Address: 40008000
[19:58:07:117]    Entry Point:  40008000
[19:58:07:117]    Verifying Checksum ... OK
[19:58:07:141]    Loading Kernel Image ... OK
[19:58:07:158] Using machid 0x1029 from environment
[19:58:07:163] 
[19:58:07:163] Starting kernel ...
[19:58:07:163] 
[19:58:07:435] [    0.000000] Booting Linux on physical CPU 0
[19:58:07:451] [    0.000000] Linux version 3.4.39 (root@9a416b1c812e) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #5 Sat Oct 13 11:49:38 UTC 2018
[19:58:07:455] [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[19:58:07:465] [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[19:58:07:473] [    0.000000] Machine: sun8i
[19:58:07:480] [    0.000000] Ignoring unrecognised tag 0x00000000
[19:58:07:480] [    0.000000] Initialized persistent memory from 41d20800-41d307ff
[19:58:07:486] [    0.000000] Memory policy: ECC disabled, Data cache writeback
[19:58:07:494] [    0.000000] script_init enter!
[19:58:07:500] [    0.000000] script_init exit!
[19:58:07:500] [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[19:58:07:507] [    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[19:58:07:517] [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[19:58:07:525] [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[19:58:07:532] [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[19:58:07:540] [    0.000000] Memory: 64MB = 64MB total
[19:58:07:546] [    0.000000] Memory: 36664k/36664k available, 28872k reserved, 0K highmem
[19:58:07:553] [    0.000000] Virtual kernel memory layout:
[19:58:07:561] [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[19:58:07:568] [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[19:58:07:568] [    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[19:58:07:576] [    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[19:58:07:583] [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[19:58:07:590] [    0.000000]       .text : 0xc0008000 - 0xc0572000   (5544 kB)
[19:58:07:597] [    0.000000]       .init : 0xc0572000 - 0xc0598000   ( 152 kB)
[19:58:07:605] [    0.000000]       .data : 0xc0598000 - 0xc0676180   ( 889 kB)
[19:58:07:612] [    0.000000]        .bss : 0xc06761a4 - 0xc075c560   ( 921 kB)
[19:58:07:619] [    0.000000] NR_IRQS:544
[19:58:07:619] [    0.000000] 524 ahb1 set parent pll_periph0d2
[19:58:07:628] [    0.000000] Architected local timer running at 24.00MHz.
[19:58:07:628] [    0.000000] Switching to timer-based delay loop
[19:58:07:635] [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[19:58:07:643] [    0.000000] Console: colour dummy device 80x30
[19:58:07:649] [    0.000152] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[19:58:07:658] [    0.000173] pid_max: default: 32768 minimum: 301
[19:58:07:666] [    0.000310] Mount-cache hash table entries: 512
[19:58:07:674] [    0.000846] CPU: Testing write buffer coherency: ok
[19:58:07:674] [    0.001096] Setting up static identity map for 0x403e8d40 - 0x403e8d74
[19:58:07:681] [    0.001738] devtmpfs: initialized
[19:58:07:689] [    0.003133] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[19:58:07:696] [    0.003276] pinctrl core: initialized pinctrl subsystem
[19:58:07:706] [    0.003751] NET: Registered protocol family 16
[19:58:07:706] [    0.004046] DMA: preallocated 128 KiB pool for atomic coherent allocations
[19:58:07:713] [    0.004094] script_sysfs_init success
[19:58:07:720] [    0.004827] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[19:58:07:728] [    0.005686] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[19:58:07:734] [    0.006020] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[19:58:07:742] [    0.006646] persistent_ram: found existing buffer, size 23183, start 23183
[19:58:07:748] [    0.029715] console [ram-1] enabled
[19:58:07:757] [    0.030118] [sunxi-module]: [sunxi-module.0] probe success
[19:58:07:764] [    0.030349] Not Found clk pll_isp in script 
[19:58:07:764] [    0.030452] Not Found clk pll_video in script 
[19:58:07:772] [    0.030636] Not Found clk pll_ve in script 
[19:58:07:772] [    0.030734] Not Found clk pll_periph0 in script 
[19:58:07:780] [    0.030834] Not Found clk pll_de in script 
[19:58:07:786] [    0.031017] sunxi_default_clk_init
[19:58:07:786] [    0.031115] try to set pll6ahb1 to 200000000
[19:58:07:794] [    0.031223] Error not get clk pll6ahb1
[19:58:07:801] [    0.031411] Error not get clk pll6ahb1try to set ahb1 to 200000000
[19:58:07:808] [    0.031622] try to set apb1 to 100000000
[19:58:07:808] [    0.031973] ===fe3o4==== sunxi_root_procfs_attach ret:0
[19:58:07:815] [    0.035680] bio: create slab <bio-0> at 0
[19:58:07:823] [    0.036046] pwm module init!
[19:58:07:823] [    0.037934] SCSI subsystem initialized
[19:58:07:830] [    0.038268] usbcore: registered new interface driver usbfs
[19:58:07:836] [    0.038517] usbcore: registered new interface driver hub
[19:58:07:844] [    0.038759] usbcore: registered new device driver usb
[19:58:07:844] [    0.038981] twi_chan_cfg()341 - [twi0] has no twi_speed!
[19:58:07:850] [    0.039171] twi_chan_cfg()352 - [twi0] has no twi_regulator.
[19:58:07:857] [    0.039275] twi_chan_cfg()341 - [twi1] has no twi_speed!
[19:58:07:864] [    0.039462] twi_chan_cfg()352 - [twi1] has no twi_regulator.
[19:58:07:871] [    0.040174] Linux video capture interface: v2.00
[19:58:07:878] [    0.040459] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[19:58:07:884] [    0.040561] axp pinctrl used,skip
[19:58:07:884] [    0.041030] Advanced Linux Sound Architecture Driver Version 1.0.25.
[19:58:07:892] [    0.041915] cfg80211: Calling CRDA to update world regulatory domain
[19:58:07:899] [    0.042359] Switching to clocksource arch_sys_counter
[19:58:07:906] [    0.048303] NET: Registered protocol family 2
[19:58:07:913] [    0.048751] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[19:58:07:920] [    0.049337] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[19:58:07:927] [    0.049568] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[19:58:07:934] [    0.049691] TCP: Hash tables configured (established 2048 bind 2048)
[19:58:07:943] [    0.049879] TCP: reno registered
[19:58:07:943] [    0.049982] UDP hash table entries: 256 (order: 0, 4096 bytes)
[19:58:07:950] [    0.049982] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[19:58:07:959] [    0.049982] NET: Registered protocol family 1
[19:58:07:966] [    0.049982] sunxi_reg_init enter
[19:58:07:966] [    0.050588] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[19:58:07:977] [    0.050837] jffs2: version 2.2. (NAND) (SUMMARY)  <0xc2><0xa9> 2001-2006 Red Hat, Inc.
[19:58:07:992] [    0.051124] msgmni has been set to 71
[19:58:07:992] [    0.052120] io scheduler noop registered
[19:58:07:992] [    0.052319] io scheduler deadline registered
[19:58:08:012] [    0.052507] io scheduler cfq registered (default)
[19:58:08:012] [    0.053007] [DISP]disp_module_init
[19:58:08:012] [    0.053416] cmdline,disp=
[19:58:08:012] [    0.054027] rotation_sw module is config as no used
[19:58:08:012] [    0.054238] [DISP] disp_get_rotation_sw,line:78:disp 0 out of range? g_rot_sw=0
[19:58:08:032] [    0.054436] [DISP] disp_init_connections,line:289:NULL pointer: 0, 0
[19:58:08:032] [    0.057031] [DISP] Fb_map_kernel_logo,line:924:Fb_map_kernel_logo failed!
[19:58:08:043] [    0.059175] [DISP] disp_sys_power_enable,line:387:some error happen, fail to get regulator 
[19:58:08:043] [    0.060261] [DISP]disp_module_init finish
[19:58:08:051] [    0.060606] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[19:58:08:061] [    0.061085] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[19:58:08:068] [    0.061280] sw_uart_pm()890 - uart0 clk is already enable
[19:58:08:068] [    0.061392] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[19:58:08:077] [    0.215877] console [ttyS0] enabled
[19:58:08:085] [    0.707793] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[19:58:08:094] [    0.715579] spi spi0: master is unqueued, this is deprecated
[19:58:08:101] [    0.723498] Failed to alloc md5
[19:58:08:108] [    0.727162] eth0: Use random mac address
[19:58:08:108] [    0.731797] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[19:58:08:133] [    0.759321] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[19:58:08:152] [    0.768473] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[19:58:08:152] [    0.777196] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[19:58:08:174] [    0.800110] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[19:58:08:190] [    0.807479] hub 1-0:1.0: USB hub found
[19:58:08:190] [    0.811829] hub 1-0:1.0: 1 port detected
[19:58:08:199] [    0.816571] sunxi-ehci sunxi-ehci.1: remove, state 1
[19:58:08:199] [    0.822297] usb usb1: USB disconnect, device number 1
[19:58:08:206] [    0.828944] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[19:58:08:224] [    0.845462] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[19:58:08:246] [    0.872536] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[19:58:08:264] [    0.881259] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[19:58:08:264] [    0.889870] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[19:58:08:328] [    0.954556] hub 1-0:1.0: USB hub found
[19:58:08:349] [    0.958898] hub 1-0:1.0: 1 port detected
[19:58:08:349] [    0.963727] sunxi-ohci sunxi-ohci.1: remove, state 1
[19:58:08:349] [    0.969344] usb usb1: USB disconnect, device number 1
[19:58:08:349] [    0.975625] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[19:58:08:370] [    0.992023] Initializing USB Mass Storage driver...
[19:58:08:375] [    0.997711] usbcore: registered new interface driver usb-storage
[19:58:08:394] [    1.004495] USB Mass Storage support registered.
[19:58:08:394] [    1.009976] file system registered
[19:58:08:394] [    1.014887] android_usb gadget: Mass Storage Function, version: 2009/09/11
[19:58:08:413] [    1.022667] android_usb gadget: Number of LUNs=1
[19:58:08:413] [    1.027992]  lun0: LUN: removable file: (no medium)
[19:58:08:413] [    1.033803] android_usb gadget: android_usb ready
[19:58:08:424] [    1.039335] sunxikbd_script_init: key para not found, used default para. 
[19:58:08:424] [    1.047914] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[19:58:08:441] [    1.056585] usbcore: registered new interface driver uvcvideo
[19:58:08:441] [    1.063130] USB Video Class driver (v1.0.8_SONiX_v2.6.36.04)
[19:58:08:455] [    1.069754] [VFE]cci probe start cci_sel = 0!
[19:58:08:455] [    1.074743] [VFE]cci probe end cci_sel = 0!
[19:58:08:455] [    1.079615] [VFE]cci_init end
[19:58:08:467] [    1.083032] [VFE]Welcome to Video Front End driver
[19:58:08:467] [    1.088676] [VFE]pdev->id = 0
[19:58:08:467] [    1.092171] [VFE]dev->mipi_sel = 0
[19:58:08:480] [    1.096048] [VFE]dev->vip_sel = 0
[19:58:08:480] [    1.099813] [VFE]dev->isp_sel = 0
[19:58:08:488] [    1.109736] [VFE_WARN]vfe vpu clock is null
[19:58:08:496] [    1.114790] sunxi-pinctrl sunxi-pinctrl: pin already requested
[19:58:08:496] [    1.121391] sunxi-pinctrl sunxi-pinctrl: pin-149 (csi0) status -22
[19:58:08:511] [    1.128441] sunxi-pinctrl sunxi-pinctrl: could not get request pin 149 on device sunxi-pinctrl
[19:58:08:521] [    1.138193] [VFE_ERR]vip0 request pinctrl handle for device [csi0] failed!
[19:58:08:521] [    1.146008] [ISP] isp platform_id = 6!
[19:58:08:537] [    1.150444] [VFE]vfe_init end
[19:58:08:537] [    1.153917] sunxi cedar version 0.1 
[19:58:08:537] [    1.158019] [cedar]: install start!!!
[19:58:08:537] [    1.162245] [VFE]probe_work_handle start!
[19:58:08:548] [    1.166872] [VFE]..........................vfe clk open!.......................
[19:58:08:559] [    1.175340] [cedar]: install end!!!
[19:58:08:559] [    1.179813] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[19:58:08:566] [    1.188855] [VFE]v4l2 subdev register input_num = 0
[19:58:08:584] [    1.194477] [VFE]vfe sensor detect start! input_num = 0
[19:58:08:584] [    1.200382] [VFE]Find sensor name is "ov5647_mipi", i2c address is 6c, type is "RAW" !
[19:58:08:584] [    1.209343] [VFE]Sub device register "ov5647_mipi" i2c_addr = 0x6c start!
[19:58:08:593] [    1.217066] [VFE_ERR]Error registering v4l2 subdevice No such device!
[19:58:08:600] [    1.224310] [VFE_ERR]vfe sensor register check error at input_num = 0
[19:58:08:608] [    1.231768] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[19:58:08:617] [    1.240557] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[19:58:08:624] [    1.249234] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[19:58:08:632] [    1.257906] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[19:58:08:643] [    1.266506] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[19:58:08:649] [    1.275138] [VFE]Check open /system/etc/hawkview/ov5647_mipi/isp_test_param.ini failed!
[19:58:08:658] [    1.275146] Match isp cfg  start!
[19:58:08:665] [    1.287981] [VFE_WARN]NOT found this item:  ov5647_mipi, you can add this ISP Config in the isp_cfg_array!
[19:58:08:672] [    1.298884] [VFE]read ini start
[19:58:08:681] [    1.302635] [VFE]Fetch ini file form "/system/etc/hawkview/ov5647_mipi/isp_test_param.ini"
[19:58:08:689] [    1.312181] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[19:58:08:696] [    1.321186] step1 : gsensor_fetch_sysconfig_para
[19:58:08:705] [    1.326405] step2 : gsensor_fetch_sysconfig_para
[19:58:08:714] [    1.331724] [MIR3DA] fetch_sysconfig_para failed!
[19:58:08:714] [    1.331730] 
[19:58:08:714] [    1.338770] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[19:58:08:728] [    1.348249] [vfe_warn]open file failed!
[19:58:08:728] [    1.353066] [VFE_WARN]read ini info fail
[19:58:08:739] [    1.357808] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[19:58:08:746] [    1.369084] [VFE]V4L2 device registered as vfe-0
[19:58:08:757] [    1.374848] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[19:58:08:757] [    1.382229] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[19:58:08:765] [    1.388590] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[19:58:08:775] [    1.397812] [VFE]..........................vfe clk close!.......................
[19:58:08:790] [    1.406227] [VFE]probe_work_handle end!
[19:58:08:790] [    1.410994] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.114 2015-6-2 10:21) Compiled in Oct 13 2018 at 11:48:37
[19:58:08:799] [    1.422551] [mmc]: get mmc0's sdc_power failed
[19:58:08:811] [    1.427676] [mmc]: MMC host used card: 0x1, boot card: 0x1, io_card 0
[19:58:08:811] [    1.435523] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:08:828] [    1.446698] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:08:831] [    1.456719] no led_3, ignore it!
[19:58:08:840] [    1.460420] no led_4, ignore it!
[19:58:08:840] [    1.464105] no led_5, ignore it!
[19:58:08:850] [    1.467859] no led_6, ignore it!
[19:58:08:850] [    1.471539] no led_7, ignore it!
[19:58:08:850] [    1.475218] [mmc]: sdc0 power_supply is null
[19:58:08:864] [    1.481453] leds-gpio: probe of leds-gpio failed with error -16
[19:58:08:864] [    1.488347] usbcore: registered new interface driver usbhid
[19:58:08:872] [    1.494747] usbhid: USB HID core driver
[19:58:08:880] [    1.499641] ashmem: initialized
[19:58:08:880] [    1.503289] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:08:888] [    1.513779] logger: created 256K log 'log_main'
[19:58:08:896] [    1.518980] logger: created 32K log 'log_events'
[19:58:08:904] [    1.524560] logger: created 32K log 'log_radio'
[19:58:08:904] [    1.529865] logger: created 32K log 'log_system'
[19:58:08:912] [    1.536437] [audiocodec] mic1_mic3_used type err! 
[19:58:08:921] [    1.541926] script_get_item return type err, consider it no ldo
[19:58:08:927] [    1.549536] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO !!
[19:58:08:933] [    1.558036] asoc: sndcodec <-> sunxi-codec mapping ok
[19:58:08:947] [    1.563856] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO !!
[19:58:08:947] [    1.572193] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:08:965] [    1.583987] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[19:58:08:983] [    1.595979] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
[19:58:08:983] [    1.606000] [DAUDIO0] driver not init,just return.
[19:58:08:989] [    1.612444] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:09:006] [    1.623135] IPv4 over IPv4 tunneling driver
[19:58:09:006] [    1.628527] TCP: cubic registered
[19:58:09:012] [    1.632466] Initializing XFRM netlink socket
[19:58:09:012] [    1.638647] NET: Registered protocol family 10
[19:58:09:020] [    1.643740] *******************Try sdio*******************
[19:58:09:027] [    1.650855] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[19:58:09:034] [    1.659408] IPv6 over IPv4 tunneling driver
[19:58:09:040] [    1.664941] NET: Registered protocol family 17
[19:58:09:048] [    1.669996] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[19:58:09:055] [    1.678503] ThumbEE CPU extension supported.
[19:58:09:061] [    1.683378] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[19:58:09:067] [    1.691722] Registering SWP/SWPB emulation handler
[19:58:09:079] [    1.697172] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[19:58:09:079] [    1.705514] *******************Try sd *******************
[19:58:09:087] [    1.712118] [HDMI]ep952_module_init begin
[19:58:09:094] [    1.717156] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[19:58:09:103] [    1.726222] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:09:112] [    1.736573] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[19:58:09:125] [    1.745327] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:09:142] [    1.755732] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[19:58:09:142] [    1.765572] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[19:58:09:150] [    1.775119] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:09:172] [    1.785502] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[19:58:09:172] [    1.795255] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[19:58:09:180] [    1.804028] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[19:58:09:188] [    1.812909] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:01:56 UTC (116)
[19:58:09:215] [    1.823291] [rf_pm]: Did not config module_power0 in sys_config
[19:58:09:215] [    1.829983] [rf_pm]: Did not config module_power1 in sys_config
[19:58:09:215] [    1.836813] [rf_pm]: Did not config module_power2 in sys_config
[19:58:09:224] [    1.843497] [rf_pm]: Did not config module_power3 in sys_config
[19:58:09:224] [    1.850259] [rf_pm]: mod has no chip_en gpio
[19:58:09:240] [    1.855085] [rf_pm]: failed to fetch lpo_use_apclk
[19:58:09:240] [    1.860584] [rf_pm]: regulator on.
[19:58:09:240] [    1.864450] [wifi_pm]: no wifi used in configuration
[19:58:09:250] [    1.870061] ALSA device list:
[19:58:09:250] [    1.873524]   #0: audiocodec
[19:58:09:263] [    1.877238] Waiting for root device /dev/mmcblk0p2...
[19:58:09:263] [    1.884222] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[19:58:09:273] [    1.897318] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[19:58:09:287] [    1.907847] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[19:58:09:295] [    1.918382] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[19:58:09:310] [    1.928884] mmc0: new high speed SDHC card at address 0001
[19:58:09:310] [    1.935476] mmcblk0: mmc0:0001 SD16G 7.52 GiB 
[19:58:09:320] [    1.941939]  mmcblk0: p1 p2
[19:58:09:320] [    1.946009] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[19:58:09:336] [    1.954813] *******************sd init ok*******************
[19:58:09:336] [    1.961373] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[19:58:09:352] [    1.970215] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[19:58:09:361] [    1.978739] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[19:58:09:361] [    1.987369] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[19:58:09:371] [    1.996012] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[19:58:09:379] [    2.004561] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[19:58:09:475] [    2.100910] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[19:58:09:493] [    2.110866] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[19:58:09:550] [    2.175934] EXT4-fs (mmcblk0p2): recovery complete
[19:58:09:565] [    2.184905] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[19:58:09:568] [    2.194155] VFS: Mounted root (ext4 filesystem) on device 179:2.
[19:58:09:581] [    2.202386] devtmpfs: mounted
[19:58:09:581] [    2.206082] Freeing init memory: 152K
[19:58:09:711] [    2.337191] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[19:58:09:759] Starting logging: OK
[19:58:09:792] Initializing random number generator... done.
[19:58:09:929] 
[19:58:09:938] Welcome to LicheePi
[19:58:09:938] licheepi login: 

似乎有进展。
好象我只在menuconfig 更改了ext4 以及预留内存ion
将uImage复制到本来能启动的TF卡上。

离线

#27 2018-10-13 21:52:43

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

@playflash 这是用主线 uboot, 运行在tf卡上?

离线

#28 2018-10-13 22:04:31

playflash
会员
注册时间: 2018-09-14
累计积分: 77

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

晕哥 说:

@playflash 这是用主线 uboot, 运行在tf卡上?

晕哥,应该是。
主线linux 与BSP的uboot 是一样的吧,好象我在这里下载的
https://whycan.cn/t_682.html

离线

#29 2018-10-13 22:21:15

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

playflash 说:
晕哥 说:

@playflash 这是用主线 uboot, 运行在tf卡上?

晕哥,应该是。
主线linux 与BSP的uboot 是一样的吧,好象我在这里下载的
https://whycan.cn/t_682.html

u-boot 是不一样的版本, 全志sdk带的 u-boot是被魔改过的.

离线

#30 2018-10-14 22:38:13

kakatoo
会员
注册时间: 2018-10-08
累计积分: 37

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

晕哥 说:
kakatoo 说:

支持,搞个4.4或者4.14的LTS kernel啊。 3.4实在有点老.....

做产品稳定性是第一位的,不追求最新。

只是3.4 也太老了点。 用在联网设备上,安全性堪忧啊。

离线

#31 2018-10-15 17:54:00

blade_cheng
会员
注册时间: 2018-10-15
累计积分: 1

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

膜拜大神

离线

#32 2018-10-16 08:23:04

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

现在是把 camdroid 里面的 sys_config.fex 覆盖 索智 SDK里面的 sys_config.fex,
编译出 img, 能烧录到 V3s, 但是卡住在 staring kernel ...

真是一个悲伤的消息.

离线

#33 2018-10-16 12:41:15

playflash
会员
注册时间: 2018-09-14
累计积分: 77

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

晕哥 说:

现在是把 camdroid 里面的 sys_config.fex 覆盖 索智 SDK里面的 sys_config.fex,
编译出 img, 能烧录到 V3s, 但是卡住在 staring kernel ...

真是一个悲伤的消息.

晕哥, 你搜索原来S3的linux-3.4/.config文件试试,关键字:80m,85m,更改为20m,25m,  按字面理解,这是预留内存给图像处理,之后zmake all
我不在linux电脑上, 具体这一项的名字, 我暂时查不到。
还不行的话, 我上传我的.config给你研究一下。

离线

#34 2018-10-16 13:41:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

playflash 说:
晕哥 说:

现在是把 camdroid 里面的 sys_config.fex 覆盖 索智 SDK里面的 sys_config.fex,
编译出 img, 能烧录到 V3s, 但是卡住在 staring kernel ...

真是一个悲伤的消息.

晕哥, 你搜索原来S3的linux-3.4/.config文件试试,关键字:80m,85m,更改为20m,25m,  按字面理解,这是预留内存给图像处理,之后zmake all
我不在linux电脑上, 具体这一项的名字, 我暂时查不到。
还不行的话, 我上传我的.config给你研究一下。

CONFIG_ION=y
CONFIG_ION_SUNXI=y
CONFIG_ION_SUNXI_RESERVE_LIST="80m,85m"

改成这样:

CONFIG_ION=y
CONFIG_ION_SUNXI=y
CONFIG_ION_SUNXI_RESERVE_LIST="28m,28m"

就可以了吗?

我试一试...

离线

#35 2018-10-16 14:55:36

playflash
会员
注册时间: 2018-09-14
累计积分: 77

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

晕哥 说:
playflash 说:
晕哥 说:

现在是把 camdroid 里面的 sys_config.fex 覆盖 索智 SDK里面的 sys_config.fex,
编译出 img, 能烧录到 V3s, 但是卡住在 staring kernel ...

真是一个悲伤的消息.

晕哥, 你搜索原来S3的linux-3.4/.config文件试试,关键字:80m,85m,更改为20m,25m,  按字面理解,这是预留内存给图像处理,之后zmake all
我不在linux电脑上, 具体这一项的名字, 我暂时查不到。
还不行的话, 我上传我的.config给你研究一下。

CONFIG_ION=y
CONFIG_ION_SUNXI=y
CONFIG_ION_SUNXI_RESERVE_LIST="80m,85m"

改成这样:

CONFIG_ION=y
CONFIG_ION_SUNXI=y
CONFIG_ION_SUNXI_RESERVE_LIST="28m,28m"

就可以了吗?

我试一试...

应该是这里。

离线

#36 2018-10-16 18:45:25

mango
会员
注册时间: 2017-12-02
累计积分: 253

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

对了,谁能搞到V3的SDK资料?sochip提供的zeta_sdk里有些编解码是库,要不到源码


歪朵拉开源硬件 https://widora.io/

离线

#37 2018-10-16 19:36:31

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

mango 说:

对了,谁能搞到V3的SDK资料?sochip提供的zeta_sdk里有些编解码是库,要不到源码

V3s camdroid 的资料: https://github.com/qq516333132/camdroid

这是 camdroid 编解码器依赖的库文件:
https://github.com/qq516333132/camdroid/tree/master/camdroid/frameworks/av/media/CedarX-Projects/CedarAndroidLib/LIB_JB42_F81

libadecoder.so
libcdx_base.so
libcdx_parser.so
libcdx_stream.so
libcedarx_aencoder.so
libcedarxbase.so
libcedarxplayer.so
libMemAdapter.so
libnormal_audio.so
libsdecoder.so
libvdecoder.so
libvencoder.so
libVE.so

上面这些库文件,在S3 SDK基本都找不到, 不知道如何实现编解码的.

离线

#38 2018-10-16 21:21:38

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

V3s zeta SDK 使用的库:

hexing@ubuntu:/disk4/zeta/prebuild/libs$ ls -l
total 3152
-rwxrwxr-x 1 hexing hexing 1791461 Sep 12 14:02 libAdas.so
-rwxrwxr-x 1 hexing hexing   88992 Sep 12 14:02 libaw_net.so
-rwxrwxr-x 1 hexing hexing  409848 Sep 12 14:02 libcamera.so
-rwxrwxr-x 1 hexing hexing    4444 Sep 12 14:02 libcdc_base.so
-rwxrwxr-x 1 hexing hexing   16564 Sep 12 14:02 libcdc_memory.so
-rwxrwxr-x 1 hexing hexing   78012 Sep 12 14:02 libcdc_sdecoder.so
-rwxrwxr-x 1 hexing hexing   27028 Sep 12 14:02 libcdc_vd_avs.so
-rwxrwxr-x 1 hexing hexing   94668 Sep 12 14:02 libcdc_vdecoder.so
-rwxrwxr-x 1 hexing hexing  125112 Sep 12 14:02 libcdc_vd_h264.so
-rwxrwxr-x 1 hexing hexing  170120 Sep 12 14:02 libcdc_vd_h265.so
-rwxrwxr-x 1 hexing hexing   48900 Sep 12 14:02 libcdc_vd_mjpegs.so
-rwxrwxr-x 1 hexing hexing  217244 Sep 12 14:02 libcdc_vencoder.so
-rwxrwxr-x 1 hexing hexing   14700 Sep 12 14:02 libcdc_ve.so
-rwxrwxr-x 1 hexing hexing   19344 Sep 12 14:02 libcutils.so
-rwxrwxr-x 1 hexing hexing   38008 Sep 12 14:02 libmediaplayer.so
-rwxrwxr-x 1 hexing hexing   39196 Sep 12 14:02 librecorder.so
-rwxrwxr-x 1 hexing hexing    2614 Sep 12 14:02 zeta.in

海豚派V3s Linux SDK使用的库:

hexing@ubuntu:/disk4/DPC03-R-Linux-20180712/libs$ ls -l
total 840
drwxrwxr-x 2 hexing hexing   4096 Apr 14  2018 gcc
-rwxrwxr-x 1 hexing hexing  26500 Jul 25 20:02 libcamera.so
-rwxrwxr-x 1 hexing hexing   4444 Apr 26 22:52 libcdc_base.so
-rwxrwxr-x 1 hexing hexing  16564 Apr 26 22:52 libcdc_memory.so
-rwxrwxr-x 1 hexing hexing  27028 Apr 26 22:52 libcdc_vd_avs.so
-rwxrwxr-x 1 hexing hexing  94668 Apr 26 22:52 libcdc_vdecoder.so
-rwxrwxr-x 1 hexing hexing 125112 Apr 26 22:52 libcdc_vd_h264.so
-rwxrwxr-x 1 hexing hexing  48900 Apr 26 22:52 libcdc_vd_mjpegs.so
-rwxrwxr-x 1 hexing hexing 217244 Apr 26 22:52 libcdc_vencoder.so
-rwxrwxr-x 1 hexing hexing  14700 Apr 26 22:52 libcdc_ve.so
-rwxrwxr-x 1 hexing hexing  18680 Jul 26 22:32 libdpdecoder.so
-rwxrwxr-x 1 hexing hexing  13124 Sep 24 16:53 libdpvideoencoder.so
-rwxrwxr-x 1 hexing hexing  20860 Jul 26 22:19 libmmiscops.so
-rwxrwxr-x 1 hexing hexing 184188 Jul 24 17:24 libqrdecoder.so
-rwxrwxr-x 1 hexing hexing  11328 Jul 14 20:53 libsurface.so

虽然文件不一致,但是文件名还是一样的,估计上面这些就是Linux的套路了。

离线

#39 2018-10-17 14:19:29

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

playflash 说:
晕哥 说:
playflash 说:

晕哥, 你搜索原来S3的linux-3.4/.config文件试试,关键字:80m,85m,更改为20m,25m,  按字面理解,这是预留内存给图像处理,之后zmake all
我不在linux电脑上, 具体这一项的名字, 我暂时查不到。
还不行的话, 我上传我的.config给你研究一下。

CONFIG_ION=y
CONFIG_ION_SUNXI=y
CONFIG_ION_SUNXI_RESERVE_LIST="80m,85m"

改成这样:

CONFIG_ION=y
CONFIG_ION_SUNXI=y
CONFIG_ION_SUNXI_RESERVE_LIST="28m,28m"

就可以了吗?

我试一试...

应该是这里。

搞定, 就是酱紫, 谢谢大神。

离线

#40 2018-10-17 15:04:49

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

QQ20181017145828.png

hexing@ubuntu:/disk4/zeta$ arm-linux-readelf -a ./prebuild/libs/libcamera.so |grep \\.so
0x00000001 (NEEDED)                     Shared library: [libwater_mark.so]
0x00000001 (NEEDED)                     Shared library: [libAdas.so]
0x00000001 (NEEDED)                     Shared library: [libutils.so]
0x00000001 (NEEDED)                     Shared library: [libcdc_base.so]
0x00000001 (NEEDED)                     Shared library: [libcdc_ve.so]
0x00000001 (NEEDED)                     Shared library: [libcdc_memory.so]
0x00000001 (NEEDED)                     Shared library: [libcdc_vencoder.so]
0x00000001 (NEEDED)                     Shared library: [libcdc_vdecoder.so]
0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
0x00000001 (NEEDED)                     Shared library: [libm.so.6]
0x00000001 (NEEDED)                     Shared library: [libc.so.6]
0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
  000000: Version: 1  File: libgcc_s.so.1  Cnt: 1
  0x0020: Version: 1  File: libstdc++.so.6  Cnt: 3
  0x0060: Version: 1  File: libc.so.6  Cnt: 1
hexing@ubuntu:/disk4/zeta$ arm-linux-readelf -a ./prebuild/libs/librecorder.so |grep \\.so
0x00000001 (NEEDED)                     Shared library: [libmp4v2.so.2]
0x00000001 (NEEDED)                     Shared library: [libtinyalsa.so]
0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
0x00000001 (NEEDED)                     Shared library: [libm.so.6]
0x00000001 (NEEDED)                     Shared library: [libc.so.6]
0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
  000000: Version: 1  File: libgcc_s.so.1  Cnt: 1
  0x0020: Version: 1  File: libc.so.6  Cnt: 1
  0x0040: Version: 1  File: libstdc++.so.6  Cnt: 4

由此可见,zeta 弄了个 libcamera.so 封装了全志的库 libcdc*.so

离线

#41 2018-10-18 15:39:10

lilo
会员
注册时间: 2017-10-15
累计积分: 214

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

文件系统里面死活没找到 zmake 这个文件, 最后用 grep 在 build/envsetup.sh 里面发现一个 zmake() 的函数, 原来还能这么玩. 又学到一招....

离线

#42 2018-10-18 15:45:18

lilo
会员
注册时间: 2017-10-15
累计积分: 214

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

分享一个编译 FFMPEG 的方法,
直接修改 ./out/sun8iw8p1-linaro-5.3/linux/common/buildroot/.config

修改

BR2_PACKAGE_FFMPEG=y

然后重新执行 zmake all

离线

#43 2018-10-18 16:47:10

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

lilo 说:

分享一个编译 FFMPEG 的方法,
直接修改 ./out/sun8iw8p1-linaro-5.3/linux/common/buildroot/.config

修改

BR2_PACKAGE_FFMPEG=y

然后重新执行 zmake all

我试了一下,so / a 文件是生成了,但是并没有生成 ffmpeg/ffserver/ffplay等文件,

然后我试了一下手工生成:

cd /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/build/ffmpeg-3.2

/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/arm-linux-gnueabi-gcc -o ffmpeg ffmpeg.c ffmpeg_filter.c ffmpeg_opt.c cmdutils.c -I. -Llibavcodec/ -lavcodec -Llibavformat/ -lavformat -Llibavutil -lavutil -Llibavfilter/ -lavfilter -Llibavformat -lavformat -Llibavutil -lavutil -Llibswresample -lswresample -Llibavdevice -lavdevice -lm   -pthread

生成成功,要到板子上试一试能不能运行.

然后试了一下静态链接:

/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/arm-linux-gnueabi-gcc -o ffmpeg ffmpeg.c ffmpeg_filter.c ffmpeg_opt.c cmdutils.c -I. -Llibavcodec/ -lavcodec -Llibavformat/ -lavformat -Llibavutil -lavutil -Llibavfilter/ -lavfilter -Llibavformat -lavformat -Llibavutil -lavutil -Llibswresample -lswresample -Llibavdevice -lavdevice -lm   -lpthread -static

出错:

libavformat//libavformat.a(utils.o): In function `avformat_find_stream_info':
/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/build/ffmpeg-3.2/libavformat/utils.c:3736: undefined reference to `avcodec_pix_fmt_to_codec_tag'
/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/build/ffmpeg-3.2/libavformat/utils.c:3737: undefined reference to `avpriv_get_raw_pix_fmt_tags'
libavformat//libavformat.a(utils.o): In function `av_apply_bitstream_filters':
/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/build/ffmpeg-3.2/libavformat/utils.c:5195: undefined reference to `av_bitstream_filter_filter'
libavformat//libavformat.a(id3v2.o): In function `id3v2_parse':
/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/build/ffmpeg-3.2/libavformat/id3v2.c:1006: undefined reference to `uncompress'
collect2: error: ld returned 1 exit status

离线

#44 2018-10-18 16:53:29

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

终于找到静态链接失败的原因了: https://blog.csdn.net/gzxx2007sddx/article/details/40379731

后来我怀疑是不是链接静态库的顺序不对,果然是这个原因,我把库链接的顺序调整了就不一样的了。

最终在LOCAL_LDFLAGS += \
        .. \

        $(LOCAL_PATH)/lib/libavformat.a \
        $(LOCAL_PATH)/lib/libavcodec.a \
       ..

libavformat.a要放在libavcodec.a之前,就能成功编译。

现在静态链接很正常了,拷到板子上跑一跑:

cd /disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/build/ffmpeg-3.2

/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/arm-linux-gnueabi-gcc -o ffmpeg ffmpeg.c ffmpeg_filter.c ffmpeg_opt.c cmdutils.c -I. -Llibavformat -lavformat  -Llibavcodec/ -lavcodec -Llibavformat/ -lavformat -Llibavutil -lavutil -Llibavfilter/ -lavfilter  -Llibavutil -lavutil -Llibswresample -lswresample -Llibavdevice -lavdevice -lm   -lpthread -lz -static

嗯,空跑正常:

/mnt/extsd # ./ffmpeg
ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (Linaro GCC 5.3-2016.05) 20160412
  configuration: --enable-cross-compile --cross-prefix=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/arm-linux-gnueabi- --sysroot=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/arm-buildroot-linux-gnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/disk4/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/pkg-config --enable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --disable-x11grab --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-memalign-hack --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libcdio --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libnut --disable-libopenjpeg --disable-libschroedinger --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-avresample --disable-ffprobe --disable-postproc --disable-swscale --disable-encoders --disable-decoders --disable-muxers --disable-demuxers --disable-parsers --disable-bsfs --disable-protocols --disable-filters --disable-indevs --disable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-gnutls --enable-openssl --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --enable-libfreetype --disable-fontconfig --disable-libx264 --disable-libx265 --disable-yasm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --enable-armv6 --enable-vfp --enable-neon --disable-altivec --enable-pic --cpu=cortex-a7
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.100 / 57. 64.100
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libswresample   2.  3.100 /  2.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

离线

#45 2018-10-18 17:15:44

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

还是没 X 用,这个 ffmpeg 根本不包含 v4l2.

离线

#46 2018-10-18 19:05:10

tom
会员
注册时间: 2018-03-14
累计积分: 101

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

可以用ffmpeg试一试视频转换是不是正常的

离线

#47 2018-10-18 20:47:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

tom 说:

可以用ffmpeg试一试视频转换是不是正常的

正常也没有用,需要从 v4l2 接口获取原始数据,利用整合好的硬件编解码器的ffmpeg转换成为
mp4文件

离线

#48 2018-10-18 22:09:50

playflash
会员
注册时间: 2018-09-14
累计积分: 77

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

晕哥 说:
tom 说:

可以用ffmpeg试一试视频转换是不是正常的

正常也没有用,需要从 v4l2 接口获取原始数据,利用整合好的硬件编解码器的ffmpeg转换成为
mp4文件

晕哥,你的是海豚派吧?用S3的开发包 摄像头正常出图像?

离线

#49 2018-10-18 22:16:55

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

playflash 说:
晕哥 说:
tom 说:

可以用ffmpeg试一试视频转换是不是正常的

正常也没有用,需要从 v4l2 接口获取原始数据,利用整合好的硬件编解码器的ffmpeg转换成为
mp4文件

晕哥,你的是海豚派吧?用S3的开发包 摄像头正常出图像?

kernel/driver 都是一样的,不同的是文件系统,我想应该问题不大。

离线

#50 2018-10-19 10:02:43

tom
会员
注册时间: 2018-03-14
累计积分: 101

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

可以自己写代码获取uvc图像,使用ffmpge库进行压缩 封装

离线

#51 2018-10-19 10:16:14

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

tom 说:

可以自己写代码获取uvc图像,使用ffmpge库进行压缩 封装

如果不整合硬件编解码器,用软解速度太慢了。
zeta sdk里面buildroot的ffmpeg怎么看都不像有sunxi硬编解码器补丁的样子。

离线

#52 2018-11-14 10:27:37

hubby
会员
注册时间: 2018-11-14
累计积分: 4

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

晕哥,想问一下H6 ubuntu linux下的libvdecoder.so怎么编译出来的

离线

#53 2018-11-14 10:38:52

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

hubby 说:

晕哥,想问一下H6 ubuntu linux下的libvdecoder.so怎么编译出来的

那一大波 lib*.so 是没有源码的,不过可以试一试这个 https://github.com/allwinner-zh/media-codec

貌似全志官方被喷之后放出来的 vpu 源码,能不能编译运行成功就不知道了。

离线

#54 2018-11-14 14:37:52

hubby
会员
注册时间: 2018-11-14
累计积分: 4

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

谢谢晕哥,这个在H6的安卓源码内也有,我就是不知道怎么吧这android下的移植到Ubuntu 下编译的时候报错 说早不到-lcdc_ve

离线

#55 2018-11-14 15:03:10

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

hubby 说:

谢谢晕哥,这个在H6的安卓源码内也有,我就是不知道怎么吧这android下的移植到Ubuntu 下编译的时候报错 说早不到-lcdc_ve

索智的sdk里面有 libcdc:

zeta/prebuild/libs/libcdc_vencoder.so
zeta/prebuild/libs/libcdc_memory.so
zeta/prebuild/libs/libcdc_vd_h264.so
zeta/prebuild/libs/libcdc_vd_mjpegs.so
zeta/prebuild/libs/libcdc_vdecoder.so
zeta/prebuild/libs/libcdc_sdecoder.so
zeta/prebuild/libs/libcdc_vd_h265.so
zeta/prebuild/libs/libcdc_vd_avs.so
zeta/prebuild/libs/libcdc_ve.so
zeta/prebuild/libs/libcdc_base.so

离线

#56 2018-11-14 15:27:48

hubby
会员
注册时间: 2018-11-14
累计积分: 4

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

我现在就是要在H6开发板ubuntu linux系统下跑出一个demoVdecoder出来。现在一头雾水

离线

#57 2018-11-16 13:44:14

lilo
会员
注册时间: 2017-10-15
累计积分: 214

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

瞄了一下原理图,好像索智打算用 S3 + USB摄像头作为倒车影像方案?

离线

#58 2018-11-19 10:02:32

vigour1000
会员
注册时间: 2018-11-19
累计积分: 31

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

看了一下图 这个片子管脚设计还是比较合理的,

离线

#59 2018-11-19 11:57:26

vigour1000
会员
注册时间: 2018-11-19
累计积分: 31

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

能出1G的DDR就好了,再把工作温度提到85度就完美了,原来玩32926时只有70度 后面版本升到了85度 没有测了

离线

#60 2018-11-27 08:06:18

vigour1000
会员
注册时间: 2018-11-19
累计积分: 31

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

掏了三片20181127_080112.jpg

离线

#61 2018-11-27 08:10:39

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

vigour1000 说:

掏了三片https://whycan.cn/files/members/1257/20181127_080112.jpg

看起来是翻新?多少钱买的?

离线

#62 2018-11-27 10:37:21

vigour1000
会员
注册时间: 2018-11-19
累计积分: 31

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

30多呢,现在画板试一看

离线

#63 2018-11-27 10:56:29

vigour1000
会员
注册时间: 2018-11-19
累计积分: 31

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

还想再掏一块旧板子先试一下,找人画板焊接特麻烦呢:)

离线

#64 2018-11-27 11:06:19

rainbow-pi
会员
注册时间: 2018-11-27
累计积分: 14

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

支持站长

离线

#65 2018-11-28 16:49:42

baidxi
会员
注册时间: 2018-10-27
累计积分: 7

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

官方那个demo程序有点扯哦,不接摄像头就自动退出。想把摄像头部分去掉,结果看得一头雾水。

离线

#66 2018-11-29 14:14:40

vigour1000
会员
注册时间: 2018-11-19
累计积分: 31

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

baidxi 说:

官方那个demo程序有点扯哦,不接摄像头就自动退出。想把摄像头部分去掉,结果看得一头雾水。

还慢慢填坑呀

离线

#67 2018-11-30 16:03:11

hubby
会员
注册时间: 2018-11-14
累计积分: 4

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

在那儿下载啊?海豚派V3s Linux SDK使用的库:
hexing@ubuntu:/disk4/DPC03-R-Linux-20180712/libs$ ls -l
total 840
drwxrwxr-x 2 hexing hexing   4096 Apr 14  2018 gcc
-rwxrwxr-x 1 hexing hexing  26500 Jul 25 20:02 libcamera.so
-rwxrwxr-x 1 hexing hexing   4444 Apr 26 22:52 libcdc_base.so
-rwxrwxr-x 1 hexing hexing  16564 Apr 26 22:52 libcdc_memory.so
-rwxrwxr-x 1 hexing hexing  27028 Apr 26 22:52 libcdc_vd_avs.so
-rwxrwxr-x 1 hexing hexing  94668 Apr 26 22:52 libcdc_vdecoder.so
-rwxrwxr-x 1 hexing hexing 125112 Apr 26 22:52 libcdc_vd_h264.so
-rwxrwxr-x 1 hexing hexing  48900 Apr 26 22:52 libcdc_vd_mjpegs.so
-rwxrwxr-x 1 hexing hexing 217244 Apr 26 22:52 libcdc_vencoder.so
-rwxrwxr-x 1 hexing hexing  14700 Apr 26 22:52 libcdc_ve.so
-rwxrwxr-x 1 hexing hexing  18680 Jul 26 22:32 libdpdecoder.so
-rwxrwxr-x 1 hexing hexing  13124 Sep 24 16:53 libdpvideoencoder.so
-rwxrwxr-x 1 hexing hexing  20860 Jul 26 22:19 libmmiscops.so
-rwxrwxr-x 1 hexing hexing 184188 Jul 24 17:24 libqrdecoder.so
-rwxrwxr-x 1 hexing hexing  11328 Jul 14 20:53 libsurface.so

离线

#68 2018-11-30 16:35:20

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

这个要找 海豚派他们吧

离线

#69 2018-12-01 20:53:51

iki1120
会员
注册时间: 2018-03-02
累计积分: 9

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

全志s3刚出你们就搞到了,厉害!

离线

#70 2019-03-12 06:10:50

迪卡
会员
注册时间: 2018-11-02
累计积分: 153

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

置顶

离线

#71 2019-03-12 09:40:27

dgtg
会员
注册时间: 2017-11-08
累计积分: 100

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

“社区逆向出来的编解码器资料”
在S3上可以实现视频H264编解码了吗?

离线

#72 2019-03-21 17:40:34

超级萌新
会员
注册时间: 2018-05-04
累计积分: 223

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

这么好的资料,收藏!

离线

#73 2019-04-03 13:55:32

hyh88
会员
注册时间: 2019-04-03
累计积分: 1

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

这么好的资料,收藏,谢谢楼主!

离线

#74 2019-04-10 17:41:03

迪卡
会员
注册时间: 2018-11-02
累计积分: 153

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

BSP如何编译出tf卡启动的img,
默认配置生成的img用全志官方Card烧录软件烧录到TF卡上,会报cardscript.fex相关错误。但烧写的tf卡能启动内核,然后内核说找不到rootfs。
不知道该如何改才能生成烧录到tf卡里的img

离线

#75 2019-04-10 18:16:28

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 6,937

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

离线

#76 2019-05-09 11:51:16

oldersu
会员
注册时间: 2019-05-09
累计积分: 48

Re: 编译索智(Sochip) S3 SDK (zeta) 【提供DXP格式原理图与PCB,感谢 @playflash】

全志,第一次听说,好好研究研究,感谢论坛,让我了解到了一款新芯片公司

离线

页脚