NetBSD-Bugs archive

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

Re: port-hp300/54455 (hp300 ISO should be encapsulated in LIF to be bootable)



Synopsis: hp300 ISO should be encapsulated in LIF to be bootable

Responsible-Changed-From-To: port-hp300-maintainer->tsutsui
Responsible-Changed-By: tsutsui%NetBSD.org@localhost
Responsible-Changed-When: Wed, 08 May 2024 17:31:53 +0000
Responsible-Changed-Why:
I'm working on it.


State-Changed-From-To: open->analyzed
State-Changed-By: tsutsui%NetBSD.org@localhost
State-Changed-When: Wed, 08 May 2024 17:31:53 +0000
State-Changed-Why:
- concept confirmed (using a different approach from OpenBSD/hp300)
  https://www.youtube.com/watch?v=seHEeoup6P0
 - prepare a new uboot binary without LIF volume but only LIF file header
   (four bytes entry address and four bytes file size at the top)
 - put the uboot binary for CD on in a boot ISO by makefs(8)
  - in ISO9660 all blocks for each file are contiguously allocated
    so we can directly specify it in the LIF directory entry
    without a boot partition
 - prepare LIF volume and directory entry in the boot ISO
 - write a block number of the uboot in the ISO image to
   a directory entry in the LIF header

- needs to implement host tools to prepare necessary data in a boot ISO
 - hp300/stand/mkboot option to add only LIF file header (no LIF volume)
 - installboot support to detect block and length of a file in ISO9660 fs
   as src/distrib/cdrom/macppc_installboot does





Home | Main Index | Thread Index | Old Index