|
发表于 2020-8-13 17:02:44
只看该作者
19#
本帖最后由 caven 于 2020-8-13 18:01 编辑
重新更新了代码,可以看到7月6日的提交代码了,重编了 uboot,与kernel; 重新烧录了一遍,提示成功;现象还是原样,按住recovery 重启,升级任然找不到设备(uboot是否有问题,看日志看不出,我没有烧录recovery.img 是否与这个有关),内核启动不了(没有启动过程的日志); 分区烧录时,boot区是选择 ./kernel/zboot.img 还是 ./kernel/boot.img ./kernel/kernel.img,3种我都分别烧录了,内核都是没有打印信息;
启动参数需要增加吗,这是parameter-ubuntu.txt中的 GPTCMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00002000@0x00008000(misc),0x00010000@0x0000a000(boot),0x00010000@0x0001a000(recovery),0x00010000@0x0002a000(backup),0x00600000@0x0005a000(rootfs),-@0x0065a000(userdata:grow)
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
通常方式启动板子的串口日志:
DDR Version 1.08 20190523
In
Channel a: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT
Boot1 Release Time: Nov 27 2019 15:30:08, version: 2.58
ChipType = 0x8, 249
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPartOffset=2000 , 2000
mmc0:cmd8,400
mmc0:cmd8,400
mmc0:cmd8,400
SdmmcInit=0 1
StorageInit ok = 25894
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: uboot, start:0x4000, size:0x2000
GPT part: 1, name: trust, start:0x6000, size:0x2000
GPT part: 2, name: misc, start:0x8000, size:0x2000
GPT part: 3, name: boot, start:0xa000, size:0x10000
GPT part: 4, name: recovery, start:0x1a000, size:0x10000
GPT part: 5, name: backup, start:0x2a000, size:0x10000
GPT part: 6, name: rootfs, start:0x5a000, size:0x600000
GPT part: 7, name: userdata, start:0x65a000, size:0x835fdf
find part:uboot OK. first_lba:0x4000.
find part:trust OK. first_lba:0x6000.
LOADER Check OK! 0x4000, 136689
TOS Check OK! 0x6000, 173093
Enter Trust OS
INF [0x0] TEE-CORE:init_primary_helper:385: Core0 Initializing (1.1.0-421-gd098c6d2 #4 Thu Feb 20 01:29:17 UTC 2020 arm)
INF [0x0] TEE-CORE:init_primary_helper:386: Release version: 1.3
INF [0x0] TEE-CORE:init_primary_helper:387: Next entry point address: 0x200000
INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
U-Boot 2017.09 (Aug 13 2020 - 00:56:13 -0700)
Model: Firefly-RK3288
PreSerial: 2
DRAM: 2 GiB
Sysmem: init
Relocation Offset is: 00000000
Using default environment
dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: recovery (misc)
Load FDT from recovery part
DTB: rk-kernel.dtb
I2c0 speed: 400000Hz
vdd_log 1100000 uV
*** Warning - bad CRC, using default environment
Failed to found available display route
stdio_add_devices: Video device failed (ret=-19)
In: serial@ff690000
Out: serial@ff690000
Err: serial@ff690000
Model: Firefly-RK3288 Board (Linux Opensource)
CLK: (uboot. arm: enter 1000000 KHz, init 1000000 KHz, kernel 0N/A)
apll 1000000 KHz
dpll 396000 KHz
cpll 384000 KHz
gpll 594000 KHz
npll 24000 KHz
aclk_bus 297000 KHz
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
ANDROID: reboot reason: "recovery"
Booting ZIMAGE kernel at 0x02008000(Uncompress to 0) with fdt at 0x8300000...
## Booting Android Image at 0x02007800 ...
Kernel load addr 0x02008000 size 8112 KiB
RAM disk load addr 0x0a200000 size 7740 KiB
## Flattened Device Tree blob at 08300000
Booting using the fdt blob at 0x8300000
XIP Kernel Image ... OK
'reserved-memory' dma-unusable@fe000000: addr=fe000000 size=1000000
'reserved-memory' ramoops@00000000: addr=8000000 size=f0000
Loading Ramdisk to 0f871000, end 0ffffd6a ... OK
Loading Device Tree to 0f85a000, end 0f870136 ... OK
Adding bank: 0x00000000 - 0x08400000 (size: 0x08400000)
Adding bank: 0x09300000 - 0x80000000 (size: 0x76d00000)
Total: 3707.326 ms
Starting kernel ... 后面就没有出日志了
|
|