[Buildroot] [PATCH v1 3/9] board/intel/common: Add possibility for adding ACPI tables to the initrd

Arnout Vandecappelle arnout at mind.be
Mon Aug 29 07:45:27 UTC 2016



On 29-08-16 08:55, Mika Westerberg wrote:
> On Fri, Aug 26, 2016 at 06:30:47PM +0200, Arnout Vandecappelle wrote:
>>
[snip]
>>  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.

 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.

 So I would say: create the cpio archive from some package (possibly the package
containing the actual definitions, like Thomas suggested), and create
board-specific defconfigs that build SD card images.

 Regards,
 Arnout

> 
>>  If this possibility exists, then I think it would make sense to add a package
>> (in the bootloader menu maybe?) that generates this cpio archive, like Thomas
>> suggested. Appending the two archives, however, is still something for a
>> post-image script I think.
> 
> OK.
> 

-- 
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



More information about the buildroot mailing list