heads
heads copied to clipboard
WIP: xx30-*-maximized: Add MMC sdcard support, bump kernel to 4.19.162 LTS.
This PoC includes MMC kernel support (sdcard slot) support to cover Realtek and Ricoh card reader (Yes. They changed from Ricoh to Realtek card reader somewhere in 2012.)
Other PRs, depending on this one, will follow to use those functionalities in the goal of attacking Heads GPG keygen and keytocard, with backup on encrypted storage.
- Kernel is bumped to latest LTS version because Realtek+Ricoh was malfunctioning/not avail in 4.14.
CONFIG_LINUX_MMCboard config option was added (will be extended to other boards upon review and successful tests)- modules/linux contains conditional statements of inclusion of the added MMC modules
Changes in compressed payload size is:
7438884 - 7192516 = 246368 increase in size.
Built lenovo/x230 (ThinkPad X230)
make[1]: Leaving directory '/root/project/build/coreboot-4.8.1'
2020-12-03 22:16:20+00:00 DONE coreboot
touch /root/project/build/coreboot-4.8.1/x230-hotp-maximized/.build
"/root/project/build/coreboot-4.8.1/x230-hotp-maximized/cbfstool" "/root/project/build/coreboot-4.8.1/x230-hotp-maximized/coreboot.rom" print
Name Offset Type Size Comp
cbfs master header 0x0 cbfs header 32 none
fallback/romstage 0x80 stage 84708 none
cpu_microcode_blob.bin 0x14c00 microcode 25600 none
fallback/ramstage 0x1b080 stage 81118 none
config 0x2edc0 raw 768 none
revision 0x2f100 raw 581 none
cmos_layout.bin 0x2f380 cmos_layout 1804 none
fallback/dsdt.aml 0x2fb00 raw 13646 none
fallback/payload 0x330c0 simple elf 7192516 none
(empty) 0x70f0c0 null 4523800 none
bootblock 0xb5f800 bootblock 1968 none
And
2020-12-09 01:27:48+00:00 DONE coreboot
touch /root/project/build/coreboot-4.8.1/x230-hotp-maximized/.build
"/root/project/build/coreboot-4.8.1/x230-hotp-maximized/cbfstool" "/root/project/build/coreboot-4.8.1/x230-hotp-maximized/coreboot.rom" print
Name Offset Type Size Comp
cbfs master header 0x0 cbfs header 32 none
fallback/romstage 0x80 stage 84708 none
cpu_microcode_blob.bin 0x14c00 microcode 25600 none
fallback/ramstage 0x1b080 stage 81111 none
config 0x2edc0 raw 768 none
revision 0x2f100 raw 581 none
cmos_layout.bin 0x2f380 cmos_layout 1804 none
fallback/dsdt.aml 0x2fb00 raw 13646 none
fallback/payload 0x330c0 simple elf 7438884 none
(empty) 0x74b340 null 4277400 none
bootblock 0xb5f800 bootblock 1968 none
@MrChromebox
no issues with the bump to 4.19, would just want to pull/build/test on the librem_l1um as a sanity check.
@MrChromebox ping!
@tlaurion haven't had time to test, but taking a 2nd review I don't see any reason to hold this up. I'll just keep in mind this change when I build/test the next Pureboot release
Next
I'm fine with it, if it breaks the L1UM I'll revert in Purism's tree until I can triage