defconfig

Started by Chris, October 22, 2020, 10:16:48 PM

Previous topic - Next topic

Chris

Has someone a working defconfig for a sunxi 3.4 kernel?
All the links in the old build instructions are dead. :-(

LubOlimex

#1
Edit: I see you had A10 board, are you sure this A10s sub-forum is the correct one?

Umm there is defconfig in the archive found when you visit "Build instructions and required files" link at the wiki:

https://www.olimex.com/wiki/A10s-OLinuXino-MICRO

Is there anything wrong with that defconfig?


Technical support and documentation manager at Olimex

Chris

Quote from: LubOlimex on October 23, 2020, 08:49:20 AMEdit: I see you had A10 board, are you sure this A10s sub-forum is the correct one?
I own several boards (IMX233, A10Lime, A10s, A13, ...) so this request was correct.
Thanks for the link, I didn't notice it on the product website.
I followed the build instructions, did not modify the config, but the compiled kernel fails on boot:
U-Boot SPL 2013.10-rc2-08396-g27c7eed-dirty (Oct 04 2013 - 11:56:01)
Board: A10s-OLinuXino-M
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!


U-Boot 2013.10-rc2-08396-g27c7eed-dirty (Oct 04 2013 - 11:56:01) Allwinner Technology

CPU:   Allwinner A13/A10s (SUN5I)
Board: A10s-OLinuXino-M
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   emac
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
reading boot.scr
** Unable to read file boot.scr **
reading script.bin
35776 bytes read in 6 ms (5.7 MiB/s)
reading uImage
4198768 bytes read in 212 ms (18.9 MiB/s)
## Booting kernel from Legacy Image at 48000000 ...
   Image Name:   Linux-3.4.104
   Created:      2020-10-23  12:41:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4198704 Bytes = 4 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

<6>Booting Linux on physical CPU 0
<6>Initializing cgroup subsys cpuset
<5>Linux version 3.4.104 (root@A10s) (gcc version 4.6.3 (Debian 4.6.3-14) ) #5 PREEMPT Fri Oct 23 14:37:45 CEST 2020
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun5i
<6>Memory Reserved:
<6>     SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
<6>     VE   : 0x44000000 - 0x48ffffff  (  80 MB)
<6>     LCD  : 0x49000000 - 0x4affffff  (  32 MB)
Memory policy: ECC disabled, Data cache writeback
<6>sunxi: Allwinner A10s revision A (AW1625/sun5i) detected.
<7>On node 0 totalpages: 131072
<7>free_area_init_node: node 0, pgdat c07e2fb0, node_mem_map d0000000
<7>  DMA zone: 512 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 65024 pages, LIFO batch:15
<7>  Normal zone: 512 pages used for memmap
<7>  Normal zone: 65024 pages, LIFO batch:15
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768<c>
<7>pcpu-alloc: <c>[0] <c>0 <c>
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
<5>Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
<6>PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Memory: 512MB = 512MB total
<5>Memory: 396156k/396156k available, 128132k reserved, 0K highmem
<5>Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0759708   (7494 kB)
      .init : 0xc075a000 - 0xc0783000   ( 164 kB)
      .data : 0xc0784000 - 0xc07e9660   ( 406 kB)
       .bss : 0xc07e9684 - 0xc08a0670   ( 732 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>NR_IRQS:128
<6>sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
<6>Console: colour dummy device 80x30
<6>Calibrating delay loop... <c>1001.88 BogoMIPS (lpj=5009408)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys devices
<6>Initializing cgroup subsys freezer
<6>Initializing cgroup subsys blkio
<6>CPU: Testing write buffer coherency: ok
<6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
<6>Setting up static identity map for 0x40513cf0 - 0x40513d24
<6>devtmpfs: initialized
<6>dummy:
<6>NET: Registered protocol family 16
<6>DMA: preallocated 256 KiB pool for atomic coherent allocations
<6>hw-breakpoint: debug architecture 0x4 unsupported.
<6>Init eGon pin module V2.0
SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
<6>Initialize DMAC OK
<6>bio: create slab <bio-0> at 0
<6>sunxi_gpio driver init ver 1.3
<6>gpiochip_add: registered GPIOs 1 to 25 on device: A1X_GPIO
<5>SCSI subsystem initialized
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>Advanced Linux Sound Architecture Driver Version 1.0.25.
<6>Switching to clocksource aw_64bits_counter
<5>FS-Cache: Loaded
<6>cfg80211: Calling CRDA to update world regulatory domain
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
[sw_hcd0]: usb host driver initialize........
[sw_hcd0]: open_usb_clock
[sw_hcd0]: host_init_state = 0
[sw_hcd0]: platform is usb host
[sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
[sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38
<6>sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
<6>sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
wrn: hcd is not enable, need not start hcd
[sw_hcd0]: sw_usb_host0_disable start
-------sw_hcd0_soft_disconnect---------
is_on = 0, hcd0_set_vbus_cnt = 0
[sw_hcd_host0]: Set USB Power Off
wrn: hcd is not enable, need not stop hcd
[sw_hcd0]: close_usb_clock
[sw_hcd0]: sw_usb_host0_disable end
[sw_udc]: udc_init: version 20080411
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>TCP: Hash tables configured (established 16384 bind 16384)
<6>TCP: reno registered
<6>UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>NET: Registered protocol family 1
<6>RPC: Registered named UNIX socket transport module.
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>audit: initializing netlink socket (disabled)
<5>type=2000 audit(0.339:1): initialized
<5>VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<5>NFS: Registering the id_resolver key type
<6>NTFS driver 2.1.30 [Flags: R/W].
<6>fuse init (API version 7.18)
<6>msgmni has been set to 773
<6>alg: No test for stdrng (krng)
<6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
<6>io scheduler noop registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>sunxi disp driver loaded (/dev/disp api 1.0)
<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
<6>[uart]: used uart info.: 0x0d
<6>[uart]: serial probe 0 irq 1 mapbase 0x01c28000
<6>sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 3.4.104 (root@A10s) (gcc version 4.6.3 (Debian 4.6.3-14) ) #5 PREEMPT Fri Oct 23 14:37:45 CEST 2020
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun5i
[    0.000000] Memory Reserved:
[    0.000000]  SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
[    0.000000]  VE   : 0x44000000 - 0x48ffffff  (  80 MB)
[    0.000000]  LCD  : 0x49000000 - 0x4affffff  (  32 MB)
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] sunxi: Allwinner A10s revision A (AW1625/sun5i) detected.
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c07e2fb0, node_mem_map d0000000
[    0.000000]   DMA zone: 512 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 65024 pages, LIFO batch:15
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 396156k/396156k available, 128132k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0759708   (7494 kB)
[    0.000000]       .init : 0xc075a000 - 0xc0783000   ( 164 kB)
[    0.000000]       .data : 0xc0784000 - 0xc07e9660   ( 406 kB)
[    0.000000]        .bss : 0xc07e9684 - 0xc08a0670   ( 732 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.006007] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.050262] pid_max: default: 32768 minimum: 301
[    0.053856] Mount-cache hash table entries: 512
[    0.057754] Initializing cgroup subsys cpuacct
[    0.061160] Initializing cgroup subsys devices
[    0.064559] Initializing cgroup subsys freezer
[    0.067807] Initializing cgroup subsys blkio
[    0.071358] CPU: Testing write buffer coherency: ok
[    0.078934] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.084499] Setting up static identity map for 0x40513cf0 - 0x40513d24
[    0.087413] devtmpfs: initialized
[    0.089579] dummy:
[    0.093097] NET: Registered protocol family 16
[    0.099401] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.104648] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.108081] Init eGon pin module V2.0
[    0.113493] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
[    0.115570] Initialize DMAC OK
[    0.123193] bio: create slab <bio-0> at 0
[    0.126592] sunxi_gpio driver init ver 1.3
[    0.132370] gpiochip_add: registered GPIOs 1 to 25 on device: A1X_GPIO
[    0.135414] SCSI subsystem initialized
[    0.140036] usbcore: registered new interface driver usbfs
[    0.144345] usbcore: registered new interface driver hub
[    0.148475] usbcore: registered new device driver usb
[    0.153995] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.159178] Switching to clocksource aw_64bits_counter
[    0.161172] FS-Cache: Loaded
[    0.166613] cfg80211: Calling CRDA to update world regulatory domain
[    0.168730] CacheFiles: Loaded
[    0.174303] [usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
[    0.178154] [sw_hcd0]: usb host driver initialize........
[    0.182308] [sw_hcd0]: open_usb_clock
[    0.206491] [sw_hcd0]: host_init_state = 0
[    0.207461] [sw_hcd0]: platform is usb host
[    0.210370] [sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
[    0.221550] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38
[    0.234080] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver

...lines cut out...

<6>[mmc-msg] sw_mci_init
[    2.142396] [mmc-msg] sw_mci_init
<6>[mmc-msg] MMC host used card: 0x3, boot card: 0x1, io_card 2
[    2.151456] [mmc-msg] MMC host used card: 0x3, boot card: 0x1, io_card 2
<6>[mmc-msg] sdc0 set round clock 400000, src 24000000
[    2.163250] [mmc-msg] sdc0 set round clock 400000, src 24000000
<6>[mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.177357] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc0 Probe: base:0xf1c0f000 irq:32 sg_cpu:e08e5000(4fc00000) ret 0.
[    2.194674] [mmc-msg] sdc0 Probe: base:0xf1c0f000 irq:32 sg_cpu:e08e5000(4fc00000) ret 0.
<6>[mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.210797] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc1 set round clock 400000, src 24000000
[    2.224715] [mmc-msg] sdc1 set round clock 400000, src 24000000
<6>[mmc-msg] sdc0 power on
[    2.233085] [mmc-msg] sdc0 power on
[ccmu] set sdc0 reset status to 0 failed!
[    2.240332] [ccmu] set sdc0 reset status to 0 failed!
<6>[mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.253529] [mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<3>[mmc-err] Failed to release sdc0 reset
[    2.266323] [mmc-err] Failed to release sdc0 reset
<6>[mmc-msg] sdc1 Probe: base:0xf1c10000 irq:33 sg_cpu:e08e7000(4fc01000) ret 0.
[    2.280283] [mmc-msg] sdc1 Probe: base:0xf1c10000 irq:33 sg_cpu:e08e7000(4fc01000) ret 0.
<6>sunxi_leds driver init
[    2.290836] sunxi_leds driver init
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.302583] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>sunxi leds can't find script data '[leds_para]' 'leds_used'
[    2.317537] sunxi leds can't find script data '[leds_para]' 'leds_used'
<6>usbcore: registered new interface driver usbhid
[    2.329135] usbcore: registered new interface driver usbhid
<6>[mmc-msg] sdc0 set round clock 400000, src 24000000
[    2.339613] [mmc-msg] sdc0 set round clock 400000, src 24000000
<6>usbhid: USB HID core driver
[    2.348321] usbhid: USB HID core driver
<6>IPv4 over IPv4 tunneling driver
[    2.357003] IPv4 over IPv4 tunneling driver
<6>TCP: cubic registered
[    2.363918] TCP: cubic registered
<6>Initializing XFRM netlink socket
[    2.370502] Initializing XFRM netlink socket
<6>NET: Registered protocol family 17
[    2.378201] NET: Registered protocol family 17
<6>NET: Registered protocol family 15
[    2.386062] NET: Registered protocol family 15
<6>8021q: 802.1Q VLAN Support v1.8
[    2.393755] 8021q: 802.1Q VLAN Support v1.8
<5>Registering the dns_resolver key type
[    2.401620] Registering the dns_resolver key type
<6>VFP support v0.3: [    2.408275] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
implementor 41 architecture 3 part 30 variant c rev 3
<5>Registering SWP/SWPB emulation handler
[    2.424515] Registering SWP/SWPB emulation handler
<6>registered taskstats version 1
[    2.432658] registered taskstats version 1
<6>I2C: i2c-3: HDMI I2C adapter
[    2.441119] I2C: i2c-3: HDMI I2C adapter
<3>[mmc-err] smc 0 err, cmd 52,  RTO
[    2.449217] [mmc-err] smc 0 err, cmd 52,  RTO
<3>[mmc-err] smc 0 err, cmd 52,  RTO
[    2.457693] [mmc-err] smc 0 err, cmd 52,  RTO
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.470388] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.490486] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>disp clks: lcd 74250000 pre_scale 1 hdmi 74250000 pll 297000000 2x 0
[    2.507372] disp clks: lcd 74250000 pre_scale 1 hdmi 74250000 pll 297000000 2x 0
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    2.518836] [mmc-err] smc 0 err, cmd 5,  RTO
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    2.527139] [mmc-err] smc 0 err, cmd 5,  RTO
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    2.535435] [mmc-err] smc 0 err, cmd 5,  RTO
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    2.543748] [mmc-err] smc 0 err, cmd 5,  RTO
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.562466] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.622156] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.663155] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    2.735172] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
<6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    2.772252] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
<6>[mmc-msg] sdc0 set round clock 46153846, src 1200000000
[    2.809082] [mmc-msg] sdc0 set round clock 46153846, src 1200000000
<3>[mmc-err] update clock timeout, fatal error
[    3.838072] [mmc-err] update clock timeout, fatal error
<6>Console: switching to colour frame buffer device 160x45
[    4.007936] Console: switching to colour frame buffer device 160x45
<3>drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    4.059719] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
<6>ALSA device list:
[    4.075894] ALSA device list:
<6>  #0: sunxi-CODEC  Audio Codec
[    4.081909]   #0: sunxi-CODEC  Audio Codec
<6>Waiting for root device /dev/mmcblk0p2...
[    4.108331] Waiting for root device /dev/mmcblk0p2...
<3>[mmc-err] update clock timeout, fatal error
[    4.838136] [mmc-err] update clock timeout, fatal error
<3>[mmc-err] update clock timeout, fatal error
[    5.838201] [mmc-err] update clock timeout, fatal error
<3>mmc0: error -123 whilst initialising SD card
[    5.908325] mmc0: error -123 whilst initialising SD card
<6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm OD pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    5.922055] [mmc-msg] sdc0 set ios: clk 50000000Hz bm OD pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
<6>[mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.939530] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc0 power off
[    5.951100] [mmc-msg] sdc0 power off
<3>[mmc-err] update clock timeout, fatal error
[    6.958277] [mmc-err] update clock timeout, fatal error
Find the full boot log here: https://pastebin.com/FkqP96PX
Seems that it can not access the SD card.
Any idea?