[U-Boot] ROCK64 fails to boot using U-Boot TPL
Simon South
simon at simonsouth.net
Fri Sep 20 09:28:52 UTC 2019
On 2019-09-20 3:39 a.m., Matwey V. Kornilov wrote:
> Could you please provide us console logs for both successful and
> unsuccessful cases?
Attached.
The only differences I see are
- The random Ethernet address assigned in each case, and
- The "FDT_ERR_BADMAGIC" error messages that are output only when the
U-Boot TPL is used.
--
Simon South
simon at simonsouth.net
-------------- next part --------------
DDR version 1.16 20190528
ID:0x805 Y
In
LPDDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
U-Boot SPL 2019.10-rc3-00361-ga9fa70b7b7 (Sep 20 2019 - 04:55:01 -0400)
Trying to boot from MMC2
Card did not respond to voltage select!
spl: mmc init failed with error: -95
Trying to boot from MMC1
NOTICE: BL31: v2.1(release):v2.1-678-g2fc6ffc4-dirty
NOTICE: BL31: Built : 12:10:07, Sep 12 2019
ERROR: over or zero region, nr=4187432, max=10
NOTICE: BL31:Rockchip release version: v1.2
U-Boot 2019.10-rc3-00361-ga9fa70b7b7 (Sep 20 2019 - 04:56:02 -0400)
Model: Pine64 Rock64
DRAM: 4 GiB
MMC: rksdmmc at ff500000: 1, rksdmmc at ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial at ff130000
Out: serial at ff130000
Err: serial at ff130000
Model: Pine64 Rock64
Net:
Warning: ethernet at ff540000 (eth0) using random MAC address - 36:69:6f:cb:26:ed
eth0: ethernet at ff540000
Hit any key to stop autoboot: 2 1 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
53513 bytes read in 10 ms (5.1 MiB/s)
Found EFI removable media binary efi/boot/bootaa64.efi
Scanning disk rksdmmc at ff500000.blk...
Card did not respond to voltage select!
Scanning disk rksdmmc at ff520000.blk...
Disk rksdmmc at ff520000.blk not ready
Found 3 disks
BootOrder not defined
EFI boot manager: Cannot load any image
205136 bytes read in 17 ms (11.5 MiB/s)
|/-\|/-
>> NetBSD/evbarm EFI Boot (aarch64), Revision 1.11 (Wed Sep 18 15:50:45 UTC 2019) (from NetBSD 9.99.12)
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 5 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds.
\|/-\|/-\|/-\6100056|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+2730512|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+1985652-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+1823764-\ [701640|/-\|/-\|/-+490622\|/-\|/]=0xec5b00
[ 1.0000000] NetBSD/evbarm (fdt) booting ...
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019 The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 9.99.12 (GENERIC64) #16: Wed Sep 18 12:30:03 EDT 2019
[ 1.0000000] ssouth at laptop:/usr/src/sys/arch/evbarm/compile/obj/GENERIC64
[ 1.0000000] total memory = 4064 MB
[ 1.0000000] avail memory = 3918 MB
[ 1.0000000] armfdt0 (root)
[ 1.0000000] simplebus0 at armfdt0: Pine64 Rock64
[ 1.0000000] cpus0 at simplebus0
[ 1.0000000] simplebus1 at simplebus0
[ 1.0000000] simplebus2 at simplebus0
[ 1.0000000] cpu0 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[ 1.0000000] cpu0: package 0, core 0, smt 0
[ 1.0000000] cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[ 1.0000000] cpu0: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[ 1.0000000] cpu0: Dcache line 64, Icache line 64
...
-------------- next part --------------
U-Boot TPL 2019.10-rc3-00361-ga9fa70b7b7 (Sep 20 2019 - 04:55:01)
LPDDR3
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2019.10-rc3-00361-ga9fa70b7b7 (Sep 20 2019 - 04:55:01 -0400)
Trying to boot from MMC2
Card did not respond to voltage select!
spl: mmc init failed with error: -95
Trying to boot from MMC1
NOTICE: BL31: v2.1(release):v2.1-678-g2fc6ffc4-dirty
NOTICE: BL31: Built : 12:10:07, Sep 12 2019
ERROR: over or zero region, nr=4187432, max=10
NOTICE: BL31:Rockchip release version: v1.2
U-Boot 2019.10-rc3-00361-ga9fa70b7b7 (Sep 20 2019 - 04:56:02 -0400)
Model: Pine64 Rock64
DRAM: 4 GiB
MMC: rksdmmc at ff500000: 1, rksdmmc at ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial at ff130000
Out: serial at ff130000
Err: serial at ff130000
Model: Pine64 Rock64
Net:
Warning: ethernet at ff540000 (eth0) using random MAC address - 02:f5:da:18:50:8d
eth0: ethernet at ff540000
Hit any key to stop autoboot: 2 1 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
53513 bytes read in 10 ms (5.1 MiB/s)
Found EFI removable media binary efi/boot/bootaa64.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk rksdmmc at ff500000.blk...
Card did not respond to voltage select!
Scanning disk rksdmmc at ff520000.blk...
Disk rksdmmc at ff520000.blk not ready
Found 3 disks
BootOrder not defined
EFI boot manager: Cannot load any image
205136 bytes read in 17 ms (11.5 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
|/-\|/-
>> NetBSD/evbarm EFI Boot (aarch64), Revision 1.11 (Wed Sep 18 15:50:45 UTC 2019) (from NetBSD 9.99.12)
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 5 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds.
\|/-\|/-\|/-\6100056|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+2730512|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+1985652-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+1823764-\ [701640|/-\|/-\|/-+490622\|/-\|/]=0xec5b00
[ 1.0000000] NetBSD/evbarm (fdt) booting ...
[ 1.0000000] panic: kernel diagnostic assertion "ucpu == VM_FREE_PAGE_TO_CPU(pg)" failed: file "/usr/src/sys/uvm/uvm_page.c", line 852
[ 1.0000000] cpu0: Begin traceback...
[ 1.0000000] trace fp ffffffc000bec850
[ 1.0000000] fp ffffffc000bec870 ?() at ffffffc0004924c0
[ 1.0000000] fp ffffffc000bec8d0 ?() at ffffffc0005cdf24
[ 1.0000000] fp ffffffc000bec960 ?() at ffffffc00040f388
[ 1.0000000] fp ffffffc000bec9c0 ?() at ffffffc000410034
[ 1.0000000] fp ffffffc000beca50 ?() at ffffffc000403b30
[ 1.0000000] fp ffffffc000becad0 ?() at ffffffc000499928
[ 1.0000000] fp ffffffc000becbb0 ?() at ffffffc000499e1c
[ 1.0000000] fp ffffffc000becc10 ?() at ffffffc00048ad88
[ 1.0000000] fp ffffffc000becc30 ?() at ffffffc00048d294
[ 1.0000000] fp ffffffc000becca0 ?() at ffffffc00048c5e8
[ 1.0000000] fp ffffffc000becd20 ?() at ffffffc00048f530
[ 1.0000000] fp ffffffc000becd90 ?() at ffffffc000485924
[ 1.0000000] fp ffffffc000bece00 ?() at ffffffc000485ef0
[ 1.0000000] fp ffffffc000bece30 ?() at ffffffc0004029c4
[ 1.0000000] fp ffffffc000bece50 ?() at ffffffc0005d0ac0
[ 1.0000000] fp 0000000000000000 ?() at ffffffc00000183c
[ 1.0000000] cpu0: End traceback...
Stopped in pid 0.1 (system) at ffffffc0000751c0: ret
db{0}>
More information about the U-Boot
mailing list