Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiP thin-provisioning-tools inclusion #676

Closed
wants to merge 1 commit into from

Conversation

tlaurion
Copy link
Collaborator

@tlaurion tlaurion commented Feb 18, 2020

thin-provisioning-tools inclusion inside of Heads through additional CONFIG_THIN-ROVISIONING-TOOLS board option

... Not functional at the moment since i'm unable to make thin-provisioning-tools to build with musl-cross (it sticks with g++ whatever I do)

New generic board addition: x230-privacybeast

  • thin-provisioning-tools and libraries are too big to be added under x230 without neutering ME and expending ifd consequently (which is why those minimal binaries are provided)
  • THIN-PROVISIONING-TOOLS board option present
  • linux config adding thin provisioning support and dm snapshots
  • coreboot config pointing to expended ifd descriptor and neutered ME (x230 Lenovo 2.76 extraction)

Changes related to thin-provisioning-tools

  • lvm2 module now supports Thin provisioning
  • libaio and libexpat dependencies seem to build correctly (untested because...)
  • thin-provisioning-tools module currently cannot build against musl-cross, depends on g++ and don't look into /install for its dependencies
  • Makefile modified to build if configured in board

Bonus: Board config generates valid top and bottom ROM images to be flashed once from external flasher, while coreboot.rom can be flashed internally. At term, the flash scripts depending on board specified flashrom options PR merge will permit this board to R/W whole ROM, not only the BIOS region.

If someone has input... issue here: jthornber/thin-provisioning-tools#131

…nal CONFIG_THIN-PROVISIONING-TOOLS board option

... Not functional at the moment since i'm unable to make thin-provisioning-tools to build with musl-cross (it sticks with g++ whatever I do)

New generic board addition: x230-privacybeast
- thin-provisioning-tools and libraries are too big to be added under x230 without neutering and expending ifd
- THIN-PROVISIONING-TOOLS board option present
- linux config adding thin provisioning support and dm snapshots
- coreboot config pointing to expended ifd descriptor and neutered ME (x230 Lenevo 2.76 extraction)

Changes related to thin-provisioning-tools
- lvm2 module now supports Thin provisioning
- libaio and libexpat dependencies seem to build correctly (untested because...)
- thin-provisioning-tools module currently cannot build against musl-cross, depends on g++ and don't look into /install for its dependencies
- Makefile addition of module to be compiled if present in board config

If someone has input... issue here: jthornber/thin-provisioning-tools#131
@tlaurion
Copy link
Collaborator Author

To replicate problem, follow heads wiki building guide to install dependencies, add libtool, expat and libaio (autoconf?) and do:
make BOARD=x230-privacybeast

@tlaurion
Copy link
Collaborator Author

@flammit @osresearch @kylerankin : your opinion would be needed here.

This PR includes blobs to free 5M of space in the rom and produces bottom and top valid images, which could permit CI to prebuild those images without nasty scripts under blobs directory.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Mar 5, 2020

Apparently not needed per wyng

@tlaurion tlaurion closed this Mar 5, 2020
tlaurion added a commit to tlaurion/heads that referenced this pull request Jul 30, 2021
- Will try to address jthornber/thin-provisioning-tools#131
- thin-provisioning tools are required to actually activate/scan vg and lvms after cryptsetup linuxboot#676

Just a trace as of now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant