heads icon indicating copy to clipboard operation
heads copied to clipboard

WIP: xx30-*-maximized: Add MMC sdcard support, bump kernel to 4.19.162 LTS.

Open tlaurion opened this issue 4 years ago • 6 comments
trafficstars

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.

Changes in compressed payload size is: 7438884 - 7192516 = 246368 increase in size.

master 671522e commit build

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

15e674a here

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

tlaurion avatar Dec 09 '20 17:12 tlaurion

@MrChromebox

tlaurion avatar Dec 09 '20 17:12 tlaurion

no issues with the bump to 4.19, would just want to pull/build/test on the librem_l1um as a sanity check.

MrChromebox avatar Dec 10 '20 05:12 MrChromebox

@MrChromebox ping!

tlaurion avatar Jan 22 '21 21:01 tlaurion

@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

MrChromebox avatar Jan 22 '21 22:01 MrChromebox

Next

tlaurion avatar Dec 07 '21 04:12 tlaurion

I'm fine with it, if it breaks the L1UM I'll revert in Purism's tree until I can triage

MrChromebox avatar Dec 07 '21 05:12 MrChromebox