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

Debugging kernel 5.x kexec issues add tools to ease kernel version bumping #1351

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e396d9b
WiP
tlaurion Mar 20, 2023
1542690
WIP some more
tlaurion Mar 21, 2023
6b55794
Wip continues
tlaurion Mar 21, 2023
6eea487
WiP removing more, less change against 4.14
tlaurion Mar 22, 2023
bf48c95
Wip continues
tlaurion Mar 23, 2023
b184504
add i915drmfb to kexec patch, which match fb of 5.x+ kernels for inte…
tlaurion Mar 23, 2023
a43fa70
quick test reverting linux config to config/linux-x230-maximized.conf…
tlaurion Mar 23, 2023
8872b12
WiP VGA correctness
tlaurion Mar 29, 2023
6459416
Revert unneeded changes to kexec-boot and kexec-parse-boot
tlaurion Mar 30, 2023
a39d71c
Finally some progress.
tlaurion Mar 31, 2023
b7ecf76
kexec-boot: remove no-real-mode which is deprecated under newer xen
tlaurion Apr 3, 2023
dd59749
WiP: no changes really, still experiments
tlaurion Apr 3, 2023
9062bfe
kexec-boot: readd no-real-mode: this is processed by Xen. Only output…
tlaurion Apr 3, 2023
f1edf70
linux-qemu.config here is based on https://github.com/u-root/webboot/…
tlaurion Apr 5, 2023
4de01ac
modules/linux: have all helper make statements depend on musl-cross-m…
tlaurion Apr 5, 2023
de5d83b
Weird.... deactivating wireless support didnt deactivated 80211.....
tlaurion Apr 5, 2023
ea8cfb1
linux-qemu.config: Removed CONFIG_EXTRA_FIRMWARE references to iwlwif…
tlaurion Apr 5, 2023
b1d6e91
linux-qemu: add MODULES support and put e1000e compiled as module whi…
tlaurion Apr 5, 2023
dcbb11f
coreboot-qemu-tpm1.config : extend bios size and CBFS
tlaurion Apr 5, 2023
e3efe50
Add DRM and FB back, change board KERNEL_ADD to pass vga=791 as per h…
tlaurion Apr 5, 2023
4d70886
Test on real hardware confirms Tinycore is not aimed to kexec properly
tlaurion Apr 6, 2023
d506ef1
Going back to more plain config
tlaurion Apr 11, 2023
2207067
Remove builds from CircleCI at this point. Just loosing compilation t…
tlaurion Apr 11, 2023
c992996
kexec-boot: readd --noefi --reuse-video-type
tlaurion Apr 11, 2023
87c7dea
kexec2 is not compatible with entry-32bit.... Reverting changes. Tiny…
tlaurion Apr 12, 2023
bca26c1
modules/coreboot: add coreboot.save_defconfig_in_place helper
tlaurion Apr 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
578 changes: 0 additions & 578 deletions .circleci/config.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export CONFIG_BOOTSCRIPT=/bin/gui-init
export CONFIG_BOOT_REQ_HASH=n
export CONFIG_BOOT_REQ_ROLLBACK=n
export CONFIG_BOOT_RECOVERY_SERIAL="/dev/ttyS0"
export CONFIG_BOOT_KERNEL_ADD="console=ttyS0 console=tty systemd.zram=0"
export CONFIG_BOOT_KERNEL_ADD="nosmp debug console=ttyS0,115200 console=tty systemd.zram=0"
export CONFIG_BOOT_KERNEL_REMOVE="quiet rhgb splash"

export CONFIG_TPM=y
Expand Down Expand Up @@ -135,7 +135,6 @@ run: $(TPMDIR)/.manufacture $(ROOT_DISK_IMG) $(MEMORY_SIZE_FILE) $(USB_FD_IMG)
-rtc base=utc \
-smp "$$(nproc)" \
-vga virtio \
-full-screen \
-m "$$(cat "$(MEMORY_SIZE_FILE)")" \
-serial stdio \
--bios "$(QEMU_BOOT_ROM)" \
Expand Down
3 changes: 2 additions & 1 deletion boards/x230-hotp-maximized/x230-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
# - Includes: Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code)
export CONFIG_COREBOOT=y
export CONFIG_COREBOOT_VERSION=4.13
export CONFIG_LINUX_VERSION=4.14.62
#export CONFIG_LINUX_VERSION=4.14.62
export CONFIG_LINUX_VERSION=5.10.5

CONFIG_COREBOOT_CONFIG=config/coreboot-x230-maximized.config
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
Expand Down
5 changes: 3 additions & 2 deletions config/coreboot-qemu-tpm1.config
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
CONFIG_CCACHE=y
# CONFIG_INCLUDE_CONFIG_FILE is not set
CONFIG_ONBOARD_VGA_IS_PRIMARY=y
CONFIG_CBFS_SIZE=0x980000
CONFIG_CBFS_SIZE=0x1000000
# CONFIG_POST_IO is not set
# CONFIG_POST_DEVICE is not set
CONFIG_BOARD_EMULATION_QEMU_X86_Q35=y
# CONFIG_CONSOLE_SERIAL is not set
CONFIG_LINUX_COMMAND_LINE="debug console=ttyS0,115200 console=tty"
CONFIG_COREBOOT_ROMSIZE_KB_10240=y
CONFIG_COREBOOT_ROMSIZE_KB_16384=y
CONFIG_PCIEXP_ASPM=y
CONFIG_PCIEXP_COMMON_CLOCK=y
CONFIG_UART_PCI_ADDR=0
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
CONFIG_DRIVERS_PS2_KEYBOARD=y
CONFIG_USER_TPM1=y
CONFIG_TPM_MEASURED_BOOT=y
Expand Down
2 changes: 1 addition & 1 deletion config/coreboot-x230-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx30/me.bin"
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx30/gbe.bin"
CONFIG_HAVE_IFD_BIN=y
CONFIG_BOARD_LENOVO_X230=y
CONFIG_LINUX_COMMAND_LINE="intel_iommu=igfx_off quiet"
CONFIG_LINUX_COMMAND_LINE="intel_iommu=igfx_off"
CONFIG_UART_PCI_ADDR=0
CONFIG_HAVE_ME_BIN=y
CONFIG_HAVE_GBE_BIN=y
Expand Down
Loading