您尚未登录。

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

编译索智(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框架, 值得研究。


SDK本站下载(在windows用7zip或者winrar解压缩S3.zip.001即可):
S3.zip.001
S3.zip.002
S3.zip.003
S3.zip.004
S3.zip.005
须一起下载,共1.5G


文件md5校验码

8cb95ba739353ed1f35c230a40d4646e S3.zip.001
7a54a03a37bfdae1a7c0a71307980d4c S3.zip.002
e6be667d29613fcacc8cd951d10991c0 S3.zip.003
0a8bce4a3a71eb3d5a5f1913517030f5 S3.zip.004
70a19d03c2f9c256223a9e8652f71e46 S3.zip.005




离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

占坑





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

占坑





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

QQ20181012154519.png

编译正在进行...





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

kakatoo 说:

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

QQ20181012170516.png

QQ20181012171225.png

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

thor_yu 说:

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

playflash 说:

晕哥,在哪下SDK

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

lcfmax 说:

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

QQ20181013152136.png

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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是被魔改过的.





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

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

真是一个悲伤的消息.





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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"

就可以了吗?

我试一试...





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

tom 说:

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

playflash 说:
晕哥 说:
tom 说:

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

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

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

tom 说:

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

hubby 说:

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

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

vigour1000 说:

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

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





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

这个要找 海豚派他们吧





离线

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

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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





离线

楼主 #81 2019-09-29 22:26:32

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥小弟 说:

全志的S3代码在哪.难道和V3S一样? 可以把v3s的代码原封不动的直接使用?

因为芯片是同一个 die,
sip了不同规格的 dram,所以,
除了u-boot要改一点点之外,其他都通用,只是s3多一些引脚,需要那些引脚的功能就要修改 pinctrl.c,
如果不要那些引脚,就什么都不要改。





离线

楼主 #83 2019-09-29 22:42:38

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

晕哥小弟 说:

那这个uboot改法有有别人踩过坑的入门教程么?

这里有我改的: https://whycan.cn/t_2227.html

这里是荔枝派的: https://github.com/Lichee-Pi/u-boot/tree/s3-l0p-exp





离线

楼主 #85 2019-09-29 23:37:05

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

客气了, 感谢各位默默支持 whycan.cn 的朋友.





离线

楼主 #88 2019-09-30 19:53:44

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

可能某些层的显示被我disable了





离线

楼主 #90 2019-09-30 20:51:00

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

图层设置一下就好了





离线

楼主 #92 2019-09-30 21:36:34

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

或许设计就是这样,或许转换的时候丢了





离线

楼主 #94 2019-11-03 13:19:30

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

ippen 说:

晕哥,s3的原厂sdk能给发一份吗?

可以, 先加我QQ, 大概晚上发给你.





离线

楼主 #111 2020-02-15 15:12:47

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

Sk吴 说:

触摸屏IC:GT911换成GT9271出现边缘触摸没反应。x打印相反等情况。应该改哪些配置。

https://whycan.cn/t_2366.html





离线

楼主 #113 2020-02-25 16:22:44

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

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

用的是什么触摸芯片?触摸去抖了吗?





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn