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)
Tue, Oct 22, 7:58 PM
Unknown Object (File)
Oct 19 2024, 2:51 PM
Unknown Object (File)
Oct 19 2024, 2:51 PM
Unknown Object (File)
Oct 3 2024, 10:20 PM
Unknown Object (File)
Oct 3 2024, 1:45 AM
Unknown Object (File)
Oct 2 2024, 1:50 PM
Unknown Object (File)
Oct 2 2024, 7:16 AM
Unknown Object (File)
Oct 2 2024, 1:13 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.