耗蓝哥 发表于 2022-2-24 09:45:35

rk3399 概率无法启动,停在uboot命令行

rk3399 linux掉电开关机,概率出现系统无法启动的问题

开机log
Model: Rockchip RK3399 EVB IND LPDDR4 Board edp (Linux)
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
aplll 816000 KHz
apllb 816000 KHz
dpll 800000 KHz
cpll 24000 KHz
gpll 800000 KHz
npll 600000 KHz
vpll 24000 KHz
aclk_perihp 133333 KHz
hclk_perihp 66666 KHz
pclk_perihp 33333 KHz
aclk_perilp0 266666 KHz
hclk_perilp0 88888 KHz
pclk_perilp0 44444 KHz
hclk_perilp1 100000 KHz
pclk_perilp1 50000 KHz
Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):0
ANDROID: reboot reason: "(none)"
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
Booting IMAGE kernel at 0x00280000 with fdt at 0x08300000...


Fdt Ramdisk skip relocation
## Booting Android Image at 0x0027f800 ...
Kernel load addr 0x00280000 size 16989 KiB
## Flattened Device Tree blob at 08300000
   Booting using the fdt blob at 0x8300000
   XIP Kernel Image from 0x00280000 to 0x00280000 ... OK
'reserved-memory' ramoops@110000: addr=110000 size=f0000
=>



rktest emmc 报错:
=> rktest emmc
switch to partitions #0, OK
mmc0(part 0) is current device
MMC0 RW sectors on userdata 0x0020c000 - 0x0021c000(size: 32 MiB) for 4 round

Sysmem Error: "storage_w" (0x00000002 - 0x02000002) alloc is overlap with existence "KERNEL" (0x0027f800 - 0x01317204)

sysmem_dump_all:
    --------------------------------------------------------------------
    memory.rgn.addr   = 0x00200000 - 0x08400000 (size: 0x08200000)
    memory.rgn.addr   = 0x0a200000 - 0x80000000 (size: 0x75e00000)

    memory.total         = 0x7e000000 (2016 MiB. 0 KiB)
    --------------------------------------------------------------------
    allocated.rgn.name= "UBOOT"
                  .addr= 0x7bdbd340 - 0x80000000 (size: 0x04242cc0)
    allocated.rgn.name= "STACK"
                  .addr= 0x7bbbd340 - 0x7bdbd340 (size: 0x00200000)
    allocated.rgn.name= "FDT"
                  .addr= 0x08300000 - 0x0831d404 (size: 0x0001d404)
    allocated.rgn.name= "KERNEL"
                  .addr= 0x0027f800 - 0x01317204 (size: 0x01097a04)

    kmem-resv.rgn.name= "ramoops@110000"
                  .addr= 0x00110000 - 0x00200000 (size: 0x000f0000)

    framework malloc_r   =32 MiB
    framework malloc_f   =16 KiB

    allocated.total         = 0x055e7ac8 (85 MiB. 926 KiB)
    --------------------------------------------------------------------
    LMB.allocated.addr= 0x0027f800 - 0x01317204 (size: 0x01097a04)
    LMB.allocated.addr= 0x08300000 - 0x0831d404 (size: 0x0001d404)
    LMB.allocated.addr= 0x7bbbd340 - 0x80000000 (size: 0x04442cc0)

    reserved.core.total         = 0x054f7ac8 (84 MiB. 990 KiB)
    --------------------------------------------------------------------

: MMC0: no sysmem for w_buf

### test done, result: <FAILED>..
exit not allowed from main input shell.

sysmem_dump:
=> sysmem_dump

sysmem_dump_all:
    --------------------------------------------------------------------
    memory.rgn.addr   = 0x00200000 - 0x08400000 (size: 0x08200000)
    memory.rgn.addr   = 0x0a200000 - 0x80000000 (size: 0x75e00000)

    memory.total         = 0x7e000000 (2016 MiB. 0 KiB)
    --------------------------------------------------------------------
    allocated.rgn.name= "UBOOT"
                  .addr= 0x7bdbd340 - 0x80000000 (size: 0x04242cc0)
    allocated.rgn.name= "STACK"
                  .addr= 0x7bbbd340 - 0x7bdbd340 (size: 0x00200000)
    allocated.rgn.name= "FDT"
                  .addr= 0x08300000 - 0x0831d404 (size: 0x0001d404)
    allocated.rgn.name= "KERNEL"
                  .addr= 0x0027f800 - 0x01317204 (size: 0x01097a04)

    kmem-resv.rgn.name= "ramoops@110000"
                  .addr= 0x00110000 - 0x00200000 (size: 0x000f0000)

    framework malloc_r   =32 MiB
    framework malloc_f   =16 KiB

    allocated.total         = 0x055e7ac8 (85 MiB. 926 KiB)
    --------------------------------------------------------------------
    LMB.allocated.addr= 0x0027f800 - 0x01317204 (size: 0x01097a04)
    LMB.allocated.addr= 0x08300000 - 0x0831d404 (size: 0x0001d404)
    LMB.allocated.addr= 0x7bbbd340 - 0x80000000 (size: 0x04442cc0)

    reserved.core.total         = 0x054f7ac8 (84 MiB. 990 KiB)
    --------------------------------------------------------------------

895816513 发表于 2022-7-7 15:11:11

你这里使用的是rk EVB板子的uboot可能没适配过不行,你要使用firefly的uboot试试。
页: [1]
查看完整版本: rk3399 概率无法启动,停在uboot命令行