Due buggy nature of this bus, the kernel init section must not use
addresses at 0x80200000...0x80220000. Thanks Wive-NG developers for ingo
about this bug.
This patch must be added into target/linux/ramips/patches-2.6.37 directory
+++ a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -92,6 +92,12 @@ SECTIONS
}
_edata = .; /* End of data section */
+#ifdef CONFIG_SPI_RAMIPS
+ /* This hack need for SPI devices work only */
+ /* init need start > 0x80220000 */
+ . = 0xffffffff80220000;
+#endif
+
/* will be freed after init */
. = ALIGN(PAGE_SIZE); /* Init code and data */
__init_begin = .;
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel