All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon South <simon@simonsouth.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] ROCK64 fails to boot using U-Boot TPL
Date: Fri, 20 Sep 2019 05:28:52 -0400	[thread overview]
Message-ID: <706e6377-b261-9a76-fa33-180658a9655e@simonsouth.net> (raw)
In-Reply-To: <qm1vnm$7rbk$1@blaine.gmane.org>

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 \b\b\b 1 \b\b\b 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)
|\b/\b-\b\\b|\b/\b-\b

>> 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. \b\b\b\b\b\b\b\b\b\b\b4 seconds. \b\b\b\b\b\b\b\b\b\b\b3 seconds. \b\b\b\b\b\b\b\b\b\b\b2 seconds. \b\b\b\b\b\b\b\b\b\b\b1 seconds. \b\b\b\b\b\b\b\b\b\b\b0 seconds.     
\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b6100056|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b+2730512|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b+1985652-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b+1823764-\b\\b [701640|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b+490622\\b|\b/\b-\b\\b|\b/\b]=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 \b\b\b 1 \b\b\b 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
|\b/\b-\b\\b|\b/\b-\b

>> 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. \b\b\b\b\b\b\b\b\b\b\b4 seconds. \b\b\b\b\b\b\b\b\b\b\b3 seconds. \b\b\b\b\b\b\b\b\b\b\b2 seconds. \b\b\b\b\b\b\b\b\b\b\b1 seconds. \b\b\b\b\b\b\b\b\b\b\b0 seconds.     
\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b6100056|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b+2730512|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b+1985652-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b+1823764-\b\\b [701640|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b+490622\\b|\b/\b-\b\\b|\b/\b]=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}> 

  reply	other threads:[~2019-09-20  9:28 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19  8:56 [U-Boot] ROCK64 fails to boot using U-Boot TPL Simon South
2019-09-19 15:48 ` Matwey V. Kornilov
2019-09-20  0:06   ` Simon South
2019-09-20  7:39     ` Matwey V. Kornilov
2019-09-20  9:28       ` Simon South [this message]
2019-09-20 10:07         ` Matwey V. Kornilov
2019-09-20 10:14           ` Martin Husemann
2019-09-20 16:43             ` Matwey V. Kornilov
2019-09-20 17:27               ` Simon South
2019-09-20 17:37                 ` Matwey V. Kornilov
2019-09-20 17:43                   ` Simon South
2019-09-21  7:47                     ` Matwey V. Kornilov
2019-09-21 11:59                       ` Simon South
2019-09-21 12:29                     ` Matwey V. Kornilov
2019-09-21 13:37                       ` Simon South
2019-09-21 17:15                         ` Matwey V. Kornilov
2019-09-24 16:54                           ` Matwey V. Kornilov
2019-09-24 17:54                             ` Simon South
2019-09-24 18:35                               ` Matwey V. Kornilov
2019-09-24 18:50                                 ` Simon South
2019-09-20 18:09                 ` Simon South
2019-09-19 16:29 ` Jagan Teki
2019-09-20  0:10   ` Simon South
2019-09-19 16:49 ` Matwey V. Kornilov
2019-09-20 10:03 ` Mark Kettenis
2019-09-20 10:22   ` Simon South
2019-09-21 14:26 ` [U-Boot] u-boot 2017 doesn't recognized pATA microdrive Carlo Pisani
2019-09-23 12:37 ` [U-Boot] ROCK64 fails to boot using U-Boot TPL Simon South

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=706e6377-b261-9a76-fa33-180658a9655e@simonsouth.net \
    --to=simon@simonsouth.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.