On Thu, Mar 17, 2016 at 11:18 PM, David Hinkes <[email protected]> wrote:
> Hi,
>
> I'm attempting to boot a vanilla u-boot and linux kernel from the SD card.
> I was able to make the cross-compiler and build from the u-boot and linux
> sources.  I installed u-boot to the SD card via creating a FAT partition and
> dumping MLO and u-boot.img directly into the filesystem.  I also have a
> minimal uEnv.txt.
>
> So, the partition looks like this:
> /MLO
> /u-boot.img
> /boot/uEnv.txt
>
> I boot with the "boot-button" pressed (after disconnecting the power) and
> u-boot seems to fire up OK, but it complains that it can't find uEnv.txt[1].
>
> Questions:
> (1) What are the requirements for the location of uEnv.txt?

Look at the flow:

http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/am335x_evm.h;h=6ebe0b3866f9b137472cc080c9eb8f1e38233186;hb=df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa#l130

/uEnv.txt in the first partition...

> (2) Any idea why this could be happening?
> (3) Regarding installing MLO and u-boot.img, I see conflicting information.
> Some say just just do as I've done.  Others use dd to directly write to the
> raw device.  Which is correct?

Both work..

We just switched to dd'ing by default, so end users are less likely to
'soft-brick' a board when they format/delete files in the fat
partition..

Regards,

-- 
Robert Nelson
https://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