[U-Boot] ROCK64 fails to boot using U-Boot TPL

Simon South simon at simonsouth.net
Sat Sep 21 11:59:32 UTC 2019


On 2019-09-21 3:47 a.m., Matwey V. Kornilov wrote:
> Could you please try to revert this commit and see what's happening then?

Unfortunately undoing that change makes things worse: Either the NetBSD 
EFI bootloader hangs immediately on start (without any output) or it 
crashes with output like

     "Synchronous Abort" handler, esr 0x96000044
     elr: fffffffffd1ad760 lr : fffffffffd1ac030 (reloc)
     elr: 00000000fbeeb760 lr : 00000000fbeea030
     x0 : 00000000fcf679a0 x1 : 00000000fef3e628
     x2 : 0000000000000000 x3 : 00000000fbf17408
     (...)

In either case I still see the "FDT_ERR_BADMAGIC" messages from U-Boot.

Applying Elaine's patches for RK805 support makes no difference.

Complete log attached.

-- 
Simon South
simon at simonsouth.net
-------------- next part --------------

U-Boot TPL 2019.10-rc3-00361-ga9fa70b7b7-dirty (Sep 21 2019 - 07:45:04)
LPDDR3
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2019.10-rc3-00361-ga9fa70b7b7-dirty (Sep 21 2019 - 07:45:04 -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-dirty (Sep 21 2019 - 07:46:10 -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 - 92:21:88:52:60:47
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 16 ms (3.2 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 35 ms (5.6 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC

U-Boot TPL 2019.10-rc3-00361-ga9fa70b7b7-dirty (Sep 21 2019 - 07:45:04)
LPDDR3
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2019.10-rc3-00361-ga9fa70b7b7-dirty (Sep 21 2019 - 07:45:04 -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-dirty (Sep 21 2019 - 07:46:10 -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 - fe:f0:6b:1f:55:ce
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 16 ms (3.2 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 35 ms (5.6 MiB/s)
"Synchronous Abort" handler, esr 0x96000044
elr: fffffffffd1ad760 lr : fffffffffd1ac030 (reloc)
elr: 00000000fbeeb760 lr : 00000000fbeea030
x0 : 00000000fcf679a0 x1 : 00000000fef3e628
x2 : 0000000000000000 x3 : 00000000fbf17408
x4 : 0000000000000000 x5 : 0000000000000018
x6 : 00000000fcf679a0 x7 : 00000000fefa8a00
x8 : 000000000000fbee x9 : 0000000000000008
x10: 0000000000000001 x11: 00000000fcf29acc
x12: 00000000000000c0 x13: 00000000fcf29a8c
x14: 00000000080ef000 x15: 0000000000000002
x16: 00000000fef41c54 x17: 0000000000000000
x18: 0000000000000000 x19: 00000000fef3e628
x20: 00000000fcf29e30 x21: 0000000000000000
x22: 00000000fefa8a00 x23: 00000000fef3e628
x24: 00000000fefec000 x25: 00000000fefec000
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000fcf5d250 x29: 00000000fcf29d80

UEFI image [0x00000000fbee9000:0x00000000fbf17fff] pc=0x2760 '/efi\boot\bootaa64.efi'
Resetting CPU ...

resetting ...

U-Boot TPL 2019.10-rc3-00361-ga9fa70b7b7-dirty (Sep 21 2019 - 07:45:04)
LPDDR3
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2019.10-rc3-00361-ga9fa70b7b7-dirty (Sep 21 2019 - 07:45:04 -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-dirty (Sep 21 2019 - 07:46:10 -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 - fe:83:b7:02:40:87
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 19 ms (2.7 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 40 ms (4.9 MiB/s)
## Application terminated, r = 1
EFI LOAD FAILED: continuing...
starting USB...
Bus usb at ff5c0000: USB EHCI 1.00
Bus usb at ff5d0000: USB OHCI 1.0
Bus usb at ff580000: Bus usb at ff600000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb at ff5c0000 for devices... 1 USB Device(s) found
scanning bus usb at ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb at ff580000 for devices... 1 USB Device(s) found
scanning bus usb at ff600000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
ethernet at ff540000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet at ff540000
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
ethernet at ff540000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet at ff540000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
ethernet at ff540000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet at ff540000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
ethernet at ff540000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet at ff540000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
ethernet at ff540000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet at ff540000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
ethernet at ff540000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet at ff540000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
ethernet at ff540000 Waiting for PHY auto negotiation to complete..


More information about the U-Boot mailing list