[U-Boot] [PATCH v2 0/6] Addition of new board Peach-Pi

Simon Glass sjg at chromium.org
Sat Oct 18 05:55:39 CEST 2014


Hi Akshay,


On 17 October 2014 11:52, Simon Glass <sjg at chromium.org> wrote:
>
> Hi Akshay,
>
> On 15 October 2014 18:38, Akshay Saraswat <akshay.s at samsung.com> wrote:
> > Now we are adding a new Peach-Pi board which is a variant of Peach-Pit
> > and is based on Exynos5800. Exynos5800 itself is a variant of Exynos5420,
> > hence, most of the hardware config and settings are reused for this board.
> >
> > Changes since v1:
> >         - Rebased all the patches.
>
> Sadly this still doesn't work for me. I'll try to debug it.

Here's what I found. I am using Pi MP dated in April.

1. It won't boot at all with the patches, but if I change ARM
frequency in the device tree from 1700 MHz to 900 MHz then it will
boot into SPL OK. This is the same issue as I have on Pit. I'm not
sure why this is. See U-Boot mainline commit e4d7610 for what I did.

2. USB boot hangs in the IROM - it gets as far as calling the IROM to
load from USB, but dies in the IROM and does not return. So USB loads
BL1, BL2 but will not load U-Boot. I wonder if the IROM USB entry
point has changed for this chip?

3. SD boot works OK and gets as far as U-Boot, but it dies inside
initcall_run_list() called from board_init_f(). It seems to crash on
the first function call. I can't really explain that at all. The first
call is to setup_mon_len() and if I call that explicitly then it works
fine.

So I wonder if the SDRAM init is broken in some way, and there is some
other problem with USB.

In terms of testing with USB download, you should be able to use a
simple script that calls smdk_usbdl three times, once each with BL1,
BL2 and U-Boot. You might need a short sleep before the first one. I
can help you debug cros_bundle_firmware but at present there is not
much point since there seems to be some other problem.

Regards,
Simon


More information about the U-Boot mailing list