jjm2473 / rtd1295-openwrt18-porting

porting openwrt 19.07+ to rtd1295/rtd1296 devices (android + openwrt dual os) (移植新版OpenWrt到RTD1295(如Zidoo Z9S))
https://github.com/jjm2473/openwrt/wiki/RTD129X-Openwrt-18.06
MIT License
40 stars 11 forks source link

X9S 1295 用18版本,安装软件包overylay空间不够应该怎么办? #19

Open liuyu160 opened 4 years ago

liuyu160 commented 4 years ago

X9S 1295 用18版本,安装软件包overylay空间不够应该怎么办?

jjm2473 commented 4 years ago

如果重置以后还是不够空间,那就安装不了了,厂商留的分区太小。要扩容的话需要修改分区表,但是这样风险比较高,不建议搞。

liuyu160 commented 4 years ago

谢谢

liuyu160 commented 4 years ago

我有一张闲置的4G mini SD卡,看到网上有个指导https://blog.csdn.net/jacob210/article/details/105443098 但是,操作到这一步的时候不成功. 在第block 这步的时候提示:uci Entry not found 能否指导一下? 转: 接下来要创建 mmcblk0p1 的挂载配置,全自动可以使用以下命令 block detect > /etc/config/fstab; \ sed -i s/option$'\t'enabled$'\t'\'0\'/option$'\t'enabled$'\t'\'1\'/ /etc/config/fstab; \ sed -i s#/mnt/mmcblk0p1#/overlay# /etc/config/fstab; \ cat /etc/config/fstab;

jjm2473 commented 4 years ago

mmcblk0p1是安卓的系统分区啊,你不能把它挂载到OP里面。z9s的内置emmc已经使用了mmcblk0这个设备,所以你插上去的sd卡的设备路径肯定不是mmcblk0开头的,也就是跟文中不一样的。(x9s在这方面也没什么差别) 这一步还是手动搞吧。

/etc/config/fstab可能已经被你写坏了,建议先重置一次。

1.打开挂载点管理页面,例如 http://192.168.1.10/cgi-bin/luci/admin/system/fstab ; 2.在挂载点这一栏点击下面的添加,勾选启用,UUID选择你的sd卡(应该是sda开头的),挂载点选择“作为外部overlay使用”; 3.点击页面最下面的“保存并应用” 4.应该要重启机器

不保证成功,你先试试吧,z9s没有sd卡槽。

liuyu160 commented 4 years ago

一个个说哈,mini sd卡系统识别出来时mmcblk1p1,实际挂了一个u盘和一个sd卡 1:最一开始时用方法就是打开挂载点管理页面,选择外部overlay,启用挂载点,保存并应用,重启。 2:完成上面操作,出现过两种情况: 1)重启后还是挂载在/mnt/mmcblk1p1,失败,曾经试过用mount命令行挂载,在命令行状态下查询是挂载上了,luci里面没有显示挂到overlay,重启以后就又没了。所以才考虑到上述的全自动挂载命令,我把“sed -i s#/mnt/mmcblk0p1#/overlay# /etc/config/fstab”调成了sed -i s#/mnt/mmcblk1p1#/overlay# /etc/config/fstab; 但是问题是第一条就过不去block detect > /etc/config/fstab;提示uci Entry not found 2)之前手动挂载,就算失败了,重启还是能进入luci后台管理界面的,现在直接是”192.168.8.100 拒绝了我们的连接请求”,完全就不让登录了,重刷官方固件都不行,用reset_op.signed.zip可恢复登录。 3:目前要达到的目的是能多装软件,可知道方法有1,扩展overlay,目前就光折腾这个了还老是失败,2,能不能改opkg.conf 配置,把东西装到别的目录去,不会咋整?:( ,3,通过cfdisk resize 内置硬盘,再分一个区出来,然后按esir的教程扩容overlay,怕死没敢这么玩,因为”拒绝连接“以后,安卓界面刷官方固件失败,尝试restore刷官方固件,也失败,担心重新分区以后变砖。 附:fstab:

config global option anon_swap '0' option anon_mount '0' option auto_swap '1' option auto_mount '1' option delay_root '5' option check_fs '0'

config mount 'da594c539bebf85c85c5cedf76546f7a' option enabled '0' option device '/dev/mmcblk0p1' option target '/mnt/mmcblk0p1' option fstype 'ext4' option options 'noatime'

config mount 'c25d03d9ea273358873eb911bfaab62b' option enabled '0' option device '/dev/mmcblk0p2' option target '/mnt/mmcblk0p2' option fstype 'ext4' option options 'noatime'

config mount 'f73de97f7017ca5e9b47ca9c8f633e83' option enabled '0' option device '/dev/mmcblk0p3' option target '/mnt/mmcblk0p3' option fstype 'ext4' option options 'noatime'

config mount '2683e38821376d5abec56a774e768b40' option enabled '0' option device '/dev/mmcblk0p7' option target '/mnt/mmcblk0p7' option fstype 'ext4' option options 'noatime'

config mount 'E419728F' option enabled '0' option device '/dev/sda4' option target '/mnt/sda4' option fstype 'vfat' option options 'utf8,uid=1023,gid=1023,dmask=0007,fmask=0007,shortname=mixed'

config mount '3f31f499b57f45d59983bd698e54ade6' option enabled '0' option device '/dev/mmcblk1p1' option target '/mnt/mmcblk1p1' option fstype 'ext4' option options 'noatime'

jjm2473 commented 4 years ago

如果block detect有问题先别用了,这个命令就是自动识别分区然后写到fstab,为了兼容zidoo的方式,使用了设备名称来挂载,这是不合理的,应该使用uuid。 所以别用block detect了,我前面已经说过这一步需要手动配置,按我说的先试试,配置完重启前发出fstab看看。

jjm2473 commented 4 years ago

1)重启后还是挂载在/mnt/mmcblk1p1,

说明fstab前面已经配置过mmcblk1p1的挂载路径了,所以就无法再挂载到overlay。

jjm2473 commented 4 years ago

2,能不能改opkg.conf 配置,把东西装到别的目录去

就算能装到其他地方去,很多软件也依赖文件路径,可能直接不能运行了。 有个项目叫entware的,它把很多软件都改成非默认路径,你可以了解下这个项目。

jjm2473 commented 4 years ago

改分区还是别搞了,可能以后刷官方包都能变砖

jjm2473 commented 4 years ago

目前还有一个我在开发中的项目 https://github.com/jjm2473/openwrt/actions ,这个项目比以前稳定,也改了一些底层软件让它更好地跟安卓共存,默认使用uuid挂载。 项目基本开发完成,功能和稳定性都比之前好,但是只在Z9S测试过;有个小睿云的用户刷过X9S的固件,并且刷了这个项目的OP,不能启动。有兴趣的话可以帮我在X9S测试下。

jjm2473 commented 4 years ago

我看了下flash的布局,有400M的空闲空间,够用了吗

liuyu160 commented 4 years ago

1:flash的布局,有400M的空闲空间够用了。 2:在开发中的项目 https://github.com/jjm2473/openwrt/actions ,下载了OpenWrt_firmware_x9s_202008140126.zip和OpenWrt_firmware_x9s_202008181305.zip在电视盒子升级界面,直接升级提示校验失败,要重新审视升级包,未能到拷贝这步。官方固件是2.1.40。 3:再次尝试手动配置扩容overlay,先用官方固件刷机,重启后会自动挂载如下 Filesystem | Mount Point | Available | Used /dev/mmcblk1p1 | /mnt/mmcblk1p1 | 3.23 GB / 3.51 GB | 3% (89.42 MB) 尝试2个步骤 1)手工尝试直接编辑挂载点,选择UUID方式,启用,选择外部overlay,保存并应用,返回挂载点界面发现挂载点还是/mnt/mmcblk1p1没有发生变化,重启以后也还是/mnt/mmcblk1p1。没有变化 2)先手工卸载/mnt/mmcblk1p1,再添加挂载点,选择UUID方式,启用,选择外部overlay,重启后还是是/mnt/mmcblk1p1。没有变化

补充第二条,解压缩OpenWrt_firmware_x9s_202008181305.zip,取出当中openwrt-18.06-snapshot-r0-ff75408-realtek-rtd129x-zidoo-x9s-squashfs.ota.zip验证通过,复制升级,重启后死机。目前无法正常进入电视盒子系统。

liuyu160 commented 4 years ago

目前尝试用restore键恢复固件,按指导https://www.znds.com/rom/jq/97751.html 失败,把官方固件https://www.zidoo.tv/Support/downloadList/target/KBiYl1ZANudKKmVViAFMcQ%3D%3D.html

ZIDOO_X9S-v2.1.40-202006102118-ota.zip 直接改名为install.img ,放入fat32 usb根目录,按指导用牙签按住restore,开电源,等了2分钟一直都是开机画面,似乎是没检测到恢复固件。尝试不同的u盘口和sd卡均失败。求教使用restore键恢复的方法或x9s可用任何版本install.img固件。ZIDOO_X9S-v2.1.40-202006102118-ota.zip中有13个文件.b ,.dtb .img .pem不同后缀文件

jjm2473 commented 4 years ago

ZIDOO_X9S-v2.1.40-202006102118-ota.zip 直接改名为install.img

这一步错了,把ota包改成install.img也无法安装的,需要按照这个链接操作 https://www.zidoo.tv/Support/support_guide/guide_target/1vhOLOoLZ3NKKmVViAFMcQ%3D%3D.html

liuyu160 commented 4 years ago

先按照这个https://www.zidoo.tv/Support/support_guide/guide_target/1vhOLOoLZ3NKKmVViAFMcQ%3D%3D.html 按住restore开电源,识别到恢复进度条,恢复不到1分钟,提示出错,要求重启,重启后,无法通过restore开电源方式找到进度条,电视无信号,U盘灯不亮,换了3过U盘尝试无效,共尝试ZIDOO_X9S-v2.1.1-201808020940-usb.img和install-ZIDOO_X9S-v1.4.12-201708181828-USB.img两个固件均无效 参照https://www.znds.com/tv-1129129-1-1.html,这个无效,此帖中有人救砖成功,我这无效,不知道是什么原因,恢复过程中突然显示失败,我去问问客服看有没有办法。

jjm2473 commented 4 years ago

额,官方的强刷教程也无效吗。 电视无信号估计bootloader都已经损坏了,或者主板烧了。盒子前面板还有任何灯会亮吗?

我有办法救砖,但是需要拆机连接ttl,还需要原本flash的前75M备份

liuyu160 commented 4 years ago

正常启动时绿灯,显示boot,按住restore启动时红灯,显示UP__,就没反应了。我咨询了客服,不插U盘,按restore上电双清无效,TTL链接我没工具,也没flash备份,看样子自己折腾是没戏了。后面打算返厂维修。

jjm2473 commented 4 years ago

哦,这个问题比较常见,在论坛有国外网友也遇到了,其实是官方固件的bug。 刷机过程中先把活跃分区标记为损坏,刷机成功以后再恢复标记。原本设计成这样是为了刷机失败还能进入备用recovery系统(flash中实际上有两套recovery),但是这些电视盒出厂时备用系统的分区表是错误的,所以无法进入备用系统,于是刷机失败以后就两套系统都进不去了 😢 。

liuyu160 commented 4 years ago

我看别人分享的救砖经验,N1盒子有短接pin脚的,路由器有拆下flash芯片的,还有用USB转TTL接口的,我短期内无法返厂送修,不知道你说的拆机链接TTL,是不是需要专用转接线的?如果是短接pin脚的,找到刷机包还能再试试,否则现在就只能暂时把它埋了。

jjm2473 commented 4 years ago

我写了个Z9S/Z10的TTL连接,X9S应该类似 https://jjm2473.github.io/nas/2020/07/07/z9s-dev.html

需要购买这种线 https://item.taobao.com/item.htm?id=6880410745

USB转TTL的模块比较容易找,我用的是这个 https://detail.tmall.com/item.htm?id=601567141914

jjm2473 commented 4 years ago

如果你拆机的话,拆完把主板照片发我看看

jjm2473 commented 4 years ago

论坛有UART(TTL)连接照片 http://forum.zidoo.tv/index.php?threads/how-to-flash-zidoo-x9s-unit.2959/page-11#post-48955

jjm2473 commented 4 years ago

@liuyu160 如果你在深圳,而且不介意拆机的话,我可以帮你救砖

liuyu160 commented 4 years ago

现在不在国内,所以说不方便弄工具,等我回去以后,预计要1-2个月以后了,我给你帮忙试试吧。

jjm2473 commented 4 years ago

好。其实那个固件已经可以在X9S上运行了,之前不能运行是因为Openwrt官方的mksquashfs有bug,导致生成的镜像包含特殊参数,X9S又不能识别这些参数,所以启动不了。

liuyu160 commented 4 years ago

我咨询了一下厂商技术售后,他帮忙问了一下他们的技术人员,说没有Flash 前75M 的备份,另外我今天打开了盒子.你看看如果我能弄到工具,你能远程指导我弄吗? 8 9

jjm2473 commented 4 years ago

可以远程。不过我用的是mac,可能还要找下合适的远程协助软件,实在找不到视频指导一下也可以的。

没有备份的话,也可以先尝试通过UART把损坏标记去掉,一般都能启动了,然后按官方强刷教程就行。

你先准备好设备和软件吧,可以参考这个教程,但是千万别刷uboot: https://bbs.nas66.com/thread-5553-1-1.html

liuyu160 commented 4 years ago

买你说的这个线 https://item.taobao.com/item.htm?id=6880410745 和我自己找到这个板https://detail.tmall.com/item.htm?id=607537557979&spm=a1z0k.6846577.0.0.16e07c9cx9d48T&_u=t2dmg8j26111 你看可以吗?你用的板功能比较多,这次用不上。还有没有其他要准备的?

jjm2473 commented 4 years ago

你看下这个教程吧 https://jjm2473.github.io/nas/2020/08/26/rtd129x-brick.html ,如果不知道怎么开始,可以加我微信

liuyu160 commented 4 years ago

上一条留言的板子可以吗?我给你的邮箱留言了

jjm2473 commented 4 years ago

板子应该可以的,有ttl转usb就行

jjm2473 commented 4 years ago

我看论坛有不需要TTL的方法 http://forum.zidoo.tv/index.php?posts/28733

liuyu160 commented 4 years ago

这个方法没用,已经试过了。没有任何反应

jjm2473 commented 4 years ago

那应该是uBoot的版本不一样,我的Z9S也不支持直接从U盘恢复

liuyu160 commented 4 years ago

已经弄到了USB转TTL,按照https://jjm2473.github.io/nas/2020/08/26/rtd129x-unbrick.html恢复FWTABLE签名做了一遍,1至10步的内容和教程一模一样。然后按官方强刷还是停留在BOOT,按restore 停留在UP,和之前一样。尝试下一步UART+U盘刷机,help命令后没有usb,fatload和boot这几个命令,做不下去了。望指导

Xshell 7 Beta (Build 0035)
Copyright (c) 2020 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[C:\~]$ 

Connecting to COM3...
Connected.

C1:80000000
C2
?
C3hswitch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
switch to SDR 8 bit
switch bus width to 0x00000008 bits success

hwsetting size: 000005F4
C4
f 
5-5
s_f
5-5-2
Goto FSBL: 0x10100000
switch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
emmc_cid[3] = 0x89656759 emmc_cid[2] = 0xCFA80352 emmc_cid[1] = 0x3444544A emmc_cid[0] = 0x41000115
switch bus width to 0x00000008 bits success
DEVICE_TYPE = 00000057
emmc_sec_count = 01D1F000
switch speed to 0x00000002 success
switch frequency to 0x000000A6
frequency divider is 0x00000000
1st TX_window = 0xFFFFFFFE
1st phase TX VP0= 0x00000010
RX_window = 0xFFFFFE07
phase RX VP1= 0x00000015
Welcome to FSBL ...
[FSBL] Warm Boot: 0x00000000
[FSBL] Secure: 0x0000BEEE
[FSBL] Flash Type: 0x00000002
[FSBL] DCache Enable: 0x00000000
[FSBL] SVP = N
********** FW_TYPE_GOLD_TEE **********
    FW Image to 0x10200000, size=0x0007A6A0 (0x1027A6A0)
    FW Image fr 0x000A7400 
********** FW_TYPE_GOLD_BL31 **********
    FW Image to 0x10120000, size=0x000052A0 (0x101252A0)
    FW Image fr 0x00121C00 
********** FW_TYPE_BOOTCODE **********
    FW Image to 0x00020000, size=0x00074F60 (0x00094F60)
    FW Image fr 0x00020800 
md copy audio bin
VERBOSE: bl31_setup
NOTICE:  BL31: v1.2(debug):a2d698a
NOTICE:  BL31: Built : 15:00:03, Nov 29 2016
INFO:    BL31: Initializing runtime services
INFO:    Start to init service std_svc 
INFO:    Finish to init service std_svc 
INFO:    Start to init service opteed_fast 
INFO:    Finish to init service opteed_fast 
INFO:    BL31: Initializing BL32
INFO:    TEE-CORE: TEE OS v2.1
INFO:    TEE-CORE: Skipping to check tee os version.
INFO:    TEE-CORE: Initializing (a3ddf6c-dev #1 Mon Sep 18 11:29:08 CST 2017 aarch64)
MESSAGE: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:49: ************************     tee_otp_get_hw_unique_key chip id: 30000
MESSAGE: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:54: ************************     tee_otp_get_hw_unique_key used Kf
INFO:    TEE-CORE: teecore inits done
INFO:    Core_0 TEESMC_OPTEED_RETURN_ENTRY_DONE 
INFO:    Core_0 got optee_vectors (0x1020093c)
INFO:    BL31: Initialized BL32
INFO:    EXIT BL31
INFO:    bl31_to_kernel: kernel_resume_entry = 0x1e000
INFO:    bl31 jumps to EL2: LK entry 

welcome to lk/MP

boot args 0x2 0x0 0x0 0x0
INIT: cpu 0, calling hook 0x52ee8 (version) at level 0x3ffff, flags 0x1
version:
    arch:     ARM64
    platform: RTD1295
    target:   RTD1295
    project:  RTD1295
    buildid:  EAE7790_2018年_08月_01日_星期三_15:24:42_CST
initializing heap
calling constructors
initializing mp
initializing threads
initializing timers
initializing ports
creating bootstrap completion thread
top of bootstrap2()
INIT: cpu 0, calling hook 0x51930 (sysparam) at level 0x70000, flags 0x1
INIT: cpu 0, calling hook 0x653bc (lwip) at level 0x70000, flags 0x1
creating bootstrap completion thread for cpu 1
creating bootstrap completion thread for cpu 2
creating bootstrap completion thread for cpu 3
initializing platform
rtd129x_pwm_pin_mux default value 0
PLL_EMMC1 = 0x00000003
switch frequency to 0x46, divder to 0x80
switch frequency to 0x46, divder to 0x4
switch_bus: width = 0x00000002
switch speed to 0x2 success 
switch frequency to 0xa6, divder to 0x0
PLL_EMMC1 = 0x00001583
switch erase_group_def to 0x1 success 
sec_count = 0x1d1f000 
Erase Unit Size = 512KB * 0x1 
factory_init, factory size:0x400000
MMC
Factory: pp:0, seq#:0x7b1, size:0x6c00
Bring UP slave CPUs
ViVEVEEnRRRBBiBOOOStSESEEi:::  a bbblll33l1i1__3szsg 1titu_usnpep

ICrCEpNOOaTTI
:B1 :N:gO E eTBI:CtLE 3 
     LI 3vN 11B:I. L2(T3dv1e::b1 u. g2v(c)d1:.pe2bacd:62d) d:e0,b6u9a8 ga2)
l6C9aaN2O9T8lIad
gBCLiEN:O8Tn Ia 
     EN:O3Th I1 :oC BE:oL B3uk i1B: L l03Btux1i 3l:: 5t1  5B::au0 i1e05:l08:3t0  ,:0 :( 0Nr3o1v85 ,: 12 a0N6o: v2800 )1239 6 ,
l2e9 o1tvI6N  
 0  vI Fe2O0NF:1l O6  :
    xI9NB0 F0L 0O30 :,1B  :Lf  l3a Ig1 sn:B i0tLx i1nIa
  lir:i8z1 t6iI8in_naiginl ititrziiuaialnniltzgiei e m5re2iu9 n6ns gt
  irrmvieun cestsierm
vi I sNceFersO:
    IceN  FsSO
t: aINr  tFO  St: ota  r in t Sitttoa sr iter nitvid_e ceisen sritvt idsc_eesr vsvci tc
_s I svsNFtcd O:
   I vN c  FOF
:inI  NisF  Oh :Fi to ni  i shFnii ttnio s shiern tcd_to  cesine risvttd ics_eserv cvs it
_s eI ssNvtFcO d:
O:tvI  NcF  S
    Ia NrtF  O t:St o  ar in ti Sttt oar seit nrvit_ptc  ise enroivpt ticeseee drvo_ipfatcees et do
fa fIeaseNFdt_ O:
   I sNt  F FO
i: IniN  FshO F: t in o  is inhFi ittnio s shiern t_ptto  cesine oirvtpt icseeee rdvo_ipfatcees et do
fa fIaeNestdFO _:
O:L Is NtF  B
   3I  N1:F  O I:BL ni 31 ti : BaIlL3iniz1:itin Igag iiBizLti3in2al
   IzBLiNFn32gO: 
Co:LIN3  2FO
   r IN e_ FO 2C : TorE  Ee S_C3MC orT_OEe_EPT1SM ETEC_DEE_OPRSMETETC_UEDROPN_R_TEEETNEDTU_RRYNRE__DETUNONTRNRE Y_E_
: OOINNRYEFO _D
OBL INEN  F 
   :3I  N1:F  O B:In L3 it 1: iaB ILli3ni1ze:ti d IalnBLii3ztie2ad
: BIizNLe3FO2d 
OEX IL3N  F2
   :I IT NF  B O:LEX3  1IT
   EIBLNXI3FTO1 :
OblIL3N  F1
   :I3  1NF_  tO:obl_  k31e  r_tnbleo_l31:ke _tkrneo_relnk:eelr kn_reerles:ne umkl_ee_rrenenesultr_myexy1 =esun 0tmerx_1y een0= 0tr00
 6  eI= N00F0xrO:801
E  Kj81 :N ebFR0lEO0A3:L01T
       R umI bTNFlLp8O31s:61 8   j @  0tuxbl9mo8310:t1 p6L0js02u0 m
a p osRL e KaE ltLteoe2nk : tEG rBLLEy2 K F:
y mLi eKlyn e tCrntoy rnt
l ro
 ler mcfg = 0024
netif en ip 192.168.100.1 netmask 255.255.255.0 gw 192.168.100.254
calling apps_init()
vid=31,20,19,18,17,16,5,4,3,2,1,
------------tmp/factory/video_rpc.bin found
Sink changed, skip one step
tv_system=25 mode=1
==== DP not detect ====
Set ACPU share memory
------------tmp/factory/000BootParam.h found
[logo]src w/h=1280/720 dst w/h=1280/720

*** ESC Pressed ***

EEPROM: SIZE=16384, ADRESS_MODE=2, PAGE_WRITE_SIZE=64, BUFFER_SIZE=16
starting app rtkboot
Enter Console...
entering main console loop
Realtek> starting app eeprom
starting app pmic
pmic_entry: set DCDC force PWM
gmt_testing returns 00
INIT: cpu 2, calling hook 0x22808 (slave_cpu_spin) at level 0x3ffff, flags 0x2
INIT: cpu 1, calling hook 0x22808 (slave_cpu_spin) at level 0x3ffff, flags 0x2
INIT: cpu 3, calling hook 0x22808 (slave_cpu_spin) at level 0x3ffff, flags 0x2
help
command list:
    net             : net toolbox
    page_alloc      : page allocator debug commands
    heap            : heap debug commands
    hexdump         : hexdump memory region
    help            : this list
    test            : test the command processor
    history         : command history
    bio             : block io debug commands
    novm            : page allocator (for devices without VM support) debug commands
    reboot          : soft reset
    poweroff        : powerdown
    version         : print version
    sysparam        : commands for manipulating system parameters
    dw              : display memory in words
    dh              : display memory in halfwords
    db              : display memory in bytes
    mw              : modify word of memory
    mh              : modify halfword of memory
    mb              : modify byte of memory
    fw              : fill range of memory by word
    fh              : fill range of memory by halfword
    fb              : fill range of memory by byte
    mc              : copy a range of memory
    crash           : intentionally crash
    stackstomp      : intentionally overrun the stack
    mtest           : simple memory test
    chain           : chain load another binary
    sleep           : sleep number of seconds
    sleepm          : sleep number of milliseconds
    crc16           : crc16
    crc32           : crc32
    adler32         : adler32
    bench_cksum     : benchmark the checksum routines
    aes_test        : test AES encryption
    aes_bench       : bench AES encryption
    threads         : list kernel threads
    threadstats     : thread level statistics
    threadload      : toggle thread load display
    loady           : Y-MODEM through UART
    fdt             : Flat device tree commands
    pmic            : GMT-G2227 PMIC commands
    keyset          : for uart mp tool write secure key  to factory
    uart_write      : for uart mp tool write mac or sn
    factory         : FACTORY sub system
    eeprom          : EEPROM commands
    fastboot        : fastboot command
    boot            : platform boot command
    cache           : cache operation
    boot_part       : r/w boot partition x
    pwm             : Control PWM 0,1,2,3
    rpmb            : do some rpmb operation
    chip            : detect soc version
    bdinfo          : Board information
    rtknand         : rtk nand commands
    rtkspi          : rtk spi commands
    rtkemmc         : rtk emmc commands
Realtek> 
liuyu160 commented 4 years ago

http://forum.zidoo.tv/index.php?threads/how-to-flash-zidoo-x9s-unit.2959/page-8 第142楼有个附件如下,他的内容中有U-Boot 2012.07 svn.161586,还有goru - start rescue linux from usb命令,我的都没有 不知道原因?所以按她的这个也做不了。

C1:80000000
C2
?
C3hswitch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
switch to SDR 8 bit
switch bus width to 0x00000008 bits success

hwsetting size: 000005CC
C4
f
5-5
Goto FSBL: 0x10100000
<=============================================>
fsbl_main: sys_secure_type = 0x0000BEEE
fsbl_main: sys_boot_type = 0x00000002
fsbl_main: sys_boot_enc = 0x00000000
fsbl_main: sys_bisr_done = 0x00000000
sys_hwsetting_size:00000600
sys_bootcode_size:000C61C0
sys_secure_fsbl_size:00010B80
sys_secure_os_size:000727C0
sys_bl31_size:00005040
sys_rsa_key_fw_size:00000000
sys_rsa_key_tee_size:00000000
sys_rescue_size:00026448

HwSetting:
hwsetting_blk_no:00000100
hwsetting_total_size:00000680
hwsetting_blk_count:00000004

Bootcode:
bootcode_blk_no:00000104
bootcode_total_size:000C61E0
bootcode_blk_count:00000631

FSBL:
secure_fsbl_blk_no:00000735
secure_fsbl_total_size:00010BA0
secure_fsbl_blk_count:00000086

TEE OS:
secure_os_blk_no:000007BB
secure_os_total_size:000727E0
secure_os_blk_count:00000394

BL31:
bl31_blk_no:00000B4F
bl31_total_size:00005060
bl31_blk_count:00000029

RSA Key Fw:
rsa_key_fw_blk_no:00000B78
rsa_key_fw_total_size:00000000
rsa_key_fw_blk_count:00000000

RSA Key TEE:
rsa_key_tee_blk_no:00000B78
rsa_key_tee_total_size:00000000
rsa_key_tee_blk_count:00000000

Rescue:
rescue_blk_no:00000B78
rescue_total_size:00026468
rescue_blk_count:00000133
********** FW_TYPE_GOLD_TEE **********
fwInfo->fwType: 00000023
fwInfo->isGolden: 00000001
fwInfo->ddrReadAddr: 00520000
fwInfo->ddrDestAddr: 10200000
fwInfo->flashType: 00000002
fwInfo->flashUnitSize: 00000200
fwInfo->flashOffset: 000F7600
fwInfo->dataSize: 000727E0
body_size:000727C0
flash_unit_no:000007BB
flash_unit_count:00000394
real_size:0007278C
sha256 Fw
********** FW_TYPE_GOLD_BL31 **********
fwInfo->fwType: 00000028
fwInfo->isGolden: 00000001
fwInfo->ddrReadAddr: 00520000
fwInfo->ddrDestAddr: 10120000
fwInfo->flashType: 00000002
fwInfo->flashUnitSize: 00000200
fwInfo->flashOffset: 00169E00
fwInfo->dataSize: 00005060
body_size:00005040
flash_unit_no:00000B4F
flash_unit_count:00000029
real_size:00005018
sha256 Fw
********** FW_TYPE_BOOTCODE **********
fwInfo->fwType: 00000001
fwInfo->isGolden: 00000001
fwInfo->ddrReadAddr: 00520000
fwInfo->ddrDestAddr: 00020000
fwInfo->flashType: 00000002
fwInfo->flashUnitSize: 00000200
fwInfo->flashOffset: 00020800
fwInfo->dataSize: 000C61E0
body_size:000C61C0
flash_unit_no:00000104
flash_unit_count:00000631
real_size:000C6180
sha256 Fw
j bootcode jump address:00020000
64b

U-Boot 2012.07 svn.161586    (Jan 23 2018 - 15:58:00)

CPU  : Cortex-A53 quad core - AARCH32
Board: Realtek QA Board
DRAM:  0 Bytes
Watchdog: Disabled
Cache: Enabled
Non-Cache Region: 1 MB@0x07900000
MMC:   RTD1295 eMMC: 0
SD device number = 1
rsp[0]=0x15010041,
                       rsp[1]=0x57504433,
                       rsp[2]=0x5200dbde,
                       rsp[3]=0xf4e414ed
rsp[0]=0xd0270132,
                       rsp[1]=0x0f5903ff,
                       rsp[2]=0xf6dbffef,
                       rsp[3]=0x92404009
mmc->version=0x00010000
version=0x00000004
[LY] cardtype=57, mmc->card_caps=0f
[LY] freq = 00464388, clk diver = 00000080
[LY] speed up emmc at HS-200
[LY] HS-200 bus width=2
[LY] mmc->boot_caps = 20b
TEMP TX_WINDOW=0x7fffffff, TX_best=0xf
RX_WINDOW=0xff87ffff, RX_best=0x4
TX1_WINDOW=0x7fffff80, TX_best=0x12
[LY] hs200 : 0
[HC] WPG_SIZE = 8388608
Device: RTD1295 eMMC
Manufacturer ID: 15
OEM: 100
Name: AWPD3
Tran Speed: 5f5e100
Rd Block Len: 512
MMC version 4.0
High Capacity: No
Capacity: 14.6 GiB
Bus Width: 8-bit
Speed: HS200
Factory: MMC
Factory: pp:1, seq#:0x3, size:0x20400
------------can't find tmp/factory/000BootParam.h
HDMITx_HPD=False
------------can't find tmp/factory/video_rpc.bin
tv_system=25 mode=1
In:    serial
Out:   serial
Err:   serial
Net:   Realtek PCIe GBE Family Controller mcfg = 0024
dev->name=r8168#0
Hit Esc or Tab key to enter console mode or rescue linux:  0
------------can't find tmp/factory/recovery

Press Esc Key
dcdc1_mode [0x07: shift: 6 length: 2]
gmt_testing returns 00
cur_val: [0x00] auto
new_val: [0x02] force_pwm
dcdc2_mode [0x07: shift: 2 length: 2]
cur_val: [0x00] auto
new_val: [0x02] force_pwm
dcdc3_mode [0x08: shift: 6 length: 2]
cur_val: [0x00] auto
new_val: [0x02] force_pwm
dcdc5_mode [0x09: shift: 6 length: 2]
cur_val: [0x00] auto
new_val: [0x02] force_pwm
dcdc6_mode [0x09: shift: 2 length: 2]
cur_val: [0x00] auto
new_val: [0x02] force_pwm

Enter console mode, disable watchdog ...

Realtek> help
Unknown command 'help' - try 'help'
Realtek> help
b2ndbc  - load 2nd stage bootcode
bdinfo  - print Board Info structure
bootm   - boot application image from memory
bootr   - boot realtek platform
dcache  - enable or disable data cache
eeprom  - EEPROM sub-system
env     - environment handling commands
factory - FACTORY sub system
fastboot- use USB Fastboot protocol
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fdt     - flattened device tree utility commands
gettime - get timer val elapsed
gg      - go 0x1500000

go      - start application at address 'addr' or start running fw
goru    - start rescue linux from usb
help    - print command description/usage
icache  - enable or disable instruction cache
keyset  - keyset - write keyset file into factory area
loady   - load binary file over serial line (ymodem mode)
md      - memory display
mmc     - MMC sub system (patch for rtd299x)
mtest   - simple RAM read/write test
mtest2  - simple RAM read/write test
mw      - memory write (fill)
ping    - send ICMP ECHO_REQUEST to network host
pmic    - GMT-G2227 PMIC commands
reset   - Perform RESET of the CPU
rtkemmc - RTK EMMC functions
saveenv - save environment variables to persistent storage
sd      - SD sub system
source  - run script from memory
tftp    - download image from TFTP server
tftpput - TFTP put command, for uploading files to a server
tt      - tftp 0x1500000 dvrboot.exe.bin

uart_write- for uart mp tool burn mac and sn key

unzip   - unzip a memory region
usb     - USB sub-system
Realtek> erase -m
Unknown command 'erase' - try 'help'
Realtek> factory
factory - FACTORY sub system

Usage:
factory read path
factory write path addr length
factory delete path
factory save
factory reset
factory info
factory list
Realtek> factory info
****** dump factory info ******
boot_flash_type    = MMC
factory_buffer     = 0x07000000
factory_buffer2    = 0x07200000
factory_tarsize    = 0x00020400
factory_current_pp = 0x00000001
factory_seq_num    = 0x00000003
Realtek> factory list
tmp/factory/
tmp/factory/env.txt
Realtek> factory read path
path: file not found
Realtek> factory write path addr length
Realtek> factory save
[FAC] factory_save: MMC
[FAC] Save to eMMC (blk#:0x1100, buf:0x07000000, len:0x20c00)
[FAC] Save to eMMC (seq#:0x4, pp:0)
Realtek> factory read path
path: 0 bytes at 0x07020600
Realtek> factory write path addr length
Realtek> factory info
****** dump factory info ******
boot_flash_type    = MMC
factory_buffer     = 0x07000000
factory_buffer2    = 0x07200000
factory_tarsize    = 0x00020600
factory_current_pp = 0x00000000
factory_seq_num    = 0x00000004
Realtek> factory list
tmp/factory/
tmp/factory/env.txt
Realtek> factory read path
path: 0 bytes at 0x07020600
Realtek> goru
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
USB1:   USB XHCI 1.10
scanning bus 1 for devices... Unknown request , typeReq = 0x200c
1 USB Device(s) found
USB2:   USB XHCI 1.10
scanning bus 2 for devices... Unknown request , typeReq = 0x200c
1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Hub,  USB Revision 2.0
 -  USB2.0 Hub
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x05e3  Product 0x0610 Version 50.152
   Configuration: 1
   - Interfaces: 1 Self Powered Remote Wakeup 100mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
     - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms

3: Mass Storage,  USB Revision 2.0
 -          silicon-power 11010892E6B20800B17E0179
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x13fe  Product 0x3600 Version 1.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 200mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 2 Out Bulk MaxPacket 512

4: Hub,  USB Revision 3.0
 - u-boot XHCI Host Controller
 - Class: Hub
 - PacketSize: 9  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

5: Hub,  USB Revision 3.0
 - u-boot XHCI Host Controller
 - Class: Hub
 - PacketSize: 9  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

USB device 0: Vendor:          Rev: PMAP Prod: silicon-power
            Type: Removable Hard Disk
            Capacity: 3824.0 MB = 3.7 GB (7831552 x 512)
reading rescue.emmc.dtb
Filesize: 64881 bytes
64881 bytes
Size: 64881, got: 64881

64881 bytes read (take 59ms)
Loading "rescue.emmc.dtb" to 0x02100000 is OK.

reading emmc.uImage
Filesize: 16346112 bytes
16346112 bytes
Size: 16346112, got: 16346112

16346112 bytes read (take 940ms)
Loading "emmc.uImage" to 0x03000000 is OK.

reading rescue.root.emmc.cpio.gz_pad.img
Filesize: 12582912 bytes
12582912 bytes
Size: 12582912, got: 12582912

12582912 bytes read (take 741ms)
Loading "rescue.root.emmc.cpio.gz_pad.img" to 0x02200000 is OK.

reading bluecore.audio
Filesize: 3480696 bytes
3480696 bytes
Size: 3480696, got: 3480696

3480696 bytes read (take 245ms)
Loading "bluecore.audio" to 0x01b00000 is OK.
Start Audio Firmware ...
A#[ FWWA]RkNyIlNiGn _rbtrki_ncga lulp_ bhowostemt tAidndg
wFW_FMiEnMiRsShV :k yFlDiTn__EbRrRi_nBgA_DtMeAmGpI Ch
 setting
[+][AO][aio_HWEnable]
[AO]aio_CRTOn:
SYS_CLOCK_ENABLE1 [ 0x9800000c]: 0x13fec571
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x58ffe416
SYS_SOFT_RESET1 [ 0x98000000]: 0xbfda1355
SYS_SOFT_RESET4 [ 0x98000050]: 0x0000801f
[AO]ao_SetDACAnalogOn:
TVE_VDAC_CTR1 [ 0x980183a0]: 0xa86c0280
AIO_O_ACANA_GCTL1 [ 0x98006604]: 0x24951504
8IO_I_ACANA_ADC_EGXCPTOLR2T  [E N0Vx 9A8T0 006x611000]0:0 000x08
e0rat3ka_0p0r
 lAoIaOd__Ib_oAoDtCi_mTaCgOeNs _[e m0mxc9 8:0 0l6o6afdc ]U:- B0oxo2t2 16f40 0  m0r0o
  A0IxO0_0I0_2A8D1C2_5T CtOoN  0[x 001x590800000606 fwci]t:h  0sxi2z2e1 f0fxf  00001
A0[0-0]0[
 O][aio_HWEnable]
[Audio]SetTickRate  0x000000c8
[ACPU] Set protect, start: 0x00000000 end: 0x00001000 moduleid:6
HDMI Raw Enable: MPG AC3 DTS MPEG2 AAC DDP WMAPRO MLP

SPDIF Raw Enable: MPG AC3 DTS MPEG2 AAC DDP WMAPRO MLP

Force 2ch Format: DTS DTSHD AC3 DDP MLP AAC WMAPRO

[AO][InitHDMIVideoType]HDMI Frequecny 148, resolution 25

@@@@@@@One Step TV System magic number = 0xc0de0bee, addr = 0xa001f800@@@@@@@
[AUDIO WARNING] ERR UNCACHEABLE_VADDR  0xb8071200 @  0x81b2e538

@@@@@@@@@ boot_info->tv_sys.interfaceType 0
_a@VIDEO_RPC_VOUT_ToAgent_ConfigTVSycsopteym__20nd__svbco]ottylpoea d0e!r
c HndD_MIruOfnf : =  s0r
ze0[Vx0O]1v50o-00>i0s0,_h ddsmit_:0ofxf00_c0l21oc0k00_o,n s:0i
C_[:@0x@V0I00DEcO50_R00P
a VJuOUmTp_iTnog Agteo nt2_nCdo nbofiotglViodaedoerSt.a.n.d
 rd_0_svc]
[VO_SetVideoStandard]st 25 p 1 1 0
[VO_SetVideoStandard]ped 1 data0  0x00000004 data1  0x00000000
[VO_SetVideoStandard]HDMIoff 0 is_tve_on 1 user_cvbs_off 0
lvds.format 0 port_setting  0x00000381 lvds_wb 0
[VO setTVStandard 25 3D 0 0]

(TVE) TVE_DAC_mode 0,cmd->enProg 1!!
TV_NTSC_J
~~comp 0, ch2 1, mode_3D 0!!
~~comp 0, ch2 1, mode_3D 0!!
~~TVE standard#
SetVideoStandard return!
[@@VIDEO_RPC_VOUT_ToAgent_ConfigHdmiInfoFrame_0_svc]

(VO_ConfigHDMI_InfoFrame) L:236, is_hdmi_plugin 1, hdmiMode 1!!Mode 1 dataByt  e1  0x00000000  0x00000000  0x00000000
dataByte4  0x00000000  0x00000000 int0  0x00000001

(HDMI_3D) mode 1, HDMI_gen 1, En_3D 0, Format_3D 0 scramble:0!!clearDynamicRa  ngeMasteringPkt()

 go back SET_HDMI!!boot_info  0xa0000000 magic  0xfffeedff en 227
[AO][_AO_if_video_HDMI_mode]HDMI not enabled
[AO][+]_AO_setup_default_audio_infoframe
[AO][--]_AO_hdmi_disable(0)
[AUDIO WARNING]
[AO][_AO_hdmi_disable]do nothing, HDMI not enable  0x00000000  0x00000001
Audio_Channel_Count 1 :2CH, audio_layout:0
HDMI_Frequency 148 :1080p50,1080p60
Sampling_Frequency 3 :48K
CTS = 148500, N = 6144
[+][HDMI_gen_audio_infoframe]
CA:2CH: L,R
[-][HDMI_gen_audio_infoframe]
SYS_PLL_PSAUDA1 [ 0x98000130]: 0x0050022d
[AO][++]_AO_hdmi_enable(0)
[AUDIO WARNING]
[AO][_AO_hdmi_enable]do nothing, HDMI not enable  0x00000000  0x00000001
[AO][-]_AO_setup_default_audio_infoframe

U-Boot 2015.07-gdc68be6-dirty (Nov 30 2016 - 09:54:29 +0800)

CPU  : Cortex-A53 Quad Core
Board: Realtek QA Board
DRAM:  1 GiB
mapping memory 0x20000000-0x40000000 non-cached
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
rtk_plat_set_fw not port yet, use default configs
## Flattened Device Tree blob at 02100000
   Booting using the fdt blob at 0x2100000
   reserving fdt memory region: addr=0 size=30000
   reserving fdt memory region: addr=1f000 size=1000
   reserving fdt memory region: addr=30000 size=d0000
   reserving fdt memory region: addr=3100000 size=6000000
   reserving fdt memory region: addr=1b00000 size=400000
   reserving fdt memory region: addr=3000000 size=100000
   reserving fdt memory region: addr=1ffe000 size=4000
   reserving fdt memory region: addr=10000000 size=14000
   reserving fdt memory region: addr=1fc00000 size=1000
   reserving fdt memory region: addr=22000000 size=17bb000
   reserving fdt memory region: addr=2200000 size=c00000
   Using Device Tree in place at 0000000002100000, end 0000000002112d70
Bring UP slave CPUs
Jump to BL31 entrypoint
VERBOSE: bl31_setup
NOTICE:  BL31: v1.2(debug):1522ab7
NOTICE:  BL31: Built : 16:33:46, Oct 13 2016
INFO:    BL31: Initializing runtime services
INFO:    Start to init service std_svc
INFO:    Finish to init service std_svc
INFO:    Start to init service opteed_fast
INFO:    Finish to init service opteed_fast
INFO:    BL31: Initializing BL32
INFO:    TEE-CORE: TEE OS v2.1
INFO:    TEE-CORE: tee os version : 1
INFO:    TEE-CORE: OTP tee os version : 0
INFO:    TEE-CORE: chip_rev_id : 10000
INFO:    TEE-CORE: check golden fw : 10050044
INFO:    TEE-CORE: Do not supoort check tee os version in this chip.
INFO:    TEE-CORE: Initializing (828cd34-dev #1 Thu Dec  8 16:13:14 CST 2016   aarch64)
MESSAGE: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:46: ***********************  *     tee_otp_get_hw_unique_key chip id: 10000
INFO:    TEE-CORE: teecore inits done
INFO:    Core_0 TEESMC_OPTEED_RETURN_ENTRY_DONE
INFO:    Core_0 got optee_vectors (0x1020093c)
INFO:    BL31: Initialized BL32
INFO:    EXIT BL31
INFO:    bl31_to_kernel: kernel_resume_entry = 0x1e000
INFO:    bl31 jumps to EL2: kerenl entry
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.17-g26a590a-dirty (maifanghao@ZidooServer) (  gcc version 4.9.4 (OpenWrt/Linaro GCC 4.9-2015.06 r47591) ) #8 SMP PREEMPT Th  u Aug 17 15:34:28 CST 2017
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: enabling workaround for ARM erratum 845719
[    0.000000] DT: cma-improve=0
[    0.000000] earlycon: Early serial console at MMIO32 0x98007800 (options '  ')
[    0.000000] bootconsole [uart0] enabled
WARNING: NO PSCI SERVICE: 0x84000000
WARNING: NO PSCI SERVICE: 0x84000006
WARNING: NO PSCI SERVICE: 0x8400000a
WARNING: NO PSCI SERVICE: 0x8400000a
VVVEEERRRBBBOOOSSSEEE:::   bbblll333111___ssseeetttuuuppp

NNNOOOTTTIIICCCEEE:::      BBBLLL333111:::   vvv111...222(((dddeeebbbuuuggg))  ):::111555222222aaabbb777

NNNOOOTTTIIICCCEEE:::      BBBLLL333111:::   BBBuuuiiilllttt   :::   111666::  :333333:::444666,,,   OOOcccttt   111333   222000111666

IIINNNFFFOOO:::            BBBLLL333111:::   IIInnniiitttiiiaaallliiizzziiinn  nggg   rrruuunnntttiiimmmeee   ssseeerrrvvviiiccceeesss

IIINNNFFFOOO:::            SSStttaaarrrttt   tttooo   iiinnniiittt   ssseeerr  rvvviiiccceee   ssstttddd___sssvvvccc

IIINNNFFFOOO:::            FFFiiinnniiissshhh   tttooo   iiinnniiittt   sssee  errrvvviiiccceee   ssstttddd___sssvvvccc

IIINNNFFFOOO:::            SSStttaaarrrttt   tttooo   iiinnniiittt   ssseeerr  rvvviiiccceee   ooopppttteeeeeeddd___fffaaasssttt

IIINNNFFFOOO:::            FFFiiinnniiissshhh   tttooo   iiinnniiittt   sssee  errrvvviiiccceee   ooopppttteeeeeeddd___fffaaasssttt

IIINNNFFFOOO:::            BBBLLL333111:::   IIInnniiitttiiiaaallliiizzziiinn  nggg   BBBLLL333222

IIINNNFFFOOO:::            CCCooorrreee___312   TTTEEEEEESSSMMMCCC___OOOPPPTT  TEEEEEEDDD___RRREEETTTUUURRRNNN___EEENNNTTTRRRYYY___DDDOOONNNEEE

IIINNNFFFOOO:::            BBBLLL333111:::   IIInnniiitttiiiaaallliiizzzeeedd  d   BBBLLL333222

IIINNNFFFOOO:::            EEEXXXIIITTT   BBBLLL333111

IIINNNFFFOOO:::            bbblll333111___tttooo___kkkeeerrrnnneeelll:::   kk  keeerrrnnneeelll___rrreeesssuuummmeee___eeennntttrrryyy   ===   000xxx111eee0  00000000

IIINNNFFFOOO:::            bbblll333111   jjjuuummmpppsss   tttooo   EEELLL22  2:::   kkkeeerrreeennnlll   eeennntttrrryyy

[    0.268504] bl31_set_tee_protect !!!
INFO:    Non-Secure Boot or IC_REV >= B00 : no action !!
[    0.277717] bl31_set_tee_protect ret = 0
[    0.717319] ****** rtk_lockapi_init 597, chip: id=0x00000000, revision=0x00010000
TVE_setDAC 2485,  0xd48bd400
[    2.831009] rtk-usb-power-manager 98000000.rtk_usb_power_manager: rtk_dwc3_u2host status is okay
[    2.840939] rtk-usb-power-manager 98000000.rtk_usb_power_manager: ehci status is okay
[    2.849765] rtk-usb-power-manager 98000000.rtk_usb_power_manager: ohci status is okay
[    2.865057] rtk-usb-power-manager 98000000.rtk_usb_power_manager: create_debug_files
[    3.860143] [RTD129x PCIE Slot2] 9803b000.pcie2: PCIE device has link downin slot 2
[    3.868869] [RTD129x PCIE Slot2] 9803b000.pcie2: rtk_pcie2_hw_initial fail
[    4.090454] [RTD129x PCIE Slot1] 9804e000.pcie: PCIE device has link down in slot 1
[    4.099079] [RTD129x PCIE Slot1] 9804e000.pcie: rtk_pcie_hw_initial fail
[    4.111269] rtk119x-ir 98007000.irda: [rtk119x_ir_probe]: can't get multiple support from dtb, set to default->not support

[ROS: openRPC() intr_scpu_dev_r buf  0x00e2ffa1 s  0x00e2ffa1 e  0x00e4ffa1 i  0x00e2ffa1
[ROS: openStubRPC() intr_w buf  0x00e6ffa1 s  0x00e6ffa1 e  0x00e8ffa1 i  0x00e6ffa1[AVCPU] Set Debug level flag  0x81e03dac *flag  0x01df51e0 ucache  0xa  1df51e0
[AVCPU] Set Debug level *ptrDebugFlag  0x00000001
-------------------
Audio Version = 160345 (Kylin)
Common Version = 0
Binary src compiled at Aug  3 2017 14:39:32
Note =
-------------------

[A] gloabl malloc size  0x003ffeb8
[    4.182028] AudioIntrRead:143 can't find process for handling AudioIntrRead programID:98
[    4.191265] AudioIntrRead: program:98 version:0 procedure:1 taskID:0 sysTID:4294967295 sysPID:4294967295 size:4 context:81e0357d atomic
[    4.282648] dw-apb-uart 9801b200.serial1: clock rate not defined
[    4.413337] rtc_rtd1295 9801b600.rtc: rtk_rtc already enabled
[    4.424868] cec_core_init, register cec_bus ffffffc00119b3d8
[    4.430810] register cec driver 'cec' (ffffffc00119b558)
[    4.436303] register cec device 'cec0' (ffffffc00119b650) to cec0
[    4.442669] [cec_bus_match name = cec0,len=4,drv_name=cec]
[    4.448326] probe : cec_dev 'cec0' (ffffffc00119b650), cec_drv 'cec' (ffffffc00119b558)
[    4.457182] register cec device 'cec1' (ffffffc00119b900) to cec0
[    4.463535] [cec_bus_match name = cec1,len=4,drv_name=cec]
[    4.469210] probe : cec_dev 'cec1' (ffffffc00119b900), cec_drv 'cec' (ffffffc00119b558)
[    4.569193] [SDIO] rtk_sdhci_set_clock end real_div=1f4, div=fa, c3c=0, PLL=ae4388, CLK=fa07
[    4.589335] EMMC : emmc of_node found
[    4.593132] [rtkemmc_probe] get driving s0 : 0x1
[    4.597858] [rtkemmc_probe] get driving s0 : 0x77
[    4.602682] [rtkemmc_probe] get driving s0 : 0x77
[    4.607498] [rtkemmc_probe] get driving s0 : 0x77
[    4.612320] [rtkemmc_probe] get driving s0 : 0x33
[    4.617141] [rtkemmc_probe] get driving s2 : 0x1
[    4.619193] [SDIO] rtk_sdhci_set_clock end real_div=29c, div=14e, c3c=0, P  LL=ae4388, CLK=4e47
[    4.630603] [rtkemmc_probe] get driving s2 : 0xbb
[    4.635419] [rtkemmc_probe] get driving s2 : 0xbb
[    4.640239] [rtkemmc_probe] get driving s2 : 0xbb
[    4.645055] [rtkemmc_probe] get driving s2 : 0x33
[    4.649877] [rtkemmc_probe] get tx tuning switch : 0
[    4.654959] [rtkemmc_probe] get rx tuning switch : 0
[    4.669191] [SDIO] rtk_sdhci_set_clock end real_div=3e8, div=1f4, c3c=0, PLL=ae4388, CLK=f447
[    4.712388] -->rfkill_bluetooth_init
[    4.719207] [SDIO] rtk_sdhci_set_clock end real_div=7d0, div=3e8, c3c=0, PLL=ae4388, CLK=e8c7
[    4.720518] audio-notifier audio-out-devices: failed to notify ACPU: -22
[    4.750646] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.761355] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.775662] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.786336] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.797012] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.807686] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.818361] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.829036] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.839711] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.850386] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.860468] init: FIXME: selinux is forced to permissive mode!!
[    4.861062] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.862393] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.903125] card->mmc_avail_type = 0x00000013
[    4.920890] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: create_debug_files
[    4.937040] init: waitpid failed: No child processes
[    4.943459] init: service 'console' requires console
[    4.943473] init: loglevel: invalid log level'8'
[    5.215218] CL_DEV::ST 0 -> 0
[    5.296332] init: Failed to read from /dev/hw_random: No such device
[    5.305003] init: property 'ro.serialno' doesn't exist while expanding '${ro.serialno}'
[    5.313215] init: cannot expand '${ro.serialno}' while writing to '/sys/class/android_usb/android0/iSerial'
[    5.323237] init: Failed to read from /dev/hw_random: No such device
/ # [    5.434993] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    5.460137] rtk-ohci 98013400.ohci: _ohci_readl [USB Workaround] fixed force to enable ohci clock
[    5.660259] usb usb5-port1: port 1, status 0501, change 0000, 480 Mb/s
[    5.779189] usb 5-1: new high-speed USB device number 2 using rtk-ehci (platform)
[    5.859257] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: Connection change OK: IN host mode to attach device at cc1 (cc_status=0x3b)
[    5.934417] usb 5-1: bInterfaceClass = 9
[    6.129484] usb 5-1-port1: port 1, status 0101, change 0000, 12 Mb/s
[    6.209194] usb 5-1.1: new high-speed USB device number 3 using rtk-ehci (platform)
[    6.326465] usb 5-1.1: bInterfaceClass = 8
[    6.439189] usb 5-1.1: hub_port_connect unbind-probe dev_name = 5-1.1 jiffies= 0x27d
[   18.600668] sd 3:0:0:0: [sda] No Caching mode page found
[   18.606115] sd 3:0:0:0: [sda] Assuming drive cache: write through
[AVCPU] Set Debug level flag  0x81dff88c *flag  0x01269b90 ucache  0xa1269b90  
[AVCPU] Set Debug level *ptrDebugFlag  0x00000000
[   26.018871] ueventd: SELinux: Could not get canonical path /sys/devices/platform/98012000.emmc/mmc_host/mmc1/mmc1:0001/block/mmcblk0/mmcblk0p4 restorec  on: No such file or directory.
[  218.952443] [PMIC] gmt_g2227_shutdown: prepare poweroff
[ACPU] receive rtk_if_prepare_suspend
enter rtk_standby_main, watchdog sec 0  0x00000000
[ACPU] IR key is  0x00000000 mask  0x00000000 shift 32
9ET_SUSPEND_VERS[ IO N2 =1=8 2.
tw9a4it96 r3]tk r_cehbeocokt_s:y sRteesm_traeradtyi_ntog_ ssusypsetnde amu
 hor 1 notify 0

C1:80000000
C2
?
C3hswitch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
switch to SDR 8 bit
switch bus width to 0x00000008 bits success

hwsetting size: 000005CC
C4
f
5-5
Goto FSBL: 0x10100000
<=============================================>
fsbl_main: sys_secure_type = 0x0000BEEE
fsbl_main: sys_boot_type = 0x00000002
fsbl_main: sys_boot_enc = 0x00000000
fsbl_main: sys_bisr_done = 0x00000000
sys_hwsetting_size:00000600
sys_bootcode_size:000C61C0
sys_secure_fsbl_size:00010B80
sys_secure_os_size:000727C0
sys_bl31_size:00005040
sys_rsa_key_fw_size:00000000
sys_rsa_key_tee_size:00000000
sys_rescue_size:00026448

HwSetting:
hwsetting_blk_no:00000100
hwsetting_total_size:00000680
hwsetting_blk_count:00000004

Bootcode:
bootcode_blk_no:00000104
bootcode_total_size:000C61E0
bootcode_blk_count:00000631

FSBL:
secure_fsbl_blk_no:00000735
secure_fsbl_total_size:00010BA0
secure_fsbl_blk_count:00000086

TEE OS:
secure_os_blk_no:000007BB
secure_os_total_size:000727E0
secure_os_blk_count:00000394

BL31:
bl31_blk_no:00000B4F
bl31_total_size:00005060
bl31_blk_count:00000029

RSA Key Fw:
rsa_key_fw_blk_no:00000B78
rsa_key_fw_total_size:00000000
rsa_key_fw_blk_count:00000000

RSA Key TEE:
rsa_key_tee_blk_no:00000B78
rsa_key_tee_total_size:00000000
rsa_key_tee_blk_count:00000000

Rescue:
rescue_blk_no:00000B78
rescue_total_size:00026468
rescue_blk_count:00000133
********** FW_TYPE_GOLD_TEE **********
fwInfo->fwType: 00000023
fwInfo->isGolden: 00000001
fwInfo->ddrReadAddr: 00520000
fwInfo->ddrDestAddr: 10200000
fwInfo->flashType: 00000002
fwInfo->flashUnitSize: 00000200
fwInfo->flashOffset: 000F7600
fwInfo->dataSize: 000727E0
body_size:000727C0
flash_unit_no:000007BB
flash_unit_count:00000394
real_size:0007278C
sha256 Fw
********** FW_TYPE_GOLD_BL31 **********
fwInfo->fwType: 00000028
fwInfo->isGolden: 00000001
fwInfo->ddrReadAddr: 00520000
fwInfo->ddrDestAddr: 10120000
fwInfo->flashType: 00000002
fwInfo->flashUnitSize: 00000200
fwInfo->flashOffset: 00169E00
fwInfo->dataSize: 00005060
body_size:00005040
flash_unit_no:00000B4F
flash_unit_count:00000029
real_size:00005018
sha256 Fw
********** FW_TYPE_BOOTCODE **********
fwInfo->fwType: 00000001
fwInfo->isGolden: 00000001
fwInfo->ddrReadAddr: 00520000
fwInfo->ddrDestAddr: 00020000
fwInfo->flashType: 00000002
fwInfo->flashUnitSize: 00000200
fwInfo->flashOffset: 00020800
fwInfo->dataSize: 000C61E0
body_size:000C61C0
flash_unit_no:00000104
flash_unit_count:00000631
real_size:000C6180
sha256 Fw
j bootcode jump address:00020000
64b

U-Boot 2012.07 svn.161586    (Jan 23 2018 - 15:58:00)

CPU  : Cortex-A53 quad core - AARCH32
Board: Realtek QA Board
DRAM:  0 Bytes
Watchdog: Disabled
Cache: Enabled
Non-Cache Region: 1 MB@0x07900000
MMC:   RTD1295 eMMC: 0
SD device number = 1
rsp[0]=0x15010041,
                       rsp[1]=0x57504433,
                       rsp[2]=0x5200dbde,
                       rsp[3]=0xf4e414ed
rsp[0]=0xd0270132,
                       rsp[1]=0x0f5903ff,
                       rsp[2]=0xf6dbffef,
                       rsp[3]=0x92404009
mmc->version=0x00010000
version=0x00000004
[LY] cardtype=57, mmc->card_caps=0f
[LY] freq = 00464388, clk diver = 00000080
[LY] speed up emmc at HS-200
[LY] HS-200 bus width=2
[LY] mmc->boot_caps = 20b
TEMP TX_WINDOW=0x7fffffff, TX_best=0xf
RX_WINDOW=0xfe0fffff, RX_best=0x6
TX1_WINDOW=0x7fffff80, TX_best=0x12
[LY] hs200 : 0
[HC] WPG_SIZE = 8388608
Device: RTD1295 eMMC
Manufacturer ID: 15
OEM: 100
Name: AWPD3
Tran Speed: 5f5e100
Rd Block Len: 512
MMC version 4.0
High Capacity: No
Capacity: 14.6 GiB
Bus Width: 8-bit
Speed: HS200
Factory: MMC
Factory: pp:0, seq#:0x8, size:0x21600
------------can't find tmp/factory/000BootParam.h
HDMITx_HPD=False
------------can't find tmp/factory/video_rpc.bin
tv_system=25 mode=1
In:    serial
Out:   serial
Err:   serial
Net:   Realtek PCIe GBE Family Controller mcfg = 0024
dev->name=r8168#0
Hit Esc or Tab key to enter console mode or rescue linux:  0
------------can't find tmp/factory/recovery
======== Checking into android recovery ====

Start Boot Setup ...
---------------LOAD  NORMAL FW  TABLE ---------------
[INFO] fw desc table base: 0x00620000, count: 22
Normal boot fw follow...
Kernel:
         FW Image to 0x03000000, size=0x00f96c00 (0x03f96c00)
         FW Image fr 0x02c42000
DT:
         FW Image to 0x02100000, size=0x00010068 (0x02110068)
         FW Image fr 0x028b0200
Audio FW:
         FW Image to 0x01b00000, size=0x00351c78 (0x01e51c78)
         FW Image fr 0x028f0200
IMAGE FILE:
         FW Image to 0x1e800000, size=0x00384000 (0x1eb84000)
         FW Image fr 0x361002000
Start A/V Firmware ...
 FW]kdycldicn1__bmroidneg  [u0px 0h7w:s esthtiifntg:
i6 lFeinngitshh:  k2y]l
rn_bringg_mtte_mtpe shtwisnegt trientgu
On[s+ ]0[0A
[][aio_HcWuErn_avballe:]
T0[xA0O0]]a iaou_tCoR
_Onne:w
xvSaYlS:_ C[L0OxC0K2_]E NfAoBrLcEe1_ p[w m0
o9800000c]: 0x13dfcedcc526_1m
0dSeY S[_0CxL0O7C:K _sEhNiAfBtL:E 22  [l e0nxg9t8h0:0 020]1
:]: 0x58cfufre_4v1a6l
E S[Y0Sx_0S0O]F Ta_uRtEoS
0Tn1e w[_ v0axl9:8 0[000x00020]] :f o0rxcbef_dpaw1m0
 1
gYS_SOFT_RESdEcTd4c 3[_ m0oxd9e8 0[000x00580:] :s h0ixf0t0:0 068 0l1efn
_t[hA:O ]2a]o
[SetDACAcnuarl_ovgaOln::
T0TxV0E0_]V DaAuCt_oC
8Rn1e w[_ v0axl9:8 0[108x30a20]] :f o0rxcae8_6pcw0m2
 0
hIO_O_ACANA_dGcCdTcL51_ m[o d0ex 9[800x00696:0 4s]h:i f0tx:2 469 5l1e5n0g4t
I:A I2O]_
1_ACANA_cAuDrC__vGaClT:L 2[ 0[x 000x]9 8a0u0t6o6
]0n]e:w _0vxa8l8:0 a[30ax0002
T AfIoOr_cIe__ApDwCm_
9CON [ 0x980066fdcc]d:c 60_xm2o2d1ef 0[000x00
0:A IsOh_iIf_tA:D C2_ TlCeOnNg t[h :0 x29]8
0066fc]:c u0rx_2v2a1lf:f f[000x
[0[]- ]a[uAtOo]
2anieow__HvWaEln:a b[l0ex]0
i][ Afuodricoe]_SpewtmT
 ckRate  0x000000c8
[ACPU] Set protect, start: 0x00000000 end: 0x00001000 moduleid:6
HDMI Raw Enable: MPG AC3 DTS MPEG2 AAC DDP WMAPRO MLP

SPDIF Raw Enable: MPG AC3 DTS MPEG2 AAC DDP WMAPRO MLP

Force 2ch Format: DTS DTSHD AC3 DDP MLP AAC WMAPRO

[AO][InitHDMIVideoType]HDMI Frequecny 148, resolution 25

EXPORT ENV AT 0x10000000
0tk_preload_bootimages_emmc : load U-Boot 64 from 0x00028125 to
ic0@@15@@0@00@0@O0 new itSth eps iTzVe  S0yx0st0e1m0 0m0a0g0
   number = 0xc0de0bee, addr = 0xa001f800@@@@@@@
[AUDIO WARNING] ERR UNCACHEABLE_VADDR  0xb8071200 @  0x81b2e538

@@@@@@@@@ boot_info->tv_sys.interfaceType 0
[@@VIDEO_RPC_VOUT_ToAgent_ConfigTVSystem_0_svc]type 0!
HDMIOff = 0
[VO]vo->is_hdmi_off_clock_on:0
[@@VIDEO_RPC_VOUT_ToAgent_ConfigVideoStandard_0_svc]
[VO_SetVideoStandard]st 25 p 1 1 0
[VO_SetVideoStandard]ped 1 data0  0x00000004 data1  0x00000000
[VO_SetVideoStandard]HDMIoff 0 is_tve_on 1 user_cvbs_off 0
lvds.format 0 port_setting  0x00000381 lvds_wb 0
[VO setTVStandard 25 3D 0 0]

(TVE) TVE_DAC_mode 0,cmd->enProg 1!!
TV_NTSC_J
~~comp 0, ch2 1, mode_3D 0!!
~~comp 0, ch2 1, mode_3D 0!!
~~TVE standard#
copy_2nd_bootloader_and_run : src:0x01500000, dst:0x00021000, size:0x000c5000
Jumping to 2nd bootloader...
SetVideoStandard return!
[@@VIDEO_RPC_VOUT_ToAgent_ConfigHdmiInfoFrame_0_svc]

(VO_ConfigHDMI_InfoFrame) L:236, is_hdmi_plugin 1, hdmiMode 1!!Mode 1 dataByte1  0x00000000  0x00000000  0x00000000
dataByte4  0x00000000  0x00000000 int0  0x00000001

(HDMI_3D) mode 1, HDMI_gen 1, En_3D 0, Format_3D 0 scramble:0!!clearDynamicRangeMasteringPkt()

 go back SET_HDMI!!boot_info  0xa001f600 magic  0x2452544b en 0
[AO][_AO_if_video_HDMI_mode]HDMI not enabled
[AO][+]_AO_setup_default_audio_infoframe
[AO][--]_AO_hdmi_disable(0)
[AUDIO WARNING]
[AO][_AO_hdmi_disable]do nothing, HDMI not enable  0x00000000  0x00000001
Audio_Channel_Count 1 :2CH, audio_layout:0
HDMI_Frequency 148 :1080p50,1080p60
Sampling_Frequency 3 :48K
CTS = 148500, N = 6144
[+][HDMI_gen_audio_infoframe]
CA:2CH: L,R
[-][HDMI_gen_audio_infoframe]
SYS_PLL_PSAUDA1 [ 0x98000130]: 0x0050022d
[AO][++]_AO_hdmi_enable(0)
[AUDIO WARNING]
[AO][_AO_hdmi_enable]do nothing, HDMI not enable  0x00000000  0x00000001
[AO][-]_AO_setup_default_audio_infoframe

U-Boot 2015.07-gdc68be6-dirty (Nov 30 2016 - 09:54:29 +0800)

CPU  : Cortex-A53 Quad Core
Board: Realtek QA Board
DRAM:  1 GiB
mapping memory 0x20000000-0x40000000 non-cached
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
rtk_plat_set_fw not port yet, use default configs
## Flattened Device Tree blob at 02100000
   Booting using the fdt blob at 0x2100000
   reserving fdt memory region: addr=0 size=30000
   reserving fdt memory region: addr=1f000 size=1000
   reserving fdt memory region: addr=30000 size=d0000
   reserving fdt memory region: addr=3200000 size=b800000
   reserving fdt memory region: addr=1b00000 size=400000
   reserving fdt memory region: addr=2600000 size=c00000
   reserving fdt memory region: addr=1ffe000 size=4000
   reserving fdt memory region: addr=11000000 size=9200000
   reserving fdt memory region: addr=10000000 size=14000
   reserving fdt memory region: addr=2200000 size=400000
   reserving fdt memory region: addr=1b00000 size=500000
   Using Device Tree in place at 0000000002100000, end 0000000002113067
Bring UP slave CPUs
Jump to BL31 entrypoint
VERBOSE: bl31_setup
NOTICE:  BL31: v1.2(debug):1522ab7
NOTICE:  BL31: Built : 16:33:46, Oct 13 2016
INFO:    BL31: Initializing runtime services
INFO:    Start to init service std_svc
INFO:    Finish to init service std_svc
INFO:    Start to init service opteed_fast
INFO:    Finish to init service opteed_fast
INFO:    BL31: Initializing BL32
INFO:    TEE-CORE: TEE OS v2.1
INFO:    TEE-CORE: tee os version : 1
INFO:    TEE-CORE: OTP tee os version : 0
INFO:    TEE-CORE: chip_rev_id : 10000
INFO:    TEE-CORE: check golden fw : 10050044
INFO:    TEE-CORE: Do not supoort check tee os version in this chip.
INFO:    TEE-CORE: Initializing (828cd34-dev #1 Thu Dec  8 16:13:14 CST 2016 aarch64)
MESSAGE: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:46: ************************     tee_otp_get_hw_unique_key chip id: 10000
INFO:    TEE-CORE: teecore inits done
INFO:    Core_0 TEESMC_OPTEED_RETURN_ENTRY_DONE
INFO:    Core_0 got optee_vectors (0x1020093c)
INFO:    BL31: Initialized BL32
INFO:    EXIT BL31
INFO:    bl31_to_kernel: kernel_resume_entry = 0x1e000
INFO:    bl31 jumps to EL2: kerenl entry
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.17-g26a590a-dirty (maifanghao@ZidooServer) (gcc version 4.9.4 (OpenWrt/Linaro GCC 4.9-2015.06 r47591) ) #8 SMP PREEMPT Thu Aug 17 15:34:28 CST 2017
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: enabling workaround for ARM erratum 845719
[    0.000000] DT: cma-improve=0
[    0.000000] earlycon: Early serial console at MMIO32 0x98007800 (options '')
[    0.000000] bootconsole [uart0] enabled
WARNING: NO PSCI SERVICE: 0x84000000
WARNING: NO PSCI SERVICE: 0x84000006
WARNING: NO PSCI SERVICE: 0x8400000a
WARNING: NO PSCI SERVICE: 0x8400000a
VVVEEERRRBBBOOOSSSEEE:::   bbblll333111___ssseeetttuuuppp

NNNOOOTTTIIICCCEEE:::      BBBLLL333111:::   vvv111...222(((dddeeebbbuuuggg))):::111555222222aaabbb777

NNNOOOTTTIIICCCEEE:::      BBBLLL333111:::   BBBuuuiiilllttt   :::   111666:::333333:::444666,,,   OOOcccttt   111333   222000111666

IIINNNFFFOOO:::            BBBLLL333111:::   IIInnniiitttiiiaaallliiizzziiinnnggg   rrruuunnntttiiimmmeee   ssseeerrrvvviiiccceeesss

IIINNNFFFOOO:::            SSStttaaarrrttt   tttooo   iiinnniiittt   ssseeerrrvvviiiccceee   ssstttddd___sssvvvccc

IIINNNFFFOOO:::            FFFiiinnniiissshhh   tttooo   iiinnniiittt   ssseeerrrvvviiiccceee   ssstttddd___sssvvvccc

IIINNNFFFOOO:::            SSStttaaarrrttt   tttooo   iiinnniiittt   ssseeerrrvvviiiccceee   ooopppttteeeeeeddd___fffaaasssttt

IIINNNFFFOOO:::            FFFiiinnniiissshhh   tttooo   iiinnniiittt   ssseeerrrvvviiiccceee   ooopppttteeeeeeddd___fffaaasssttt

IIINNNFFFOOO:::            BBBLLL333111:::   IIInnniiitttiiiaaallliiizzziiinnnggg   BBBLLL333222

IIINNNFFFOOO:::            CCCooorrreee___321   TTTEEEEEESSSMMMCCC___OOOPPPTTTEEEEEEDDD___RRREEETTTUUURRRNNN___EEENNNTTTRRRYYY___DDDOOONNNEEE

IIINNNFFFOOO:::            BBBLLL333111:::   IIInnniiitttiiiaaallliiizzzeeeddd   BBBLLL333222

IIINNNFFFOOO:::            EEEXXXIIITTT   BBBLLL333111

IIINNNFFFOOO:::            bbblll333111___tttooo___kkkeeerrrnnneeelll:::   kkkeeerrrnnneeelll___rrreeesssuuummmeee___eeennntttrrryyy   ===   000xxx111eee000000000

IIINNNFFFOOO:::            bbblll333111   jjjuuummmpppsss   tttooo   EEELLL222:::   kkkeeerrreeennnlll   eeennntttrrryyy

[    0.268567] bl31_set_tee_protect !!!
INFO:    Non-Secure Boot or IC_REV >= B00 : no action !!
[    0.277779] bl31_set_tee_protect ret = 0
[    0.707605] ****** rtk_lockapi_init 597, chip: id=0x00000000, revision=0x00010000
TVE_setDAC 2485,  0xd48bd400
[    2.821592] rtk-usb-power-manager 98000000.rtk_usb_power_manager: rtk_dwc3_u2host status is okay
[    2.831522] rtk-usb-power-manager 98000000.rtk_usb_power_manager: ehci status is okay
[    2.840348] rtk-usb-power-manager 98000000.rtk_usb_power_manager: ohci status is okay
[    2.855630] rtk-usb-power-manager 98000000.rtk_usb_power_manager: create_debug_files
[    3.349565] [RTD129x PCIE Slot2] 9803b000.pcie2: PCIE device has link down in slot 2
[    3.358318] [RTD129x PCIE Slot2] 9803b000.pcie2: rtk_pcie2_hw_initial fail
[    3.579970] [RTD129x PCIE Slot1] 9804e000.pcie: PCIE device has link down in slot 1
[    3.588597] [RTD129x PCIE Slot1] 9804e000.pcie: rtk_pcie_hw_initial fail
[    3.600876] rtk119x-ir 98007000.irda: [rtk119x_ir_probe]: can't get multiple support from dtb, set to default->not support

[ROS: openRPC() intr_scpu_dev_r buf  0x00e2ffa1 s  0x00e2ffa1 e  0x00e4ffa1 i  0x00e2ffa1
[ROS: openStubRPC() intr_w buf  0x00e6ffa1 s  0x00e6ffa1 e  0x00e8ffa1 i  0x00e6ffa1[AVCPU] Set Debug level flag  0x81e03dac *flag  0x01df51e0 ucache  0xa1df51e0
[AVCPU] Set Debug level *ptrDebugFlag  0x00000001
-------------------
Audio Version = 160345 (Kylin)
Common Version = 0
Binary src compiled at Aug  3 2017 14:39:32
Note =
-------------------

[A] gloabl malloc size  0x003ffeb8
[    3.703098] AudioIntrRead:143 can't find process for handling AudioIntrRead programID:98
[    3.712341] AudioIntrRead: program:98 version:0 procedure:1 taskID:0 sysTID:4294967295 sysPID:4294967295 size:4 context:81e0357d atomic
[    3.884206] rtc_rtd1295 9801b600.rtc: rtk_rtc already enabled
[    3.895823] cec_core_init, register cec_bus ffffffc00119b3d8
[    3.901796] register cec driver 'cec' (ffffffc00119b558)
[    3.907290] register cec device 'cec0' (ffffffc00119b650) to cec0
[    3.913643] [cec_bus_match name = cec0,len=4,drv_name=cec]
[    3.919299] probe : cec_dev 'cec0' (ffffffc00119b650), cec_drv 'cec' (ffffffc00119b558)
[    3.928506] register cec device 'cec1' (ffffffc00119b900) to cec0
[    3.934858] [cec_bus_match name = cec1,len=4,drv_name=cec]
[    3.940577] probe : cec_dev 'cec1' (ffffffc00119b900), cec_drv 'cec' (ffffffc00119b558)
[    4.029903] [SDIO] rtk_sdhci_set_clock end real_div=1f4, div=fa, c3c=0, PLL=ae4388, CLK=fa07
[    4.050055] EMMC : emmc of_node found
[    4.053855] [rtkemmc_probe] get driving s0 : 0x1
[    4.058582] [rtkemmc_probe] get driving s0 : 0x77
[    4.063408] [rtkemmc_probe] get driving s0 : 0x77
[    4.068223] [rtkemmc_probe] get driving s0 : 0x77
[    4.073048] [rtkemmc_probe] get driving s0 : 0x33
[    4.077865] [rtkemmc_probe] get driving s2 : 0x1
[    4.079903] [SDIO] rtk_sdhci_set_clock end real_div=29c, div=14e, c3c=0, PLL=ae4388, CLK=4e47
[    4.091333] [rtkemmc_probe] get driving s2 : 0xbb
[    4.096149] [rtkemmc_probe] get driving s2 : 0xbb
[    4.100971] [rtkemmc_probe] get driving s2 : 0xbb
[    4.105785] [rtkemmc_probe] get driving s2 : 0x33
[    4.110608] [rtkemmc_probe] get tx tuning switch : 0
[    4.115691] [rtkemmc_probe] get rx tuning switch : 0
[    4.129904] [SDIO] rtk_sdhci_set_clock end real_div=3e8, div=1f4, c3c=0, PLL=ae4388, CLK=f447
[    4.173576] -->rfkill_bluetooth_init
[    4.177327] -->rfkill_bluetooth_probe
[    4.181105] [SDIO] rtk_sdhci_set_clock end real_div=7d0, div=3e8, c3c=0, PLL=ae4388, CLK=e8c7
[    4.181213] bluetooth_set_power: block=1
[    4.181217] <--rfkill_bluetooth_probe
[    4.185691] audio-notifier audio-out-devices: failed to notify ACPU: -22
[    4.221227] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.231897] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.246210] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.256886] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.267572] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.278246] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.288920] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.299595] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.310270] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.320945] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.331620] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.342303] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[    4.389298] card->mmc_avail_type = 0x00000013
[    4.416764] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: create_debug_files
[    4.675918] CL_DEV::ST 0 -> 0
Wed Mar 14 18:29:34 UTC 2018 Starting OpenWRT init
[    4.958900] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    4.981043] rtk-ohci 98013400.ohci: _ohci_readl [USB Workaround] fixed force to enable ohci clock
[    5.150999] usb usb3-port1: port 1, status 0101, change 0000, 12 Mb/s
[    5.181031] usb usb5-port1: port 1, status 0501, change 0000, 480 Mb/s
[    5.299973] usb 5-1: new high-speed USB device number 2 using rtk-ehci (platform)
[    5.329928] usb 3-1: new high-speed USB device number 2 using xhci-hcd (98029000.dwc3_u2host)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug[    5.380094] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: Connection change OK: IN host mode to attach device at cc1 (cc_status=0x3b)
 level
[    5.455304] usb 5-1: bInterfaceClass = 9
[    5.493482] usb 3-1: bInterfaceClass = 224
[    5.650496] usb 5-1-port1: port 1, status 0101, change 0000, 12 Mb/s
[    5.739912] usb 5-1.1: new high-speed USB device number 3 using rtk-ehci (platform)
[    5.857566] usb 5-1.1: bInterfaceClass = 8
[    5.969913] usb 5-1.1: hub_port_connect unbind-probe dev_name = 5-1.1 jiffies= 0x24e
[    7.463433] block: unable to load configuration (fstab: Entry not found)
[    7.470354] block: no usable configuration
ext4 etc mounted!
mount: /dev: filesystem mounted, but mount(8) failed: No such file or directory
Wed Mar 14 18:29:37 UTC 2018 Waiting 27 x 0.1 seconds for OpenWRT coldplug
Wed Mar 14 18:29:37 UTC 2018 Starting Android init
[    8.546107] init: FIXME: selinux is forced to permissive mode!!
[    8.610229] init: /init.kylin.rc: 507: invalid option 'disable'
[    8.617471] init: SELinux: Could not get canonical path /adb_keys restorecon: No such file or directory.
[    9.001840] init: Failed to read from /dev/hw_random: No such device
[    9.008437] init: could not open /dev/keychord: No such file or directory
[    9.830027] init: Failed to read from /dev/hw_random: No such device
[    9.911131] init: property_set("ro.expect.recovery_id", "0x4ba9b8a1f510cea7c302bf827bf96ad3dedb3ee9000000000000000000000000") failed
[    9.923816] init: /recovery not specified in fstab
[   10.026547] bluetooth_set_power: block=1
[   10.031793] init: property 'ro.serialno' doesn't exist while expanding '${ro.serialno}'
[   10.040025] init: cannot expand '${ro.serialno}' while writing to '/sys/class/android_usb/android0/iSerial'
[   10.063954] init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64'
[   10.072292] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
[   10.0810[9AV8CP]U]  inSeitt : Decbuang nleovtel  ffilangd   0'/x8s1dyffs88tcis*mf/blaing /i 0nx0s12t6al9bl9-0 rucecacohvee  ry0x.a1sh26'9,b9 0d
u a[AblVCiPUn] gS e't fDelbasugh l_evreelco *vpetrrDy'eb
 gFlag  0x00000000
[   10.103354] init: cannot find '/system/bin/jpuinit', disabling 'jpuinit'
[   10.110421] devfreq 98050000.gpu: Couldn't update frequency transition information.
root@kylin32:/ # [   11.025566] healthd: No charger supplies found
[   13.320014] Do not detect the SDIO card and close the clock
[   13.325943] rtk_sdmmc_get_cd: SD card does not exist, regCARD_EXIST = 0
[   18.168682] sd 3:0:0:0: [sda] No Caching mode page found
[   18.175202] sd 3:0:0:0: [sda] Assuming drive cache: write through
[   91.905026] init: no such service 'regService'
[   91.909738] init: no such service 'regService'
[   94.772503] r8169 98016000.gmac eth0: rtl_csiar_cond == 0 (loop: 100, delay: 10).
[   94.781472] r8169 98016000.gmac eth0: rtl_csiar_cond == 1 (loop: 100, delay: 10).
[  156.152292] init: cannot find '/system/bin/preinstall.sh', disabling 'preinstall'
[  167.797072] init: avc:  denied  { set } for property=rockchip.media.musiccount scontext=u:r:system_app:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service
jjm2473 commented 4 years ago

还是加微信吧,方便随时调整

jjm2473 commented 4 years ago

uboot 版本EAE7790_2018年_08月_01日_星期三应该是比较新的,我看之前的uboot都是2018年_07月_04日