diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-07-11 14:50:22 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-07-15 22:18:45 +0200 |
commit | a570dea84f2e1728b43348c166694a3246d1b49c (patch) | |
tree | 5ccfd0655946680f7fea4498fe5bb26af5e1119a /board/qemu/xtensa-lx60/linux/linux-0001-disable-redboot-and-uboot.patch | |
parent | c78d57637cd57a383e44713eb27e654b3071340e (diff) | |
download | buildroot-a570dea84f2e1728b43348c166694a3246d1b49c.tar.gz buildroot-a570dea84f2e1728b43348c166694a3246d1b49c.zip |
configs: add new configuration for qemu-system-xtensa
Tested with Qemu 2.0.0.
Overlay is from
https://github.com/jcmvbkbc/xtensa-toolchain-build/tree/master/overlays
Many thanks to Max Filippov <jcmvbkbc@gmail.com> for his extended help
and kernel config examples.
A small kernel patch is required, because mkimage does not contain
support for Xtensa and the uImage target is failing. Redboot is unused
so disable it, too.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/qemu/xtensa-lx60/linux/linux-0001-disable-redboot-and-uboot.patch')
-rw-r--r-- | board/qemu/xtensa-lx60/linux/linux-0001-disable-redboot-and-uboot.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/board/qemu/xtensa-lx60/linux/linux-0001-disable-redboot-and-uboot.patch b/board/qemu/xtensa-lx60/linux/linux-0001-disable-redboot-and-uboot.patch new file mode 100644 index 0000000000..c0ccf48466 --- /dev/null +++ b/board/qemu/xtensa-lx60/linux/linux-0001-disable-redboot-and-uboot.patch @@ -0,0 +1,16 @@ +disable boot-uboot and boot-redboot, requires a patched u-boot and mkimage + +Signed-off-by:Waldemar Brodkorb <wbx@openadk.org> + +diff -Nur linux-3.15.orig/arch/xtensa/boot/Makefile linux-3.15/arch/xtensa/boot/Makefile +--- linux-3.15.orig/arch/xtensa/boot/Makefile 2014-06-08 20:19:54.000000000 +0200 ++++ linux-3.15/arch/xtensa/boot/Makefile 2014-06-14 20:07:15.206091165 +0200 +@@ -23,7 +23,7 @@ + + bootdir-$(CONFIG_XTENSA_PLATFORM_ISS) += boot-elf + bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf boot-uboot +-bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-redboot boot-elf boot-uboot ++bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-elf + + zImage Image: $(bootdir-y) + |