[FS#192] mips kernel patch problem
LEDE Bugs
lede-bugs at lists.infradead.org
Wed Sep 28 23:03:02 PDT 2016
A new Flyspray task has been opened. Details are below.
User who did this - Giuseppe Lippolis (fidodido)
Attached to Project - LEDE Project
Summary - mips kernel patch problem
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - High
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - Dear All,
I'm trying to port openwrt to a new device, the d-link dwr-512. It's a mips ralink RT5350 based.
Currently I'm usinf openwrt-15.05.
I experimented a crash/reboot after this call of_scan_flat_dt(early_init_dt_find_chosen, NULL); in linux-3.18.36/arch/mips/ralink/of.c
here the console dump:
Starting kernel @80000000...
[ 0.000000] Linux version 3.18.36 (lippo at nice) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49404) ) #11 Tue Sep 27 22:56:37 CEST 2016
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[ 0.000000] prom: fw_arg0=00000000 fw_arg1=00000000 fw_arg2=00000000 fw_arg3=00000008
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Check0
[ 0.000000] Check1
[ 0.000000] Check2
[ 0.000000] Check 2.1
[ 0.000000] Check 2.1.1
[ 0.000000] Check 2.1.2
[ 0.000000] Check 2.1.3
[ 0.000000] Linux version 3.18.36 (lippo at nice) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49404) ) #11 Tue Sep 27 22:56:37 CEST 2016
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[ 0.000000] prom: fw_arg0=00000000 fw_arg1=00000000 fw_arg2=00000004 fw_arg3=00000000
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Check0
[ 0.000000] Check1
[ 0.000000] Check2
[ 0.000000] Check 2.1
[ 0.000000] Check 2.1.1
[ 0.000000] Check 2.1.2
[ 0.000000] Check 2.1.3
[ 0.000000] Linux version 3.18.36 (lippo at nice) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49404) ) #11 Tue Sep 27 22:56:37 CEST 2016
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
here my modified (to better debug) of.c code:
void __init plat_mem_setup(void)
{
pr_info("Check 2.1.1\n");
set_io_port_base(KSEG1);
pr_info("Check 2.1.2\n");
/*
* Load the builtin devicetree. This causes the chosen node to be
* parsed resulting in our memory appearing
*/
__dt_setup_arch(&__image_dtb);
pr_info("Check 2.1.3\n");
of_scan_flat_dt(early_init_dt_find_chosen, NULL);
pr_info("Check 2.1.4\n");
if (chosen_dtb)
strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE);
pr_info("Check 2.1.5\n");
of_scan_flat_dt(early_init_dt_find_memory, NULL);
if (memory_dtb)
of_scan_flat_dt(early_init_dt_scan_memory, NULL);
else if (soc_info.mem_size)
add_memory_region(soc_info.mem_base, soc_info.mem_size * SZ_1M,
BOOT_MEM_RAM);
else
detect_memory_region(soc_info.mem_base,
soc_info.mem_size_min * SZ_1M,
soc_info.mem_size_max * SZ_1M);
}
It seems that the problem is related to a previously introduced patch (https://dev.openwrt.org/browser/trunk/target/linux/ramips/patches-3.18/0104-fix_bootargs_handling.patch?rev=46667).
I try to revert the patch effect and now I'm able to proceed:
Jboot B394
JRecovery Version R1.2 2011/05/26 09:53
=== 0xB0100004 = 00000000
SPI FLASH: MX25l6405d 8M
CSID 6E20->6E24
................
Starting kernel @80000000...
[ 0.000000] Linux version 3.18.36 (lippo at nice) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49404) ) #15 Wed Sep 28 23:09:19 CEST 2016
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Check0
[ 0.000000] Check2
[ 0.000000] Check 2.1
[ 0.000000] Check 2.1.1
[ 0.000000] Check 2.1.2
[ 0.000000] Check 2.1.3
[ 0.000000] Check 2.1.4
[ 0.000000] Check 2.1.5
[ 0.000000] Check 2.1.6
[ 0.000000] Check 2.2
[ 0.000000] Check 2.3
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] doing early options: dyndbg='file * +p'
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802e20d0, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] Check3
[ 0.000000] Check4
[ 0.000000] Check5
[ 0.000000] Check6
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Synthesized clear page handler (29 instructions).
[ 0.000000] .set push
[ 0.000000] .set noreorder
[ 0.000000] .word 0x34860f80
[ 0.000000] .word 0xcc9e0000
[ 0.000000] .word 0xcc9e0020
[ 0.000000] .word 0xcc9e0040
[ 0.000000] .word 0xcc9e0060
[ 0.000000] .word 0xcc9e0080
[ 0.000000] .word 0xac800000
[ 0.000000] .word 0xac800004
[ 0.000000] .word 0xac800008
[ 0.000000] .word 0xac80000c
[ 0.000000] .word 0x24840020
[ 0.000000] .word 0xac80fff0
[ 0.000000] .word 0xac80fff4
[ 0.000000] .word 0xac80fff8
[ 0.000000] .word 0x1486fff6
[ 0.000000] .word 0xac80fffc
[ 0.000000] .word 0x24860080
[ 0.000000] .word 0xac800000
[ 0.000000] .word 0xac800004
[ 0.000000] .word 0xac800008
[ 0.000000] .word 0xac80000c
[ 0.000000] .word 0x24840020
[ 0.000000] .word 0xac80fff0
[ 0.000000] .word 0xac80fff4
[ 0.000000] .word 0xac80fff8
[ 0.000000] .word 0x1486fff7
[ 0.000000] .word 0xac80fffc
[ 0.000000] .word 0x03e00008
[ 0.000000] .word 0x00000000
[ 0.000000] .set pop
[ 0.000000] Synthesized copy page handler (77 instructions).
[ 0.000000] .set push
[ 0.000000] .set noreorder
[ 0.000000] .word 0x34860f00
[ 0.000000] .word 0xcca40000
[ 0.000000] .word 0xcca40020
[ 0.000000] .word 0xcca40040
[ 0.000000] .word 0xcca40060
[ 0.000000] .word 0xcca40080
[ 0.000000] .word 0xcca400a0
[ 0.000000] .word 0xcca400c0
[ 0.000000] .word 0xcca400e0
[ 0.000000] .word 0xcc9e0000
[ 0.000000] .word 0xcc9e0020
[ 0.000000] .word 0xcc9e0040
[ 0.000000] .word 0xcc9e0060
[ 0.000000] .word 0xcca40100
[ 0.000000] .word 0x8ca80000
[ 0.000000] .word 0x8ca90004
[ 0.000000] .word 0x8caa0008
[ 0.000000] .word 0x8cab000c
[ 0.000000] .word 0xcc9e0080
[ 0.000000] .word 0xac880000
[ 0.000000] .word 0xac890004
[ 0.000000] .word 0xac8a0008
[ 0.000000] .word 0xac8b000c
[ 0.000000] .word 0x24a50020
[ 0.000000] .word 0x24840020
[ 0.000000] .word 0x8ca8fff0
[ 0.000000] .word 0x8ca9fff4
[ 0.000000] .word 0x8caafff8
[ 0.000000] .word 0x8cabfffc
[ 0.000000] .word 0xac88fff0
[ 0.000000] .word 0xac89fff4
[ 0.000000] .word 0xac8afff8
[ 0.000000] .word 0x14c4ffec
[ 0.000000] .word 0xac8bfffc
[ 0.000000] .word 0x24860080
[ 0.000000] .word 0x8ca80000
[ 0.000000] .word 0x8ca90004
[ 0.000000] .word 0x8caa0008
[ 0.000000] .word 0x8cab000c
[ 0.000000] .word 0xcc9e0080
[ 0.000000] .word 0xac880000
[ 0.000000] .word 0xac890004
[ 0.000000] .word 0xac8a0008
[ 0.000000] .word 0xac8b000c
[ 0.000000] .word 0x24a50020
[ 0.000000] .word 0x24840020
[ 0.000000] .word 0x8ca8fff0
[ 0.000000] .word 0x8ca9fff4
[ 0.000000] .word 0x8caafff8
[ 0.000000] .word 0x8cabfffc
[ 0.000000] .word 0xac88fff0
[ 0.000000] .word 0xac89fff4
[ 0.000000] .word 0xac8afff8
[ 0.000000] .word 0x14c4ffed
[ 0.000000] .word 0xac8bfffc
[ 0.000000] .word 0x24860080
[ 0.000000] .word 0x8ca80000
[ 0.000000] .word 0x8ca90004
[ 0.000000] .word 0x8caa0008
[ 0.000000] .word 0x8cab000c
[ 0.000000] .word 0xac880000
[ 0.000000] .word 0xac890004
[ 0.000000] .word 0xac8a0008
[ 0.000000] .word 0xac8b000c
[ 0.000000] .word 0x24a50020
[ 0.000000] .word 0x24840020
[ 0.000000] .word 0x8ca8fff0
[ 0.000000] .word 0x8ca9fff4
[ 0.000000] .word 0x8caafff8
[ 0.000000] .word 0x8cabfffc
[ 0.000000] .word 0xac88fff0
[ 0.000000] .word 0xac89fff4
[ 0.000000] .word 0xac8afff8
[ 0.000000] .word 0x14c4ffee
[ 0.000000] .word 0xac8bfffc
[ 0.000000] .word 0x03e00008
[ 0.000000] .word 0x00000000
[ 0.000000] .set pop
[ 0.000000] Using cache attribute 3
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: loglevel=8 dyndbg="file * +p"
[ 0.000000] doing Booting kernel, parsing ARGS: 'loglevel=8 dyndbg="file * +p"'
[ 0.000000] doing Booting kernel: loglevel='8'
[ 0.000000] doing Booting kernel: dyndbg='file * +p'
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] #include
[ 0.000000] #include
[ 0.000000]
[ 0.000000] #define _PAGE_PRESENT_SHIFT 0
[ 0.000000] #define _PAGE_READ_SHIFT 1
[ 0.000000] #define _PAGE_WRITE_SHIFT 2
[ 0.000000] #define _PAGE_ACCESSED_SHIFT 3
[ 0.000000] #define _PAGE_MODIFIED_SHIFT 4
[ 0.000000] #define _PAGE_GLOBAL_SHIFT 5
[ 0.000000] #define _PAGE_VALID_SHIFT 6
[ 0.000000] #define _PAGE_DIRTY_SHIFT 7
[ 0.000000] #define _PFN_SHIFT 11
[ 0.000000]
[ 0.000000] Wrote tlbmiss_handler_setup_pgd (4 instructions).
[ 0.000000] LEAF(tlbmiss_handler)
[ 0.000000] .set push
[ 0.000000] .set noreorder
[ 0.000000] .word 0x3c068032 # 80007700
[ 0.000000] .word 0xacc42600 # 80007704
[ 0.000000] .word 0x03e00008 # 80007708
[ 0.000000] .word 0x00000000 # 8000770c
[ 0.000000] .word 0x00000000 # 80007710
[ 0.000000] .word 0x00000000 # 80007714
[ 0.000000] .word 0x00000000 # 80007718
[ 0.000000] .word 0x00000000 # 8000771c
[ 0.000000] .word 0x00000000 # 80007720
[ 0.000000] .word 0x00000000 # 80007724
[ 0.000000] .word 0x00000000 # 80007728
[ 0.000000] .word 0x00000000 # 8000772c
[ 0.000000] .word 0x00000000 # 80007730
[ 0.000000] .word 0x00000000 # 80007734
[ 0.000000] .word 0x00000000 # 80007738
[ 0.000000] .word 0x00000000 # 8000773c
[ 0.000000] .word 0x00000000 # 80007740
[ 0.000000] .word 0x00000000 # 80007744
[ 0.000000] .set pop
[ 0.000000] END(tlbmiss_handler)
[ 0.000000] Wrote TLB load handler fastpath (39 instructions).
[ 0.000000] LEAF(r4000_tlb_load)
[ 0.000000] .set push
[ 0.000000] .set noreorder
[ 0.000000] .word 0x3c1a8032 # 80007b48
[ 0.000000] .word 0x275a33b4 # 80007b4c
[ 0.000000] .word 0xaf410000 # 80007b50
[ 0.000000] .word 0xaf420004 # 80007b54
[ 0.000000] .word 0x3c018032 # 80007b58
[ 0.000000] .word 0x401b4000 # 80007b5c
[ 0.000000] .word 0x8c212600 # 80007b60
[ 0.000000] .word 0x001bdd82 # 80007b64
[ 0.000000] .word 0x001bd880 # 80007b68
[ 0.000000] .word 0x003b0821 # 80007b6c
[ 0.000000] .word 0x401b4000 # 80007b70
[ 0.000000] .word 0x8c210000 # 80007b74
[ 0.000000] .word 0x001bda82 # 80007b78
[ 0.000000] .word 0x337b0ffc # 80007b7c
[ 0.000000] .word 0x003b0821 # 80007b80
[ 0.000000] .word 0x8c3b0000 # 80007b84
[ 0.000000] .word 0x42000008 # 80007b88
[ 0.000000] .word 0x33620003 # 80007b8c
[ 0.000000] .word 0x38420003 # 80007b90
[ 0.000000] .word 0x1440000f # 80007b94
[ 0.000000] .word 0x377b0048 # 80007b98
[ 0.000000] .word 0xac3b0000 # 80007b9c
[ 0.000000] .word 0x34210004 # 80007ba0
[ 0.000000] .word 0x38210004 # 80007ba4
[ 0.000000] .word 0x8c3b0000 # 80007ba8
[ 0.000000] .word 0x8c210004 # 80007bac
[ 0.000000] .word 0x001bd942 # 80007bb0
[ 0.000000] .word 0x409b1000 # 80007bb4
[ 0.000000] .word 0x00010942 # 80007bb8
[ 0.000000] .word 0x40811800 # 80007bbc
[ 0.000000] .word 0x000000c0 # 80007bc0
[ 0.000000] .word 0x42000002 # 80007bc4
[ 0.000000] .word 0x8f410000 # 80007bc8
[ 0.000000] .word 0x8f420004 # 80007bcc
[ 0.000000] .word 0x42000018 # 80007bd0
[ 0.000000] .word 0x8f410000 # 80007bd4
[ 0.000000] .word 0x8f420004 # 80007bd8
[ 0.000000] .word 0x08001d3c # 80007bdc
[ 0.000000] .word 0x00000000 # 80007be0
[ 0.000000] .word 0x00000000 # 80007be4
[ 0.000000] .word 0x00000000 # 80007be8
[ 0.000000] .word 0x00000000 # 80007bec
[ 0.000000] .word 0x00000000 # 80007bf0
[ 0.000000] .word 0x00000000 # 80007bf4
[ 0.000000] .word 0x00000000 # 80007bf8
[ 0.000000] .word 0x00000000 # 80007bfc
[ 0.000000] .word 0x00000000 # 80007c00
[ 0.000000] .word 0x00000000 # 80007c04
[ 0.000000] .word 0x00000000 # 80007c08
[ 0.000000] .word 0x00000000 # 80007c0c
[ 0.000000] .word 0x00000000 # 80007c10
[ 0.000000] .word 0x00000000 # 80007c14
[ 0.000000] .word 0x00000000 # 80007c18
[ 0.000000] .word 0x00000000 # 80007c1c
[ 0.000000] .word 0x00000000 # 80007c20
[ 0.000000] .word 0x00000000 # 80007c24
[ 0.000000] .word 0x00000000 # 80007c28
[ 0.000000] .word 0x00000000 # 80007c2c
[ 0.000000] .word 0x00000000 # 80007c30
[ 0.000000] .word 0x00000000 # 80007c34
[ 0.000000] .word 0x00000000 # 80007c38
[ 0.000000] .word 0x00000000 # 80007c3c
[ 0.000000] .word 0x00000000 # 80007c40
[ 0.000000] .word 0x00000000 # 80007c44
[ 0.000000] .word 0x00000000 # 80007c48
[ 0.000000] .word 0x00000000 # 80007c4c
[ 0.000000] .word 0x00000000 # 80007c50
[ 0.000000] .word 0x00000000 # 80007c54
[ 0.000000] .word 0x00000000 # 80007c58
[ 0.000000] .word 0x00000000 # 80007c5c
[ 0.000000] .word 0x00000000 # 80007c60
[ 0.000000] .word 0x00000000 # 80007c64
[ 0.000000] .word 0x00000000 # 80007c68
[ 0.000000] .word 0x00000000 # 80007c6c
[ 0.000000] .word 0x00000000 # 80007c70
[ 0.000000] .word 0x00000000 # 80007c74
[ 0.000000] .word 0x00000000 # 80007c78
[ 0.000000] .word 0x00000000 # 80007c7c
[ 0.000000] .word 0x00000000 # 80007c80
[ 0.000000] .word 0x00000000 # 80007c84
[ 0.000000] .word 0x00000000 # 80007c88
[ 0.000000] .word 0x00000000 # 80007c8c
[ 0.000000] .word 0x00000000 # 80007c90
[ 0.000000] .word 0x00000000 # 80007c94
[ 0.000000] .word 0x00000000 # 80007c98
[ 0.000000] .word 0x00000000 # 80007c9c
[ 0.000000] .word 0x00000000 # 80007ca0
[ 0.000000] .word 0x00000000 # 80007ca4
[ 0.000000] .word 0x00000000 # 80007ca8
[ 0.000000] .word 0x00000000 # 80007cac
[ 0.000000] .word 0x00000000 # 80007cb0
[ 0.000000] .word 0x00000000 # 80007cb4
[ 0.000000] .word 0x00000000 # 80007cb8
[ 0.000000] .word 0x00000000 # 80007cbc
[ 0.000000] .word 0x00000000 # 80007cc0
[ 0.000000] .word 0x00000000 # 80007cc4
[ 0.000000] .word 0x00000000 # 80007cc8
[ 0.000000] .word 0x00000000 # 80007ccc
[ 0.000000] .word 0x00000000 # 80007cd0
[ 0.000000] .word 0x00000000 # 80007cd4
[ 0.000000] .word 0x00000000 # 80007cd8
[ 0.000000] .word 0x00000000 # 80007cdc
[ 0.000000] .word 0x00000000 # 80007ce0
[ 0.000000] .word 0x00000000 # 80007ce4
[ 0.000000] .word 0x00000000 # 80007ce8
[ 0.000000] .word 0x00000000 # 80007cec
[ 0.000000] .word 0x00000000 # 80007cf0
[ 0.000000] .word 0x00000000 # 80007cf4
[ 0.000000] .word 0x00000000 # 80007cf8
[ 0.000000] .word 0x00000000 # 80007cfc
[ 0.000000] .word 0x00000000 # 80007d00
[ 0.000000] .word 0x00000000 # 80007d04
[ 0.000000] .word 0x00000000 # 80007d08
[ 0.000000] .word 0x00000000 # 80007d0c
[ 0.000000] .word 0x00000000 # 80007d10
[ 0.000000] .word 0x00000000 # 80007d14
[ 0.000000] .word 0x00000000 # 80007d18
[ 0.000000] .word 0x00000000 # 80007d1c
[ 0.000000] .word 0x00000000 # 80007d20
[ 0.000000] .word 0x00000000 # 80007d24
[ 0.000000] .word 0x00000000 # 80007d28
[ 0.000000] .word 0x00000000 # 80007d2c
[ 0.000000] .word 0x00000000 # 80007d30
[ 0.000000] .word 0x00000000 # 80007d34
[ 0.000000] .word 0x00000000 # 80007d38
[ 0.000000] .word 0x00000000 # 80007d3c
[ 0.000000] .word 0x00000000 # 80007d40
[ 0.000000] .word 0x00000000 # 80007d44
[ 0.000000] .set pop
[ 0.000000] END(r4000_tlb_load)
[ 0.000000] Wrote TLB store handler fastpath (40 instructions).
[ 0.000000] LEAF(r4000_tlb_store)
[ 0.000000] .set push
[ 0.000000] .set noreorder
[ 0.000000] .word 0x3c1a8032 # 80007948
[ 0.000000] .word 0x275a33b4 # 8000794c
[ 0.000000] .word 0xaf410000 # 80007950
[ 0.000000] .word 0xaf420004 # 80007954
[ 0.000000] .word 0x3c018032 # 80007958
[ 0.000000] .word 0x401b4000 # 8000795c
[ 0.000000] .word 0x8c212600 # 80007960
[ 0.000000] .word 0x001bdd82 # 80007964
[ 0.000000] .word 0x001bd880 # 80007968
[ 0.000000] .word 0x003b0821 # 8000796c
[ 0.000000] .word 0x401b4000 # 80007970
[ 0.000000] .word 0x8c210000 # 80007974
[ 0.000000] .word 0x001bda82 # 80007978
[ 0.000000] .word 0x337b0ffc # 8000797c
[ 0.000000] .word 0x003b0821 # 80007980
[ 0.000000] .word 0x8c3b0000 # 80007984
[ 0.000000] .word 0x42000008 # 80007988
[ 0.000000] .word 0x33620005 # 8000798c
[ 0.000000] .word 0x38420005 # 80007990
[ 0.000000] .word 0x14400010 # 80007994
[ 0.000000] .word 0x00000000 # 80007998
[ 0.000000] .word 0x377b00d8 # 8000799c
[ 0.000000] .word 0xac3b0000 # 800079a0
[ 0.000000] .word 0x34210004 # 800079a4
[ 0.000000] .word 0x38210004 # 800079a8
[ 0.000000] .word 0x8c3b0000 # 800079ac
[ 0.000000] .word 0x8c210004 # 800079b0
[ 0.000000] .word 0x001bd942 # 800079b4
[ 0.000000] .word 0x409b1000 # 800079b8
[ 0.000000] .word 0x00010942 # 800079bc
[ 0.000000] .word 0x40811800 # 800079c0
[ 0.000000] .word 0x000000c0 # 800079c4
[ 0.000000] .word 0x42000002 # 800079c8
[ 0.000000] .word 0x8f410000 # 800079cc
[ 0.000000] .word 0x8f420004 # 800079d0
[ 0.000000] .word 0x42000018 # 800079d4
[ 0.000000] .word 0x8f410000 # 800079d8
[ 0.000000] .word 0x8f420004 # 800079dc
[ 0.000000] .word 0x08001d7d # 800079e0
[ 0.000000] .word 0x00000000 # 800079e4
[ 0.000000] .word 0x00000000 # 800079e8
[ 0.000000] .word 0x00000000 # 800079ec
[ 0.000000] .word 0x00000000 # 800079f0
[ 0.000000] .word 0x00000000 # 800079f4
[ 0.000000] .word 0x00000000 # 800079f8
[ 0.000000] .word 0x00000000 # 800079fc
[ 0.000000] .word 0x00000000 # 80007a00
[ 0.000000] .word 0x00000000 # 80007a04
[ 0.000000] .word 0x00000000 # 80007a08
[ 0.000000] .word 0x00000000 # 80007a0c
[ 0.000000] .word 0x00000000 # 80007a10
[ 0.000000] .word 0x00000000 # 80007a14
[ 0.000000] .word 0x00000000 # 80007a18
[ 0.000000] .word 0x00000000 # 80007a1c
[ 0.000000] .word 0x00000000 # 80007a20
[ 0.000000] .word 0x00000000 # 80007a24
[ 0.000000] .word 0x00000000 # 80007a28
[ 0.000000] .word 0x00000000 # 80007a2c
[ 0.000000] .word 0x00000000 # 80007a30
[ 0.000000] .word 0x00000000 # 80007a34
[ 0.000000] .word 0x00000000 # 80007a38
[ 0.000000] .word 0x00000000 # 80007a3c
[ 0.000000] .word 0x00000000 # 80007a40
[ 0.000000] .word 0x00000000 # 80007a44
[ 0.000000] .word 0x00000000 # 80007a48
[ 0.000000] .word 0x00000000 # 80007a4c
[ 0.000000] .word 0x00000000 # 80007a50
[ 0.000000] .word 0x00000000 # 80007a54
[ 0.000000] .word 0x00000000 # 80007a58
[ 0.000000] .word 0x00000000 # 80007a5c
[ 0.000000] .word 0x00000000 # 80007a60
[ 0.000000] .word 0x00000000 # 80007a64
[ 0.000000] .word 0x00000000 # 80007a68
[ 0.000000] .word 0x00000000 # 80007a6c
[ 0.000000] .word 0x00000000 # 80007a70
[ 0.000000] .word 0x00000000 # 80007a74
[ 0.000000] .word 0x00000000 # 80007a78
[ 0.000000] .word 0x00000000 # 80007a7c
[ 0.000000] .word 0x00000000 # 80007a80
[ 0.000000] .word 0x00000000 # 80007a84
[ 0.000000] .word 0x00000000 # 80007a88
[ 0.000000] .word 0x00000000 # 80007a8c
[ 0.000000] .word 0x00000000 # 80007a90
[ 0.000000] .word 0x00000000 # 80007a94
[ 0.000000] .word 0x00000000 # 80007a98
[ 0.000000] .word 0x00000000 # 80007a9c
[ 0.000000] .word 0x00000000 # 80007aa0
[ 0.000000] .word 0x00000000 # 80007aa4
[ 0.000000] .word 0x00000000 # 80007aa8
[ 0.000000] .word 0x00000000 # 80007aac
[ 0.000000] .word 0x00000000 # 80007ab0
[ 0.000000] .word 0x00000000 # 80007ab4
[ 0.000000] .word 0x00000000 # 80007ab8
[ 0.000000] .word 0x00000000 # 80007abc
[ 0.000000] .word 0x00000000 # 80007ac0
[ 0.000000] .word 0x00000000 # 80007ac4
[ 0.000000] .word 0x00000000 # 80007ac8
[ 0.000000] .word 0x00000000 # 80007acc
[ 0.000000] .word 0x00000000 # 80007ad0
[ 0.000000] .word 0x00000000 # 80007ad4
[ 0.000000] .word 0x00000000 # 80007ad8
[ 0.000000] .word 0x00000000 # 80007adc
[ 0.000000] .word 0x00000000 # 80007ae0
[ 0.000000] .word 0x00000000 # 80007ae4
[ 0.000000] .word 0x00000000 # 80007ae8
[ 0.000000] .word 0x00000000 # 80007aec
[ 0.000000] .word 0x00000000 # 80007af0
[ 0.000000] .word 0x00000000 # 80007af4
[ 0.000000] .word 0x00000000 # 80007af8
[ 0.000000] .word 0x00000000 # 80007afc
[ 0.000000] .word 0x00000000 # 80007b00
[ 0.000000] .word 0x00000000 # 80007b04
[ 0.000000] .word 0x00000000 # 80007b08
[ 0.000000] .word 0x00000000 # 80007b0c
[ 0.000000] .word 0x00000000 # 80007b10
[ 0.000000] .word 0x00000000 # 80007b14
[ 0.000000] .word 0x00000000 # 80007b18
[ 0.000000] .word 0x00000000 # 80007b1c
[ 0.000000] .word 0x00000000 # 80007b20
[ 0.000000] .word 0x00000000 # 80007b24
[ 0.000000] .word 0x00000000 # 80007b28
[ 0.000000] .word 0x00000000 # 80007b2c
[ 0.000000] .word 0x00000000 # 80007b30
[ 0.000000] .word 0x00000000 # 80007b34
[ 0.000000] .word 0x00000000 # 80007b38
[ 0.000000] .word 0x00000000 # 80007b3c
[ 0.000000] .word 0x00000000 # 80007b40
[ 0.000000] .word 0x00000000 # 80007b44
[ 0.000000] .set pop
[ 0.000000] END(r4000_tlb_store)
[ 0.000000] Wrote TLB modify handler fastpath (38 instructions).
[ 0.000000] LEAF(r4000_tlb_modify)
[ 0.000000] .set push
[ 0.000000] .set noreorder
[ 0.000000] .word 0x3c1a8032 # 80007748
[ 0.000000] .word 0x275a33b4 # 8000774c
[ 0.000000] .word 0xaf410000 # 80007750
[ 0.000000] .word 0xaf420004 # 80007754
[ 0.000000] .word 0x3c018032 # 80007758
[ 0.000000] .word 0x401b4000 # 8000775c
[ 0.000000] .word 0x8c212600 # 80007760
[ 0.000000] .word 0x001bdd82 # 80007764
[ 0.000000] .word 0x001bd880 # 80007768
[ 0.000000] .word 0x003b0821 # 8000776c
[ 0.000000] .word 0x401b4000 # 80007770
[ 0.000000] .word 0x8c210000 # 80007774
[ 0.000000] .word 0x001bda82 # 80007778
[ 0.000000] .word 0x337b0ffc # 8000777c
[ 0.000000] .word 0x003b0821 # 80007780
[ 0.000000] .word 0x8c3b0000 # 80007784
[ 0.000000] .word 0x42000008 # 80007788
[ 0.000000] .word 0x33620004 # 8000778c
[ 0.000000] .word 0x1040000f # 80007790
[ 0.000000] .word 0x377b00d8 # 80007794
[ 0.000000] .word 0xac3b0000 # 80007798
[ 0.000000] .word 0x34210004 # 8000779c
[ 0.000000] .word 0x38210004 # 800077a0
[ 0.000000] .word 0x8c3b0000 # 800077a4
[ 0.000000] .word 0x8c210004 # 800077a8
[ 0.000000] .word 0x001bd942 # 800077ac
[ 0.000000] .word 0x409b1000 # 800077b0
[ 0.000000] .word 0x00010942 # 800077b4
[ 0.000000] .word 0x40811800 # 800077b8
[ 0.000000] .word 0x000000c0 # 800077bc
[ 0.000000] .word 0x42000002 # 800077c0
[ 0.000000] .word 0x8f410000 # 800077c4
[ 0.000000] .word 0x8f420004 # 800077c8
[ 0.000000] .word 0x42000018 # 800077cc
[ 0.000000] .word 0x8f410000 # 800077d0
[ 0.000000] .word 0x8f420004 # 800077d4
[ 0.000000] .word 0x08001d7d # 800077d8
[ 0.000000] .word 0x00000000 # 800077dc
[ 0.000000] .word 0x00000000 # 800077e0
[ 0.000000] .word 0x00000000 # 800077e4
[ 0.000000] .word 0x00000000 # 800077e8
[ 0.000000] .word 0x00000000 # 800077ec
[ 0.000000] .word 0x00000000 # 800077f0
[ 0.000000] .word 0x00000000 # 800077f4
[ 0.000000] .word 0x00000000 # 800077f8
[ 0.000000] .word 0x00000000 # 800077fc
[ 0.000000] .word 0x00000000 # 80007800
[ 0.000000] .word 0x00000000 # 80007804
[ 0.000000] .word 0x00000000 # 80007808
[ 0.000000] .word 0x00000000 # 8000780c
[ 0.000000] .word 0x00000000 # 80007810
[ 0.000000] .word 0x00000000 # 80007814
[ 0.000000] .word 0x00000000 # 80007818
[ 0.000000] .word 0x00000000 # 8000781c
[ 0.000000] .word 0x00000000 # 80007820
[ 0.000000] .word 0x00000000 # 80007824
[ 0.000000] .word 0x00000000 # 80007828
[ 0.000000] .word 0x00000000 # 8000782c
[ 0.000000] .word 0x00000000 # 80007830
[ 0.000000] .word 0x00000000 # 80007834
[ 0.000000] .word 0x00000000 # 80007838
[ 0.000000] .word 0x00000000 # 8000783c
[ 0.000000] .word 0x00000000 # 80007840
[ 0.000000] .word 0x00000000 # 80007844
[ 0.000000] .word 0x00000000 # 80007848
[ 0.000000] .word 0x00000000 # 8000784c
[ 0.000000] .word 0x00000000 # 80007850
[ 0.000000] .word 0x00000000 # 80007854
[ 0.000000] .word 0x00000000 # 80007858
[ 0.000000] .word 0x00000000 # 8000785c
[ 0.000000] .word 0x00000000 # 80007860
[ 0.000000] .word 0x00000000 # 80007864
[ 0.000000] .word 0x00000000 # 80007868
[ 0.000000] .word 0x00000000 # 8000786c
[ 0.000000] .word 0x00000000 # 80007870
[ 0.000000] .word 0x00000000 # 80007874
[ 0.000000] .word 0x00000000 # 80007878
[ 0.000000] .word 0x00000000 # 8000787c
[ 0.000000] .word 0x00000000 # 80007880
[ 0.000000] .word 0x00000000 # 80007884
[ 0.000000] .word 0x00000000 # 80007888
[ 0.000000] .word 0x00000000 # 8000788c
[ 0.000000] .word 0x00000000 # 80007890
[ 0.000000] .word 0x00000000 # 80007894
[ 0.000000] .word 0x00000000 # 80007898
[ 0.000000] .word 0x00000000 # 8000789c
[ 0.000000] .word 0x00000000 # 800078a0
[ 0.000000] .word 0x00000000 # 800078a4
[ 0.000000] .word 0x00000000 # 800078a8
[ 0.000000] .word 0x00000000 # 800078ac
[ 0.000000] .word 0x00000000 # 800078b0
[ 0.000000] .word 0x00000000 # 800078b4
[ 0.000000] .word 0x00000000 # 800078b8
[ 0.000000] .word 0x00000000 # 800078bc
[ 0.000000] .word 0x00000000 # 800078c0
[ 0.000000] .word 0x00000000 # 800078c4
[ 0.000000] .word 0x00000000 # 800078c8
[ 0.000000] .word 0x00000000 # 800078cc
[ 0.000000] .word 0x00000000 # 800078d0
[ 0.000000] .word 0x00000000 # 800078d4
[ 0.000000] .word 0x00000000 # 800078d8
[ 0.000000] .word 0x00000000 # 800078dc
[ 0.000000] .word 0x00000000 # 800078e0
[ 0.000000] .word 0x00000000 # 800078e4
[ 0.000000] .word 0x00000000 # 800078e8
[ 0.000000] .word 0x00000000 # 800078ec
[ 0.000000] .word 0x00000000 # 800078f0
[ 0.000000] .word 0x00000000 # 800078f4
[ 0.000000] .word 0x00000000 # 800078f8
[ 0.000000] .word 0x00000000 # 800078fc
[ 0.000000] .word 0x00000000 # 80007900
[ 0.000000] .word 0x00000000 # 80007904
[ 0.000000] .word 0x00000000 # 80007908
[ 0.000000] .word 0x00000000 # 8000790c
[ 0.000000] .word 0x00000000 # 80007910
[ 0.000000] .word 0x00000000 # 80007914
[ 0.000000] .word 0x00000000 # 80007918
[ 0.000000] .word 0x00000000 # 8000791c
[ 0.000000] .word 0x00000000 # 80007920
[ 0.000000] .word 0x00000000 # 80007924
[ 0.000000] .word 0x00000000 # 80007928
[ 0.000000] .word 0x00000000 # 8000792c
[ 0.000000] .word 0x00000000 # 80007930
[ 0.000000] .word 0x00000000 # 80007934
[ 0.000000] .word 0x00000000 # 80007938
[ 0.000000] .word 0x00000000 # 8000793c
[ 0.000000] .word 0x00000000 # 80007940
[ 0.000000] .word 0x00000000 # 80007944
[ 0.000000] .set pop
[ 0.000000] END(r4000_tlb_modify)
[ 0.000000] Wrote TLB refill handler (20 instructions).
[ 0.000000] LEAF(r4000_tlb_refill)
[ 0.000000] .set push
[ 0.000000] .set noreorder
[ 0.000000] .word 0x3c1b8032 # 80000000
[ 0.000000] .word 0x401a4000 # 80000004
[ 0.000000] .word 0x8f7b2600 # 80000008
[ 0.000000] .word 0x001ad582 # 8000000c
[ 0.000000] .word 0x001ad080 # 80000010
[ 0.000000] .word 0x037ad821 # 80000014
[ 0.000000] .word 0x401a2000 # 80000018
[ 0.000000] .word 0x8f7b0000 # 8000001c
[ 0.000000] .word 0x001ad042 # 80000020
[ 0.000000] .word 0x335a0ff8 # 80000024
[ 0.000000] .word 0x037ad821 # 80000028
[ 0.000000] .word 0x8f7a0000 # 8000002c
[ 0.000000] .word 0x8f7b0004 # 80000030
[ 0.000000] .word 0x001ad142 # 80000034
[ 0.000000] .word 0x409a1000 # 80000038
[ 0.000000] .word 0x001bd942 # 8000003c
[ 0.000000] .word 0x409b1800 # 80000040
[ 0.000000] .word 0x000000c0 # 80000044
[ 0.000000] .word 0x42000006 # 80000048
[ 0.000000] .word 0x42000018 # 8000004c
[ 0.000000] .word 0x00000000 # 80000050
[ 0.000000] .word 0x00000000 # 80000054
[ 0.000000] .word 0x00000000 # 80000058
[ 0.000000] .word 0x00000000 # 8000005c
[ 0.000000] .word 0x00000000 # 80000060
[ 0.000000] .word 0x00000000 # 80000064
[ 0.000000] .word 0x00000000 # 80000068
[ 0.000000] .word 0x00000000 # 8000006c
[ 0.000000] .word 0x00000000 # 80000070
[ 0.000000] .word 0x00000000 # 80000074
[ 0.000000] .word 0x00000000 # 80000078
[ 0.000000] .word 0x00000000 # 8000007c
[ 0.000000] .word 0x00000000 # 80000080
[ 0.000000] .word 0x00000000 # 80000084
[ 0.000000] .word 0x00000000 # 80000088
[ 0.000000] .word 0x00000000 # 8000008c
[ 0.000000] .word 0x00000000 # 80000090
[ 0.000000] .word 0x00000000 # 80000094
[ 0.000000] .word 0x00000000 # 80000098
[ 0.000000] .word 0x00000000 # 8000009c
[ 0.000000] .word 0x00000000 # 800000a0
[ 0.000000] .word 0x00000000 # 800000a4
[ 0.000000] .word 0x00000000 # 800000a8
[ 0.000000] .word 0x00000000 # 800000ac
[ 0.000000] .word 0x00000000 # 800000b0
[ 0.000000] .word 0x00000000 # 800000b4
[ 0.000000] .word 0x00000000 # 800000b8
[ 0.000000] .word 0x00000000 # 800000bc
[ 0.000000] .word 0x00000000 # 800000c0
[ 0.000000] .word 0x00000000 # 800000c4
[ 0.000000] .word 0x00000000 # 800000c8
[ 0.000000] .word 0x00000000 # 800000cc
[ 0.000000] .word 0x00000000 # 800000d0
[ 0.000000] .word 0x00000000 # 800000d4
[ 0.000000] .word 0x00000000 # 800000d8
[ 0.000000] .word 0x00000000 # 800000dc
[ 0.000000] .word 0x00000000 # 800000e0
[ 0.000000] .word 0x00000000 # 800000e4
[ 0.000000] .word 0x00000000 # 800000e8
[ 0.000000] .word 0x00000000 # 800000ec
[ 0.000000] .word 0x00000000 # 800000f0
[ 0.000000] .word 0x00000000 # 800000f4
[ 0.000000] .word 0x00000000 # 800000f8
[ 0.000000] .word 0x00000000 # 800000fc
[ 0.000000] .set pop
[ 0.000000] END(r4000_tlb_refill)
[ 0.000000] Writing ErrCtl register=0000891b
[ 0.000000] Readback ErrCtl register=0000891b
[ 0.000000] Memory: 29040K/32768K available (2414K kernel code, 120K rwdata, 500K rodata, 156K init, 181K bss, 3728K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] Kernel panic - not syncing: Failed to find ralink,rt3050-sysc node
[ 0.000000] ---[ end Kernel panic - not syncing: Failed to find ralink,rt3050-sysc node
My hypotesis is that at that stage of kernel initialization (memory still not initialized) is not safe to call this function. Not all the devices can handle the call.
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=192
More information about the lede-bugs
mailing list