Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
x230modding:start [2018/09/18 15:27] – [x230 mods] 9r | x230modding:start [2021/05/20 11:15] (current) – [Table] 9r | ||
---|---|---|---|
Line 79: | Line 79: | ||
- | =====.configs===== | + | =====building coreboot for x230 with FHDmod===== |
- | FIXME allow txt file upload, plz! | + | These steps should create a bootable coreboot-image for the x230 with seabios. |
- | tbd | + | :!: This image will only work with a the FHD-mod. |
+ | :!: LVDS-output will not be available. | ||
+ | |||
+ | If/when the fhd-mod gets accepted into coreboot, you can skip steps #2 & #3. | ||
+ | |||
+ | <code bash> | ||
+ | # 1. clone coreboot repo | ||
+ | git clone https:// | ||
+ | cd coreboot | ||
+ | |||
+ | # 2. checkout the fhd patch (c&p from download at https:// | ||
+ | git fetch https:// | ||
+ | |||
+ | # 3. apply all commits from master branch that happened after the patch was submitted | ||
+ | git rebase master FETCH_HEAD | ||
+ | |||
+ | # 4. get the submodules | ||
+ | git submodule update --init --checkout | ||
+ | |||
+ | # 5. build coreboot crosscompiler environment (may take a while) | ||
+ | make crossgcc-i386 CPUS=4 | ||
+ | |||
+ | # 6. create x230 specific defconfig (remove comments in the last 5 lines if you want to add optional secondary payloads) | ||
+ | cat << EOF > config/ | ||
+ | CONFIG_USE_OPTION_TABLE=y | ||
+ | CONFIG_TIMESTAMPS_ON_CONSOLE=y | ||
+ | CONFIG_USE_BLOBS=y | ||
+ | CONFIG_VENDOR_LENOVO=y | ||
+ | CONFIG_CBFS_SIZE=0x400000 | ||
+ | CONFIG_BOARD_LENOVO_X230_FHD=y | ||
+ | CONFIG_DRIVERS_PS2_KEYBOARD=y | ||
+ | CONFIG_PCIEXP_L1_SUB_STATE=y | ||
+ | CONFIG_PCIEXP_CLK_PM=y | ||
+ | CONFIG_SEABIOS_PS2_TIMEOUT=2000 | ||
+ | CONFIG_H8_SUPPORT_BT_ON_WIFI=y | ||
+ | CONFIG_MAINBOARD_USE_LIBGFXINIT=y | ||
+ | CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y | ||
+ | # CONFIG_SEABIOS_MASTER=y | ||
+ | # CONFIG_COREINFO_SECONDARY_PAYLOAD=y | ||
+ | # CONFIG_MEMTEST_SECONDARY_PAYLOAD=y | ||
+ | # CONFIG_NVRAMCUI_SECONDARY_PAYLOAD=y | ||
+ | # CONFIG_TINT_SECONDARY_PAYLOAD=y | ||
+ | EOF | ||
+ | |||
+ | # 8. create new .config with the parameters from the defconfig you just created | ||
+ | make defconfig | ||
+ | |||
+ | # 9. take a look at the created configuration | ||
+ | make menuconfig | ||
+ | |||
+ | # 10. build coreboot image | ||
+ | make | ||
+ | </ | ||
=====External Flashing===== | =====External Flashing===== | ||
Line 148: | Line 200: | ||
======Internal Flashing====== | ======Internal Flashing====== | ||
+ | |||
+ | To allow internal flashing, the IFD of the upper flash chip has to be unlocked. this can be archieved with | ||
+ | |||
+ | ifdtool -u ifdmegbe.rom | ||
add " | add " | ||
Line 157: | Line 213: | ||
content of x230-layout.txt: | content of x230-layout.txt: | ||
- | | + | <code dot x230-layout.txt> |
- | 0x00800000: | + | 0x00000000: |
+ | 0x00800000: | ||
+ | </ | ||
+ | |||
+ | ====Spare Parts==== | ||
+ | |||
+ | ^ Part ^ SKU or P/N ^ Link ^ Note ^ | ||
+ | | LCD-Cable | ||