Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0
|
||||
qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.6.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -9,4 +9,4 @@ Or for the noMMU emulation:
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -8,4 +8,4 @@ graphical window is the framebuffer.
|
||||
If you want to emulate more cores change "-smp 1" to "-smp 2" for
|
||||
dual-core or even "smp -4" for a quad-core configuration.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -6,4 +6,4 @@ The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
enabled.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -6,4 +6,4 @@ The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
enabled.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,4 +4,4 @@ qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -d
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.6.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,4 +4,4 @@ qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.6.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -5,4 +5,4 @@ Run the emulation with:
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,7 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.6.0
|
||||
|
||||
Might work with 2.6.0 by changing the -cpu entry to MIPS64R6-generic
|
||||
since the naming was updated and the old name removed in 2.7.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,6 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with the upcoming QEMU 2.9.0 [1]
|
||||
|
||||
[1] http://git.qemu.org/?p=qemu.git;h=ae5045ae5b2bbd8ce1335d1b05f9ecacca83a6cf
|
||||
Tested with QEMU 2.9.0.
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
OpenRISC arch name was in the beginning or32
|
||||
|
||||
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
||||
|
||||
diff -Nur linux-4.4.5.orig/arch/openrisc/kernel/vmlinux.lds.S linux-4.4.5/arch/openrisc/kernel/vmlinux.lds.S
|
||||
--- linux-4.4.5.orig/arch/openrisc/kernel/vmlinux.lds.S 2016-03-10 00:35:58.000000000 +0100
|
||||
+++ linux-4.4.5/arch/openrisc/kernel/vmlinux.lds.S 2016-03-16 09:21:07.933535532 +0100
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <asm/cache.h>
|
||||
#include <asm-generic/vmlinux.lds.h>
|
||||
|
||||
-OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32")
|
||||
+OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k")
|
||||
jiffies = jiffies_64 + 4;
|
||||
|
||||
SECTIONS
|
||||
@@ -1,25 +0,0 @@
|
||||
From: https://lkml.org/lkml/2016/12/31/13
|
||||
|
||||
The build robot reports:
|
||||
|
||||
.tmp_kallsyms1.o: In function `kallsyms_relative_base':
|
||||
>> (.rodata+0x8a18): undefined reference to `_text'
|
||||
|
||||
This is when using 'make alldefconfig'. Adding this _text symbol to mark
|
||||
the start of the kernel as in other architecture fixes this.
|
||||
|
||||
Signed-off-by: Stafford Horne <shorne@gmail.com>
|
||||
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
||||
|
||||
diff -Nur linux-4.9.orig/arch/openrisc/kernel/vmlinux.lds.S linux-4.9/arch/openrisc/kernel/vmlinux.lds.S
|
||||
--- linux-4.9.orig/arch/openrisc/kernel/vmlinux.lds.S 2016-12-11 20:17:54.000000000 +0100
|
||||
+++ linux-4.9/arch/openrisc/kernel/vmlinux.lds.S 2017-01-01 12:13:43.039107518 +0100
|
||||
@@ -38,6 +38,8 @@
|
||||
/* Read-only sections, merged into text segment: */
|
||||
. = LOAD_BASE ;
|
||||
|
||||
+ _text = .;
|
||||
+
|
||||
/* _s_kernel_ro must be page aligned */
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
_s_kernel_ro = .;
|
||||
@@ -1,9 +1,9 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-or32 -kernel output/images/vmlinux -nographic
|
||||
qemu-system-or1k -kernel output/images/vmlinux -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Ethernet support is not working, yet.
|
||||
|
||||
Tested with QEMU 2.8.0.
|
||||
Tested with QEMU 2.9.0.
|
||||
|
||||
@@ -5,4 +5,4 @@ Run the emulation with:
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append 'console=hvc0 root=/dev/sda' -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append "console=hvc0 root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
7
bsp/buildroot/board/qemu/ppc64le-pseries/readme.txt
Normal file
7
bsp/buildroot/board/qemu/ppc64le-pseries/readme.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M pseries -cpu POWER8 -m 256 -kernel output/images/vmlinux -append "console=hvc0 root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
|
||||
The login prompt will appear in the terminal window.
|
||||
|
||||
Tested with QEMU 2.10.0
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_SMP=y
|
||||
@@ -8,6 +9,9 @@ CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_VIRTIO=y
|
||||
@@ -17,14 +21,15 @@ CONFIG_NETDEVICES=y
|
||||
CONFIG_VIRTIO_NET=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_VIRTIO_CONSOLE=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=m
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_BOCHS=y
|
||||
CONFIG_DRM_QXL=y
|
||||
CONFIG_DRM_BOCHS=y
|
||||
CONFIG_DRM_VIRTIO_GPU=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
@@ -41,5 +46,6 @@ CONFIG_VIRTIO_INPUT=y
|
||||
CONFIG_VIRTIO_MMIO=y
|
||||
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
@@ -1 +0,0 @@
|
||||
../x86_64/linux-4.9.config
|
||||
@@ -1,9 +1,9 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append root=/dev/vda -net nic,model=virtio -net user
|
||||
qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "root=/dev/vda" -net nic,model=virtio -net user
|
||||
|
||||
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
52
bsp/buildroot/board/qemu/x86_64/linux-4.15.config
Normal file
52
bsp/buildroot/board/qemu/x86_64/linux-4.15.config
Normal file
@@ -0,0 +1,52 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_HYPERVISOR_GUEST=y
|
||||
CONFIG_PARAVIRT=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_VIRTIO=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_ATA_PIIX=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_VIRTIO_NET=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_VIRTIO_CONSOLE=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=m
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_QXL=y
|
||||
CONFIG_DRM_BOCHS=y
|
||||
CONFIG_DRM_VIRTIO_GPU=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_HDA_INTEL=y
|
||||
CONFIG_SND_HDA_GENERIC=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_UHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_VIRTIO_PCI=y
|
||||
CONFIG_VIRTIO_BALLOON=y
|
||||
CONFIG_VIRTIO_INPUT=y
|
||||
CONFIG_VIRTIO_MMIO=y
|
||||
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_UNWINDER_FRAME_POINTER=y
|
||||
@@ -1,9 +1,9 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append root=/dev/vda -net nic,model=virtio -net user
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "root=/dev/vda" -net nic,model=virtio -net user
|
||||
|
||||
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
|
||||
Tested with QEMU 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
@@ -6,10 +6,11 @@ CONFIG_XTENSA_VARIANT_CUSTOM_NAME="dc233c"
|
||||
# CONFIG_XTENSA_VARIANT_MMU is not set
|
||||
CONFIG_XTENSA_UNALIGNED_USER=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_KERNEL_LOAD_ADDRESS=0x00003000
|
||||
# CONFIG_PCI is not set
|
||||
CONFIG_XTENSA_PLATFORM_XTFPGA=y
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8"
|
||||
CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 memmap=0x04000000@0"
|
||||
CONFIG_DEFAULT_MEM_START=0x00000000
|
||||
CONFIG_BINFMT_FLAT=y
|
||||
CONFIG_NET=y
|
||||
@@ -5,7 +5,7 @@ CONFIG_XTENSA_VARIANT_DC233C=y
|
||||
CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX=y
|
||||
CONFIG_XTENSA_PLATFORM_XTFPGA=y
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="console=ttyS0,38400"
|
||||
CONFIG_CMDLINE="console=ttyS0,38400 memmap=0x04000000@0"
|
||||
# CONFIG_COMPACTION is not set
|
||||
# CONFIG_BOUNCE is not set
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
@@ -1,16 +0,0 @@
|
||||
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)
|
||||
|
||||
@@ -4,5 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.6.0
|
||||
Known to fail with 2.5.0
|
||||
Tested with QEMU 2.9.0
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user