Firefly开源社区

标题: rk3399 概率无法启动,停在uboot命令行 [打印本页]

作者: 耗蓝哥    时间: 2022-2-24 09:45
标题: 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[0].addr     = 0x00200000 - 0x08400000 (size: 0x08200000)
    memory.rgn[1].addr     = 0x0a200000 - 0x80000000 (size: 0x75e00000)

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

    kmem-resv.rgn[0].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[0].addr  = 0x0027f800 - 0x01317204 (size: 0x01097a04)
    LMB.allocated[1].addr  = 0x08300000 - 0x0831d404 (size: 0x0001d404)
    LMB.allocated[2].addr  = 0x7bbbd340 - 0x80000000 (size: 0x04442cc0)

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

[UT-ERROR]: MMC0: no sysmem for w_buf

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

sysmem_dump:
=> sysmem_dump

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

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

    kmem-resv.rgn[0].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[0].addr  = 0x0027f800 - 0x01317204 (size: 0x01097a04)
    LMB.allocated[1].addr  = 0x08300000 - 0x0831d404 (size: 0x0001d404)
    LMB.allocated[2].addr  = 0x7bbbd340 - 0x80000000 (size: 0x04442cc0)

    reserved.core.total           = 0x054f7ac8 (84 MiB. 990 KiB)
    --------------------------------------------------------------------
作者: 895816513    时间: 2022-7-7 15:11
你这里使用的是rk EVB板子的uboot可能没适配过不行,你要使用firefly的uboot试试。




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1