On Mon, Jun 2, 2014 at 5:01 PM, Christof Meerwald <[email protected]> wrote:
> On Fri, May 30, 2014 at 05:21:39PM -0400, Tom Rini wrote:
> [...]
>> I should have been clearer, please try v2014.07-rc2 as there's some ext*
>> fixes in there which may help.  For beaglebone you want either
>> am335x_evm or am335x_boneblack, and copy MLO and u-boot.img.  You should
>> backup the existing MLO/u-boot.img elsewhere first, as a precaution.
>
> Finally managed to test it and the original bug is indeed fixed.
>
> However, the default scripts built into u-boot.img seem to be somewhat
> broken (particularly when you want to boot from the internal MMC, but
> have a non-bootable uSD inserted). For example
>
>   if run loadimage; then echo ok; fi
>
> results in
>
>   ** Invalid partition 2 **
>   ok
>
> Clearly, if it can't load the image, it shouldn't return ok.
>
> This either results in a failure when importing uenv:
>
> Importing environment from mmc ...
> ## Warning: Input data exceeds 1048576 bytes - truncated
> ## Info: input data size = 1048578 = 0x100002
> himport_r: can't insert "..."
>
> or it tries to boot a kernel that it couldn't load.

We patched that call out in the new debian based beagleboard.org image.

https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2014.04/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L87

The only way it'll boot from the microSD is if a valid uEnv.txt file
is in the first partition and contains a "uenvcmd" variable
definition.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to