hi, When i try the mainline kernel to boot CC-A80, get the following panic: i follow with the wiki here http://linux-sunxi.org/Mainline_Kernel_Howto
kernel file compiled by myself arch/arm/boot/zImage arch/arm/boot/dts/sun9i-a80-cubieboard4.dtb load the kernel with: fatload mmc 0 0x46000000 zImage fatload mmc 0 0x49000000 sun9i-a80-cubieboard4.dtb setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/sda1 init=/usr/lib/systemd/systemd rootwait rootfstype=f2fs panic=10 bootz 0x46000000 - 0x49000000 U-Boot SPL 2018.11 (Mar 17 2019 - 22:40:17 +0800) DRAM: 2048 MiB Trying to boot from MMC1 U-Boot 2018.11 (Mar 17 2019 - 22:40:17 +0800) Allwinner Technology CPU: Allwinner A80 (SUN9I) Model: Cubietech Cubieboard4 DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@07000000 Out: serial@07000000 Err: serial@07000000 Net: No ethernet found. starting USB... No controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 315 bytes read in 11 ms (27.3 KiB/s) ## Executing script at 23100000 2878368 bytes read in 279 ms (9.8 MiB/s) 16825 bytes read in 4 ms (4 MiB/s) ## Flattened Device Tree blob at 49000000 Booting using the fdt blob at 0x49000000 Loading Device Tree to 29ff8000, end 29fff1b8 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] random: get_random_bytes called from start_kernel+0x24/0x3c8 with crng_init=0 [ 0.000000] Linux version 4.13.0 (hos@debian) (gcc version 6.3.1 20170109 (crosstool-NG crosstool-ng-1.23.0)) #13 SMP Sun Mar 17 21:32:41 CST 2019 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubieboard4 [ 0.000000] OF: fdt: Ignoring memory range 0x20000000 - 0x40000000 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Ignoring RAM at 0x70000000-0xa0000000 [ 0.000000] Consider using a HIGHMEM enabled kernel. [ 0.000000] Unable to handle kernel paging request at virtual address a9ff8000 [ 0.000000] pgd = c0004000 [ 0.000000] [a9ff8000] *pgd=00000000 [ 0.000000] Internal error: Oops: 5 [#1] SMP ARM [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.13.0 #13 [ 0.000000] Hardware name: Allwinner sun9i Family [ 0.000000] task: c0707f00 task.stack: c0700000 [ 0.000000] PC is at fdt_check_header+0x4/0x74 [ 0.000000] LR is at __unflatten_device_tree+0x20/0x104 [ 0.000000] pc : [<c04cef10>] lr : [<c03c86a8>] psr: a00000d3 [ 0.000000] sp : c0701f38 ip : 4076270b fp : fffff000 [ 0.000000] r10: efffcf00 r9 : 00000000 r8 : 00000000 [ 0.000000] r7 : a9ff8000 r6 : c075a9e8 r5 : c061b7e8 r4 : c061b7e8 [ 0.000000] r3 : c061b7e8 r2 : 0000feed r1 : 00000000 r0 : a9ff8000 [ 0.000000] Flags: NzCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment none [ 0.000000] Control: 10c5387d Table: 4000406a DAC: 00000051 [ 0.000000] Process swapper (pid: 0, stack limit = 0xc0700218) [ 0.000000] Stack: (0xc0701f38 to 0xc0702000) [ 0.000000] 1f20: c061b7e8 c0709088 [ 0.000000] 1f40: c072b140 c0707c00 40000000 c0754730 efffcf00 c061c4ec 00000000 c0123ca8 [ 0.000000] 1f60: c0622f44 c0604188 ffffffff 10c5387d c0704c9c c07103e0 c072b4d8 c05776f4 [ 0.000000] 1f80: 410fc075 00000000 00000000 c0164db0 c0575cec c0701fb4 c072b394 c072b394 [ 0.000000] 1fa0: c0704c9c c062fa2c c0704c80 4000406a 410fc075 00000000 00000000 c0600970 [ 0.000000] 1fc0: 00000000 00000000 00000000 00000000 00000000 c062fa30 00000000 c072b394 [ 0.000000] 1fe0: c0704c9c c062fa2c c07091c0 4000406a 410fc075 4000807c 00000000 00000000 [ 0.000000] [<c04cef10>] (fdt_check_header) from [<c03c86a8>] (__unflatten_device_tree+0x20/0x104) [ 0.000000] [<c03c86a8>] (__unflatten_device_tree) from [<c061c4ec>] (unflatten_device_tree+0x34/0x44) [ 0.000000] [<c061c4ec>] (unflatten_device_tree) from [<c0604188>] (setup_arch+0x824/0x9fc) [ 0.000000] [<c0604188>] (setup_arch) from [<c0600970>] (start_kernel+0x90/0x3c8) [ 0.000000] [<c0600970>] (start_kernel) from [<4000807c>] (0x4000807c) [ 0.000000] Code: ebf939ea e28dd014 e49df004 e30f2eed (e5903000) [ 0.000000] ---[ end trace f68728a0d3053b52 ]--- [ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task! [ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.