mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
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>
40 lines
789 B
Plaintext
40 lines
789 B
Plaintext
CONFIG_SYSVIPC=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_CPU_SUBTYPE_SH7751R=y
|
|
CONFIG_MEMORY_START=0x0c000000
|
|
CONFIG_FLATMEM_MANUAL=y
|
|
CONFIG_SH_RTS7751R2D=y
|
|
CONFIG_RTS7751R2D_PLUS=y
|
|
CONFIG_CMDLINE_FROM_BOOTLOADER=y
|
|
CONFIG_HEARTBEAT=y
|
|
CONFIG_PCI=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_ATA=y
|
|
CONFIG_PATA_PLATFORM=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_8139CP=y
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_SH_SCI=y
|
|
CONFIG_MFD_SM501=y
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SH_MOBILE_LCDC=y
|
|
CONFIG_FB_SH_MOBILE_HDMI=y
|
|
CONFIG_FB_SM501=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND_YMFPCI=y
|
|
CONFIG_SOUND_PRIME=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_R9701=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_TMPFS_POSIX_ACL=y
|