[U-Boot] [PATCH V9 0/4] SPL Linux boot

Simon Schwarz simonschwarzcor at googlemail.com
Wed Dec 7 18:37:09 CET 2011


On 12/07/2011 04:52 PM, Stefano Babic wrote:
> On 06/12/2011 19:34, Simon Schwarz wrote:
>> Adds direct Linux boot to SPL. It implements a spl export command to save
>> ATAGS or FDT to NAND flash. The kernel image has to be in place for this!
>>
>> Changes in V5:
>> - Rebased on u-boot-ti
>> - fixed MAKEALL warnings and errors
>> - adapted to general gpio interface
>> Changes in V6:
>> - Change old commit message
>>
>> Changes in V7:
>> - Correct style and format errors
>>
>> Changes in V8:
>> - rebased on u-boot
>>
>> Changes in V9:
>> - Deleted a left-over patch from the series this also fixed the first
>> 	problem mentioned here:
>> 	- http://article.gmane.org/gmane.comp.boot-loaders.u-boot/119452
>>
>> based on:
>> - Prep subcommand patch for arm
>>    (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/106725)
>
> Hi Simon,
>
> I am testing your patches (V9) - the kernel image is not corrupted
> anynmore due to the ECC, but I am not able to boot successfully the
> kernel. I am testing now with a second hardware (twister, I have
> recently posted the patches for this board, also OMAP3) to have a
> comparison with the beagleboard.
>
> The kernel starts but it stops very soon, I think after the machine-id
> check and it seems it cannot poarse correctly the tags. However, the
> parameters exported by "spl export" are correct and I have not found any
> difference with the "bootm" command under U-boot.
>
> I am starting to debug the kernel to get some more infos, but do you
> have some hints ? How do you test it ?
>
> Best regards,
> Stefano Babic
>

Hi Stefano,

great that someone has a closer look on this!

The only problem i had was a wrong machine id (The one to use is defined 
in the board config file).

So I didn't do any debugging in the kernel besides from activating early 
printk.

Regards
Simon


More information about the U-Boot mailing list