On Thu, Oct 8, 2015 at 6:44 PM, Chris R <[email protected]> wrote:
> "aka, use an uuid/initramfs when you want to use the eMMC as rootfs
> without the microSD card plugged,"
>
>>
>> So, and I thank you for your patience- I am in the situation here where I
>> am booted from my MMC, (sd card is not in the machine). My BB is booted up
>> and happy. I want to copy my new u-boot.img file into partition 1, so as to
>> dispense with auto-boot. I know that if I just copy it now, it will, upon
>> reboot, not mount the mmc root filesystem, like it does now.

Your other option, force root=mmcblk0p1 (but then it won't work if
your microSD is plugged in)

>> So I must first generate an initramfs? I did try update-initramfs -u, and
>> that does nothing- no messages, etc... I tried update-initramfs -c, but that
>> just tells me how to use initramfs.

sudo update-initramfs -ck `uname -r`

>> Or do you mean I have to configure u-boot or uEnv.txt to use an initramfs?
>> Sorry, I am quite new to this, and thanks.

You'll also have to configure u-boot to load the generated
initrd.img-`uname -r` as that's what is going ot decode the "uuid =
/dev/mmblkXyZ"...

you can use:

ls -lh /dev/disk/by-uuid/*

to find the uuid of the eMMC 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