Hi all,
I've built a coreboot with the LinuxBoot payload. The kernel is the stable 5.3.8 version and the intiramfs is the u-root master version. All with the default choices. I'm using coreboot 4.10.
Once the system boots I get a framebuffer console without usb keyboard support and the u-root welcome message. How can I boot my debian system on a SATA or a USB disk? Maybe, first I've to add SATA and usb storage support? Is there someway to looks for the grub configuration automatically?
Sorry my noob questions, just arrived to LinuxBoot...
Thanks! Jorge
Hi Jorge,
On Wed, Nov 6, 2019 at 5:09 AM Jorge Fernandez Monteagudo jorgefm@cirsa.com wrote:
Hi all,
I've built a coreboot with the LinuxBoot payload. The kernel is the stable 5.3.8 version and the intiramfs is the u-root master version. All with the default choices. I'm using coreboot 4.10.
Once the system boots I get a framebuffer console without usb keyboard support and the u-root welcome message. How can I boot my debian system on a SATA or a USB disk? Maybe, first I've to add SATA and usb storage support? Is there someway to looks for the grub configuration automatically?
Yes, if you're using LinuxBoot then you need to include all the drivers you wish to use in your LinuxBoot kernel, including SATA and USB.
`localboot -grub` will systematically mount partitions looking for a GRUB config file, parse it, and kexec the kernel it finds. You can select a particular entry using the `-config` command-line parameter.
Sorry my noob questions, just arrived to LinuxBoot...
Welcome!
Hi David!
Yes, if you're using LinuxBoot then you need to include all the drivers you wish to use in your LinuxBoot kernel, including SATA and USB.
`localboot -grub` will systematically mount partitions looking for a GRUB config file, parse it, and kexec the kernel it finds. You can select a particular entry using the `-config` command-line parameter.
Finally I've been able to boot my system and implement a signature verification using TPM2. It's very easy to try new things with linuxboot and u-root!
Thanks! Jorge
Hi,
Could you post your final configs and setup? I am interested in the result.
Thanks!
On November 12, 2019 10:05:59 AM UTC, Jorge Fernandez Monteagudo jorgefm@cirsa.com wrote:
Hi David!
Yes, if you're using LinuxBoot then you need to include all the
drivers you wish to use in your LinuxBoot kernel, including SATA and USB.
`localboot -grub` will systematically mount partitions looking for a
GRUB config file, parse it, and kexec the kernel it finds. You can select a particular entry using the `-config` command-line parameter.
Finally I've been able to boot my system and implement a signature verification using TPM2. It's very easy to try new things with linuxboot and u-root!
Thanks! Jorge
Could you post your final configs and setup? I am interested in the result. Thanks!
Hi,
I'm my case I only had to changed the defconfig used to compile the kernel to enable the SATA support for my board:
CONFIG_SATA_AHCI=y CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_AHCI_PLATFORM=y
Jorge