diff mbox

[U-Boot] Radxa Rock2 square bug report (kernel won't load)

Message ID CABCGj3box5zsqUtDNiYaE_EiwsAS8Y0knNpxvt+SncvS+qrP4Q@mail.gmail.com
State Rejected
Delegated to: Simon Glass
Headers show

Commit Message

Sandy Patterson June 28, 2016, 2:11 p.m. UTC
Hi,

I am attempting to use U-Boot on a radxa rock2 board, and noticed that the
latest release of u-boot doesn't allow the kernel to boot. I am including a
boot log below.

I was able to get a working u-boot which boots my kernel by compiling
v2016.03. (git://git.denx.de/u-boot.git)

I traced a bit and found two commits which seem to break things, but I
stopped there.

1) ed980b8c62fbe17052ec6151a68b5b0be3809485
after this commit I am able to get a working uboot with this patch:



2) c09d29057ab0b04db0857d319c6bff74de31b9c3

I wasn't able to find a solution here.

I am using this toolchain:
android-platform-prebuilts-gcc-linux-x86-arm-arm-eabi-4.6 Is there a better
option for u-boot in general?

I'm able to test and do some limited troubleshooting, but I don't think I
can delve into dram init assembly code. I believe that v2016.03 is
sufficient for our purposes, so this isn't critical for us. Just a friendly
bug report.

Good luck,
Sandy Patterson


U-Boot SPL 2016.05 (Jun 28 2016 - 09:57:30)
Trying to boot from MMC1


I see a similar log in master:
U-Boot 2016.05 (Jun 28 2016 - 09:57:30 -0400)

Model: Radxa Rock 2 Square
DRAM:  2 GiB
MMC:   dwmmc@ff0f0000: 0, dwmmc@ff0c0000: 1
** First descriptor is NOT a primary desc on 0:1 **
stdio_add_devices: Video device failed (ret=-19)
In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
5244128 bytes read in 390 ms (12.8 MiB/s)
41982 bytes read in 14 ms (2.9 MiB/s)
10534400 bytes read in 775 ms (13 MiB/s)
Kernel image @ 0x2000000 [ 0x000000 - 0x5004e0 ]
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 1f5f4000, end 1ffffe00 ... OK
   Loading Device Tree to 1f5e6000, end 1f5f33fd ... OK

Starting kernel ...

Reset not supported on this platform
### ERROR ### Please RESET the board ###
diff mbox

Patch

diff --git a/configs/rock2_defconfig b/configs/rock2_defconfig
index fd32fb5..c2780c4 100644
--- a/configs/rock2_defconfig
+++ b/configs/rock2_defconfig
@@ -67,3 +67,4 @@  CONFIG_USE_PRIVATE_LIBGCC=y
 CONFIG_USE_TINY_PRINTF=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_ERRNO_STR=y
+CONFIG_EFI_LOADER=n