On 2013-08-27 9:10 PM, Michael Heimpold wrote:
> Hi Zoltan,
>
> currently I'm trying to port OpenWRT to a new i.MX28 based device,
> see patch series I sent a few seconds ago.
>
> I tried to run the latest stable kernel, but it does not boot and do not
> show any message on the debug UART.
> Running an older stable kernel v3.10.5 without any other change
> works fine.
>
> Bisecting showed that the following commits
> "ARM: move vector stubs"
> (b85796fa1987e014a61c379e3cb753976e993a46) and/or
> "ARM: use linker magic for vectors and vector stubs"
> (0477cd427e4862843b6cfb460b83ca09f265742d)
> which were introduced in v3.10.6 prevents the system from booting.
>
> I would like to discuss this problem upstream, but it would be good
> to know whether the kernel version v3.10.9 runs on your Olinuxino board?
I think this might be an interaction with 220-gc_sections.patch, which
was not updated along with the kernel version upgrade.
Please try this change in your kernel tree:
---
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -158,14 +158,14 @@ SECTIONS
*/
__vectors_start = .;
.vectors 0 : AT(__vectors_start) {
- *(.vectors)
+ KEEP(*(.vectors))
}
. = __vectors_start + SIZEOF(.vectors);
__vectors_end = .;
__stubs_start = .;
.stubs 0x1000 : AT(__stubs_start) {
- *(.stubs)
+ KEEP(*(.stubs))
}
. = __stubs_start + SIZEOF(.stubs);
__stubs_end = .;
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel