aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/genimage-raspberrypi3.cfg33
-rwxr-xr-xbuild.sh4
-rw-r--r--configs/qemu_x86_645
3 files changed, 9 insertions, 33 deletions
diff --git a/board/genimage-raspberrypi3.cfg b/board/genimage-raspberrypi3.cfg
deleted file mode 100644
index 0a54724..0000000
--- a/board/genimage-raspberrypi3.cfg
+++ /dev/null
@@ -1,33 +0,0 @@
-image boot.vfat {
- vfat {
- files = {
- "bcm2710-rpi-3-b.dtb",
- "bcm2710-rpi-3-b-plus.dtb",
- "bcm2710-rpi-cm3.dtb",
- "rpi-firmware/bootcode.bin",
- "rpi-firmware/cmdline.txt",
- "rpi-firmware/config.txt",
- "rpi-firmware/fixup.dat",
- "rpi-firmware/start.elf",
- "rpi-firmware/overlays",
- "zImage"
- }
- }
- size = 32M
-}
-
-image sdcard.img {
- hdimage {
- }
-
- partition boot {
- partition-type = 0xC
- bootable = "true"
- image = "boot.vfat"
- }
-
- partition rootfs {
- partition-type = 0x83
- image = "rootfs.ext4"
- }
-}
diff --git a/build.sh b/build.sh
index 3d3bf80..15e6d5a 100755
--- a/build.sh
+++ b/build.sh
@@ -5,6 +5,8 @@ usage() {
echo "with boardname in"
echo " - raspberrypi0w"
echo " - raspberrypi3_64"
+ echo " - qemu_x86_64"
+
}
test -z ${BUILDROOT_DIR} && BUILDROOT_DIR="../buildroot-2022.08.1"
@@ -23,6 +25,8 @@ case "$BOARDNAME" in
;;
raspberrypi3_64)
;;
+ qemu_x86_64)
+ ;;
*)
usage
echo
diff --git a/configs/qemu_x86_64 b/configs/qemu_x86_64
new file mode 100644
index 0000000..a5a54c9
--- /dev/null
+++ b/configs/qemu_x86_64
@@ -0,0 +1,5 @@
+
+BR2_SYSTEM_DHCP="eth0"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
+BR2_TOOLCHAIN_BUILDROOT_CXX=y