Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MBR partition table and the "active" flag



Hi,

not *entirely* related, but possibly relevant.

On Sun, May 19, 2019 at 10:32:07AM -0700, Jason Thorpe wrote:
> 1-- Do any of the other SoCs actually care about the ACTIVE flag?  If not, perhaps the right fix is to not set it when the image is built.

Per default, U-Boot seems to check for the flag at last on some
targets.  I ran into that a few days ago on the Pinebook.  The U-Boot
in question was built from FreeBSD's ports system and I don't see any
local changes that might have caused this, so I suspect this is the
default behavior.  At least when booting Linux, U-Boot scans for
certain files (e.g., "/boot.scr") on all bootable partitions and loads
the first it finds.

On NetBSD, U-Boot might do something different.  I've been wanting to
look at that anyway, I can tell you then if the flag is relevant
to us.


  Harold


Home | Main Index | Thread Index | Old Index