Allwinner-Homlet / H6-BSP4.9-linux

beta version, not final release.
Other
24 stars 17 forks source link

Kernel panic #2

Closed EvilOlaf closed 6 years ago

EvilOlaf commented 6 years ago

I tried building an image using these sources and ran into kernel panic at boot.

Starting kernel ...

INFO:    BL3-1: Next image address = 0x40080000
INFO:    BL3-1: Next image spsr = 0x3c5
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.56+ (local) (gcc version 4.9.3 20150113 (prerelease) (Linaro GCC 4.9-2015.01-3) ) #3 SMP            Fri Apr 20 16:43:48 CEST 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc03ef27000 s46336 r8192 d31488 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200n8 no_console_suspend earlyprintk=sunxi-uart,0x05000000 mac_add           r=72:D6:05:4F:B9:3B root=/dev/mmcblk0p2 ro rootwait
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14772(90%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 990156K/1048576K available (3262K kernel code, 344K rwdata, 1472K rodata, 320K init, 154K bss, 42036K reserve           d, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80083b0000   (  3264 KB)
[    0.000000]     .rodata : 0xffffff80083b0000 - 0xffffff8008530000   (  1536 KB)
[    0.000000]       .init : 0xffffff8008530000 - 0xffffff8008580000   (   320 KB)
[    0.000000]       .data : 0xffffff8008580000 - 0xffffff80085d6008   (   345 KB)
[    0.000000]        .bss : 0xffffff80085d6008 - 0xffffff80085fca38   (   155 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: PPI11 is secure or misconfigured
[    0.000000] arm_arch_timer: WARNING: Invalid trigger for IRQ4, assuming level low
[    0.000000] arm_arch_timer: WARNING: Please fix your firmware
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008164] Console: colour dummy device 80x25
[    0.012943] console [tty0] enabled
[    0.015788] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.026007] pid_max: default: 32768 minimum: 301
[    0.030875] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.037284] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.046335] sched-energy: CPU device node has no sched-energy-costs
[    0.050662] Invalid sched_group_energy for CPU0
[    0.055133] CPU0: update cpu_capacity 1024
[    0.059261] ASID allocator initialised with 65536 entries
[    0.067294] Detected VIPT I-cache on CPU1
[    0.067336] Invalid sched_group_energy for CPU1
[    0.067339] CPU1: update cpu_capacity 1024
[    0.067341] CPU1: Booted secondary processor [410fd034]
[    0.068036] Detected VIPT I-cache on CPU2
[    0.068057] Invalid sched_group_energy for CPU2
[    0.068059] CPU2: update cpu_capacity 1024
[    0.068061] CPU2: Booted secondary processor [410fd034]
[    0.068765] Detected VIPT I-cache on CPU3
[    0.068784] Invalid sched_group_energy for CPU3
[    0.068785] CPU3: update cpu_capacity 1024
[    0.068787] CPU3: Booted secondary processor [410fd034]
[    0.068832] Brought up 4 CPUs
[    0.120821] SMP: Total of 4 processors activated.
[    0.125507] CPU features: detected feature: 32-bit EL0 Support
[    0.131347] CPU: All CPU(s) started at EL1
[    0.135399] alternatives: patching kernel code
[    0.139960] Invalid sched_group_energy for Cluster3
[    0.144662] Invalid sched_group_energy for Cluster2
[    0.149513] Invalid sched_group_energy for Cluster1
[    0.154366] Invalid sched_group_energy for Cluster0
[    0.159875] devtmpfs: initialized
[    0.266226] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.266340] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.267033] atomic64_test: passed
[    0.267075] pinctrl core: initialized pinctrl subsystem
[    0.271240] NET: Registered protocol family 16
[    0.275130] dump_class_init,858, success
[    0.292895] cpuidle: using governor menu
[    0.293103] vdso: 2 pages (1 code @ ffffff80083b7000, 1 data @ ffffff8008584000)
[    0.293195] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.295326] DMA: preallocated 256 KiB pool for atomic allocations
[    0.312351] sunxi hwspinlock vbase:0xffffff800804a000
[    0.344929] irq: type mismatch, failed to map hwirq-27 for /interrupt-controller@03020000!
[    0.345161] sysfs: cannot create duplicate filename '/bus/platform/devices/timer'
[    0.345259] ------------[ cut here ]------------
[    0.345317] WARNING: CPU: 3 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x5c/0x78
[    0.350819] ---[ end trace acc0f413ee82100d ]---
[    0.386846] pwm module init!
[    0.387816] sunxi_pwm_probe: can't get pwm clk
[    0.387892] sunxi_pwm: probe of 300a000.pwm failed with error -22
[    0.388435] sunxi_pwm_probe: can't get pwm clk
[    0.388502] sunxi_pwm: probe of 7020c00.s_pwm failed with error -22
[    0.388778] [ARISC] :sunxi-arisc driver v1.60
[    0.393096] [ARISC ERROR] :try to get pll_periph0 failed!
[    0.398334] Unable to handle kernel paging request at virtual address fffffffffffffdfb
[    0.406215] pgd = ffffff8008600000
[    0.409582] [fffffffffffffdfb] *pgd=0000000000000000, *pud=0000000000000000
[    0.416514] Internal error: Oops: 96000005 [#1] SMP
[    0.421369] Modules linked in:
[    0.424404] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G        W       4.9.56+ #3
[    0.431603] Hardware name: sun50iw6 (DT)
[    0.435496] task: ffffffc03d888080 task.stack: ffffffc03d884000
[    0.441398] PC is at clk_prepare+0x18/0x40
[    0.445466] LR is at sunxi_arisc_probe+0x96c/0xdec
[    0.450230] pc : [<ffffff80082b3708>] lr : [<ffffff80082c06a0>] pstate: 60000045
[    0.457603] sp : ffffffc03d887b80
[    0.460888] x29: ffffffc03d887b80 x28: ffffff8008557e28
[    0.466173] x27: ffffff80085da000 x26: ffffff80085515e0
[    0.471459] x25: ffffff8008530474 x24: ffffff8008551670
[    0.476746] x23: ffffffc03cb2e600 x22: ffffffc03cdce680
[    0.482033] x21: fffffffffffffdfb x20: ffffff80085f4000
[    0.487319] x19: ffffff80085ac000 x18: 000000000000000e
[    0.492606] x17: 0000000000007a10 x16: 0000000000000003
[    0.497892] x15: 0000000000000010 x14: ffffffffffffffff
[    0.503179] x13: 0000000000000030 x12: 0101010101010101
[    0.508466] x11: 0000000000000020 x10: 0101010101010101
[    0.513753] x9 : 0000000000000004 x8 : 6166203068706972
[    0.519039] x7 : 65705f6c6c702074 x6 : ffffff80085de99c
[    0.524326] x5 : 0000000000000000 x4 : 0000000000000000
[    0.529612] x3 : 0000000000000000 x2 : 0000000000000003
[    0.534899] x1 : fffffffffffffdfb x0 : 0000000000000000
[    0.540187]
[    0.540187] SP: 0xffffffc03d887b00:
[    0.545134] 7b00  3cdce680 ffffffc0 3cb2e600 ffffffc0 08551670 ffffff80 08530474 ffffff80
[    0.553272] 7b20  085515e0 ffffff80 085da000 ffffff80 08557e28 ffffff80 3d887b80 ffffffc0
[    0.561419] 7b40  082c06a0 ffffff80 3d887b80 ffffffc0 082b3708 ffffff80 60000045 00000000
[    0.569565] 7b60  3d887b70 ffffffc0 082b2050 ffffff80 ffffffff ffffffff 082b207c ffffff80
[    0.577712] 7b80  3d887ba0 ffffffc0 082c06a0 ffffff80 085ac000 ffffff80 082c0664 ffffff80
[    0.585859] 7ba0  3d887c40 ffffffc0 082f5c9c ffffff80 00000000 00000000 3cdce690 ffffffc0
[    0.594005] 7bc0  085acdd8 ffffff80 085f6000 ffffff80 00000000 00000000 08551670 ffffff80
[    0.602152] 7be0  08530474 ffffff80 00000000 00000001 3d887c30 ffffffc0 081bfcc0 ffffff80
[    0.610301]
[    0.610301] X1: 0xfffffffffffffd7b:
[    0.615247] fd78  ******** ******** ******** ******** ******** ******** ******** ********
[    0.623385] fd98  ******** ******** ******** ******** ******** ******** ******** ********
[    0.631532] fdb8  ******** ******** ******** ******** ******** ******** ******** ********
[    0.639679] fdd8  ******** ******** ******** ******** ******** ******** ******** ********
[    0.647825] fdf8  ******** ******** ******** ******** ******** ******** ******** ********
[    0.655972] fe18  ******** ******** ******** ******** ******** ******** ******** ********
[    0.664119] fe38  ******** ******** ******** ******** ******** ******** ******** ********
[    0.672265] fe58  ******** ******** ******** ******** ******** ******** ******** ********
[    0.680412] fe78  ******** ******** ******** ******** ******** ******** ******** ********
[    0.688566]
[    0.688566] X21: 0xfffffffffffffd7b:
[    0.693594] fd78  ******** ******** ******** ******** ******** ******** ******** ********
[    0.701732] fd98  ******** ******** ******** ******** ******** ******** ******** ********
[    0.709879] fdb8  ******** ******** ******** ******** ******** ******** ******** ********
[    0.718025] fdd8  ******** ******** ******** ******** ******** ******** ******** ********
[    0.726172] fdf8  ******** ******** ******** ******** ******** ******** ******** ********
[    0.734319] fe18  ******** ******** ******** ******** ******** ******** ******** ********
[    0.742465] fe38  ******** ******** ******** ******** ******** ******** ******** ********
[    0.750612] fe58  ******** ******** ******** ******** ******** ******** ******** ********
[    0.758759] fe78  ******** ******** ******** ******** ******** ******** ******** ********
[    0.766907]
[    0.766907] X22: 0xffffffc03cdce600:
[    0.771941] e600  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.780079] e620  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.788225] e640  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.796372] e660  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.804519] e680  3ce34f80 ffffffc0 ffffffff 00000000 3cdc8c90 ffffffc0 3cdb9b80 ffffffc0
[    0.812665] e6a0  3ce34f80 ffffffc0 3d9bbc80 ffffffc0 3cb6f898 ffffffc0 3cdc8ca0 ffffffc0
[    0.820812] e6c0  3d9bbc80 ffffffc0 085b23d0 ffffff80 3ce0d3a0 ffffffc0 00000003 00000007
[    0.828959] e6e0  00000000 00000000 00000000 00000000 00000000 00030003 3cdce6f8 ffffffc0
[    0.837107]
[    0.837107] X23: 0xffffffc03cb2e580:
[    0.842141] e580  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.850279] e5a0  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.858425] e5c0  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.866572] e5e0  cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc
[    0.874719] e600  3d81c380 ffffffc0 3efb5f00 ffffffc0 084cddf9 ffffff80 00000000 00000000
[    0.882865] e620  ffffffff ffffffff 3d819c28 ffffffc0 3d81c438 ffffffc0 00000000 00000000
[    0.891012] e640  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.899159] e660  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.907308]
[    0.907308] X29: 0xffffffc03d887b00:
[    0.912341] 7b00  3cdce680 ffffffc0 3cb2e600 ffffffc0 08551670 ffffff80 08530474 ffffff80
[    0.920479] 7b20  085515e0 ffffff80 085da000 ffffff80 08557e28 ffffff80 3d887b80 ffffffc0
[    0.928625] 7b40  082c06a0 ffffff80 3d887b80 ffffffc0 082b3708 ffffff80 60000045 00000000
[    0.936772] 7b60  3d887b70 ffffffc0 082b2050 ffffff80 ffffffff ffffffff 082b207c ffffff80
[    0.944919] 7b80  3d887ba0 ffffffc0 082c06a0 ffffff80 085ac000 ffffff80 082c0664 ffffff80
[    0.953065] 7ba0  3d887c40 ffffffc0 082f5c9c ffffff80 00000000 00000000 3cdce690 ffffffc0
[    0.961212] 7bc0  085acdd8 ffffff80 085f6000 ffffff80 00000000 00000000 08551670 ffffff80
[    0.969359] 7be0  08530474 ffffff80 00000000 00000001 3d887c30 ffffffc0 081bfcc0 ffffff80
[    0.977505]
[    0.978981] Process swapper/0 (pid: 1, stack limit = 0xffffffc03d884020)
[    0.985658] Stack: (0xffffffc03d887b80 to 0xffffffc03d888000)
[    0.991378] 7b80: ffffffc03d887ba0 ffffff80082c06a0 ffffff80085ac000 ffffff80082c0664
[    0.999185] 7ba0: ffffffc03d887c40 ffffff80082f5c9c 0000000000000000 ffffffc03cdce690
[    1.006985] 7bc0: ffffff80085acdd8 ffffff80085f6000 0000000000000000 ffffff8008551670
[    1.014785] 7be0: ffffff8008530474 0000000100000000 ffffffc03d887c30 ffffff80081bfcc0
[    1.022585] 7c00: ffffffc03cdce690 0000000000000000 ffffffc03cdce6a0 ffffff80085f6000
[    1.030385] 7c20: 0000000000000000 ffffff80082f7a28 ffffffc03d887c40 ffffff80082f5c7c
[    1.038185] 7c40: ffffffc03d887c70 ffffff80082f4034 ffffffc03cdce690 ffffff80085acdd8
[    1.045985] 7c60: 0000000000000000 ffffff80085acdd8 ffffffc03d887cb0 ffffff80082f42d4
[    1.053785] 7c80: ffffffc03cdce690 ffffffc03cdce6f0 ffffff80085acdd8 ffffffc03cba1280
[    1.061585] 7ca0: ffffff80085b2968 ffffffc03cba1280 ffffffc03d887ce0 ffffff80082f2188
[    1.069385] 7cc0: 0000000000000000 ffffff80085acdd8 ffffff80082f4250 ffffff80082f2178
[    1.077185] 7ce0: ffffffc03d887d20 ffffff80082f39fc ffffff80085acdd8 0000000000000000
[    1.084985] 7d00: ffffff80085b2000 ffffffc03cba12e8 ffffffc03d80e128 ffffffc03cdb9be8
[    1.092785] 7d20: ffffffc03d887d30 ffffff80082f3460 ffffffc03d887d70 ffffff80082f4c70
[    1.100585] 7d40: ffffff80085acdd8 ffffff80085acdb0 ffffffc03d884000 0000000000000000
[    1.108385] 7d60: ffffff8008551600 00000000ffffffc8 ffffffc03d887da0 ffffff80082f5bf4
[    1.116186] 7d80: ffffff80085ac000 ffffff80085acdb0 ffffffc03d884000 ffffff800827a230
[    1.123986] 7da0: ffffffc03d887db0 ffffff8008547ed0 ffffffc03d887dd0 ffffff80080829a4
[    1.131785] 7dc0: 00000000ffffffff ffffff8008547e84 ffffffc03d887e40 ffffff8008530c68
[    1.139585] 7de0: 000000000000004a ffffff800851eb18 ffffff80085da000 0000000000000004
[    1.147385] 7e00: 0000000000000000 ffffff800851f6a8 ffffff800851f6a8 ffffff80085c9d30
[    1.155185] 7e20: ffffff80083fd538 0000000000000000 0000000400000004 ffffff800851f6a8
[    1.162985] 7e40: ffffffc03d887ea0 ffffff800839f678 ffffff800839f668 0000000000000000
[    1.170785] 7e60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.178585] 7e80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.186385] 7ea0: 0000000000000000 ffffff8008082680 ffffff800839f668 0000000000000000
[    1.194185] 7ec0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.201985] 7ee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.209785] 7f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.217585] 7f20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.225385] 7f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.233185] 7f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.240985] 7f80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.248785] 7fa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.256585] 7fc0: 0000000000000000 0000000000000005 0000000000000000 0000000000000000
[    1.264385] 7fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    1.272183] Call trace:
[    1.274602] Exception stack(0xffffffc03d8879b0 to 0xffffffc03d887ae0)
[    1.281018] 79a0:                                   ffffff80085ac000 0000008000000000
[    1.288826] 79c0: ffffffc03d887b80 ffffff80082b3708 ffffff80085e0000 0000000000000006
[    1.296625] 79e0: ffffffc03d887a00 000058b8080d4254 ffffff80085938c0 ffffff8008587038
[    1.304426] 7a00: ffffff80084acf28 000000000000014b ffffff80085870dc 0000000100000000
[    1.312225] 7a20: ffffffc03d887ac0 ffffff80080d5d48 ffffff80085ac000 ffffff80085f4000
[    1.320026] 7a40: ffffff80085f46c0 ffffffc03cdce680 0000000000000000 fffffffffffffdfb
[    1.327825] 7a60: 0000000000000003 0000000000000000 0000000000000000 0000000000000000
[    1.335626] 7a80: ffffff80085de99c 65705f6c6c702074 6166203068706972 0000000000000004
[    1.343425] 7aa0: 0101010101010101 0000000000000020 0101010101010101 0000000000000030
[    1.351225] 7ac0: ffffffffffffffff 0000000000000010 0000000000000003 0000000000007a10
[    1.359026] [<ffffff80082b3708>] clk_prepare+0x18/0x40
[    1.364132] [<ffffff80082c06a0>] sunxi_arisc_probe+0x96c/0xdec
[    1.369940] [<ffffff80082f5c9c>] platform_drv_probe+0x58/0xa4
[    1.375658] [<ffffff80082f4034>] driver_probe_device+0x1b0/0x3cc
[    1.381638] [<ffffff80082f42d4>] __driver_attach+0x84/0xf8
[    1.387100] [<ffffff80082f2188>] bus_for_each_dev+0x64/0x88
[    1.392644] [<ffffff80082f39fc>] driver_attach+0x20/0x28
[    1.397931] [<ffffff80082f3460>] bus_add_driver+0xec/0x240
[    1.403391] [<ffffff80082f4c70>] driver_register+0x94/0xe0
[    1.408851] [<ffffff80082f5bf4>] __platform_driver_register+0x48/0x50
[    1.415267] [<ffffff8008547ed0>] arisc_init+0x4c/0x94
[    1.420293] [<ffffff80080829a4>] do_one_initcall+0x88/0x108
[    1.425838] [<ffffff8008530c68>] kernel_init_freeable+0x14c/0x1e4
[    1.431906] [<ffffff800839f678>] kernel_init+0x10/0xfc
[    1.437017] [<ffffff8008082680>] ret_from_fork+0x10/0x50
[    1.442305] Code: 52800000 910003fd f9000bf3 b4000101 (f9400033)
[    1.448402] ---[ end trace acc0f413ee82100e ]---
[    1.452988] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.452988]
[    1.462077] SMP: stopping secondary CPUs
[    1.465965] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.465965]
avafinger commented 6 years ago

@EvilOlaf Did you build DTB for the kernel 4.9?

rollmeister commented 6 years ago

I have failed to get this to work on either Orange Pi One Plus & Lite2. Kernel Panic. Tried to patch the kernel tree dtb. Fails at sd card activation step.

avafinger commented 6 years ago

Looks like you are using mainline u-boot and have trouble with ARISC. I have had a similar error on H3 doing this.

rollmeister commented 6 years ago

I tried it on the Sunxi Ubuntu beta images. Replacing the specified uImage in uEnv.txt and the dtb file uboot loads.

avafinger commented 6 years ago

Do you need 4.9? If yes, we need a workable dtb from Android. Let me know, there are some instructions on how to get this.

rollmeister commented 6 years ago

Avafinger, yes please tell us how to get this dtb.

avafinger commented 6 years ago

Do you have an H6 Homlet IMG to extract a dtb ?

dtischler commented 5 years ago

@avafinger - Getting the same error as @EvilOlaf here on an attempted build of this kernel 4.9. Kernel is failing to boot at the same place, although a slightly different address due to different hardware presumably. Error being thrown:

[ 0.556790] irq: type mismatch (1/8), failed to map hwirq-27 for /interrupt-controller@1c81000! [ 0.559339] sysfs: cannot create duplicate filename '/bus/platform/devices/timer'

The same .dts file works fine in the old Allwinner SDK kernel 3.10.65. Was there a resolution to this, being that you closed the issue @EvilOlaf?

Full kernel log from attempted boot:

Starting kernel ...

INFO: BL3-1: Next image address = 0x40080000 INFO: BL3-1: Next image spsr = 0x3c5 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.56 (root@david-VirtualBox) (gcc version 4.9.3 20150113 (prerelease) (Linaro GCC 4.9-2015.01-3) ) #7 SMP PREEMPT Thu Aug 2 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] cma: Reserved 256 MiB at 0x0000000070000000 [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] DMA zone: 4096 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 262144 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv0.2 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] percpu: Embedded 23 pages/cpu @ffffffc02ff3c000 s53504 r8192 d32512 u94208 [ 0.000000] pcpu-alloc: s53504 r8192 d32512 u94208 alloc=23*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258048 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x01c28000 initcall_debug=0 console=tty1 console=ttyS0,115200 loglevel=8 audit=0 root=/dev/mmcbotfs@mmcblk0p7:UDISK@mmcblk0p1 cma=256M androidboot.selinux=enforcing androidboot.serialno=3410503442181016084e androidboot.hardware=sun50iw1p1 boot_type= [ 0.000000] audit: disabled (until reboot) [ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes [ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes [ 0.000000] log_buf_len min size: 16384 bytes [ 0.000000] log_buf_len: 32768 bytes [ 0.000000] early log buf free: 14456(88%) [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Memory: 727840K/1048576K available (9662K kernel code, 2088K rwdata, 3724K rodata, 4352K init, 915K bss, 58592K reserved, 262144K cma-reser [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff80089f0000 ( 9664 KB) [ 0.000000] .rodata : 0xffffff80089f0000 - 0xffffff8008da0000 ( 3776 KB) [ 0.000000] .init : 0xffffff8008da0000 - 0xffffff80091e0000 ( 4352 KB) [ 0.000000] .data : 0xffffff80091e0000 - 0xffffff80093ea008 ( 2089 KB) [ 0.000000] .bss : 0xffffff80093ea008 - 0xffffff80094ceec8 ( 916 KB) [ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf01000000 ( 16 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: PPI11 is secure or misconfigured [ 0.000000] arm_arch_timer: WARNING: Invalid trigger for IRQ4, assuming level low [ 0.000000] arm_arch_timer: WARNING: Please fix your firmware [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008000] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.010425] pid_max: default: 32768 minimum: 301 [ 0.012528] Security Framework initialized [ 0.016012] SELinux: Initializing. [ 0.019697] SELinux: Starting in permissive mode [ 0.020643] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.024011] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.030549] ftrace: allocating 33233 entries in 130 pages [ 0.053113] sched-energy: CPU device node has no sched-energy-costs [ 0.053753] Invalid sched_group_energy for CPU0 [ 0.056021] CPU0: update cpu_capacity 1024 [ 0.060051] ASID allocator initialised with 65536 entries [ 0.008000] Detected VIPT I-cache on CPU1 [ 0.008000] Invalid sched_group_energy for CPU1 [ 0.008000] CPU1: update cpu_capacity 1024 [ 0.008000] CPU1: Booted secondary processor [410fd034] [ 0.008000] Detected VIPT I-cache on CPU2 [ 0.008000] Invalid sched_group_energy for CPU2 [ 0.008000] CPU2: update cpu_capacity 1024 [ 0.008000] CPU2: Booted secondary processor [410fd034] [ 0.008000] Detected VIPT I-cache on CPU3 [ 0.008000] Invalid sched_group_energy for CPU3 [ 0.008000] CPU3: update cpu_capacity 1024 [ 0.008000] CPU3: Booted secondary processor [410fd034] [ 0.184181] Brought up 4 CPUs [ 0.218947] SMP: Total of 4 processors activated. [ 0.220012] CPU features: detected feature: 32-bit EL0 Support [ 0.224065] CPU: All CPU(s) started at EL1 [ 0.228033] alternatives: patching kernel code [ 0.232348] Invalid sched_group_energy for CPU3 [ 0.236013] CPU3: update max cpu_capacity 1024 [ 0.240010] Invalid sched_group_energy for Cluster3 [ 0.244009] Invalid sched_group_energy for CPU2 [ 0.248010] Invalid sched_group_energy for Cluster2 [ 0.252009] Invalid sched_group_energy for CPU1 [ 0.256010] Invalid sched_group_energy for Cluster1 [ 0.260009] Invalid sched_group_energy for CPU0 [ 0.264010] Invalid sched_group_energy for Cluster0 [ 0.268957] CPU1: update max cpu_capacity 1024 [ 0.272013] devtmpfs: initialized [ 0.428111] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.432026] futex hash table entries: 1024 (order: 5, 131072 bytes) [ 0.444623] atomic64_test: passed [ 0.444658] pinctrl core: initialized pinctrl subsystem [ 0.451634] NET: Registered protocol family 16 [ 0.454382] dump_class_init,858, success [ 0.476029] cpuidle: using governor menu [ 0.476622] vdso: 2 pages (1 code @ ffffff80089f7000, 1 data @ ffffff80091e4000) [ 0.480040] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.485178] DMA: preallocated 256 KiB pool for atomic allocations [ 0.496008] [sun50iw1p1_pinctrl_probe][841] [ 0.508617] sunxi hwspinlock vbase:0xffffff800804c000 [ 0.556790] irq: type mismatch (1/8), failed to map hwirq-27 for /interrupt-controller@1c81000! [ 0.559339] sysfs: cannot create duplicate filename '/bus/platform/devices/timer' [ 0.568053] ------------[ cut here ]------------ [ 0.572000] WARNING: CPU: 3 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x68/0x84 [ 0.572000] Modules linked in: [ 0.572000] [ 0.572000] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.9.56 #7 [ 0.572000] Hardware name: sun50iw1 (DT) [ 0.572000] task: ffffffc02e94a080 task.stack: ffffffc02e944000 [ 0.572000] PC is at sysfs_warn_dup+0x68/0x84 [ 0.572000] LR is at sysfs_warn_dup+0x68/0x84 [ 0.572000] pc : [] lr : [] pstate: 80400045 [ 0.572000] sp : ffffffc02e947ad0 [ 0.572000] x29: ffffffc02e947ad0 x28: 0000000000000000 [ 0.572000] x27: 0000000000000000 x26: 0000000000000000 [ 0.572000] x25: ffffff800930d430 x24: ffffff800948e000 [ 0.572000] x23: 0000000000000001 x22: ffffffc02deddc00 [ 0.572000] x21: ffffffc02eb678f8 x20: ffffffc02deddc00 [ 0.572000] x19: ffffffc02e8d6c80 x18: 000000003d01d090 [ 0.572000] x17: 00000000830ba4b0 x16: 00000000e9861506 [ 0.572000] x15: ffffffc02e947708 x14: 314072656c6c6f72 [ 0.572000] x13: 746e6f632d747075 x12: 0000000000000038 [ 0.572000] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [ 0.572000] x9 : 631f646c74726471 x8 : 642f6d726f667461 [ 0.572000] x7 : 6c702f7375622f27 x6 : ffffff80093f3b54 [ 0.572000] x5 : ffffff8008a2f128 x4 : ffffff80080ff3b8 [ 0.572000] x3 : ffffffc02e947880 x2 : 0000000000040938 [ 0.572000] x1 : 0000000000000000 x0 : 0000000000000045 [ 0.572000] [ 0.572000] SP: 0xffffffc02e947a50: [ 0.572000] 7a50 2deddc00 ffffffc0 00000001 00000000 0948e000 ffffff80 0930d430 ffffff80 [ 0.572000] 7a70 00000000 00000000 00000000 00000000 00000000 00000000 2e947ad0 ffffffc0 [ 0.572000] 7a90 0828dc50 ffffff80 2e947ad0 ffffffc0 0828dc50 ffffff80 80400045 00000000 [ 0.572000] 7ab0 ffffffff 002fffff 00000000 80000000 ffffffff ffffffff 68756463 ff726462 [ 0.572000] 7ad0 2e947b00 ffffffc0 0828e060 ffffff80 2de9bac0 ffffffc0 ffffffef ffffffff [ 0.572000] 7af0 2eb678f8 ffffffc0 08c9c325 ffffff80 2e947b40 ffffffc0 0828e0cc ffffff80 [ 0.572000] 7b10 2eb6b018 ffffffc0 2df23ca0 ffffffc0 2deddc00 ffffffc0 2df23ca0 ffffffc0 [ 0.572000] 7b30 091e8000 ffffff80 0930d788 ffffff80 2e947b70 ffffffc0 084c9b0c ffffff80 [ 0.572000] [ 0.572000] X3: 0xffffffc02e947800: [ 0.572000] 7800 08c6a490 ffffff80 2e9479a0 ffffffc0 0828dc50 ffffff80 f2000800 00000000 [ 0.572000] 7820 2e9479a0 ffffffc0 0000003d 00000000 2e947850 ffffffc0 083bc7bc ffffff80 [ 0.572000] 7840 2e9479a0 ffffffc0 2e9479a0 ffffffc0 2e947880 ffffffc0 0808abfc ffffff80 [ 0.572000] 7860 2e9479a0 ffffffc0 00000001 00000000 f2000800 00000000 09208d90 ffffff80 [ 0.572000] 7880 2e9478a0 ffffffc0 08084a24 ffffff80 0808abc8 ffffff80 2e9479a0 ffffffc0 [ 0.572000] 78a0 2e9478d0 ffffffc0 08080d24 ffffff80 091e8000 ffffff80 00000000 00000000 [ 0.572000] 78c0 0936cc68 ffffff80 00000045 00000000 2e947ad0 ffffffc0 080827a8 ffffff80 [ 0.572000] 78e0 2e8d6c80 ffffffc0 00000000 00000080 414d4000 00000000 0828dc50 ffffff80 [ 0.572000] [ 0.572000] X15: 0xffffffc02e947688: [ 0.572000] 7688 00000000 00000000 2e9476d0 ffffffc0 081ad480 ffffff80 2e944000 ffffffc0 [ 0.572000] 76a8 ffffffff ffffffff 2e947764 ffffffc0 00000004 00000000 2e9476c0 ffffffc0 [ 0.572000] 76c8 00040938 00000000 2e947710 ffffffc0 08085b9c ffffff80 2e947788 ffffffc0 [ 0.572000] 76e8 2e9476e8 ffffffc0 091e8000 ffffff80 08c4fea1 ffffff80 08c5debd ffffff80 [ 0.572000] 7708 00000000 00000000 2e947770 ffffffc0 08085ff8 ffffff80 2e9479a0 ffffffc0 [ 0.572000] 7728 091e8000 ffffff80 00000010 00000000 08c4ff48 ffffff80 00000000 00000080 [ 0.572000] 7748 08c4ff31 ffffff80 08c4ff2f ffffff80 08a2f128 ffffff80 2e9477c1 2e9477c1 [ 0.572000] 7768 00040938 00000000 2e9477d0 ffffffc0 08086084 ffffff80 2e9479a0 ffffffc0 [ 0.572000] [ 0.572000] X19: 0xffffffc02e8d6c00: [ 0.572000] 6c00 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] 6c20 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] 6c40 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] 6c60 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] 6c80 7375622f 616c702f 726f6674 65642f6d 65636976 00000073 00000000 00000000 [ 0.572000] 6ca0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.572000] 6cc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.572000] 6ce0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.572000] [ 0.572000] X20: 0xffffffc02deddb80: [ 0.572000] db80 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dba0 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dbc0 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dbe0 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dc00 656d6974 6b6b0072 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 0.572000] dc20 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 0.572000] dc40 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 0.572000] dc60 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b a56b6b6b [ 0.572000] [ 0.572000] X21: 0xffffffc02eb67878: [ 0.572000] 7878 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.572000] 7898 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.572000] 78b8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.572000] 78d8 00000000 00000000 00000000 00000000 5a5a5a5a 5a5a5a5a cccccccc cccccccc [ 0.572000] 78f8 0000004e 00000000 2eb66e48 ffffffc0 08c58e20 ffffff80 2eb66579 ffffffc0 [ 0.572000] 7918 00000000 00000000 2eb66740 ffffffc0 00000000 00000000 28277a10 00000000 [ 0.572000] 7938 00000000 00000000 2ea09580 ffffffc0 2e8e6d80 ffffffc0 00000000 00000000 [ 0.572000] 7958 2eb6b018 ffffffc0 41ed0011 0000001a 00000000 00000000 cccccccc cccccccc [ 0.572000] [ 0.572000] X22: 0xffffffc02deddb80: [ 0.572000] db80 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dba0 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dbc0 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dbe0 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 0.572000] dc00 656d6974 6b6b0072 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 0.572000] dc20 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 0.572000] dc40 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 0.572000] dc60 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b a56b6b6b [ 0.572000] [ 0.572000] X29: 0xffffffc02e947a50: [ 0.572000] 7a50 2deddc00 ffffffc0 00000001 00000000 0948e000 ffffff80 0930d430 ffffff80 [ 0.572000] 7a70 00000000 00000000 00000000 00000000 00000000 00000000 2e947ad0 ffffffc0 [ 0.572000] 7a90 0828dc50 ffffff80 2e947ad0 ffffffc0 0828dc50 ffffff80 80400045 00000000 [ 0.572000] 7ab0 ffffffff 002fffff 00000000 80000000 ffffffff ffffffff 68756463 ff726462 [ 0.572000] 7ad0 2e947b00 ffffffc0 0828e060 ffffff80 2de9bac0 ffffffc0 ffffffef ffffffff [ 0.572000] 7af0 2eb678f8 ffffffc0 08c9c325 ffffff80 2e947b40 ffffffc0 0828e0cc ffffff80 [ 0.572000] 7b10 2eb6b018 ffffffc0 2df23ca0 ffffffc0 2deddc00 ffffffc0 2df23ca0 ffffffc0 [ 0.572000] 7b30 091e8000 ffffff80 0930d788 ffffff80 2e947b70 ffffffc0 084c9b0c ffffff80 [ 0.572000] [ 0.572000] ---[ end trace 7845886c5db7d444 ]--- [ 0.572000] Call trace: [ 0.572000] Exception stack(0xffffffc02e9478e0 to 0xffffffc02e947a10) [ 0.572000] 78e0: ffffffc02e8d6c80 0000008000000000 00000000414d4000 ffffff800828dc50 [ 0.572000] 7900: 0000000080400045 000000000000006b ffffff80091e8830 0000000000000040 [ 0.572000] 7920: ffffffc02e9479c0 ffffff80080ffbdc ffffff8008c6e36f ffffffc02e947a20 [ 0.572000] 7940: ffffffc02eb678f8 ffffffc02deddc00 0000000000000001 ffffff800948e000 [ 0.572000] 7960: ffffff800930d430 0000000000000000 0000000000000000 0000000000000000 [ 0.572000] 7980: ffffffc02e9479c0 0000000000000040 0000000000000000 0000000000040938 [ 0.572000] 79a0: 0000000000000045 0000000000000000 0000000000040938 ffffffc02e947880 [ 0.572000] 79c0: ffffff80080ff3b8 ffffff8008a2f128 ffffff80093f3b54 6c702f7375622f27 [ 0.572000] 79e0: 642f6d726f667461 631f646c74726471 7f7f7f7f7f7f7f7f 0101010101010101 [ 0.572000] 7a00: 0000000000000038 746e6f632d747075 [ 0.572000] [] sysfs_warn_dup+0x68/0x84 [ 0.572000] [] sysfs_do_create_link_sd.isra.2+0xa4/0xbc [ 0.572000] [] sysfs_create_link+0x54/0x64 [ 0.572000] [] bus_add_device+0xf4/0x190 [ 0.572000] [] device_add+0x2b4/0x558 [ 0.572000] [] of_device_add+0x44/0x50 [ 0.572000] [] of_platform_device_create_pdata+0x9c/0xd4 [ 0.572000] [] of_platform_bus_create+0x2b8/0x420 [ 0.572000] [] of_platform_populate+0x80/0x104 [ 0.572000] [] of_platform_default_populate+0x40/0x50 [ 0.572000] [] of_platform_default_populate_init+0x5c/0x6c [ 0.572000] [] do_one_initcall+0xb0/0x14c [ 0.572000] [] kernel_init_freeable+0x14c/0x1e8 [ 0.572000] [] kernel_init+0x18/0x104 [ 0.572000] [] ret_from_fork+0x10/0x40 [ 1.516499] pwm module init! [ 1.524401] Unable to handle kernel paging request at virtual address fffffffffffffffe [ 1.524401] pgd = ffffff80094d2000 [ 1.527376] [fffffffffffffffe] pgd=0000000000000000, pud=0000000000000000 [ 1.534170] Internal error: Oops: 96000005 [#1] PREEMPT SMP [ 1.536000] Modules linked in: [ 1.536000] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G W 4.9.56 #7 [ 1.536000] Hardware name: sun50iw1 (DT) [ 1.536000] task: ffffffc02e94a080 task.stack: ffffffc02e944000 [ 1.536000] PC is at clk_prepare+0x20/0x48 [ 1.536000] LR is at sunxi_dma_hw_init+0x24/0x58 [ 1.536000] pc : [] lr : [] pstate: 60400045 [ 1.536000] sp : ffffffc02e947b50 [ 1.536000] x29: ffffffc02e947b50 x28: ffffff8008e46c28 [ 1.536000] x27: ffffff8008461acc x26: ffffffc02df59dd0 [ 1.536000] x25: 000000000000000a x24: ffffff800946f000 [ 1.536000] x23: ffffffc02df59c88 x22: ffffffc02dd8b690 [ 1.536000] x21: ffffffc02dd8b680 x20: ffffffc02df59c80 [ 1.536000] x19: fffffffffffffffe x18: 0000000000000001 [ 1.536000] x17: 000000000000003f x16: 000000000000000e [ 1.536000] x15: 00000000000077d8 x14: 0000000000000002 [ 1.536000] x13: ff00000000000000 x12: 0000000000000000 [ 1.536000] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [ 1.536000] x9 : 0000000000000000 x8 : ffffffc02d8f0108 [ 1.536000] x7 : bbbbbbbbbbbbbbbb x6 : 5a5a5a5a5a5a5a5a [ 1.536000] x5 : fffffffffffffff8 x4 : ffffffc02df59c88 [ 1.536000] x3 : ffffff800930812c x2 : 0000000000000000 [ 1.536000] x1 : 0000000000040938 x0 : 0000000000000000 [ 1.536000] [ 1.536000] SP: 0xffffffc02e947ad0: [ 1.536000] 7ad0 2dd8b690 ffffffc0 2df59c88 ffffffc0 0946f000 ffffff80 0000000a 00000000 [ 1.536000] 7af0 2df59dd0 ffffffc0 08461acc ffffff80 08e46c28 ffffff80 2e947b50 ffffffc0 [ 1.536000] 7b10 08461eac ffffff80 2e947b50 ffffffc0 08453cc0 ffffff80 60400045 00000000 [ 1.536000] 7b30 2df59c80 ffffffc0 00000000 00000000 ffffffff ffffffff 2dd8b690 ffffffc0 [ 1.536000] 7b50 2e947b70 ffffffc0 08461eac ffffff80 fffffffe ffffffff 2df59dd0 ffffffc0 [ 1.536000] 7b70 2e947b90 ffffffc0 08462bd0 ffffff80 2df59c80 ffffffc0 00000000 00000000 [ 1.536000] 7b90 2e947bf0 ffffffc0 084ccfe4 ffffff80 00000000 00000000 2dd8b690 ffffffc0 [ 1.536000] 7bb0 093082e8 ffffff80 093082e8 ffffff80 00000000 00000000 08df9840 ffffff80 [ 1.536000] [ 1.536000] X4: 0xffffffc02df59c08: [ 1.536000] 9c08 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c28 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c48 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c68 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc 00000008 00000000 [ 1.536000] 9c88 2df5bca0 ffffffc0 2df5a4a0 ffffffc0 09308118 ffffff80 09308118 ffffff80 [ 1.536000] 9ca8 00000000 00000000 00000000 00000000 00000000 00000000 00001d01 00000000 [ 1.536000] 9cc8 00000000 00000000 00000000 00000000 00000000 00000000 2dd8b690 ffffffc0 [ 1.536000] 9ce8 00000000 00000000 00000000 00000000 00000000 00000000 084625c8 ffffff80 [ 1.536000] [ 1.536000] X8: 0xffffffc02d8f0088: [ 1.536000] 0088 00000000 00000000 00000000 00000000 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 1.536000] 00a8 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 1.536000] 00c8 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b [ 1.536000] 00e8 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b 6b6b6b6b a56b6b6b cccccccc cccccccc [ 1.536000] 0108 2d8f1700 ffffffc0 0835c66c ffffff80 081faf74 ffffff80 081fc538 ffffff80 [ 1.536000] 0128 081fc5e4 ffffff80 081ff8ec ffffff80 081c78b8 ffffff80 0835c66c ffffff80 [ 1.536000] 0148 08354cf0 ffffff80 080c73c8 ffffff80 080c7734 ffffff80 0809f728 ffffff80 [ 1.536000] 0168 080a0bac ffffff80 080a0f70 ffffff80 080baf24 ffffff80 080bed94 ffffff80 [ 1.536000] [ 1.536000] X20: 0xffffffc02df59c00: [ 1.536000] 9c00 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c20 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c40 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c60 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c80 00000008 00000000 2df5bca0 ffffffc0 2df5a4a0 ffffffc0 09308118 ffffff80 [ 1.536000] 9ca0 09308118 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.536000] 9cc0 00001d01 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.536000] 9ce0 2dd8b690 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.536000] [ 1.536000] X21: 0xffffffc02dd8b600: [ 1.536000] b600 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] b620 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] b640 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] b660 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] b680 2de02b00 ffffffc0 ffffffff 00000000 2dd8c290 ffffffc0 2ddc7380 ffffffc0 [ 1.536000] b6a0 2de02b00 ffffffc0 2d8de6a0 ffffffc0 2d8dec98 ffffffc0 2dd8c2a0 ffffffc0 [ 1.536000] b6c0 2eb6ab00 ffffffc0 0930d140 ffffff80 2ddd88f0 ffffffc0 0000000c 00000007 [ 1.536000] b6e0 00000000 00000000 00000000 00000000 00000000 00030003 2dd8b6f8 ffffffc0 [ 1.536000] [ 1.536000] X22: 0xffffffc02dd8b610: [ 1.536000] b610 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] b630 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] b650 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] b670 cccccccc cccccccc cccccccc cccccccc 2de02b00 ffffffc0 ffffffff 00000000 [ 1.536000] b690 2dd8c290 ffffffc0 2ddc7380 ffffffc0 2de02b00 ffffffc0 2d8de6a0 ffffffc0 [ 1.536000] b6b0 2d8dec98 ffffffc0 2dd8c2a0 ffffffc0 2eb6ab00 ffffffc0 0930d140 ffffff80 [ 1.536000] b6d0 2ddd88f0 ffffffc0 0000000c 00000007 00000000 00000000 00000000 00000000 [ 1.536000] b6f0 00000000 00030003 2dd8b6f8 ffffffc0 2dd8b6f8 ffffffc0 2e94a080 ffffffc0 [ 1.536000] [ 1.536000] X23: 0xffffffc02df59c08: [ 1.536000] 9c08 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c28 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c48 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc [ 1.536000] 9c68 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc 00000008 00000000 [ 1.536000] 9c88 2df5bca0 ffffffc0 2df5a4a0 ffffffc0 09308118 ffffff80 09308118 ffffff80 [ 1.536000] 9ca8 00000000 00000000 00000000 00000000 00000000 00000000 00001d01 00000000 [ 1.536000] 9cc8 00000000 00000000 00000000 00000000 00000000 00000000 2dd8b690 ffffffc0 [ 1.536000] 9ce8 00000000 00000000 00000000 00000000 00000000 00000000 084625c8 ffffff80 [ 1.536000] [ 1.536000] X26: 0xffffffc02df59d50: [ 1.536000] 9d50 08463770 ffffff80 084634ac ffffff80 08462f2c ffffff80 00000000 00000000 [ 1.536000] 9d70 00000000 00000000 08462384 ffffff80 084619fc ffffff80 084619b4 ffffff80 [ 1.536000] 9d90 0846216c ffffff80 00000000 00000000 08462d1c ffffff80 08462628 ffffff80 [ 1.536000] 9db0 08052000 ffffff80 01c02000 00000000 fffffffe ffffffff 00000000 00000000 [ 1.536000] 9dd0 00000000 00000000 00000000 00000000 00000000 00000000 08462074 ffffff80 [ 1.536000] 9df0 2df59c80 ffffffc0 2df59df8 ffffffc0 2df59df8 ffffffc0 2df33280 ffffffc0 [ 1.536000] 9e10 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.536000] 9e30 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.536000] [ 1.536000] X29: 0xffffffc02e947ad0: [ 1.536000] 7ad0 2dd8b690 ffffffc0 2df59c88 ffffffc0 0946f000 ffffff80 0000000a 00000000 [ 1.536000] 7af0 2df59dd0 ffffffc0 08461acc ffffff80 08e46c28 ffffff80 2e947b50 ffffffc0 [ 1.536000] 7b10 08461eac ffffff80 2e947b50 ffffffc0 08453cc0 ffffff80 60400045 00000000 [ 1.536000] 7b30 2df59c80 ffffffc0 00000000 00000000 ffffffff ffffffff 2dd8b690 ffffffc0 [ 1.536000] 7b50 2e947b70 ffffffc0 08461eac ffffff80 fffffffe ffffffff 2df59dd0 ffffffc0 [ 1.536000] 7b70 2e947b90 ffffffc0 08462bd0 ffffff80 2df59c80 ffffffc0 00000000 00000000 [ 1.536000] 7b90 2e947bf0 ffffffc0 084ccfe4 ffffff80 00000000 00000000 2dd8b690 ffffffc0 [ 1.536000] 7bb0 093082e8 ffffff80 093082e8 ffffff80 00000000 00000000 08df9840 ffffff80 [ 1.536000] [ 1.536000] Process swapper/0 (pid: 1, stack limit = 0xffffffc02e944028) [ 1.536000] Stack: (0xffffffc02e947b50 to 0xffffffc02e948000) [ 1.536000] 7b40: ffffffc02e947b70 ffffff8008461eac [ 1.536000] 7b60: fffffffffffffffe ffffffc02df59dd0 ffffffc02e947b90 ffffff8008462bd0 [ 1.536000] 7b80: ffffffc02df59c80 0000000000000000 ffffffc02e947bf0 ffffff80084ccfe4 [ 1.536000] 7ba0: 0000000000000000 ffffffc02dd8b690 ffffff80093082e8 ffffff80093082e8 [ 1.536000] 7bc0: 0000000000000000 ffffff8008df9840 ffffff8008da04c8 ffffff8008df97b0 [ 1.536000] 7be0: ffffff80093ee000 ffffff80084ccfc4 ffffffc02e947c20 ffffff80084cabb4 [ 1.536000] 7c00: ffffffc02dd8b690 0000000000000000 ffffff800948e000 0000000000000000 [ 1.536000] 7c20: ffffffc02e947c60 ffffff80084cae64 ffffffc02dd8b690 ffffffc02dd8b6f0 [ 1.536000] 7c40: ffffff80093082e8 ffffff80084cadd0 ffffff800930d6f0 ffffff80084cadd0 [ 1.536000] 7c60: ffffffc02e947c90 ffffff80084c87d4 0000000000000000 ffffff80091e8000 [ 1.536000] 7c80: ffffff80093082e8 ffffffc02e947cf0 ffffffc02e947cf0 ffffff80084ca4bc [ 1.536000] 7ca0: ffffff80093082e8 0000000000000000 ffffff800930d000 ffffffc02d873680 [ 1.536000] 7cc0: ffffff800930d6f0 ffffffc02d8736e8 ffffffc02e947cf0 ffffffc02eb29928 [ 1.536000] 7ce0: ffffffc02ddc73e8 0000000000040938 ffffffc02e947d10 ffffff80084c9e6c [ 1.536000] 7d00: ffffff80093082e8 0000000000000000 ffffffc02e947d50 ffffff80084cbbbc [ 1.536000] 7d20: ffffff80093082e8 0000000000000000 0000000000000000 ffffff80091e8000 [ 1.536000] 7d40: ffffff8008dcf114 0000000000000000 ffffffc02e947d80 ffffff80084ccf28 [ 1.536000] 7d60: ffffff80093082c0 0000000000000000 0000000000000000 ffffff8008c90b3c [ 1.536000] 7d80: ffffffc02e947da0 ffffff8008dcf130 00000000ffffffff ffffffc02e944000 [ 1.536000] 7da0: ffffffc02e947db0 ffffff8008083a2c ffffffc02e947e40 ffffff8008da0d48 [ 1.536000] 7dc0: 0000000000000135 ffffff8008d8f8d0 ffffff80093ee000 0000000000000004 [ 1.536000] 7de0: ffffff8008df97d0 ffffff8008df97b0 ffffff80093ee000 ffffff8008e46b00 [ 1.536000] 7e00: ffffffc02e947e20 ffffff8008d92918 ffffff8008d92918 ffffff80093b15c8 [ 1.536000] 7e20: ffffff8008a2ee48 0000000000000000 0000000400000004 0000000000040938 [ 1.536000] 7e40: ffffffc02e947ea0 ffffff80089e0f6c ffffff80089e0f54 0000000000000000 [ 1.536000] 7e60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7e80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7ea0: 0000000000000000 ffffff8008083050 ffffff80089e0f54 0000000000000000 [ 1.536000] 7ec0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7ee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7f20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7f80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7fa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.536000] 7fc0: 0000000000000000 0000000000000005 0000000000000000 0000000000000000 [ 1.536000] 7fe0: 0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff [ 1.536000] Call trace: [ 1.536000] Exception stack(0xffffffc02e947960 to 0xffffffc02e947a90) [ 1.536000] 7960: fffffffffffffffe 0000008000000000 00000000414d4000 ffffff8008453cc0 [ 1.536000] 7980: 0000000060400045 ffffff800948e000 ffffffc02e9479c0 ffffff800808eb98 [ 1.536000] 79a0: ffffff80091e8710 0000000000000001 ffffffc02d8da498 ffffff800930d000 [ 1.536000] 79c0: ffffffc02e947a20 ffffff80080cf304 ffffff80089e7368 0000000000000000 [ 1.536000] 79e0: ffffffc02e947a00 ffffff80089e4cec ffffffc02dd300f8 ffffff80093f3000 [ 1.536000] 7a00: ffffffc02e947a60 ffffff80089e4d38 ffffffc02dd300f8 0000000000040938 [ 1.536000] 7a20: 0000000000000000 0000000000040938 0000000000000000 ffffff800930812c [ 1.536000] 7a40: ffffffc02df59c88 fffffffffffffff8 5a5a5a5a5a5a5a5a bbbbbbbbbbbbbbbb [ 1.536000] 7a60: ffffffc02d8f0108 0000000000000000 7f7f7f7f7f7f7f7f 0101010101010101 [ 1.536000] 7a80: 0000000000000000 ff00000000000000 [ 1.536000] [] clk_prepare+0x20/0x48 [ 1.536000] [] sunxi_dma_hw_init+0x24/0x58 [ 1.536000] [] sunxi_probe+0x314/0x3d4 [ 1.536000] [] platform_drv_probe+0x60/0xac [ 1.536000] [] driver_probe_device+0x1b8/0x3d4 [ 1.536000] [] driver_attach+0x94/0x108 [ 1.536000] [] bus_for_each_dev+0x88/0xc8 [ 1.536000] [] driver_attach+0x30/0x3c [ 1.536000] [] bus_add_driver+0xf8/0x24c [ 1.536000] [] driver_register+0x9c/0xe8 [ 1.536000] [] platform_driver_register+0x5c/0x68 [ 1.536000] [] sunxi_dma_init+0x1c/0x24 [ 1.536000] [] do_one_initcall+0xb0/0x14c [ 1.536000] [] kernel_init_freeable+0x14c/0x1e8 [ 1.536000] [] kernel_init+0x18/0x104 [ 1.536000] [] ret_from_fork+0x10/0x40 [ 1.536000] Code: aa1e03e0 d503201f 52800000 b4000113 (f9400273) [ 2.780057] ---[ end trace 7845886c5db7d445 ]--- [ 2.784059] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 2.784059] [ 2.788000] SMP: stopping secondary CPUs [ 2.788000] Rebooting in 5 seconds.. INFO: PSCI Affinity Map: INFO: AffInst: Level 2, MPID 0x0, State ON INFO: AffInst: Level 1, MPID 0x0, State ON INFO: AffInst: Level 0, MPID 0x0, State ON INFO: AffInst: Level 0, MPID 0x1, State ON INFO: AffInst: Level 0, MPID 0x2, State ON

EvilOlaf commented 5 years ago

There is none. Switched to Armbian and their kernel.

dtischler commented 5 years ago

Oh, I see.

@avafinger - Since I do have the .dts / .dtb file, do you happen to have any guidance or known workarounds? Thanks in advance!

avafinger commented 5 years ago

@dtischler You cannot use the DTB from 3.10 on kernel 4.9. Use the attached DTB if you wish to boot with 4.9 but mind you there are still some issues or with the DTB or with the BSP itself. I just asked @rollmeister if he had a working Android img for kernel 4.9 (allwinner) so it was easier to find out where is the problem.

Armbian and linux-sunxi have done a great job to provide a working mainline kernel.

Anyway, if you need kernel 4.9, here is the DTB you can try out, please, provide full bootlog to see how far you can go.

But if others are monitoring this, please, anyone with a working Android img for kernel 4.9 extract and provide the dtb or just provide img and somenone take care of extracting it.

Use any of the two dtb: https://mega.nz/#!JOwymC7Q!MWtnZeI1XX3Avp3QNEHZJ3wtfjm2hfNxi0VLTxircbE

dtischler commented 5 years ago

Thanks @avafinger !

I should clarify, this is for an Allwinner A64 device (custom built PCB actually), so sun50iw1p1. Not an H6. I was just hoping to use this kernel 4.9 as an "upgrade" from the 3.10.65 I have currently running.

I'll research and study the difference in .dts from 3.10 to 4.9, I did not realize the spec had changed or they were not interchangeable.

I will also convert this OrangePi .dtb back to .dts to study it.

I hate to admit the custom hackery I am attempting, but, I have downloaded the Allwinner 3.10.65 BSP from Pine64, git cloned this kernel 4.9 repo in to the directory, and am attempting to simply swap in this 4.9 directly to the build process. The specific reason is that the end result is a .img file that can be flashed directly to the onboard eMMC via the custom PhoenixSuit application from Allwinner.

The entire build process actually works, the image flashes, and begins to boot.......until this kernel error I have described above.

The same setup does of course work with 3.10.65, resulting in a bootable kernel and handoff to Ubuntu 18.04.

Thanks again for the pointers!

avafinger commented 5 years ago

There is no public availability of BSP 4.9 for A64 yet. That seems AW goes this way:

I have private access to BSP 4.4.89 (A64) from BPI and they are fixing things and seems promising although i have my own changes. Maybe you get in touch with BPI folks.

TBH i don't think what you are trying to do will work, there are lots of things missing on this 4.9 (to A64). But, well, if you are a kernel developer, nothing is impossible.

dtischler commented 5 years ago

Thanks @avafinger , I did not realize that A64 support here was incomplete. I (incorrectly) assumed that it would be backwards compatible to A64, since that chip had already been supported in the previous BSP versions. I did not know things were missing here. And yes, I thought my strategy of just importing this 4.9 to the previous BSP was probably wishful thinking.

Regarding the 4.4, I thouht that was only 32-bit for H3?? I did not realize there was A64 support in that code. Perhaps I will attempt this same exercise with that kernel, instead, ha.

Is there anyone you can recommend I reach out to at B-Pi team?

avafinger commented 5 years ago

Kernel 4.4 for A64 is 64 bit, you can try out this OS Image ando change dtb accordingly to your specification, from here (click the icon image above description): https://github.com/avafinger/bpi-m64-firmware#new-experimental-lxde-os-image-for-the-banana-pi-m64-with-kernel-4489 and see if it will boot as expected. Kernel 4.4 is private AFAIK, is not on Allwinner-Homlet github.

I think you can reach Nora Lee nora.sh.lee63 at g mail com

dtischler commented 5 years ago

Awesome, thanks for all of your assistance, I appreciate it. I will reach out to Nora, and thanks for this download as well! In the case of 4.4, I can utilize my existing 3.10 .dtb file? No changes to the spec at this point, I can just swap it right in?

As far as 4.4 being public, I realize you mentioned you have private access, but is that private access the only place A64 is supported? A64 is not supported in this public repo, correct? https://github.com/Allwinner-Homlet/H3-BSP4.4-linux (the title alone indicates H3, but, like I incorrectly assumed once already, I thought they were backwards compatible to previous SoC's that were already supported in earlier BSPs).

avafinger commented 5 years ago

Sorry if I was not clear.

BPI has BSP 4.4 specific to A64 on their Github in Private mode and possibly BSP4.9 which I don't have access.

Regarding A64, this H6-BSP code drop has an incomplete A64 code but you can port code from 3.10.y to it, but you may face some challengings like HDMI, arisc and so on, but don't take my words as final, as I said if you are a developer you can do it.

H3-BSP4.4 has only code for H3 it seems.

The OS Image I provided on that link is a complete OS Image that works on M64 (A64) you just need to decompile m64-4.4.dtb (/boot/a64) and change the Pins to match your board. Finding the correct configuration for your eth / gmac is what may take some time.

You may face some memory DRAM initialization hiccups but you change that in the decompiled (DTS) file as well.

dtischler commented 5 years ago

Aha, that clears it up, sorry for the confusion! I'll take a look at this image you've pointed to me, and see if I can adapt it to my use case by decompiling that dtb file and replacing with my own settings from my current .dts. Ideally, I'd like to incorporate this in to the current 3.10 build process that results in the .img file to be burned directly to eMMC - but if that is still wishful thinking, then no problem. :-)

dtischler commented 5 years ago

@avafinger - random question:

Can you upload / share with me a file that should be sitting in the lichee/output directory? The file I am looking for is: output/vmlinux.tar.bz2

I need it for my build, thanks!

avafinger commented 5 years ago

There is no such a file on that supposed A64 BSP, maybe it has been already modified for a linux-sunxi kernel tree. Please, Mind you that my OS Image is not based on lichee BSP but obviously there is a vmlinux I can manage to share if that helps.

dtischler commented 5 years ago

Sure thing, that will work! Thanks!

dtischler commented 5 years ago

@avafinger - actually one additional question: vmlinux or vmlinuz? Either way is fine, and an upload / share is appreciated!

avafinger commented 5 years ago

@dtischler Had to rebuild in order to add ZRAM + LZ4, will push linux-image soon: https://mega.nz/#F!4HIGCYgI!wWFopW-htJjdciayeSDFzg

dtischler commented 5 years ago

Awesome thanks! Yep, once that linux image is ready, I can download and extract the corresponding Image file in the /boot/a64 folder, pair it to this, and build locally. Thanks!

avafinger commented 5 years ago

@dtischler Linux Image: https://github.com/avafinger/bpi-m64-firmware/commit/bfc5c359308984fb16bc2340f8f41feb7f19adf5

See if it works for you.

dtischler commented 5 years ago

@avafinger Thanks for taking the time to assist me. Unfortunately it did not work. :-(

I extracted the Image_4.4.89-m64 from your .deb file and added to my local build directory. Ran a 'makebootimg' with that Image file and the rest of the artifacts. Then created a vmlinux.tar.bz2 with your vmlinux, and ran my build script.

Everything went as planned, I got a .img file output, and flashed to the eMMC via PhoenixSuit successfully. Powered up, made it trhough u-boot, but then got a kernel failure, nearly identical to my original posting, with the exception being the IRQ error seems to have disappeared.

This .dts file (derived from a .fex file via the native allwinner conversion script) does work with the 3.10 BSP, so, yes, the difference clearly lies somewhere between the Allwinner 3.10 and 4.4 BSP releases, perhaps specifically within that .fex to .dts conversion process. I'll investigate that.

Perhaps I will also try isolating this "sysfs: cannot create duplicate filename '/bus/platform/devices/timer'" in the .dts.

Thanks again!

Full log here: [ 0.0]HELLO! BOOT0 is starting! [ 0.3]boot0 commit : 267600f3b448b722fb13c6de3199a2c040816b6d

[ 0.10]boot0 version : 4.0 [ 0.14]rsb_send_initseq: rsb clk 400Khz -> 3Mhz [ 0.20]PMU: AXP81X [ 0.23]set pll start [ 0.29]set pll end [ 0.31]DRAM driver version: V1.2 [ 0.35]the chip id is 0x000000ba [ 0.38]the chip id is 0x000000ba [ 0.42]the chip id is 0x000000ba [ 0.45]the chip id is 0x000000ba [ 0.49]the chip id is 0x000000ba [ 0.52]DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) [ 0.58]DRAM clk = 672 MHz [ 0.61]DRAM zq value: 003b3bbb [ 0.67]DRAM init OK [ 0.69]DRAM size = 1024 MB [ 0.72]DRAM init ok [ 0.75]dram size =1024 [ 0.79]card no is 2 [ 0.81]sdcard 2 line count 8 [ 0.84][mmc]: mmc driver ver 2016-03-15 16:30 [ 0.98][mmc]: Wrong media type 0x00000000 [ 0.102][mmc]: Try SD card 2 [ 0.106][mmc]: mmc 2 cmd 8 timeout, err 00000100 [ 0.111][mmc]: mmc 2 cmd 8 err 00000100 [ 0.115][mmc]: mmc 2 send if cond failed [ 0.119][mmc]: mmc 2 cmd 55 timeout, err 00000100 [ 0.124][mmc]: mmc 2 cmd 55 err 00000100 [ 0.128][mmc]: mmc 2 send app cmd failed [ 0.132][mmc]: Try MMC card 2 [ 0.169][mmc]: MMC 5.0 [ 0.172][mmc]: HSDDR52/DDR50 8 bit [ 0.175][mmc]: 50000000 Hz [ 0.178][mmc]: 7456 MB [ 0.181][mmc]: SD/MMC 2 init OK!!! [ 0.249]Succeed in loading uboot from sdmmc flash. [ 0.254]Entry_name = u-boot [ 0.263]Entry_name = monitor [ 0.267]Entry_name = scp [ 0.274]set arisc reset to de-assert state [ 0.278]Entry_name = logo [ 0.282]Entry_name = shutdowncharge [ 0.287]Entry_name = androidcharge [ 0.291]Ready to disable icache. [ 0.294]0xffffffff 0xffffffff [ 0.298]0xff1affff 0xffffffff [ 0.301]0xff10ffff 0xffffffff [ 0.304]0xffffffff 0xffffffff [ 0.308]0xffffffff 0xffffffff [ 0.311]0xffffff00 0x000000ff [ 0.322]cpu1 delay 20000 ▒▒▒▒ɽ▒▒▒▒5R▒NOTICE: BL3-1: v1.0(debug):4d7c48e NOTICE: BL3-1: Built : 17:07:29, May 9 2016 NOTICE: BL3-1 commit: 4d7c48ec3b1cfec7664dc9ffd3b6663074cec4b3

[SCP] :sunxi-arisc driver begin startup 2 [SCP] :hwspinlock:0x1c18000 [SCP] :msgbox:0x1c17000 [SCP] :message manager initialize start:0x48105000, size:0x1000 [SCP] :sunxi-arisc driver v1.10 is starting INFO: BL3-1: Initializing runtime services ERROR: Error initializing runtime service tspd_fast INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x4a000000 INFO: BL3-1: Next image spsr = 0x1d3

U-Boot 2014.07 (Dec 30 2016 - 13:33:36) Allwinner Technology

uboot commit : e515cf651f88f76438fb37968a365773676bfcfe

normal mode: with secure monitor rsb_send_initseq: rsb clk 400Khz -> 3Mhz [ 0.399]pmbus: ready [SCP] :wait arisc ready.... [SCP] :arisc version: [sun8iw5_v0.03.00-227-gcec3a2b] [SCP] :sunxi-arisc driver v1.10 startup ok pmu type = 0x11 [ 0.418]PMU: AXP81X [ 0.418]PMU: read AXP81X 84H=0xf2 [ 0.420]PMU: write AXP81X 84H=0xf6 [ 0.423]PMU: AXP81X found factory axp end run key detect no key found no uart input DRAM: 1 GiB fdt addr0: 0x76e794b8 fdt addr1: 0x76e8c198 Relocation Offset is: 35edf000 In: serial Out: serial Err: serial gic: sec monitor mode [cpu1]secondary entry [ 0.518]power on secondary cpu set power on vol to default [ 0.523]flash init start [cpu1]dcdc1_vol = 3100, onoff=1 workmode = 0,storage type = 2 [cpu1]dcdc6_vol = 1100, onoff=1 [ 0.534]MMC: 2 [cpu1]aldo1_vol = 2800, onoff=0 [mmc]: mmc driver ver 2016-03-31 15:50:00 [cpu1]aldo2_vol = 3000, onoff=1 [cpu1]aldo3_vol = 3000, onoff=1 [cpu1]dldo1_vol = 3300, onoff=0 [cpu1]dldo2_vol = 3300, onoff=0 [cpu1]dldo3_vol = 2800, onoff=0 [cpu1]dldo4_vol = 3300, onoff=1 [cpu1]eldo1_vol = 3300, onoff=1 [cpu1]eldo2_vol = 1800, onoff=0 [cpu1]eldo3_vol = 1800, onoff=0 [cpu1]fldo2_vol = 1100, onoff=1 [cpu1]gpio0_vol = 3300, onoff=0 [cpu1]gpio1_vol = 3000, onoff=0 [cpu1]find power_sply to end [cpu1]dcin exist [cpu1]no battery exist [cpu1]on cpu2 [cpu1]on end [cpu2]third entry [ m : 0et 9]c_ax_d y_uu1d rv_dsepautitt ning sdly SUNXI SD/MMC: 2 [mmc]: 50 MHz... [mmc]: sample: 54 - 185(ps) [mmc]: ds: 54 - 185(ps) [mmc]: 100 MHz... [mmc]: sample: 27 - 185(ps) [mmc]: ds: 27 - 185(ps) [mmc]: 200 MHz... [mmc]: sample: 14 - 178(ps) [mmc]: ds: 14 - 178(ps) [mmc]: media type 0x8000000 [mmc]: ****Try MMC card 2**** [mmc]: host caps: 0x6f [mmc]: MID 000011 PSN f34bab30 [mmc]: PNM 008G70 -- 0x30-30-38-47-37 [mmc]: PRV 0.0 [mmc]: MDT m-12 y-2015 [mmc]: MMC v5.0 [mmc]: speed mode : HSSDR52/SDR25 [mmc]: clock : 50000000 Hz [mmc]: bus_width : 8 bit [mmc]: user capacity : 7456 MB [mmc]: boot capacity : 4096 KB [mmc]: rpmb capacity : 4096 KB [mmc]: ****SD/MMC 2 init OK!!!**** [mmc]: ========best spd md: 2-HSDDR52/DDR50, freq: 2-50000000 [cpu1]init_clocks: finish init_clocks. [mmc]: already at HSSDR52_SDR25 mode [cpu1]fail to get clk for lcd1 [mmc]: erase_grp_size : 0x400WrBlk*0x200=0x80000 Byte [cpu1]fail to get clk for lcd1 [mmc]: secure_feature : 0x55 [cpu1]clk_set parent tcon1 fail [mmc]: secure_removal_type : 0x39 [cpu1]clk_set parent pll_mipi fail [mmc]: EOL Info(Rev blks): Normal [mmc]: Wear out(type A): 0%-10% life time used [mmc]: Wear out(type B): Not defined [ 0.751]sunxi flash init ok [ 0.755]flash init end try to burn key read item0 copy0 Item0 (Map) magic is bad the secure storage item0 copy0 is bad read item0 copy1 Item0 (Map) magic is bad [cpu2]bmp file buffer: 0x47400000, bmp_info.buffer: 46400000 the secure storage item0 copy0 == copy1, the data is good [cpu2]kill cpu 2 the secure storage map is empty no item name key_burned_flag in the map sunxi secure storage has no flag [ 0.790]usb burn from boot wait cpu1 down [cpu1]pwm_request:pwm number = 1 [cpu1]pwm_request: reg = 0x1f03800. pwm = 16. [cpu1]request pwm success, pwm = 16. [cpu1]enable power vcc-hdmi-33, ret=0 [cpu1]drv_disp_init finish [cpu1]boot_disp.output_disp=0 [cpu1]boot_disp.output_type=1 [cpu1]boot_disp.output_mode=4 [cpu1]fetch script data boot_disp.auto_hpd fail [cpu1]disp0 device type(1) enable [cpu1]enable power none, ret=0 [cpu1]disp 0, clk: pll(828000000),clk(828000000),dclk(138000000) dsi_rate(138000000) clk real:pll(827357142),clk(827357142),dclk(206839285) dsi_rate(148500000) [cpu1]enable power vcc-lcd-0, ret=0 [cpu1]enable power vcc-lcd, ret=0 [cpu1]FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error: [cpu1]disp_sys_pin_set_state, fdt_set_all_pin, ret=-1 [ 1.116]end [cpu1]fetch script data boot_disp.output_full fail [cpu1]screen_id =0, screen_width =1920, screen_height =1080 [cpu1]frame buffer address 46400036 [cpu1]boot logo display ok [cpu1]kill cpu 1 delay time 0 [ 1.501]usb prepare ok timer occur [ 2.301]overtime [ 2.334]do_burn_from_boot usb : no usb exist base bootcmd=run setargs_nand boot_normal bootcmd set setargs_mmc key 0 recovery key high 19, low 17 fastboot key high 6, low 4 no misc partition is found [ 2.367]to be run cmd=run setargs_mmc boot_normal [mmc]: hsddr 2-50000000 [mmc]: get max-frequency ok 100000000 Hz [mmc]: 1 1 0: 1 1 0 [mmc]: delete mmc-hs400-1_8v from dtb [mmc]: delete mmc-hs200-1_8v from dtb [mmc]: get max-frequency ok 50000000 Hz [ 2.458]update dtb dram start [ 2.475]update dtb dram end serial is: 3410503442181016084e no item name widevine in the map secure storage read fail [ 2.489]inter uboot shell Hit any key to stop autoboot: 0 read partition: boot or recovery [ 5.750]sunxi flash read :offset 4000000, 19382902 bytes OK Android's image name: sun50i_arm64 Kernel load addr 0x40080000 size 15359 KiB RAM disk load addr 0x42000000 size 2546 KiB lcd0.lcd_x=1920 lcd0.lcd_y=1080 [ 5.843]ready to boot ready to disbale cpu2 disbale cpu2 ready to disbale cpu1 disbale cpu1 smp=0x10e0000 cpu1 power=0xff cpu2 power=0xff prepare for kernel [mmc]: mmc exit start [mmc]: 50 MHz... [mmc]: sample: 28 - 357(ps) [mmc]: ds: 27 - 370(ps) [mmc]: 100 MHz... [mmc]: sample: 13 - 384(ps) [mmc]: ds: 13 - 384(ps) [mmc]: 200 MHz... [mmc]: sample: 9 - 277(ps) [mmc]: ds: 9 - 277(ps) [mmc]: mmc 2 exit ok [ 5.919] Starting kernel ...

INFO: BL3-1: Next image address = 0x40080000 INFO: BL3-1: Next image spsr = 0x3c5 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.89-m64 (alex@svn) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Sun Sep 2 10:40:17 -03 2018 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] cma: Reserved 256 MiB at 0x0000000070000000 [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] DMA zone: 4096 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 262144 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv0.2 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] PERCPU: Embedded 20 pages/cpu @ffffffc02ff42000 s43544 r8192 d30184 u81920 [ 0.000000] pcpu-alloc: s43544 r8192 d30184 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258048 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x01c28000 initcall_debug=0 console=tty1 console=ttyS0,115200 loglevel=8 audit=0 root=/dev/ mmcblk0p7 init=/init partitions=boot-resource@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:UDISK@mmcblk0p1 cma=256M androidboot.selinux=enf orcing androidboot.serialno=3410503442181016084e androidboot.hardware=sun50iw1p1 boot_type=2 androidboot.lcd_x=1920 androidboot.lcd_y=1080 [ 0.000000] audit: disabled (until reboot) [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] software IO TLB [mem 0x6ac00000-0x6ec00000] (64MB) mapped at [ffffffc02ac00000-ffffffc02ebfffff] [ 0.000000] Memory: 666648K/1048576K available (9022K kernel code, 1470K rwdata, 4356K rodata, 448K init, 729K bss, 119784K reserved, 262144K cma-r eserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB) [ 0.000000] .init : 0xffffff8008da0000 - 0xffffff8008e10000 ( 448 KB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008950000 ( 9024 KB) [ 0.000000] .rodata : 0xffffff8008950000 - 0xffffff8008da0000 ( 4416 KB) [ 0.000000] .data : 0xffffff8008e10000 - 0xffffff8008f7fb08 ( 1471 KB) [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum) [ 0.000000] 0xffffffbdc0000000 - 0xffffffbdc1000000 ( 16 MB actual) [ 0.000000] fixed : 0xffffffbffe7fd000 - 0xffffffbffec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty1] enabled [ 0.020000] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.022505] pid_max: default: 32768 minimum: 301 [ 0.027205] Security Framework initialized [ 0.030053] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.036676] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.040604] Initializing cgroup subsys io [ 0.043994] Initializing cgroup subsys memory [ 0.048337] Initializing cgroup subsys devices [ 0.050015] Initializing cgroup subsys freezer [ 0.054422] Initializing cgroup subsys net_cls [ 0.058841] Initializing cgroup subsys perf_event [ 0.060011] Initializing cgroup subsys net_prio [ 0.064514] Initializing cgroup subsys pids [ 0.068669] Initializing cgroup subsys debug [ 0.070353] sched-energy: CPU device node has no sched-energy-costs [ 0.076243] Invalid sched_group_energy for CPU0 [ 0.080012] CPU0: update cpu_capacity 1024 [ 0.084108] ASID allocator initialised with 65536 entries [ 0.020000] Detected VIPT I-cache on CPU1 [ 0.020000] Invalid sched_group_energy for CPU1 [ 0.020000] CPU1: update cpu_capacity 1024 [ 0.020000] CPU1: Booted secondary processor [410fd034] [ 0.020000] Detected VIPT I-cache on CPU2 [ 0.020000] Invalid sched_group_energy for CPU2 [ 0.020000] CPU2: update cpu_capacity 1024 [ 0.020000] CPU2: Booted secondary processor [410fd034] [ 0.020000] Detected VIPT I-cache on CPU3 [ 0.020000] Invalid sched_group_energy for CPU3 [ 0.020000] CPU3: update cpu_capacity 1024 [ 0.020000] CPU3: Booted secondary processor [410fd034] [ 0.230054] Brought up 4 CPUs [ 0.270007] SMP: Total of 4 processors activated. [ 0.274687] CPU: All CPU(s) started at EL1 [ 0.278777] alternatives: patching kernel code [ 0.280089] Invalid sched_group_energy for CPU3 [ 0.284418] Invalid sched_group_energy for CPU2 [ 0.288923] Invalid sched_group_energy for CPU1 [ 0.290009] Invalid sched_group_energy for CPU0 [ 0.294713] devtmpfs: initialized [ 0.332725] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.335172] futex hash table entries: 1024 (order: 5, 131072 bytes) [ 0.348842] xor: measuring software checksum speed [ 0.440011] 8regs : 1996.000 MB/sec [ 0.540008] 8regs_prefetch: 1789.600 MB/sec [ 0.640008] 32regs : 2702.400 MB/sec [ 0.740008] 32regs_prefetch: 2265.600 MB/sec [ 0.740050] xor: using function: 32regs (2702.400 MB/sec) [ 0.744404] atomic64_test: passed [ 0.747672] pinctrl core: initialized pinctrl subsystem [ 0.752037] NET: Registered protocol family 16 [ 0.756032] dump_class_init,858, success [ 0.780029] cpuidle: using governor ladder [ 0.810019] cpuidle: using governor menu [ 0.810534] vdso: 2 pages (1 code @ ffffff8008956000, 1 data @ ffffff8008e14000) [ 0.815732] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.821230] DMA: preallocated 256 KiB pool for atomic allocations [ 0.826325] Serial: AMBA PL011 UART driver [ 0.832417] [sun50iw1p1_pinctrl_probe][841] [ 0.838042] sunxi hwspinlock vbase:0xffffff800804e000 [ 0.855854] sysfs: cannot create duplicate filename '/bus/platform/devices/timer' [ 0.857765] ------------[ cut here ]------------ [ 0.860000] WARNING: at fs/sysfs/dir.c:31 [ 0.860000] Modules linked in: [ 0.860000] [ 0.860000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.89-m64 #1 [ 0.860000] Hardware name: sun50iw1 (DT) [ 0.860000] task: ffffffc02a870000 ti: ffffffc02a878000 task.ti: ffffffc02a878000 [ 0.860000] PC is at sysfs_warn_dup+0x58/0x7c [ 0.860000] LR is at sysfs_warn_dup+0x58/0x7c [ 0.860000] pc : [] lr : [] pstate: 40000045 [ 0.860000] sp : ffffffc02a87bb30 [ 0.860000] x29: ffffffc02a87bb30 x28: ffffff8008de3230 [ 0.860000] x27: 0000000000000000 x26: 0000000000000000 [ 0.860000] x25: ffffff8008f1e798 x24: ffffff8009001000 [ 0.860000] x23: 0000000000000001 x22: ffffffffffffffef [ 0.860000] x21: ffffffc02a820e10 x20: ffffffc02a08c380 [ 0.860000] x19: ffffffc02a817000 x18: 0000000000000000 [ 0.860000] x17: 00000000b42fd601 x16: 000000000000000e [ 0.860000] x15: ffffff8008e15b10 x14: 000000000000000a [ 0.860000] x13: ffffff8088f860e7 x12: 0000000000000030 [ 0.860000] x11: 0000000000000006 x10: ffffff8008f860ef [ 0.860000] x9 : 0000000005f5e0ff x8 : 63697665642f6d72 [ 0.860000] x7 : 6f6674616c702f73 x6 : 0000000000000062 [ 0.860000] x5 : 0000000000000000 x4 : 0000000000000062 [ 0.860000] x3 : 00000000ffffffff x2 : ffffffc02a878000 [ 0.860000] x1 : 0000000000000000 x0 : 0000000000000045 [ 0.860000] [ 0.860000] SP: 0xffffffc02a87bab0: [ 0.860000] bab0 ffffffef ffffffff 00000001 00000000 09001000 ffffff80 08f1e798 ffffff80 [ 0.860000] bad0 00000000 00000000 00000000 00000000 08de3230 ffffff80 2a87bb30 ffffffc0 [ 0.860000] baf0 081eeae4 ffffff80 2a87bb30 ffffffc0 081eeae4 ffffff80 40000045 00000000 [ 0.860000] bb10 ffffffff 726600ff 80000000 00000000 ffffffff ffffffff ff727461 64776864 [ 0.860000] bb30 2a87bb60 ffffffc0 081eee8c ffffff80 2a820e10 ffffffc0 2a08c380 ffffffc0 [ 0.860000] bb50 2a08dd20 ffffffc0 081eee48 ffffff80 2a87bba0 ffffffc0 081eeed0 ffffff80 [ 0.860000] bb70 2a151810 ffffffc0 2a151820 ffffffc0 00000000 00000000 08f1ea58 ffffff80 [ 0.860000] bb90 08e15000 ffffff80 0852f3f4 ffffff80 2a87bbb0 ffffffc0 0852f4c0 ffffff80 [ 0.860000] [ 0.860000] X2: 0xffffffc02a877f80: [ 0.860000] 7f80 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] 7fa0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] 7fc0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] 7fe0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] 8000 00000000 00000000 ffffffff ffffffff 2a870000 ffffffc0 00000000 00000000 [ 0.860000] 8020 57ac6e9d 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] 8040 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] 8060 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] [ 0.860000] X19: 0xffffffc02a816f80: [ 0.860000] 6f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 6fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 6fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 6fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 7000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 7020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 7040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 7060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] [ 0.860000] X20: 0xffffffc02a08c300: [ 0.860000] c300 70696863 ff006469 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] c320 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] c340 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] c360 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 0.860000] c380 656d6974 ffff0072 616c702f 726f6674 68632f6d 64697069 00000000 00000000 [ 0.860000] c3a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] c3c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] c3e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] [ 0.860000] X21: 0xffffffc02a820d90: [ 0.860000] 0d90 00000000 00000000 00000001 00000000 2a820d20 ffffffc0 08ce3bb3 ffffff80 [ 0.860000] 0db0 2a820f18 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.860000] 0dd0 57c6bb9d 00000000 08970fb0 ffffff80 00000000 00000000 00001000 00000000 [ 0.860000] 0df0 00000000 00000000 08f1e5d0 ffffff80 80800052 0000001a 00000000 00000000 [ 0.860000] 0e10 0000004f 00000000 2a820d20 ffffffc0 08c6db0b ffffff80 2a820ea1 ffffffc0 [ 0.860000] 0e30 00000000 00000000 00000000 00000000 00000000 00000000 087bed70 00000000 [ 0.860000] 0e50 00000000 00000000 2aafb798 ffffffc0 2a80d980 ffffffc0 00000000 00000000 [ 0.860000] 0e70 2a82ab98 ffffffc0 41ed0011 0000001b 00000000 00000000 0000000c 00000000 [ 0.860000] [ 0.860000] X29: 0xffffffc02a87bab0: [ 0.860000] bab0 ffffffef ffffffff 00000001 00000000 09001000 ffffff80 08f1e798 ffffff80 [ 0.860000] bad0 00000000 00000000 00000000 00000000 08de3230 ffffff80 2a87bb30 ffffffc0 [ 0.860000] baf0 081eeae4 ffffff80 2a87bb30 ffffffc0 081eeae4 ffffff80 40000045 00000000 [ 0.860000] bb10 ffffffff 726600ff 80000000 00000000 ffffffff ffffffff ff727461 64776864 [ 0.860000] bb30 2a87bb60 ffffffc0 081eee8c ffffff80 2a820e10 ffffffc0 2a08c380 ffffffc0 [ 0.860000] bb50 2a08dd20 ffffffc0 081eee48 ffffff80 2a87bba0 ffffffc0 081eeed0 ffffff80 [ 0.860000] bb70 2a151810 ffffffc0 2a151820 ffffffc0 00000000 00000000 08f1ea58 ffffff80 [ 0.860000] bb90 08e15000 ffffff80 0852f3f4 ffffff80 2a87bbb0 ffffffc0 0852f4c0 ffffff80 [ 0.860000] [ 0.860000] ---[ end trace 503c311069ddee7b ]--- [ 0.860000] Call trace: [ 0.860000] Exception stack(0xffffffc02a87b960 to 0xffffffc02a87ba90) [ 0.860000] b960: ffffffc02a817000 0000008000000000 ffffffc02a87bb30 ffffff80081eeae4 [ 0.860000] b980: 0000000000000045 0000000000000000 ffffff8008f8693e 0000000000000006 [ 0.860000] b9a0: ffffffc02a87b9b0 ffffff80080d8b4c ffffffc02a87ba50 ffffff80080d8ba0 [ 0.860000] b9c0: ffffff80080d8ba8 ffffff8008c7b79a ffffffc02a820e10 ffffffffffffffef [ 0.860000] b9e0: 0000000000000001 ffffff8009001000 ffffff8008f1e798 0000000000000000 [ 0.860000] ba00: 0000000000000045 0000000000000000 ffffffc02a878000 00000000ffffffff [ 0.860000] ba20: 0000000000000062 0000000000000000 0000000000000062 6f6674616c702f73 [ 0.860000] ba40: 63697665642f6d72 0000000005f5e0ff ffffff8008f860ef 0000000000000006 [ 0.860000] ba60: 0000000000000030 ffffff8088f860e7 000000000000000a ffffff8008e15b10 [ 0.860000] ba80: 000000000000000e 00000000b42fd601 [ 0.860000] [] sysfs_warn_dup+0x58/0x7c [ 0.860000] [] sysfs_do_create_link_sd.isra.0+0x9c/0xbc [ 0.860000] [] sysfs_create_link+0x24/0x3c [ 0.860000] [] bus_add_device+0xec/0x174 [ 0.860000] [] device_add+0x354/0x50c [ 0.860000] [] of_device_add+0x3c/0x44 [ 0.860000] [] of_platform_device_create_pdata+0xac/0xc8 [ 0.860000] [] of_platform_bus_create+0x254/0x2cc [ 0.860000] [] of_platform_populate+0x98/0xb0 [ 0.860000] [] arm64_device_init+0x2c/0x48 [ 0.860000] [] do_one_initcall+0x18c/0x1a8 [ 0.860000] [] kernel_init_freeable+0x23c/0x240 [ 0.860000] [] kernel_init+0x10/0xf8 [ 0.860000] [] ret_from_fork+0x10/0x40 [ 0.862077] [ARISC] :sunxi-arisc driver v1.10 [ 0.864461] [ARISC ERROR] :try to get pll_periph0 failed! [ 0.869706] Unable to handle kernel paging request at virtual address fffffffffffffdfb [ 0.870038] pgd = ffffff8009039000 [ 0.873353] [fffffffffffffdfb] pgd=0000000000000000, pud=0000000000000000 [ 0.880184] Internal error: Oops: 96000005 [#1] PREEMPT SMP [ 0.885734] Modules linked in: [ 0.888766] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.4.89-m64 #1 [ 0.890000] Hardware name: sun50iw1 (DT) [ 0.890000] task: ffffffc02a870000 ti: ffffffc02a878000 task.ti: ffffffc02a878000 [ 0.890000] PC is at clk_prepare+0x18/0x40 [ 0.890000] LR is at clk_prepare+0x18/0x40 [ 0.890000] pc : [] lr : [] pstate: 60000045 [ 0.890000] sp : ffffffc02a87bb80 [ 0.890000] x29: ffffffc02a87bb80 x28: ffffff8008de3238 [ 0.890000] x27: 0000000000000004 x26: ffffff8008ddb898 [ 0.890000] x25: ffffff8008f83000 x24: 0000000000000000 [ 0.890000] x23: fffffffffffffdfb x22: ffffffc02aaecc00 [ 0.890000] x21: ffffff8008ffd000 x20: ffffff8008ffd188 [ 0.890000] x19: fffffffffffffdfb x18: 0000000000000000 [ 0.890000] x17: 00000000b42fd601 x16: 000000000000000e [ 0.890000] x15: ffffff8008e15b10 x14: 000000000000000a [ 0.890000] x13: ffffff8088f860e7 x12: 0000000000000030 [ 0.890000] x11: 0000000000000006 x10: ffffff8008f860ef [ 0.890000] x9 : 0000000005f5e0ff x8 : 65705f6c6c702074 [ 0.890000] x7 : 6567206f74207972 x6 : 00000000000000d0 [ 0.890000] x5 : 0000000000003ff0 x4 : 0000000000003fff [ 0.890000] x3 : ffffff8008f5730c x2 : 0000000000000000 [ 0.890000] x1 : 0000000000000000 x0 : 0000000000000001 [ 0.890000] [ 0.890000] SP: 0xffffffc02a87bb00: [ 0.890000] bb00 2aaecc00 ffffffc0 fffffdfb ffffffff 00000000 00000000 08f83000 ffffff80 [ 0.890000] bb20 08ddb898 ffffff80 00000004 00000000 08de3238 ffffff80 2a87bb80 ffffffc0 [ 0.890000] bb40 086ced44 ffffff80 2a87bb80 ffffffc0 086ced44 ffffff80 60000045 00000000 [ 0.890000] bb60 2a87bb80 ffffffc0 086ced44 ffffff80 ffffffff ffffffff 08ffd188 ffffff80 [ 0.890000] bb80 2a87bba0 ffffffc0 084ea3b0 ffffff80 08f17000 ffffff80 08ffd188 ffffff80 [ 0.890000] bba0 2a87bc30 ffffffc0 08531964 ffffff80 ffffffed 00000000 2aaecc10 ffffffc0 [ 0.890000] bbc0 08f17100 ffffff80 08f1e000 ffffff80 08f17100 ffffff80 00000000 00000000 [ 0.890000] bbe0 2a87bc00 ffffffc0 080bb4d4 ffffff80 2a878000 ffffffc0 0852d074 ffffff80 [ 0.890000] [ 0.890000] X19: 0xfffffffffffffd7b: [ 0.890000] fd78 **** **** **** **** **** **** **** **** [ 0.890000] fd98 **** **** **** **** **** **** **** **** [ 0.890000] fdb8 **** **** **** **** **** **** **** **** [ 0.890000] fdd8 **** **** **** **** **** **** **** **** [ 0.890000] fdf8 **** **** **** **** **** **** **** **** [ 0.890000] fe18 **** **** **** **** **** **** **** **** [ 0.890000] fe38 **** **** **** **** **** **** **** **** [ 0.890000] fe58 **** **** **** **** **** **** **** **** [ 0.890000] fe78 **** **** **** **** **** **** **** **** [ 0.890000] [ 0.890000] X22: 0xffffffc02aaecb80: [ 0.890000] cb80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.890000] cba0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.890000] cbc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.890000] cbe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.890000] cc00 2ab69280 ffffffc0 ffffffff 00000000 2ab96c10 ffffffc0 2aac6500 ffffffc0 [ 0.890000] cc20 2ab69280 ffffffc0 2a82a480 ffffffc0 2a153028 ffffffc0 2ab96c20 ffffffc0 [ 0.890000] cc40 2a82a480 ffffffc0 08f1e4c8 ffffff80 2ab6a438 ffffffc0 00000003 00000007 [ 0.890000] cc60 00000000 00000000 00000000 00000000 00000000 00030003 2aaecc78 ffffffc0 [ 0.890000] [ 0.890000] X23: 0xfffffffffffffd7b: [ 0.890000] fd78 **** **** **** **** **** **** **** **** [ 0.890000] fd98 **** **** **** **** **** **** **** **** [ 0.890000] fdb8 **** **** **** **** **** **** **** **** [ 0.890000] fdd8 **** **** **** **** **** **** **** **** [ 0.890000] fdf8 **** **** **** **** **** **** **** **** [ 0.890000] fe18 **** **** **** **** **** **** **** **** [ 0.890000] fe38 **** **** **** **** **** **** **** **** [ 0.890000] fe58 **** **** **** **** **** **** **** **** [ 0.890000] fe78 **** **** **** **** **** **** **** **** [ 0.890000] [ 0.890000] X29: 0xffffffc02a87bb00: [ 0.890000] bb00 2aaecc00 ffffffc0 fffffdfb ffffffff 00000000 00000000 08f83000 ffffff80 [ 0.890000] bb20 08ddb898 ffffff80 00000004 00000000 08de3238 ffffff80 2a87bb80 ffffffc0 [ 0.890000] bb40 086ced44 ffffff80 2a87bb80 ffffffc0 086ced44 ffffff80 60000045 00000000 [ 0.890000] bb60 2a87bb80 ffffffc0 086ced44 ffffff80 ffffffff ffffffff 08ffd188 ffffff80 [ 0.890000] bb80 2a87bba0 ffffffc0 084ea3b0 ffffff80 08f17000 ffffff80 08ffd188 ffffff80 [ 0.890000] bba0 2a87bc30 ffffffc0 08531964 ffffff80 ffffffed 00000000 2aaecc10 ffffffc0 [ 0.890000] bbc0 08f17100 ffffff80 08f1e000 ffffff80 08f17100 ffffff80 00000000 00000000 [ 0.890000] bbe0 2a87bc00 ffffffc0 080bb4d4 ffffff80 2a878000 ffffffc0 0852d074 ffffff80 [ 0.890000] [ 0.890000] Process swapper/0 (pid: 1, stack limit = 0xffffffc02a878020) [ 0.890000] Stack: (0xffffffc02a87bb80 to 0xffffffc02a87c000) [ 0.890000] bb80: ffffffc02a87bba0 ffffff80084ea3b0 ffffff8008f17000 ffffff8008ffd188 [ 0.890000] bba0: ffffffc02a87bc30 ffffff8008531964 00000000ffffffed ffffffc02aaecc10 [ 0.890000] bbc0: ffffff8008f17100 ffffff8008f1e000 ffffff8008f17100 0000000000000000 [ 0.890000] bbe0: ffffffc02a87bc00 ffffff80080bb4d4 ffffffc02a878000 ffffff800852d074 [ 0.890000] bc00: ffffffc02a87bc20 ffffff8008948320 ffffffc02a82a490 ffffff8009001000 [ 0.890000] bc20: ffffffc02a87bc30 ffffff800894860c ffffffc02a87bc60 ffffff80085300d4 [ 0.890000] bc40: ffffffc02aaecc10 0000000000000000 ffffff8009001000 0000000000000000 [ 0.890000] bc60: ffffffc02a87bca0 ffffff8008530204 ffffffc02aaecc10 ffffffc02aaecc70 [ 0.890000] bc80: ffffff8008f17100 ffffff8008f1ea58 0000000000000000 0000000000000000 [ 0.890000] bca0: ffffffc02a87bcd0 ffffff800852e704 0000000000000000 ffffff8008f17100 [ 0.890000] bcc0: ffffff80085301b8 ffffff800852e6d0 ffffffc02a87bd10 ffffff800852fbd8 [ 0.890000] bce0: ffffff8008f17100 ffffffc02a08e900 ffffff8008f1e000 ffffff8008942a08 [ 0.890000] bd00: ffffffc02a9406a8 ffffffc02aac6568 ffffffc02a87bd20 ffffff800852f860 [ 0.890000] bd20: ffffffc02a87bd60 ffffff8008530ac8 ffffff8008f17100 ffffff8008f170d8 [ 0.890000] bd40: ffffffc02a08c680 ffffff8008e1e3a0 ffffff8008dbce4c ffffff8008cb9919 [ 0.890000] bd60: ffffffc02a87bd80 ffffff8008531880 ffffff8008f17000 ffffff8008f170d8 [ 0.890000] bd80: ffffffc02a87bd90 ffffff8008dbce98 ffffffc02a87bdb0 ffffff8008082b2c [ 0.890000] bda0: ffffff8008e15000 ffffff8008e1e3a0 ffffffc02a87be40 ffffff8008da0e08 [ 0.890000] bdc0: 000000000000015d ffffff8008f83000 ffffff80 0.890000] Call trace: [ 0.890000] Exception stack(0xffffffc02a87b9b0 to 0xffffffc02a87bae0) [ 0.890000] b9a0: 00000000002d 0000000000000000 [ 0.890000] ba00: ffffff8008f8693e 0000000000000006 ffffffc02a87ba50 ffffff800847204c [ 0.890000] ba20: ffffffc02a87baf8 ffffff8008de5000 ffffffc02a87baf8 ffffffc02a87bb30 [ 0.890000] ba40: ffffff8008e16000 ffffffc02aaecc00 0000000000000001 0000000000000000 [ 0.890000] ba60: 0000000000000000 ffffff8008f5730c 0000000000003fff 0000000000003ff0 [ 0.890000] ba80: 00000000000000d0 6567206f74207972 65705f6c6c702074 0000000005f5e0ff [ 0.890000] baa0: ffffff8008f860ef 0000000000000006 0000000000000030 ffffff8088f860e7 [ 0.890000] bac0: 000000000000000a ffffff8008e15b10 000000000000000e 00000000b42fd601 [ 0.890000] [] clk_prepare+0x18/0x40 [ 0.890000] [] sunxi_arisc_probe+0x9e4/0xa94 [ 0.890000] [] platform_drv_probe+0x54/0xa8 [ 0.890000] [] driver_probe_device+0x190/0x274 [ 0.890000] [] driver_attach+0x4c/0x90 [ 0.890000] [] bus_for_each_dev+0x80/0x90 [ 0.890000] [] driver_attach+0x20/0x28 [ 0.890000] [] bus_add_driver+0x194/0x1d8 [ 0.890000] [] driver_register+0x98/0xd0 [ 0.890000] [] platform_driver_register+0x48/0x50 [ 0.890000] [] arisc_init+0x4c/0x94 [ 0.890000] [] do_one_initcall+0x18c/0x1a8 [ 0.890000] [] kernel_init_freeable+0x23c/0x240 [ 0.890000] [] kernel_init+0x10/0xf8 [ 0.890000] [] ret_from_fork+0x10/0x40 [ 0.890000] Code: f9000bf3 b4000160 aa0003f3 97fffb1d (f9400260) [ 0.890009] ---[ end trace 503c311069ddee7c ]--- [ 0.894601] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.894601] [ 0.890002] CPU1: stopping [ 0.892657] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D W 4.4.89-m64 #1 [ 0.900000] Hardware name: sun50iw1 (DT) [ 0.900000] Call trace: [ 0.900000] [] dump_backtrace+0x0/0x19c [ 0.900000] [] show_stack+0x14/0x1c [ 0.900000] [] dump_stack+0x88/0xb0 [ 0.900000] [] handle_IPI+0x12c/0x1d8 [ 0.900000] [] gic_handle_irq+0x88/0xa0 [ 0.900000] Exception stack(0xffffffc02a8d3e30 to 0xffffffc02a8d3f60) [ 0.900000] 3e20: 0000000000000001 ffffff8008c71b1a [ 0.900000] 3e40: 0000000000000001 ffffff8008e18764 ffffffc02ff60010 00ffffffffffffff [ 0.900000] 3e60: 0000000000000004 ffffffc02a8b7d28 ffffffc02a8c9580 ffffffc02a8d0000 [ 0.900000] 3e80: 00000000000008a0 0000000000000013 000000000000000e 0000000000000007 [ 0.900000] 3ea0: 0000000000000001 0000000000000007 000000000000000e 00000000086d9ceb [ 0.900000] 3ec0: 0000000000000068 0000000000000000 0000000000000000 ffffff8008e15000 [ 0.900000] 3ee0: ffffff8008957000 ffffff8008e15be8 0000000000000000 0000000041036000 [ 0.900000] 3f00: 0000000041039000 0000000040949074 0000000000000000 ffffffc02a8d3f60 [ 0.900000] 3f20: ffffff800808494c ffffffc02a8d3f60 ffffff8008084950 0000000040000045 [ 0.900000] 3f40: ffffff8008e15be8 00000000000000c0 ffffffffffffffff ffffff8008084948 [ 0.900000] [] el1_irq+0xb4/0x128 [ 0.900000] [] arch_cpu_idle+0x14/0x20 [ 0.900000] [] default_idle_call+0x28/0x2c [ 0.900000] [] cpu_startup_entry+0x174/0x20c [ 0.900000] [] secondary_start_kernel+0x194/0x1b4 [ 0.900000] [<00000000400828e8>] 0x400828e8 [ 0.900000] CPU3: stopping [ 0.900000] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D W 4.4.89-m64 #1 [ 0.900000] Hardware name: sun50iw1 (DT) [ 0.900000] Call trace: [ 0.900000] [] dump_backtrace+0x0/0x19c [ 0.900000] [] show_stack+0x14/0x1c [ 0.900000] [] dump_stack+0x88/0xb0 [ 0.900000] [] handle_IPI+0x12c/0x1d8 [ 0.900000] [] gic_handle_irq+0x88/0xa0 [ 0.900000] Exception stack(0xffffffc02a8dbe30 to 0xffffffc02a8dbf60) [ 0.900000] be20: 0000000000000003 ffffff8008c71b1a [ 0.900000] be40: 0000000000000001 ffffff8008e18764 ffffffc02ff88010 00ffffffffffffff [ 0.900000] be60: 0000000000000004 000000004db26158 ffffffc02a8cae80 ffffffc02a8d8000 [ 0.900000] be80: 00000000000008a0 0000000000000013 000000000000000e 0000000000000007 [ 0.900000] bea0: 0000000000000001 0000000000000007 000000000000000e 00000000572ded13 [ 0.900000] bec0: 0000000000000028 0000000000000000 0000000000000000 ffffff8008e15000 [ 0.900000] bee0: ffffff8008957000 ffffff8008e15be8 0000000000000000 0000000041036000 [ 0.900000] bf00: 0000000041039000 0000000040949074 0000000000000000 ffffffc02a8dbf60 [ 0.900000] bf20: ffffff800808494c ffffffc02a8dbf60 ffffff8008084950 0000000040000045 [ 0.900000] bf40: ffffff8008e15be8 00000000000000c0 ffffffffffffffff ffffff8008084948 [ 0.900000] [] el1_irq+0xb4/0x128 [ 0.900000] [] arch_cpu_idle+0x14/0x20 [ 0.900000] [] default_idle_call+0x28/0x2c [ 0.900000] [] cpu_startup_entry+0x174/0x20c [ 0.900000] [] secondary_start_kernel+0x194/0x1b4 [ 0.900000] [<00000000400828e8>] 0x400828e8 [ 0.900000] CPU2: stopping [ 0.900000] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D W 4.4.89-m64 #1 [ 0.900000] Hardware name: sun50iw1 (DT) [ 0.900000] Call trace: [ 0.900000] [] dump_backtrace+0x0/0x19c [ 0.900000] [] show_stack+0x14/0x1c [ 0.900000] [] dump_stack+0x88/0xb0 [ 0.900000] [] handle_IPI+0x12c/0x1d8 [ 0.900000] [] gic_handle_irq+0x88/0xa0 [ 0.900000] Exception stack(0xffffffc02a8d7e30 to 0xffffffc02a8d7f60) [ 0.900000] 7e20: 0000000000000002 ffffff8008c71b1a [ 0.900000] 7e40: 0000000000000001 ffffff8008e18764 ffffffc02ff74010 00ffffffffffffff [ 0.900000] 7e60: 0000000000000004 0000000076dc4190 ffffffc02a8ca200 ffffffc02a8d4000 [ 0.900000] 7e80: 00000000000008a0 0000000000000013 000000000000000e 0000000000000007 [ 0.900000] 7ea0: 0000000000000001 0000000000000007 000000000000000e 00000000bc22839e [ 0.900000] 7ec0: 0000000000000038 0000000000000000 0000000000000000 ffffff8008e15000 [ 0.900000] 7ee0: ffffff8008957000 ffffff8008e15be8 0000000000000000 0000000041036000 [ 0.900000] 7f00: 0000000041039000 0000000040949074 0000000000000000 ffffffc02a8d7f60 [ 0.900000] 7f20: ffffff800808494c ffffffc02a8d7f60 ffffff8008084950 0000000040000045 [ 0.900000] 7f40: ffffff8008e15be8 00000000000000c0 ffffffffffffffff ffffff8008084948 [ 0.900000] [] el1_irq+0xb4/0x128 [ 0.900000] [] arch_cpu_idle+0x14/0x20 [ 0.900000] [] default_idle_call+0x28/0x2c [ 0.900000] [] cpu_startup_entry+0x174/0x20c [ 0.900000] [] secondary_start_kernel+0x194/0x1b4 [ 0.900000] [<00000000400828e8>] 0x400828e8 [ 0.900000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.900000] [ 24.140000] Watchdog detected hard LOCKUP on cpu 1 [ 24.140000] ------------[ cut here ]------------ [ 24.140000] WARNING: at kernel/watchdog.c:352 [ 24.140000] Modules linked in: [ 24.140000] [ 24.140000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G D W 4.4.89-m64 #1 [ 24.140000] Hardware name: sun50iw1 (DT) [ 24.140000] task: ffffffc02a870000 ti: ffffffc02a878000 task.ti: ffffffc02a878000 [ 24.140000] PC is at watchdog_timer_fn+0x1e0/0x388 [ 24.140000] LR is at watchdog_timer_fn+0x1e0/0x388 [ 24.140000] pc : [] lr : [] pstate: 600001c5 [ 24.140000] sp : ffffffc02ff45df0 [ 24.140000] x29: ffffffc02ff45df0 x28: ffffff8008deb1a0 [ 24.140000] x27: ffffff8008e16d08 x26: ffffff8008cc8000 [ 24.140000] x25: ffffffc02ff481b8 x24: ffffffc02a87b670 [ 24.140000] x23: 0000000000000000 x22: 0000000000000000 [ 24.140000] x21: ffffff8008e16000 x20: ffffff8008deb218 [ 24.140000] x19: ffffff8008deb000 x18: 0000000000000000 [ 24.140000] x17: 00000000b42fd601 x16: 000000000000000e [ 24.140000] x15: ffffff8008e15b10 x14: 000000000000000a [ 24.140000] x13: ffffff8088f860e7 x12: 0000000000000030 [ 24.140000] x11: 0000000000000006 x10: ffffff8008f860ef [ 24.140000] x9 : 0000000005f5e0ff x8 : 4c20647261682064 [ 24.140000] x7 : 6574636574656420 x6 : 00000000000001ae [ 24.140000] x5 : 0000000000000000 x4 : 00000000000001ae [ 24.140000] x3 : 00000000ffffffff x2 : ffffffc02a878000 [ 24.140000] x1 : 0000000000010001 x0 : 0000000000000026 [ 24.140000] [ 24.140000] SP: 0xffffffc02ff45d70: [ 24.140000] 5d70 00000000 00000000 00000000 00000000 2a87b670 ffffffc0 2ff481b8 ffffffc0 [ 24.140000] 5d90 08cc8000 ffffff80 08e16d08 ffffff80 08deb1a0 ffffff80 2ff45df0 ffffffc0 [ 24.140000] 5db0 0811bfa0 ffffff80 2ff45df0 ffffffc0 0811bfa0 ffffff80 600001c5 00000000 [ 24.140000] 5dd0 08e16ee0 ffffff80 00000001 00000000 00000000 00000080 00000000 00989680 [ 24.140000] 5df0 2ff45e60 ffffffc0 080e93a0 ffffff80 2ff47c00 ffffffc0 2ff481b8 ffffffc0 [ 24.140000] 5e10 2ff47c40 ffffffc0 00000001 00000000 08f7e22f ffffff80 08e15c60 ffffff80 [ 24.140000] 5e30 9edb2b00 00000005 9edb2b00 00000005 00000001 00000000 0811bdc0 ffffff80 [ 24.140000] 5e50 00000001 00000000 08e16ee0 ffffff80 2ff45ec0 ffffffc0 080e9c24 ffffff80 [ 24.140000] [ 24.140000] X2: 0xffffffc02a877f80: [ 24.140000] 7f80 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 24.140000] 7fa0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 24.140000] 7fc0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 24.140000] 7fe0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 24.140000] 8000 00000002 00000000 ffffffff ffffffff 2a870000 ffffffc0 00010001 00000000 [ 24.140000] 8020 57ac6e9d 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 24.140000] 8040 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 24.140000] 8060 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff [ 24.140000] [ 24.140000] X24: 0xffffffc02a87b5f0: [ 24.140000] b5f0 00000000 00000000 00000000 00000000 00000051 00000000 00000000 00000000 [ 24.140000] b610 08f8693e ffffff80 00000006 00000000 2a87b630 ffffffc0 080d8b4c ffffff80 [ 24.140000] b630 2a87b6d0 ffffffc0 080d8ba0 ffffff80 080d8ba8 ffffff80 08c69e83 ffffff80 [ 24.140000] b650 08c6a179 ffffff80 00000000 00000000 08f84050 ffffff80 00000000 00000000 [ 24.140000] b670 00005dc0 00000000 3017bd7f 00000000 30175fe6 00000000 ffffffff 00000000 [ 24.140000] b690 000001ae 00000000 00000000 00000000 000001ae 00000000 ffffffff 00000000 [ 24.140000] b6b0 202d2063 20746f6e 05f5e0ff 00000000 08f8614f ffffff80 00000006 00000000 [ 24.140000] b6d0 00000030 00000000 88f86147 ffffff80 0000000a 00000000 08e15b10 ffffff80 [ 24.140000] [ 24.140000] X25: 0xffffffc02ff48138: [ 24.140000] 8138 00000000 00000000 2a877080 ffffffc0 00060006 00000001 2ff48150 ffffffc0 [ 24.140000] 8158 2ff48150 ffffffc0 2ff48160 ffffffc0 2ff48160 ffffffc0 08110824 ffffff80 [ 24.140000] 8178 2a87bda8 ffffffc0 2a87bd10 ffffffc0 00010001 00000000 00000000 00000000 [ 24.140000] 8198 00000001 00000000 00000006 00000000 00000000 00000000 2a8c8000 ffffffc0 [ 24.140000] 81b8 2ff481b8 ffffffc0 00000000 00000000 00000000 00000000 9edb2b00 00000005 [ 24.140000] 81d8 9edb2b00 00000005 0811bdc0 ffffff80 2ff47c40 ffffffc0 00000000 0000000b [ 24.140000] 81f8 0811bd90 ffffff80 63746177 676f6468 0000302f 00000000 00000000 00000000 [ 24.140000] 8218 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.140000] [ 24.140000] X29: 0xffffffc02ff45d70: [ 24.140000] 5d70 00000000 00000000 00000000 00000000 2a87b670 ffffffc0 2ff481b8 ffffffc0 [ 24.140000] 5d90 08cc8000 ffffff80 08e16d08 ffffff80 08deb1a0 ffffff80 2ff45df0 ffffffc0 [ 24.140000] 5db0 0811bfa0 ffffff80 2ff45df0 ffffffc0 0811bfa0 ffffff80 600001c5 00000000 [ 24.140000] 5dd0 08e16ee0 ffffff80 00000001 00000000 00000000 00000080 00000000 00989680 [ 24.140000] 5df0 2ff45e60 ffffffc0 080e93a0 ffffff80 2ff47c00 ffffffc0 2ff481b8 ffffffc0 [ 24.140000] 5e10 2ff47c40 ffffffc0 00000001 00000000 08f7e22f ffffff80 08e15c60 ffffff80 [ 24.140000] 5e30 9edb2b00 00000005 9edb2b00 00000005 00000001 00000000 0811bdc0 ffffff80 [ 24.140000] 5e50 00000001 00000000 08e16ee0 ffffff80 2ff45ec0 ffffffc0 080e9c24 ffffff80 [ 24.140000] [ 24.140000] ---[ end trace 503c311069ddee7d ]--- [ 24.140000] Call trace: [ 24.140000] Exception stack(0xffffffc02ff45c20 to 0xffffffc02ff45d50) [ 24.140000] 5c20: ffffff8008deb000 0000008000000000 ffffffc02ff45df0 ffffff800811bfa0 [ 24.140000] 5c40: 0000000000000026 0000000000000000 ffffff8008f8693c 0000000000000000 [ 24.140000] 5c60: ffffffc02ff45c70 ffffff80080d8b4c ffffffc02ff45d10 ffffff80080d8ba0 [ 24.140000] 5c80: ffffff80080d8ba8 ffffff8008c71df1 ffffff8008e16000 0000000000000000 [ 24.140000] 5ca0: 0000000000000000 ffffffc02a87b670 ffffffc02ff481b8 ffffff8008cc8000 [ 24.140000] 5cc0: 0000000000000026 0000000000010001 ffffffc02a878000 00000000ffffffff [ 24.140000] 5ce0: 00000000000001ae 0000000000000000 00000000000001ae 6574636574656420 [ 24.140000] 5d00: 4c20647261682064 0000000005f5e0ff ffffff8008f860ef 0000000000000006 [ 24.140000] 5d20: 0000000000000030 ffffff8088f860e7 000000000000000a ffffff8008e15b10 [ 24.140000] 5d40: 000000000000000e 00000000b42fd601 [ 24.140000] [] watchdog_timer_fn+0x1e0/0x388 [ 24.140000] [] hrtimer_run_queues+0xf8/0x15c [ 24.140000] [] hrtimer_run_queues+0xd0/0xdc [ 24.140000] [] run_local_timers+0xc/0x1c [ 24.140000] [] update_process_times+0x2c/0x60 [ 24.140000] [] tick_periodic+0xa8/0xbc [ 24.140000] [] tick_handle_periodic+0x24/0x8c [ 24.140000] [] arch_timer_handler_virt+0x28/0x3c [ 24.140000] [] handle_percpu_devid_irq+0x94/0xb8 [ 24.140000] [] generic_handle_irq+0x18/0x2c [ 24.140000] [] __handle_domain_irq+0xe8/0xec [ 24.140000] [] gic_handle_irq+0x64/0xa0 [ 24.140000] Exception stack(0xffffffc02a87b670 to 0xffffffc02a87b7a0) [ 24.140000] b660: 0000000000005dc0 000000003017bd7f [ 24.140000] b680: 0000000030175fe6 00000000ffffffff 00000000000001ae 0000000000000000 [ 24.140000] b6a0: 00000000000001ae 00000000ffffffff 20746f6e202d2063 0000000005f5e0ff [ 24.140000] b6c0: ffffff8008f8614f 0000000000000006 0000000000000030 ffffff8088f86147 [ 24.140000] b6e0: 000000000000000a ffffff8008e15b10 000000000000000e 00000000b42fd601 [ 24.140000] b700: 0000000000000000 ffffff8008f84050 0000000000000001 0000000000005aa0 [ 24.140000] b720: 0000000000005b68 000000000000003d 0000000000418958 ffffff8008e15000 [ 24.140000] b740: ffffff8008ddb898 0000000000000004 ffffffc02a878000 ffffffc02a87b7a0 [ 24.140000] b760: ffffff8008459568 ffffffc02a87b7a0 ffffff800845952c 0000000080000145 [ 24.140000] b780: ffffff80081306c8 0000000060000145 0000008000000000 0000000000000000 [ 24.140000] [] el1_irq+0xb4/0x128 [ 24.140000] [] delay+0x10/0x28 [ 24.140000] [] panic+0x250/0x254 [ 24.140000] [] do_exit+0x650/0x84c [ 24.140000] [] die+0x1b0/0x1c4 [ 24.140000] [] __do_kernel_fault.part.1+0x70/0x80 [ 24.140000] [] do_translation_fault+0xa8/0xb8 [ 24.140000] [] do_mem_abort+0x40/0x98 [ 24.140000] Exception stack(0xffffffc02a87b9b0 to 0xffffffc02a87bae0) [ 24.140000] b9a0: fffffffffffffdfb 0000008000000000 [ 24.140000] b9c0: ffffffc02a87bb80 ffffff80086ced44 ffffff8008f85f88 ffffff8008e26000 [ 24.140000] b9e0: 0000000000000000 0000000000000000 000000000000002d 0000000000000000 [ 24.140000] ba00: ffffff8008f8693e 0000000000000006 ffffffc02a87ba50 ffffff800847204c [ 24.140000] ba20: ffffffc02a87baf8 ffffff8008de5000 ffffffc02a87baf8 ffffffc02a87bb30 [ 24.140000] ba40: ffffff8008e16000 ffffffc02aaecc00 0000000000000001 0000000000000000 [ 24.140000] ba60: 0000000000000000 ffffff8008f5730c 0000000000003fff 0000000000003ff0 [ 24.140000] ba80: 00000000000000d0 6567206f74207972 65705f6c6c702074 0000000005f5e0ff [ 24.140000] baa0: ffffff8008f860ef 0000000000000006 0000000000000030 ffffff8088f860e7 [ 24.140000] bac0: 000000000000000a ffffff8008e15b10 000000000000000e 00000000b42fd601 [ 24.140000] [] el1_da+0x24/0x84 [ 24.140000] [] sunxi_arisc_probe+0x9e4/0xa94 [ 24.140000] [] platform_drv_probe+0x54/0xa8 [ 24.140000] [] driver_probe_device+0x190/0x274 [ 24.140000] [] driver_attach+0x4c/0x90 [ 24.140000] [] bus_for_each_dev+0x80/0x90 [ 24.140000] [] driver_attach+0x20/0x28 [ 24.140000] [] bus_add_driver+0x194/0x1d8 [ 24.140000] [] driver_register+0x98/0xd0 [ 24.140000] [] platform_driver_register+0x48/0x50 [ 24.140000] [] arisc_init+0x4c/0x94 [ 24.140000] [] do_one_initcall+0x18c/0x1a8 [ 24.140000] [] kernel_init_freeable+0x23c/0x240 [ 24.140000] [] kernel_init+0x10/0xf8 [ 24.140000] [] ret_from_fork+0x10/0x40

avafinger commented 5 years ago

You have problems with ARISC, same as those who tried to boot up BSP 4.9 on the H6. ARISC is closed source. And i have no idea how it works but sunxi community figured out how on mainline kernel. I had tried once the mainline kernel but lacked several things for a desktop usage, maybe today's mailine kernel is fully working for a server side.

Some time ago I had tried to build the BSP 4.4 (H3) for the bpi m2+ and had similar errors as this, using modern u-boot with the BSP 4.4 kernel, did not work. ARISC problems. The only way was to build entirely from the BSP.

Maybe you have a look at https://github.com/avafinger/u-boot-m64 (it's old code anyway) adjust with your current or get inspired by.

Take a look at current bootlog: https://gist.github.com/avafinger/7d7219703041c4fe1575de312c311f75

avafinger commented 5 years ago

Forgot to mention, you can't use dtb generated for the 3.10 , i think 4.4 has totally different map addresses and the nodes differs:

excerpt

/dts-v1/;

/memreserve/    0x0000000040020000 0x0000000000000800;
/memreserve/    0x0000000048000000 0x0000000001000000;
/memreserve/    0x0000000048100000 0x0000000000004000;
/memreserve/    0x0000000048104000 0x0000000000001000;
/memreserve/    0x0000000048105000 0x0000000000001000;
/ {
    model = "sun50iw1";
    compatible = "arm,sun50iw1p1";
    interrupt-parent = <0x1>;
    #address-cells = <0x2>;
    #size-cells = <0x2>;

    clocks {
        compatible = "allwinner,clk-init";
        device_type = "clocks";
        #address-cells = <0x2>;
        #size-cells = <0x2>;
        ranges;
        reg = <0x0 0x1c20000 0x0 0x320 0x0 0x1f01400 0x0 0x1c0 0x0 0x1f00060 0x0 0x4>;

        losc {
            #clock-cells = <0x0>;
            compatible = "allwinner,fixed-clock";
            clock-frequency = <0x8000>;
            clock-output-names = "losc";
            linux,phandle = <0x13>;
            phandle = <0x13>;
        };

        iosc {
            #clock-cells = <0x0>;
            compatible = "allwinner,fixed-clock";
            clock-frequency = <0xf42400>;
            clock-output-names = "iosc";
            linux,phandle = <0x14>;
            phandle = <0x14>;
        };

        hosc {
            #clock-cells = <0x0>;
            compatible = "allwinner,fixed-clock";
            clock-frequency = <0x16e3600>;
            clock-output-names = "hosc";
            linux,phandle = <0x6>;
            phandle = <0x6>;
        };

        pll_cpu {
            #clock-cells = <0x0>;
            compatible = "allwinner,pll-clock";
            lock-mode = "new";
            clock-output-names = "pll_cpu";
            linux,phandle = <0x96>;
            phandle = <0x96>;
        };

        pll_audio {
            #clock-cells = <0x0>;
            compatible = "allwinner,pll-clock";
            lock-mode = "new";
            assigned-clock-rates = <0x1770000>;
            clock-output-names = "pll_audio";
            linux,phandle = <0x2>;
            phandle = <0x2>;
        };

        pll_video0 {
            #clock-cells = <0x0>;
            compatible = "allwinner,pll-clock";
            lock-mode = "new";
            assigned-clock-rates = <0x11b3dc40>;
            clock-output-names = "pll_video0";
            linux,phandle = <0x3>;
            phandle = <0x3>;
        };

        pll_ve {
            #clock-cells = <0x0>;
            compatible = "allwinner,pll-clock";
            lock-mode = "new";
            clock-output-names = "pll_ve";
            linux,phandle = <0x1d>;
            phandle = <0x1d>;
        };

        pll_ddr0 {
            #clock-cells = <0x0>;
            compatible = "allwinner,pll-clock";
            lock-mode = "new";
            clock-output-names = "pll_ddr0";
            linux,phandle = <0x9d>;
            phandle = <0x9d>;
        };

        pll_periph0 {
            #clock-cells = <0x0>;
            compatible = "allwinner,pll-clock";
            lock-mode = "new";
            clock-output-names = "pll_periph0";
            linux,phandle = <0x4>;
            phandle = <0x4>;
        };

        pll_periph1 {
dtischler commented 5 years ago

Thanks for this great information and pointers @avafinger.

I will do the proper research to better understand arisc (if possible, because like you mention it seems to be closed source).

Then I will do the necessary research to investigate the DTS / DTB issue.

This is a great start and gets me going! Thanks!

dtischler commented 5 years ago

@avafinger you are a genius.

I have more work to do porting my DTS / DTB, but, I am booting up and making it to Ubuntu now!

[ 0.0]HELLO! BOOT0 is starting! [ 0.3]boot0 commit : 267600f3b448b722fb13c6de3199a2c040816b6d

[ 0.10]boot0 version : 4.0 [ 0.14]rsb_send_initseq: rsb clk 400Khz -> 3Mhz [ 0.20]PMU: AXP81X [ 0.23]set pll start [ 0.29]set pll end [ 0.31]rtc[3] value = 0x0000b00a [ 0.34]DRAM driver version: V1.2 [ 0.38]the chip id is 0x000000ba [ 0.41]the chip id is 0x000000ba [ 0.45]the chip id is 0x000000ba [ 0.48]the chip id is 0x000000ba [ 0.52]the chip id is 0x000000ba [ 0.56]DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) [ 0.61]DRAM clk = 672 MHz [ 0.64]DRAM zq value: 003b3bbb [ 0.70]DRAM init OK [ 0.72]DRAM size = 1024 MB [ 0.76]DRAM init ok [ 0.78]dram size =1024 [ 0.82]card no is 2 [ 0.84]sdcard 2 line count 8 [ 0.87][mmc]: mmc driver ver 2016-03-15 16:30 [ 0.101][mmc]: Wrong media type 0x00000000 [ 0.105][mmc]: Try SD card 2 [ 0.109][mmc]: mmc 2 cmd 8 timeout, err 00000100 [ 0.114][mmc]: mmc 2 cmd 8 err 00000100 [ 0.118][mmc]: mmc 2 send if cond failed [ 0.123][mmc]: mmc 2 cmd 55 timeout, err 00000100 [ 0.127][mmc]: mmc 2 cmd 55 err 00000100 [ 0.131][mmc]: mmc 2 send app cmd failed [ 0.135][mmc]: Try MMC card 2 [ 0.172][mmc]: MMC 5.0 [ 0.175][mmc]: HSDDR52/DDR50 8 bit [ 0.178][mmc]: 50000000 Hz [ 0.181][mmc]: 7456 MB [ 0.184][mmc]: SD/MMC 2 init OK!!! [ 0.252]Succeed in loading uboot from sdmmc flash. [ 0.257]Entry_name = u-boot [ 0.267]Entry_name = monitor [ 0.270]Entry_name = scp [ 0.278]set arisc reset to de-assert state [ 0.282]Entry_name = logo [ 0.286]Entry_name = shutdowncharge [ 0.290]Entry_name = androidcharge [ 0.295]Ready to disable icache. [ 0.298]0xffffffff 0xffffffff [ 0.301]0xff1affff 0xffffffff [ 0.305]0xff11ffff 0xffffffff [ 0.308]0xffffffff 0xffffffff [ 0.311]0xffffffff 0xffffffff [ 0.315]0xffffff00 0x000000ff [ 0.325]cpu1 delay 20000 ▒▒▒▒ɽ▒▒▒▒5R▒NOTICE: BL3-1: v1.0(debug):4d7c48e NOTICE: BL3-1: Built : 17:07:29, May 9 2016 NOTICE: BL3-1 commit: 4d7c48ec3b1cfec7664dc9ffd3b6663074cec4b3

[SCP] :sunxi-arisc driver begin startup 2 [SCP] :hwspinlock:0x1c18000 [SCP] :msgbox:0x1c17000 [SCP] :message manager initialize start:0x48105000, size:0x1000 [SCP] :sunxi-arisc driver v1.10 is starting INFO: BL3-1: Initializing runtime services ERROR: Error initializing runtime service tspd_fast INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x4a000000 INFO: BL3-1: Next image spsr = 0x1d3

U-Boot 2014.07 (Dec 30 2016 - 13:33:36) Allwinner Technology

uboot commit : e515cf651f88f76438fb37968a365773676bfcfe

normal mode: with secure monitor rsb_send_initseq: rsb clk 400Khz -> 3Mhz [ 0.403]pmbus: ready [SCP] :wait arisc ready.... [SCP] :arisc version: [sun8iw5_v0.03.00-227-gcec3a2b] [SCP] :sunxi-arisc driver v1.10 startup ok pmu type = 0x11 [ 0.422]PMU: AXP81X [ 0.422]PMU: read AXP81X 84H=0xf6 [ 0.423]PMU: write AXP81X 84H=0xf6 [ 0.427]PMU: AXP81X found factory axp end run key detect no key found no uart input DRAM: 1 GiB fdt addr0: 0x76e76eb8 fdt addr1: 0x76e8ae98 Relocation Offset is: 35edf000 In: serial Out: serial Err: serial gic: sec monitor mode [cpu1]secondary entry [ 0.522]power on secondary cpu set power on vol to default [ 0.528]flash init start [cpu1]dcdc1_vol = 3100, onoff=1 workmode = 0,storage type = 2 [cpu1]dcdc6_vol = 1100, onoff=1 [ 0.538]MMC: 2 [cpu1]aldo1_vol = 2800, onoff=0 [mmc]: mmc driver ver 2016-03-31 15:50:00 [cpu1]aldo2_vol = 3000, onoff=1 [cpu1]aldo3_vol = 3000, onoff=1 [cpu1]dldo1_vol = 3300, onoff=0 [cpu1]dldo2_vol = 3300, onoff=0 [cpu1]dldo3_vol = 2800, onoff=0 [cpu1]dldo4_vol = 3300, onoff=1 [cpu1]eldo1_vol = 3300, onoff=1 [cpu1]eldo2_vol = 1800, onoff=0 [cpu1]eldo3_vol = 1800, onoff=0 [cpu1]fldo2_vol = 1100, onoff=1 [cpu1]gpio0_vol = 3300, onoff=0 [cpu1]gpio1_vol = 3000, onoff=0 [cpu1]find power_sply to end [cpu1]dcin exist [cpu1]no battery exist [cpu1]on cpu2 [cpu1]on end [cpu2]third entry [ 0.593]start [cpu1]drv_disp_init [mmc]: get sdc_ex_dly_used 2, use auto tuning sdly SUNXI SD/MMC: 2 [mmc]: 50 MHz... [mmc]: sample: 55 - 181(ps) [mmc]: ds: 54 - 185(ps) [mmc]: 100 MHz... [mmc]: sample: 27 - 185(ps) [mmc]: ds: 27 - 185(ps) [mmc]: 200 MHz... [mmc]: sample: 14 - 178(ps) [mmc]: ds: 13 - 192(ps) [mmc]: media type 0x8000000 [mmc]: ****Try MMC card 2**** [mmc]: host caps: 0x6f [mmc]: MID 000011 PSN f34bab30 [mmc]: PNM 008G70 -- 0x30-30-38-47-37 [mmc]: PRV 0.0 [mmc]: MDT m-12 y-2015 [mmc]: MMC v5.0 [mmc]: speed mode : HSSDR52/SDR25 [mmc]: clock : 50000000 Hz [mmc]: bus_width : 8 bit [mmc]: user capacity : 7456 MB [mmc]: boot capacity : 4096 KB [mmc]: rpmb capacity : 4096 KB [mmc]: ****SD/MMC 2 init OK!!!**** [mmc]: ========best spd md: 2-HSDDR52/DDR50, freq: 2-50000000 [cpu1]init_clocks: finish init_clocks. [mmc]: already at HSSDR52_SDR25 mode [cpu1]fail to get clk for lcd1 [mmc]: erase_grp_size : 0x400WrBlk*0x200=0x80000 Byte [cpu1]fail to get clk for lcd1 [mmc]: secure_feature : 0x55 [cpu1]clk_set parent tcon1 fail [mmc]: secure_removal_type : 0x39 [cpu1]clk_set parent pll_mipi fail [mmc]: EOL Info(Rev blks): Normal [mmc]: Wear out(type A): 0%-10% life time used [mmc]: Wear out(type B): Not defined [ 0.761]sunxi flash init ok [ 0.765]flash init end try to burn key read item0 copy0 Item0 (Map) magic is bad the secure storage item0 copy0 is bad [cpu2]bmp file buffer: 0x47400000, bmp_info.buffer: 46400000 read item0 copy1 [cpu1]axp: get node[/soc/regu] error == copy1, the data is goodct=-0 the secure storage map is empty no item name key_burned_flag in the map sunxi secure storage has no flag [ 0.802]usb burn from boot wait cpu1 down [cpu1]drv_disp_init finish [cpu1]boot_disp.output_disp=0 [cpu1]boot_disp.output_type=3 [cpu1]boot_disp.output_mode=5 [cpu1]fetch script data boot_disp.auto_hpd fail [cpu1]disp0 device type(4) enable [cpu1]attched ok, mgr0<-->device0, type=4, mode=5 [ 0.990]end [cpu1]fetch script data boot_disp.output_full fail [cpu1]screen_id =0, screen_width =1280, screen_height =720 [cpu1]frame buffer address 46400036 [cpu1]boot logo display ok [cpu1]kill cpu 1 delay time 0 [ 1.135]usb prepare ok timer occur [ 1.935]overtime [ 1.968]do_burn_from_boot usb : no usb exist base bootcmd=run setargs_nand boot_normal bootcmd set setargs_mmc key 0 recovery key high 19, low 17 fastboot key high 6, low 4 no misc partition is found [ 2.002]to be run cmd=run setargs_mmc boot_normal [mmc]: hsddr 2-50000000 [mmc]: get max-frequency ok 100000000 Hz [mmc]: 1 1 0: 1 1 0 [mmc]: no mmc-hs400-1_8v! [mmc]: no mmc-hs200-1_8v! [mmc]: get max-frequency ok 50000000 Hz [ 2.077]update dtb dram start [ 2.095]update dtb dram end serial is: 3410503442181016084e no item name widevine in the map secure storage read fail [ 2.110]inter uboot shell Hit any key to stop autoboot: 0 read partition: boot or recovery [ 5.371]sunxi flash read :offset 4000000, 19382902 bytes OK Android's image name: sun50i_arm64 Kernel load addr 0x40080000 size 15359 KiB RAM disk load addr 0x42000000 size 2546 KiB lcd0.lcd_x=800 lcd0.lcd_y=480 [ 5.466]ready to boot ready to disbale cpu2 disbale cpu2 ready to disbale cpu1 disbale cpu1 smp=0x10e0000 cpu1 power=0xff cpu2 power=0xff prepare for kernel [mmc]: mmc exit start [mmc]: 50 MHz... [mmc]: sample: 27 - 370(ps) [mmc]: ds: 27 - 370(ps) [mmc]: 100 MHz... [mmc]: sample: 14 - 357(ps) [mmc]: ds: 14 - 357(ps) [mmc]: 200 MHz... [mmc]: sample: 9 - 277(ps) [mmc]: ds: 9 - 277(ps) [mmc]: mmc 2 exit ok [ 5.544] Starting kernel ...

INFO: BL3-1: Next image address = 0x40080000 INFO: BL3-1: Next image spsr = 0x3c5 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.89-m64 (alex@svn) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Sun Sep 2 10:40:17 -03 2018 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] cma: Reserved 256 MiB at 0x0000000070000000 [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] DMA zone: 4096 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 262144 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv0.2 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] PERCPU: Embedded 20 pages/cpu @ffffffc02ff3c000 s43544 r8192 d30184 u81920 [ 0.000000] pcpu-alloc: s43544 r8192 d30184 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258048 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x01c28000 initcall_debug=0 console=tty1 console=ttyS0,115200 loglevel=8 audit=0 root=/dev/mmcblk0p7 init=/init partitions=boot-resource@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:UDISK@mmcblk0p1 cma=256M androidboot.selinux=enforcing androidboot.serialno=3410503442181016084e androidboot.hardware=sun50iw1p1 boot_type=2 androidboot.lcd_x=800 androidboot.lcd_y=480 [ 0.000000] audit: disabled (until reboot) [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] software IO TLB [mem 0x6ac00000-0x6ec00000] (64MB) mapped at [ffffffc02ac00000-ffffffc02ebfffff] [ 0.000000] Memory: 666620K/1048576K available (9022K kernel code, 1470K rwdata, 4356K rodata, 448K init, 729K bss, 119812K reserved, 262144K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB) [ 0.000000] .init : 0xffffff8008da0000 - 0xffffff8008e10000 ( 448 KB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008950000 ( 9024 KB) [ 0.000000] .rodata : 0xffffff8008950000 - 0xffffff8008da0000 ( 4416 KB) [ 0.000000] .data : 0xffffff8008e10000 - 0xffffff8008f7fb08 ( 1471 KB) [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum) [ 0.000000] 0xffffffbdc0000000 - 0xffffffbdc1000000 ( 16 MB actual) [ 0.000000] fixed : 0xffffffbffe7fd000 - 0xffffffbffec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty1] enabled [ 0.020000] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.022505] pid_max: default: 32768 minimum: 301 [ 0.027220] Security Framework initialized [ 0.030054] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.036676] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.040589] Initializing cgroup subsys io [ 0.043993] Initializing cgroup subsys memory [ 0.048336] Initializing cgroup subsys devices [ 0.050014] Initializing cgroup subsys freezer [ 0.054421] Initializing cgroup subsys net_cls [ 0.058840] Initializing cgroup subsys perf_event [ 0.060011] Initializing cgroup subsys net_prio [ 0.064515] Initializing cgroup subsys pids [ 0.068669] Initializing cgroup subsys debug [ 0.070370] sched-energy: CPU device node has no sched-energy-costs [ 0.076244] Invalid sched_group_energy for CPU0 [ 0.080013] CPU0: update cpu_capacity 1024 [ 0.084107] ASID allocator initialised with 65536 entries [ 0.020000] Detected VIPT I-cache on CPU1 [ 0.020000] Invalid sched_group_energy for CPU1 [ 0.020000] CPU1: update cpu_capacity 1024 [ 0.020000] CPU1: Booted secondary processor [410fd034] [ 0.020000] Detected VIPT I-cache on CPU2 [ 0.020000] Invalid sched_group_energy for CPU2 [ 0.020000] CPU2: update cpu_capacity 1024 [ 0.020000] CPU2: Booted secondary processor [410fd034] [ 0.020000] Detected VIPT I-cache on CPU3 [ 0.020000] Invalid sched_group_energy for CPU3 [ 0.020000] CPU3: update cpu_capacity 1024 [ 0.020000] CPU3: Booted secondary processor [410fd034] [ 0.230053] Brought up 4 CPUs [ 0.270007] SMP: Total of 4 processors activated. [ 0.274687] CPU: All CPU(s) started at EL1 [ 0.278776] alternatives: patching kernel code [ 0.280089] Invalid sched_group_energy for CPU3 [ 0.284421] Invalid sched_group_energy for CPU2 [ 0.288926] Invalid sched_group_energy for CPU1 [ 0.290008] Invalid sched_group_energy for CPU0 [ 0.294706] devtmpfs: initialized [ 0.334974] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.340036] futex hash table entries: 1024 (order: 5, 131072 bytes) [ 0.355237] xor: measuring software checksum speed [ 0.450011] 8regs : 1996.000 MB/sec [ 0.550008] 8regs_prefetch: 1789.600 MB/sec [ 0.650008] 32regs : 2702.400 MB/sec [ 0.750008] 32regs_prefetch: 2265.600 MB/sec [ 0.750050] xor: using function: 32regs (2702.400 MB/sec) [ 0.754401] atomic64_test: passed [ 0.757672] pinctrl core: initialized pinctrl subsystem [ 0.762054] NET: Registered protocol family 16 [ 0.765972] dump_class_init,858, success [ 0.790022] cpuidle: using governor ladder [ 0.820018] cpuidle: using governor menu [ 0.820537] vdso: 2 pages (1 code @ ffffff8008956000, 1 data @ ffffff8008e14000) [ 0.825732] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.831238] DMA: preallocated 256 KiB pool for atomic allocations [ 0.836309] Serial: AMBA PL011 UART driver [ 0.842121] sun50i-r-pinctrl r_pio: initialized sunXi PIO driver [ 0.846453] [sun50iw1p1_pinctrl_probe][841] [ 0.852446] sun50i-pinctrl pio: initialized sunXi PIO driver [ 0.857542] sunxi hwspinlock vbase:0xffffff8008058000 [ 0.879773] [ARISC] :sunxi-arisc driver v1.10 [ 0.881059] [ARISC] :sunxi-arisc driver v1.10 startup succeeded [ 1.120011] raid6: int64x1 gen() 382 MB/s [ 1.290016] raid6: int64x1 xor() 318 MB/s [ 1.460059] raid6: int64x2 gen() 605 MB/s [ 1.630069] raid6: int64x2 xor() 485 MB/s [ 1.800048] raid6: int64x4 gen() 885 MB/s [ 1.970026] raid6: int64x4 xor() 603 MB/s [ 2.140060] raid6: int64x8 gen() 714 MB/s [ 2.310044] raid6: int64x8 xor() 554 MB/s [ 2.480029] raid6: neonx1 gen() 677 MB/s [ 2.650034] raid6: neonx1 xor() 657 MB/s [ 2.820054] raid6: neonx2 gen() 1029 MB/s [ 2.990037] raid6: neonx2 xor() 846 MB/s [ 3.160039] raid6: neonx4 gen() 1373 MB/s [ 3.330030] raid6: neonx4 xor() 1030 MB/s [ 3.500041] raid6: neonx8 gen() 1408 MB/s [ 3.670021] raid6: neonx8 xor() 1049 MB/s [ 3.670061] raid6: using algorithm neonx8 gen() 1408 MB/s [ 3.674042] raid6: .... xor() 1049 MB/s, rmw enabled [ 3.678981] raid6: using intx1 recovery algorithm [ 3.680111] pwm module init! [ 3.686781] SCSI subsystem initialized [ 3.687256] usbcore: registered new interface driver usbfs [ 3.690109] usbcore: registered new interface driver hub [ 3.695390] usbcore: registered new device driver usb [ 3.701928] Linux video capture interface: v2.00 [ 3.705571] Advanced Linux Sound Architecture Driver Initialized. [ 3.711134] NET: Registered protocol family 23 [ 3.714497] Bluetooth: Core ver 2.21 [ 3.718010] NET: Registered protocol family 31 [ 3.720017] Bluetooth: HCI device and connection manager initialized [ 3.726333] Bluetooth: HCI socket layer initialized [ 3.730022] Bluetooth: L2CAP socket layer initialized [ 3.735071] Bluetooth: SCO socket layer initialized [ 3.740401] NetLabel: Initializing [ 3.742807] NetLabel: domain hash size = 128 [ 3.742807] NetLabel: protocols = UNLABELED CIPSOv4 [ 3.745007] NetLabel: unlabeled traffic allowed by default [ 3.750483] [axp803] chip id detect 0x51 ! [ 3.753864] [axp803] enable dcdc2 dvm. [ 3.770100] clocksource: Switched to clocksource arch_sys_counter [ 3.770948] FS-Cache: Loaded [ 3.773655] CacheFiles: Loaded [ 3.796925] NET: Registered protocol family 2 [ 3.797727] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 3.802819] TCP bind hash table entries: 8192 (order: 5, 131072 bytes) [ 3.809318] TCP: Hash tables configured (established 8192 bind 8192) [ 3.815977] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 3.821467] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 3.828079] NET: Registered protocol family 1 [ 3.832529] RPC: Registered named UNIX socket transport module. [ 3.837961] RPC: Registered udp transport module. [ 3.842708] RPC: Registered tcp transport module. [ 3.847319] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.857976] Unpacking initramfs... [ 4.009426] Freeing initrd memory: 2544K [ 4.010650] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 4.039064] VFS: Disk quotas dquot_6.6.0 [ 4.039494] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 4.047775] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 4.054526] NFS: Registering the id_resolver key type [ 4.055085] Key type id_resolver registered [ 4.059211] Key type id_legacy registered [ 4.064273] Key type cifs.spnego registered [ 4.067379] Key type cifs.idmap registered [ 4.071468] ntfs: driver 2.1.32 [Flags: R/W]. [ 4.076808] fuse init (API version 7.23) [ 4.082295] ceph: loaded (mds proto 32) [ 4.090511] NET: Registered protocol family 38 [ 4.091035] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 4.096875] io scheduler noop registered [ 4.100720] io scheduler deadline registered [ 4.105230] io scheduler cfq registered (default) [ 4.110580] [DISP]disp_module_init [ 4.113807] [DISP] boot_disp:0x405 [ 4.117012] [DISP] disp_sys_script_get_item,line:198: [ 4.121159] of_find_compatible_node allwinner,sunxi-lcd1 fail [ 4.127203] [DISP] disp_sys_script_get_item,line:198: [ 4.131900] of_find_compatible_node allwinner,sunxi-lcd1 fail [ 4.137937] [DISP] disp_sys_script_get_item,line:198: [ 4.142788] of_find_compatible_node allwinner,sunxi-lcd1 fail [ 4.150288] [DISP] fb_base:0x46400000 [ 4.199541] Console: switching to colour frame buffer device 160x45 [ 4.214941] [DISP]disp_module_init finish [ 4.217127] np name = /soc@01c00000/rtc@01f00000 [ 4.221126] base = ffffff80092b2100, len = 4. [ 4.225468] pmu1 does not exist. [ 4.228919] axp_add_sys_pwr_dm: get ldo name for id: vcc-lpddr failed [ 4.235313] axp_add_sys_pwr_dm: vcc-pc not sys id. [ 4.239827] after inited: sys_mask config = 0x4a55. [ 4.244765] Warning: can not find np for dynamic_standby_para. [ 4.250824] lookup_scene_lock_name: new scene lock super_standby [ 4.256491] scene_lock_init name=super_standby [ 4.260893] scene_lock: super_standby, type 5, count 1 [ 4.266011] enter set_extended_standby_manager [ 4.270415] leave set_extended_standby_manager : id 0x8 [ 4.275681] xenfs: not registering filesystem on non-xen platform [ 4.289052] uart0: ttyS0 at MMIO 0x1c28000 (irq = 146, base_baud = 1500000) is a SUNXI [ 4.291555] sw_console_setup()1676 - console setup baud 115200 parity n bits 8, flow n [ 4.299422] console [ttyS0] enabled [ 4.299422] console [ttyS0] enabled [ 4.308830] bootconsole [earlycon0] disabled [ 4.308830] bootconsole [earlycon0] disabled [ 4.318020] uart1: ttyS1 at MMIO 0x1c28400 (irq = 147, base_baud = 1500000) is a SUNXI [ 4.330231] sw_uart_pm()1376 - uart1 clk is already disable [ 4.341089] uart2: ttyS2 at MMIO 0x1c28800 (irq = 148, base_baud = 1500000) is a SUNXI [ 4.353869] sw_uart_pm()1376 - uart2 clk is already disable [ 4.364904] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 149, base_baud = 1500000) is a SUNXI [ 4.377819] sw_uart_pm()1376 - uart3 clk is already disable [ 4.389830] misc dump reg init [ 4.398392] Unable to detect cache hierarchy from DT for CPU 0 [ 4.410372] zram: Added device: zram0 [ 4.418961] sunxi-bt bt: bt_power_num (4294967232) [ 4.428514] sunxi-bt bt: io_regulator_name (vcc-wifi-io) [ 4.438669] sunxi-bt bt: request pincrtl handle for device [bt] failed [ 4.450196] sunxi-bt bt: bt_rst gpio=356 mul-sel=1 pull=-1 drv_level=-1 data=0 [ 4.462867] sunxi-bt bt: Missing clocks. [ 4.471390] sunxi-bt bt: clk_name ((null)) [ 4.480137] sunxi-bt bt: clk not config [ 4.488760] sunxi-bt bt: block state already is 1 [ 4.498514] sunxi-wlan wlan: wlan_busnum (1) [ 4.507427] sunxi-wlan wlan: wlan_power_num (1) [ 4.516597] sunxi-wlan wlan: Missing wlan_power. [ 4.525815] sunxi-wlan wlan: wlan_power_name ((null)) [ 4.535485] sunxi-wlan wlan: io_regulator_name (vcc-wifi-io) [ 4.545834] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed [ 4.557767] sunxi-wlan wlan: wlan_regon gpio=354 mul-sel=1 pull=-1 drv_level=-1 data=0 [ 4.571097] sunxi-wlan wlan: get gpio wlan_power_enable failed [ 4.581671] sunxi-wlan wlan: wlan_hostwake gpio=355 mul-sel=6 pull=-1 drv_level=-1 data=0 [ 4.595321] sunxi-wlan wlan: Missing clocks. [ 4.604118] sunxi-wlan wlan: clk_name ((null)) [ 4.613110] sunxi-wlan wlan: clk not config [ 4.621829] Loading iSCSI transport class v2.0-870. [ 4.631893] iscsi: registered transport (tcp) [ 4.641807] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 4.658432] libphy: Fixed MDIO Bus: probed [ 4.669509] gmac-power2: NULL [ 4.677901] PPP generic driver version 2.4.2 [ 4.686976] PPP BSD Compression module registered [ 4.696166] PPP Deflate Compression module registered [ 4.705776] PPP MPPE Compression module registered [ 4.715067] NET: Registered protocol family 24 [ 4.724194] usbcore: registered new interface driver smsc95xx [ 4.734647] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.746218] get ehci0-controller, regulator_io is no nocare [ 4.756544] [sunxi-ehci0]: probe, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xffffff8009003d80, 0x:ffffff80092c8000, irq_no:99 [ 4.774235] sunxi-ehci 1c1a000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.788593] sunxi-ehci 1c1a000.ehci0-controller: new USB bus registered, assigned bus number 1 [ 4.802827] sunxi-ehci 1c1a000.ehci0-controller: irq 153, io mem 0xffffffc02a85fbc0 [ 4.830037] sunxi-ehci 1c1a000.ehci0-controller: USB 0.0 started, EHCI 1.00 [ 4.842094] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.853703] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.865763] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.878086] usb usb1: Manufacturer: Linux 4.4.89-m64 ehci_hcd [ 4.888459] usb usb1: SerialNumber: sunxi-ehci [ 4.898324] hub 1-0:1.0: USB hub found [ 4.906425] hub 1-0:1.0: 1 port detected

[ 4.924848] [sunxi-ehci0]: remove, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xffffff8009003d80 [ 4.939400] sunxi-ehci 1c1a000.ehci0-controller: remove, state 1 [ 4.950187] usb usb1: USB disconnect, device number 1 [ 4.961571] sunxi-ehci 1c1a000.ehci0-controller: USB bus 1 deregistered [ 4.973379] get drv_vbus is fail, 84 [ 4.981514] get ehci1-controller, regulator_io is no nocare [ 4.992114] [sunxi-ehci1]: probe, pdev->name: 1c1b000.ehci1-controller, sunxi_ehci: 0xffffff8009003b20, 0x:ffffff80092d2000, irq_no:9b [ 5.010142] sunxi-ehci 1c1b000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.024862] sunxi-ehci 1c1b000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 5.039486] sunxi-ehci 1c1b000.ehci1-controller: irq 155, io mem 0xffffffc02a85fbc0 [ 5.070035] sunxi-ehci 1c1b000.ehci1-controller: USB 0.0 started, EHCI 1.00 [ 5.082463] sunxi-ehci 1c1b000.ehci1-controller: ehci_irq: highspeed device connect [ 5.082683] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 5.082689] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.082695] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.082701] usb usb1: Manufacturer: Linux 4.4.89-m64 ehci_hcd [ 5.082706] usb usb1: SerialNumber: sunxi-ehci [ 5.154159] hub 1-0:1.0: USB hub found [ 5.162998] hub 1-0:1.0: 1 port detected [ 5.172849] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.184712] get ohci0-controller, regulator_io is no nocare [ 5.195806] [sunxi-ohci0]: probe, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xffffff8009004700 [ 5.211007] sunxi-ohci 1c1a000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 5.225590] sunxi-ohci 1c1a000.ohci0-controller: new USB bus registered, assigned bus number 2 [ 5.240148] sunxi-ohci 1c1a000.ohci0-controller: irq 154, io mem 0xffffff8008f2a268 [ 5.314245] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.326718] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.339687] usb usb2: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 5.352584] usb usb2: Manufacturer: Linux 4.4.89-m64 ohci_hcd [ 5.363911] usb usb2: SerialNumber: sunxi-ohci [ 5.374912] hub 2-0:1.0: USB hub found [ 5.383936] hub 2-0:1.0: 1 port detected

[ 5.403839] [sunxi-ohci0]: remove, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xffffff8009004700 [ 5.419003] sunxi-ohci 1c1a000.ohci0-controller: remove, state 1 [ 5.430489] usb usb2: USB disconnect, device number 1 [ 5.441800] sunxi-ohci 1c1a000.ohci0-controller: USB bus 2 deregistered [ 5.454204] get drv_vbus is fail, 84 [ 5.462886] get ohci1-controller, regulator_io is no nocare [ 5.474045] [sunxi-ohci1]: probe, pdev->name: 1c1b000.ohci1-controller, sunxi_ohci: 0xffffff80090044a0 [ 5.489306] sunxi-ohci 1c1b000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 5.503954] usb 1-1: new high-speed USB device number 2 using sunxi-ehci [ 5.516423] sunxi-ohci 1c1b000.ohci1-controller: new USB bus registered, assigned bus number 2 [ 5.531208] sunxi-ohci 1c1b000.ohci1-controller: irq 156, io mem 0xffffff8008f2a268 [ 5.604245] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.616853] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.629865] usb usb2: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 5.642791] usb usb2: Manufacturer: Linux 4.4.89-m64 ohci_hcd [ 5.654128] usb usb2: SerialNumber: sunxi-ohci [ 5.661589] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 5.661595] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.661600] usb 1-1: Product: USB2.0 Hub [ 5.662921] hub 1-1:1.0: USB hub found [ 5.663212] hub 1-1:1.0: 4 ports detected [ 5.716877] hub 2-0:1.0: USB hub found [ 5.725620] hub 2-0:1.0: 1 port detected [ 5.735571] usbcore: registered new interface driver uas [ 5.746192] usbcore: registered new interface driver usb-storage [ 5.757469] usbcore: registered new interface driver ums-alauda [ 5.768611] usbcore: registered new interface driver ums-cypress [ 5.779683] usbcore: registered new interface driver ums-datafab [ 5.790706] usbcore: registered new interface driver ums_eneub6250 [ 5.801890] usbcore: registered new interface driver ums-freecom [ 5.812862] usbcore: registered new interface driver ums-isd200 [ 5.823666] usbcore: registered new interface driver ums-jumpshot [ 5.834603] usbcore: registered new interface driver ums-karma [ 5.845104] usbcore: registered new interface driver ums-onetouch [ 5.855784] usbcore: registered new interface driver ums-realtek [ 5.866279] usbcore: registered new interface driver ums-sddr09 [ 5.876618] usbcore: registered new interface driver ums-sddr55 [ 5.886844] usbcore: registered new interface driver ums-usbat [ 5.897013] usbcore: registered new interface driver usbserial [ 5.906993] usbcore: registered new interface driver usbserial_generic [ 5.917675] usbserial: USB Serial support registered for generic [ 5.927852] get usb_serial_number success from boot command line [ 5.935175] mousedev: PS/2 mouse device common for all mice [ 5.949012] sunxi_keyboard_startup: keyboard has no clk. [ 5.950057] usb 1-1.1: new high-speed USB device number 3 using sunxi-ehci [ 5.969873] input: sunxi-keyboard as /devices/virtual/input/input0 [ 5.981206] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 5.991580] sunxi-rtc rtc: RTC enabled [ 5.999437] i2c /dev entries driver [ 6.007732] IR NEC protocol handler initialized [ 6.016022] IR RC5(x/sz) protocol handler initialized [ 6.025557] sunxi_ir_startup: get ir protocol failed [ 6.031177] Registered IR keymap rc_map_sunxi [ 6.042678] input: sunxi_ir_recv as /devices/platform/soc/s_cir0/rc/rc0/input1 [ 6.054017] rc0: sunxi_ir_recv as /devices/platform/soc/s_cir0/rc/rc0 [ 6.062216] usb 1-1.1: New USB device found, idVendor=05e3, idProduct=0718 [ 6.062223] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [ 6.062228] usb 1-1.1: Product: USB Storage [ 6.062234] usb 1-1.1: SerialNumber: 000000000033 [ 6.063397] usb-storage 1-1.1:1.0: USB Mass Storage device detected [ 6.064400] scsi host0: usb-storage 1-1.1:1.0 [ 6.120443] sunxi cedar version 0.1 [ 6.127504] VE: install start!!! [ 6.127504] [ 6.138543] cedar_ve: cedar-ve the get irq is 145 [ 6.140039] usb 1-1.2: new high-speed USB device number 4 using sunxi-ehci [ 6.157824] VE: get debugfs_mpp_root is NULL, please check mpp [ 6.157824] [ 6.172019] VE: sunxi ve debug register driver failed! [ 6.172019] [ 6.185855] google_vp9: sunxi google vp9 version 0.1 [ 6.195710] input: axp803-powerkey as /devices/platform/soc/pmu0/axp803-powerkey/input/input2 [ 6.218602] sunxi gpu cooling probe start ! [ 6.226772] CPU gpu cooling register Success [ 6.235857] device-mapper: uevent: version 1.0.3 [ 6.245169] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 6.251842] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0608 [ 6.251849] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 6.251855] usb 1-1.2: Product: USB2.0 Hub [ 6.252999] hub 1-1.2:1.0: USB hub found [ 6.253334] hub 1-1.2:1.0: 4 ports detected [ 6.307170] Bluetooth: HCI UART driver ver 2.3 [ 6.316065] Bluetooth: HCI UART protocol H4 registered [ 6.325769] Bluetooth: HCI UART protocol BCSP registered [ 6.330060] usb 1-1.3: new high-speed USB device number 5 using sunxi-ehci [ 6.347365] Bluetooth: HCI UART protocol LL registered [ 6.357098] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 6.368153] sunxi_cpufreq_init: only one opp_table [ 6.377502] [cpu_freq] ERR: Unable to get regulator WARNING: Unimplemented Standard Service Call: 0xc0000031 [ 6.396511] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v1.19 2017-12-19 14:01) [ 6.409461] sunxi-mmc sdc2: regulator prop vmmc,str vcc-emmcv [ 6.419875] sunxi-mmc sdc2: regulator prop vqmmc,str vcc-emmcvq18 [ 6.430458] sunxi-mmc sdc2: regulator prop vdmmc,str none [ 6.440442] sunxi-mmc sdc2: No vdmmc regulator found [ 6.441715] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608 [ 6.441721] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 6.441727] usb 1-1.3: Product: USB2.0 Hub [ 6.442869] hub 1-1.3:1.0: USB hub found [ 6.443209] hub 1-1.3:1.0: 4 ports detected [ 6.498343] sunxi-mmc sdc2: set host busy [ 6.506724] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.530040] usb 1-1.2.1: new full-speed USB device number 6 using sunxi-ehci [ 6.540039] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.560044] sunxi-mmc sdc2: detmode:alway in(non removable) [ 6.560872] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !! [ 6.561702] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !! [ 6.561721] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.564155] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.565544] sunxi-mmc sdc2: smc 0 p2 err, cmd 8, RTO !! [ 6.566371] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 6.567196] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 6.568021] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 6.568846] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 6.569676] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 6.570502] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 6.571329] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 6.572157] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 6.572175] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.572543] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.572596] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.575023] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.611195] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 6.623196] mmc0: MAN_BKOPS_EN bit is not set [ 6.624152] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B [ 6.624520] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B [ 6.624697] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS(SDR20) dt B [ 6.625018] mmc0: new high speed MMC card at address 0001 [ 6.635993] mmcblk0: mmc0:0001 008G70 7.28 GiB [ 6.636404] mmcblk0boot0: mmc0:0001 008G70 partition 1 4.00 MiB [ 6.646826] mmcblk0boot1: mmc0:0001 008G70 partition 2 4.00 MiB [ 6.648518] mmcblk0: p1 p2 p3 < p5 p6 p7 > [ 6.648547] mmcblk0: p1 size 1065088 extends beyond EOD, truncated [ 6.672467] usb 1-1.2.1: New USB device found, idVendor=222a, idProduct=0001 [ 6.672475] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 6.672480] usb 1-1.2.1: Product: Multi-Touch-V3000 [ 6.672486] usb 1-1.2.1: Manufacturer: ILITEK [ 6.750031] usb 1-1.3.1: new high-speed USB device number 7 using sunxi-ehci [ 6.871465] usb 1-1.3.1: New USB device found, idVendor=0bda, idProduct=8152 [ 6.871472] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6.871477] usb 1-1.3.1: Product: USB 10/100 LAN [ 6.871482] usb 1-1.3.1: Manufacturer: Realtek [ 6.871487] usb 1-1.3.1: SerialNumber: 000000000000 [ 6.960035] usb 1-1.3.4: new low-speed USB device number 8 using sunxi-ehci [ 6.983545] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v1.19 2017-12-19 14:01) [ 6.995646] sunxi-mmc sdc0: regulator prop vmmc,str vcc-sdcv [ 7.005156] sunxi-mmc sdc0: regulator prop vqmmc,str vcc-sdcvq33 [ 7.014943] sunxi-mmc sdc0: regulator prop vdmmc,str vcc-sdcvd [ 7.025245] sunxi-mmc sdc0: set host busy [ 7.032676] sunxi-mmc sdc0: Got CD GPIO [ 7.040082] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B [ 7.061406] scsi 0:0:0:0: Direct-Access USB TO I DE/SATA Device 0016 PQ: 0 ANSI: 4 [ 7.070037] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 7.089095] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 7.090072] sunxi-mmc sdc0: detmode:gpio polling [ 7.090083] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 7.090800] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v1.19 2017-12-19 14:01) [ 7.090852] sunxi-mmc sdc1: Can't get vmmc regulator string [ 7.090858] sunxi-mmc sdc1: Can't get vqmmc regulator string [ 7.090863] sunxi-mmc sdc1: Can't get vdmmc regulator string [ 7.090866] get() with no identifier [ 7.090869] get() with no identifier [ 7.090871] get() with no identifier [ 7.090876] sunxi-mmc sdc1: No vmmc regulator found [ 7.090880] sunxi-mmc sdc1: No vqmmc regulator found [ 7.090884] sunxi-mmc sdc1: No vdmmc regulator found [ 7.091867] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled [ 7.093106] sd 0:0:0:0: [sda] Asking for cache data failed [ 7.093112] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 7.095092] usb 1-1.3.4: New USB device found, idVendor=045e, idProduct=0734 [ 7.095099] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 7.095105] usb 1-1.3.4: Product: Microsoft® Wireless Receiver 700 v2.0 [ 7.095110] usb 1-1.3.4: Manufacturer: Liteon [ 7.098430] sunxi-mmc sdc1: set host busy [ 7.098779] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.098830] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 7.098882] sd 0:0:0:0: [sda] Attached SCSI disk [ 7.110035] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.130054] sunxi-mmc sdc1: detmode:manually by software [ 7.130880] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 7.131238] gpio_led_probe start [ 7.131247] gpio_led_probe, led1_power power name is vcc-led [ 7.131253] gpio_led_probe, led1_power_vol power vol is 2800 [ 7.131709] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 7.131731] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.132168] led1 gpio number is 120 [ 7.132172] led1_trigger led trigger name is default-on [ 7.132177] led1_active_low not used, default to 0 [ 7.132188] led2 gpio number is 142 [ 7.132193] led2_trigger led trigger name is heartbeat [ 7.132197] led2_active_low not used, default to 0 [ 7.132207] led3 gpio number is 143 [ 7.132211] led3_trigger led trigger name is none [ 7.132216] led3_active_low not used, default to 0 [ 7.133052] ledtrig-cpu: registered to indicate activity on CPUs [ 7.134200] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.136082] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !! [ 7.136155] hidraw: raw HID events driver (C) Jiri Kosina [ 7.136910] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 7.137734] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 7.138562] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 7.139412] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 7.140249] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 7.141086] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 7.141914] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 7.142736] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 7.142765] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.143738] sunxi-mmc sdc1: smc 2 p1 err, cmd 1, RTO !! [ 7.143762] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 7.149619] input: ILITEK Multi-Touch-V3000 as /devices/platform/soc/1c1b000.ehci1-controller/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:222A:0001.0001/input/input3 [ 7.210330] hid-multitouch 0003:222A:0001.0001: input,hidraw0: USB HID v1.10 Device [ILITEK Multi-Touch-V3000] on usb-sunxi-ehci-1.2.1/input0 [ 7.213298] input: ILITEK Multi-Touch-V3000 as /devices/platform/soc/1c1b000.ehci1-controller/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:222A:0001.0002/input/input4 [ 7.214478] hid-generic 0003:222A:0001.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [ILITEK Multi-Touch-V3000] on usb-sunxi-ehci-1.2.1/input1 [ 7.220906] input: Liteon Microsoft® Wireless Receiver 700 v2.0 as /devices/platform/soc/1c1b000.ehci1-controller/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0/0003:045E:0734.0003/input/input5 [ 7.280521] hid-generic 0003:045E:0734.0003: input,hidraw2: USB HID v1.11 Keyboard [Liteon Microsoft® Wireless Receiver 700 v2.0] on usb-sunxi-ehci-1.3.4/input0 [ 7.292622] input: Liteon Microsoft® Wireless Receiver 700 v2.0 as /devices/platform/soc/1c1b000.ehci1-controller/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.1/0003:045E:0734.0004/input/input6 [ 7.350725] hid-generic 0003:045E:0734.0004: input,hidraw3: USB HID v1.11 Mouse [Liteon Microsoft® Wireless Receiver 700 v2.0] on usb-sunxi-ehci-1.3.4/input1 [ 7.350865] usbcore: registered new interface driver usbhid [ 7.350869] usbhid: USB HID core driver [ 7.351748] ion_heap_create: Invalid heap type 6 [ 7.351751] ion_heap_create 'secure' failed! [ 7.352218] ashmem: initialized [ 7.357360] usbcore: registered new interface driver snd-usb-audio [ 7.358383] Enter ac108_init [ 7.358502] tas5731_audio_codec_init,l:543 [ 7.359471] daudio:can not map codec digitial register [ 7.361461] failed to get gpio-spk gpio from dts,spk_gpio:-2 [ 7.361978] [ sndcodec ] err:try to get linein_detect failed! [ 7.363097] adda_com_reg_readl: reg = 0xffffff80080085c0 [ 7.363102] adda_com_reg_writel: val = 0x78, reg = 0xffffff80080085c0 [ 7.365068] sunxi-codec-machine sndcodec: codec-aif1 <-> i2s mapping ok [ 7.365335] sunxi-codec-machine sndcodec: codec-aif2 <-> bb-dai mapping ok [ 7.365592] sunxi-codec-machine sndcodec: codec-aif2 <-> bb-dai mapping ok [ 7.365852] sunxi-codec-machine sndcodec: codec-aif3 <-> bb-dai mapping ok [ 7.365946] sunxi-codec-machine sndcodec: ASoC: no sink widget found for LINEINL [ 7.365952] sunxi-codec-machine sndcodec: ASoC: Failed to add route Linein_detect -> direct -> LINEINL [ 7.365961] sunxi-codec-machine sndcodec: ASoC: no sink widget found for LINEINR [ 7.365967] sunxi-codec-machine sndcodec: ASoC: Failed to add route Linein_detect -> direct -> LINEINR [ 7.371581] input: audiocodec sunxi Audio Jack as /devices/platform/soc/sndcodec/sound/card0/input7 [ 7.375934] sndhdmi sndhdmi: audiohdmi-dai <-> daudio2 mapping ok [ 7.378682] ipip: IPv4 over IPv4 tunneling driver [ 7.379519] gre: GRE over IPv4 demultiplexor driver [ 7.379529] ip_gre: GRE over IPv4 tunneling driver [ 7.381167] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.437547] arp_tables: (C) 2002 David S. Miller [ 7.445099] Initializing XFRM netlink socket [ 7.446569] NET: Registered protocol family 10 [ 7.448227] NET: Registered protocol family 17 [ 7.448261] NET: Registered protocol family 15 [ 7.448378] Bluetooth: RFCOMM TTY layer initialized [ 7.448392] Bluetooth: RFCOMM socket layer initialized [ 7.448421] Bluetooth: RFCOMM ver 1.11 [ 7.448441] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 7.448445] Bluetooth: BNEP filters: protocol multicast [ 7.448458] Bluetooth: BNEP socket layer initialized [ 7.448467] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 7.448479] Bluetooth: HIDP socket layer initialized [ 7.448582] 8021q: 802.1Q VLAN Support v1.8 [ 7.448946] Key type dns_resolver registered [ 7.448972] Key type ceph registered [ 7.449477] libceph: loaded (mon/osd proto 15/24) [ 7.450480] sunxi_efuse_readn()711 - The key thermal_sensor is unavailable. [ 7.453293] registered taskstats version 1 [ 7.457026] Btrfs loaded, debug=on, assert=on, integrity-checker=on [ 7.457124] BTRFS: selftest: Running btrfs free space cache tests [ 7.457165] BTRFS: selftest: Running extent only tests [ 7.457206] BTRFS: selftest: Running bitmap only tests [ 7.457236] BTRFS: selftest: Running bitmap and extent tests [ 7.457281] BTRFS: selftest: Running space stealing from bitmap to extent [ 7.458334] BTRFS: selftest: Free space cache tests finished [ 7.458341] BTRFS: selftest: Running extent buffer operation tests [ 7.458341] BTRFS: selftest: Running btrfs_split_item tests [ 7.458401] BTRFS: selftest: Running find delalloc tests [ 7.846364] BTRFS: selftest: Running btrfs_get_extent tests [ 7.846714] BTRFS: selftest: Running hole first btrfs_get_extent test [ 7.846779] BTRFS: selftest: Running outstanding_extents tests [ 7.846900] BTRFS: selftest: Running qgroup tests [ 7.846904] BTRFS: selftest: Qgroup basic add [ 7.847053] BTRFS: selftest: Qgroup multiple refs test [ 7.959609] Key type encrypted registered [ 7.960382] [DISP] boot_disp:0x405 [ 7.960782] [DISP] disp_sys_pin_set_state,line:449: [ 7.960783] pinctrl_lookup_state for allwinner,sunxi-hdmi fail [ 7.960925] [DISP] disp_sys_pin_set_state,line:449: [ 7.960925] pinctrl_lookup_state for allwinner,sunxi-hdmi fail [ 7.960933] [HDMI WRN] file:drivers/video/fbdev/sunxi/disp2/hdmi/drv_hdmi.c,line:800: [ 7.960933] hdmi_clk_enable [ 7.961128] [HDMI] power vcc-hdmi-33 [ 7.962275] [HDMI] cec support = 0 [ 7.962745] [DISP] disp_device_attached,line:130: [ 7.962746] attached ok, mgr0<-->device0, type=4 [ 8.604441] console [netcon0] enabled [ 8.611475] netconsole: network logging started [ 8.619559] sunxi-rtc rtc: setting system clock to 2010-01-01 00:01:03 UTC (1262304063) [ 8.631967] sunxi budget cooling probe start ! [ 8.640074] CPU freq cooling register Success [ 8.648083] CPU hotplug cooling register Success [ 8.656735] CPU budget cooling register Success [ 8.675191] axp803_dcdc3: incomplete constraints, leaving on [ 8.684980] axp803_dldo4: incomplete constraints, leaving on [ 8.694796] ALSA device list: [ 8.701258] #0: audiocodec [ 8.707576] #1: sndhdmi [ 8.713946] Freeing unused kernel memory: 448K [/init]: RootDevice is "/dev/mmcblk0p7" [/init]: Try to load EMMC ... e2fsck 1.42.12 (29-Aug-2014) Filesystem has feature flag(s) set, but is a revision 0 filesystem. Fix? yes

Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information

/dev/mmcblk0p7: FILE SYSTEM WAS MODIFIED /dev/mmcblk0p7: 12569/13312 files (0.4% non-contiguous), 335859/425577 blocks [ 10.825792] EXT4-fs (mmcblk0p7): barriers disabled [ 10.837237] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered [ 11.052298] systemd[1]: System time before build time, advancing clock. [ 11.097867] random: systemd: uninitialized urandom read (16 bytes read, 74 bits of entropy available) [ 11.120615] random: systemd: uninitialized urandom read (16 bytes read, 74 bits of entropy available) [ 11.140530] random: systemd: uninitialized urandom read (16 bytes read, 74 bits of entropy available) [ 11.166255] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 11.200923] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 16.04.4 LTS!

[ 11.231043] systemd[1]: Set hostname to . [ 11.243970] random: systemd: uninitialized urandom read (16 bytes read, 75 bits of entropy available) [ 11.258115] systemd[1]: Initializing machine ID from random generator. [ 11.301327] random: systemd: uninitialized urandom read (16 bytes read, 75 bits of entropy available) [ 11.313373] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 76 bits of entropy available) [ 11.315552] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 76 bits of entropy available) [ 11.318773] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 76 bits of entropy available) [ 11.376289] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 77 bits of entropy available) [ 11.391863] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 77 bits of entropy available) [ 11.504834] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 11.550164] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. [ 11.580261] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 11.610540] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 11.650145] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 11.680696] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 11.710150] systemd[1]: Reached target Encrypted Volumes. [ OK ] Reached target Encrypted Volumes. [ 11.740207] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 11.770484] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ 11.800589] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 11.834234] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 11.874151] systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... [ 11.915542] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 11.956069] systemd[1]: Mounting Debug File System... Mounting Debug File System... [ 11.980453] systemd[1]: Listening on fsck to fsckd communication Socket. [ OK ] Listening on fsck to fsckd communication Socket. [ 12.013944] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 12.041691] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null) [ 12.060347] systemd[1]: Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems (Pre). [ 12.090424] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 12.120165] systemd[1]: Reached target Sockets. [ OK ] Reached target Sockets. [ 12.153190] systemd[1]: Starting Journal Service... Starting Journal Service... [ 12.180362] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 12.221221] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 12.258413] systemd[1]: Mounted Debug File System. [ OK ] Mounted Debug File System. [ 12.280379] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 12.312085] systemd[1]: Started Create Static Device Nodes in /dev. [ OK ] Started Create Static Device Nodes in /dev. [ 12.345244] systemd[1]: Started Load Kernel Modules. [ OK ] Started Load Kernel Modules. [ 12.372089] systemd[1]: Started Remount Root and Kernel File Systems. [ OK ] Started Remount Root and Kernel File Systems. [ 12.400976] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... Starting Load/Save Random Seed... Mounting FUSE Control File System... Mounting Configuration File System... Starting Apply Kernel Variables... [ OK ] Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems. [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Configuration File System. [ OK ] Started Load/Save Random Seed. [ OK ] Started Apply Kernel Variables. [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... Starting Raise network interfaces... [ OK ] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [ OK ] Started Network Time Synchronization. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Reached target System Time Synchronized. [ OK ] Reached target System Initialization. [ OK ] Started Daily apt download activities. [ OK ] Reached target Basic System. Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"... Starting getty on tty2-tty6 if dbus and logind are not available... [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. Starting Permit User Sessions... [ OK ] Started Permit User Sessions. [ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand". [ 13.427150] sunxi-gmac gmac0 eth0: No PHY found! [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ TIME ] Timed out waiting for device dev-ttyS0.device. [DEPEND] Dependency failed for Serial Getty on ttyS0. [FAILED] Failed to start Raise network interfaces. See 'systemctl status networking.service' for details. [ OK ] Reached target Network. Starting /etc/rc.local Compatibility... Starting OpenBSD Secure Shell server... [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty1. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty5. [ OK ] Reached target Login Prompts. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes.