Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user