summaryrefslogtreecommitdiff
path: root/elements/bsp-generic.bst
Commit message (Collapse)AuthorAgeFilesLines
* Add minimal-system-image-x86_64Sam Thursfield2017-12-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This element produces a disk image that boots in QEMU. It has a kernel, BusyBox, and little else; but should be suitable as a basis for more grand endeavours. This disk image we produce is 53MB. I spent a while trying to get this as small as possible and this is as far as I got: * The boot partition seems to have a minimum size just over 32MB; lower than that and SYSLINUX fails to write the boot sector. The combined size of the initramfs and kernel is about 32MB, so I imagine that's what limits us. * The main partition is limited in size only by the amount of binaries that we put there. * We have a useless 40KB swap partition, which the x86image plugin insists on creating for us. Again 40KB is the minimum size that `mkswap` will allow. It's possible to override or modify the x86image plugin to avoid swap altogether but I'm not sure of the best way to proceed. There are a few dependency cleanups in the bsp-generic stack; previously we'd build the whole 'foundation' stack which took ages and wasn't needed at all.
* Replace use of architecture conditionals with generic project conditionsSam Thursfield2017-11-051-9/+5
| | | | | | | | | | | | The initial implementation of architecture conditionals has been removed, as the same behaviours can be implemented using the more generic mechanism for conditionals that is being introduced for BuildStream 1.0. We now have two architecture options: build_arch and arch. They are documented in project.conf. The first one controls the build sandbox while the second controls the host and target of the binaries we produce.
* Add a "generic" BSP stackSam Thursfield2017-10-251-0/+16
This means we no longer try to build syslinux on non-x86 platforms.