mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
5edce691885fb41252676df6b94768683a165157
Back in commit44a6b7866c("configs/qemu_sh4*: switch to initramfs"), the Qemu SuperH defconfigs were switched to initramfs due to a bug in the Qemu disk emulation. However, the initramfs solution has an issue: if the initramfs is slightly too large (like just 6 MB!), the system no longer boots. Since the disk emulation problem has apparently been resolved in Qemu 10 (according to testing), let's switch back to this. In addition to essentially reverting44a6b7866c, we also need to adjust the kernel configuration so that the kernel takes its command line for the bootloader (in our case from the Qemu -append option). Otherwise an hardcoded command line is used, which doesn't mount /dev/sda as the root filesystem. This update has been tested on Gitlab CI: https://gitlab.com/tpetazzoni/buildroot/-/pipelines/1968267919 Thanks to Romain Naour for pointing to the initramfs size as being the issue. Cc: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.6%
Python
18.8%
C
8.5%
Shell
6.2%
PHP
1.4%
Other
2.1%