On Fri, Jan 23, 2015 at 10:28 AM, Robert P. J. Day
<[email protected]> wrote:
>
>   been a while since i had to format an SD card from scratch for my
> BBB and, reading RCN's instructions over at eewiki.net, i have a
> couple questions.
>
>   reading here:
>
> https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSD/SDcard
>
> and first question is, why is there no need to create and format a
> VFAT partition? from memory, i would always create a small, initial
> VFAT partition and put MLO and uboot there, and format the rest of the
> SD card as ext? for the rootfs.
>
>   but the instructions on that page don't create an initial VFAT
> partition, they just raw copy MLO and u-boot.img to exact addresses on
> the freshly-zeroed SD card. i had no idea you could do this. or am i
> misreading something?

It's a feature of the omap4+ bootrom. (omap35/36xx can't do it).  We
had users deleting MLO/u-boot.img in that fat partition so we started
looking for a way to better protect that.

Ps.. the bootloader does a lot more internally now too, so we can have
simplified /boot/uEnv.txt script...

http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0#Boot_Partition_.28omap4.2B_.28am335x.29.29

>
>   (side note: since those instructions are copying to a device file,
> i'm guessing the dd "conv=notrunc" option is unnecessary.)
>
>   finally, on my fedora rawhide system, attempting to run sfdisk as
> given there tells me:
>
>   1) --in-order is not even a valid option
>   2) both --Linux and --unit are deprecated options

Yuck! I knew this was coming, was hoping they "wouldn't" break
everyone's script.. Looks like they did, sometimes i wonder if they
enjoy doing that...

<quote>
Util-linux 2.26 Release Notes
=============================

 This version provides completely new sfdisk(8) command, the new version is
 based on libfdisk. If your use-cases depend on sfdisk(8) then it is strongly
 recommended to be careful and re-test your scripts. The new version supports
 MBR and GPT disk labels (SGI and SUN are also supported but no well tested).
 The new version does no more support some obscure MBR specific command line
 options and legacy CHS addressing.
</quote>

Time to fire up Fedora Rawhide and figure out what changed.

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