fosslinux / fosslinux/live-bootstrap

Reduce srcfs / bare-metal image size to no more than 256MiB

Open
#346 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
750
Forks
62
PR merge metrics
No merged PRs in 30d

Description

For the Trusted Flash drive project, I have been researching various ways to build some kind of Flash storage (USB, SPI, etc.) that can be verifiably limited to 512 byte capacity at boot, and then fully unlocked later once correct loading of the boot sector (builder-hex0 stage 1) has been verified - all without having to trust some firmware to do the limiting and unlocking.

Some ways to achieve this would be:
* using parallel storage with true address lines, and physically disconnecting/grounding high address lines using a mechanical switch,
* hotplugging SPI flash memory chips (512 byte SPI flash chips do exist, with an interface that's compatible with their larger capacity brethren).

Unfortunately, these techniques all seem to top out at about 256MiB - e.g. 256MiB SPI flash storage is available today, but not 512MiB.

The simplify branch has already achieved a reduction to about 290MiB, so 256MiB seems within reach. Maintaining that goal together with #345 seems rather more difficult, but IMO still doable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.