Page MenuHomeFreeBSD

geom: Add HiFive boot partitions
ClosedPublic

Authored by emaste on Jan 23 2022, 8:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 8, 11:27 PM
Unknown Object (File)
May 10 2024, 11:08 AM
Unknown Object (File)
May 8 2024, 9:31 AM
Unknown Object (File)
Apr 6 2024, 12:07 PM
Unknown Object (File)
Mar 8 2024, 7:44 AM
Unknown Object (File)
Mar 8 2024, 7:44 AM
Unknown Object (File)
Mar 8 2024, 7:32 AM
Unknown Object (File)
Jan 15 2024, 12:35 AM
Subscribers
None

Details

Summary

As documented in the HiFive Unmatched Software Reference Manual.

e.g. ubuntu-21.04-preinstalled-server-riscv64+unmatched.img:

=>     34  7339965  md0  GPT  (3.5G)
       34     2048   13  hifive-fsbl  (1.0M)
     2082     8192   14  hifive-bbl  (4.0M)
    10274   217088   15  efi  (106M)
   227362     8192   12  linux-data  (4.0M)
   235554  7104445    1  linux-data  (3.4G)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

ARM should have done this for their 'hidden' boot partitions years ago. Glad to see this being done in riscv land.

One question, though, is that are these hifive specific, or something more general that we've only seen on hifive so far...

This revision is now accepted and ready to land.Jan 23 2022, 11:55 PM
In D34010#768950, @imp wrote:

ARM should have done this for their 'hidden' boot partitions years ago. Glad to see this being done in riscv land.

One question, though, is that are these hifive specific, or something more general that we've only seen on hifive so far...

So far they are hifive-specific. Hopefully this scheme will be adopted more widely, but if it ends up that different vendors use different IDs or layouts it will just make the whole situation messier, at least from the POV of providing release images.

This revision was automatically updated to reflect the committed changes.