[Buildroot] [PATCH v1 3/9] board/intel/common: Add possibility for adding ACPI tables to the initrd
From: Arnout Vandecappelle <hidden>
Date: 2016-08-29 09:08:06
On 29-08-16 09:58, Mika Westerberg wrote:
On Mon, Aug 29, 2016 at 09:45:27AM +0200, Arnout Vandecappelle wrote:quoted
On 29-08-16 08:55, Mika Westerberg wrote:quoted
On Fri, Aug 26, 2016 at 06:30:47PM +0200, Arnout Vandecappelle wrote:quoted
[snip]quoted
quoted
Is it still possible to use an ext3 as a rootfs rather than an initrd? I.e., use a cpio archive with just the acpi stuff but have the real rootfs (including /sbin/init) on SD card. We generally have a writeable and persistent rootfs in the defconfigs because it's more convenient for experimenting.Sure we can use ext3 or whatever. Only thing that requires initrd is the AML stuff and we can generate that separately. That said the system we use here for kernel development only uses initrd (because that does not require any kind of disk to be present in the system under development).Well, you'll need _some_ kind of storage for the boot loader, no? Unless you use PXE, but in that case you'll probably want to use NFS-root.Right, we boot the system off USB stick which holds kernel+initrd and we use that initrd as our rootfs (which is suitable for most cases). That thing then fetches the actual kernel+initrd over tftp and kexecs them.
A very useful setup - I may use that approach in my own future development as well. But not suitable for a buildroot defconfig :-). It also explains why you had KEXEC=y in your defconfig. Regards, Arnout
quoted
PXE boot is however a bit more complicated to set up (you have to run a DHCP server, probably on a private network, which means a second interface on your PC or setting up VLAN in your switch), so we prefer to stick with disk-based (i.e., SD card) boot. Cfr. for instance the existing Minnowboard configs.Yes I know and PXE does not work on most development systems anyway. That's why we use the above setup :)
-- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF