A13 hangs on boot, can anyone help please?

Started by Chris, March 24, 2020, 12:40:28 am

Previous topic - Next topic

Chris

March 24, 2020, 12:40:28 am Last Edit: March 24, 2020, 01:14:37 am by Chris
Downloaded the official olimex image
A13_debian_34_90_WIFI_RALINK_GCC_GPIO_X_I2C_100KHz_UVC_TS_FTDI_3G_video_accell_release_10.img
and copied it onto sd card, but boot hangs every time.
During boot sequence the green onboard led is on and the tux logo is shown for some seconds on vga output, but finally the led goes off and no more vga output.
Board is a A13-OLinuXino-WIFI w/ Hynix RAM and NAND and is well powered (12V / 4A).
Tried different sd cards - same effect.
Someone any idea what's going wrong?
Thanks a lot in advance!

Chris

U-Boot SPL 2014.04-10685-g4af825f (Jun 19 2014 - 09:08:33)
Board: A13-OLinuXino
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.04-10685-g4af825f (Jun 19 2014 - 09:08:33) Allwinner Technology

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

In:    serial
Out:  serial
Err:  serial
Net:  No ethernet found.
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading boot.scr
** Unable to read file boot.scr **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading script.bin
29588 bytes read in 30 ms (962.9 KiB/s)
reading uImage
4340784 bytes read in 303 ms (13.7 MiB/s)
## Booting kernel from Legacy Image at 48000000 ...
  Image Name:  Linux-3.4.90+
  Image Type:  ARM Linux Kernel Image (uncompressed)
  Data Size:    4340720 Bytes = 4.1 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.90+ (root@debian) (gcc version 4.7.1 (Debian 4.7.1-7) ) #1 PREEMPT Thu Jun 19 09:51:45 EEST 2014
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 A13 revision B (AW1625/sun5i) detected.
<7>On node 0 totalpages: 131072
<7>free_area_init_node: node 0, pgdat c08d312c, 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: 395200k/395200k available, 129088k 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 - 0xc081b780  (8270 kB)
      .init : 0xc081c000 - 0xc0847000  ( 172 kB)
      .data : 0xc0848000 - 0xc08db728  ( 590 kB)
      .bss : 0xc08db74c - 0xc098f760  ( 721 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 0x405061b0 - 0x405061e4
<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
<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>Linux video capture interface: v2.00
<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
axp driver uning configuration failed(566)
axp driver uning configuration failed(578)
<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 771
<3>alg: comp: Compression test 1 failed for lzo-generic: output len = 57
<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.: 0x0a
<6>[uart]: serial probe 1 irq 2 mapbase 0x01c28400
<6>sunxi-uart.1: ttyS0 at MMIO 0x1c28400 (irq = 2) is a U6_16550A
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 3.4.90+ (root@debian) (gcc version 4.7.1 (Debian 4.7.1-7) ) #1 PREEMPT Thu Jun 19 09:51:45 EEST 2014
[    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 A13 revision B (AW1625/sun5i) detected.
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c08d312c, 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: 395200k/395200k available, 129088k 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 - 0xc081b780  (8270 kB)
[    0.000000]      .init : 0xc081c000 - 0xc0847000  ( 172 kB)
[    0.000000]      .data : 0xc0848000 - 0xc08db728  ( 590 kB)
[    0.000000]        .bss : 0xc08db74c - 0xc098f760  ( 721 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.006019] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.050261] pid_max: default: 32768 minimum: 301
[    0.053862] Mount-cache hash table entries: 512
[    0.057765] Initializing cgroup subsys cpuacct
[    0.061169] Initializing cgroup subsys devices
[    0.064567] Initializing cgroup subsys freezer
[    0.067813] Initializing cgroup subsys blkio
[    0.071365] CPU: Testing write buffer coherency: ok
[    0.078947] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.084513] Setting up static identity map for 0x405061b0 - 0x405061e4
[    0.087415] devtmpfs: initialized
[    0.089600] dummy:
[    0.093126] NET: Registered protocol family 16
[    0.099451] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.104704] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.108145] Init eGon pin module V2.0
[    0.113559] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
[    0.115636] Initialize DMAC OK
[    0.122663] bio: create slab <bio-0> at 0
[    0.125892] SCSI subsystem initialized
[    0.130573] usbcore: registered new interface driver usbfs
[    0.134882] usbcore: registered new interface driver hub
[    0.139014] usbcore: registered new device driver usb
[    0.142676] Linux video capture interface: v2.00
[    0.148160] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.152987] Switching to clocksource aw_64bits_counter
[    0.154973] FS-Cache: Loaded
[    0.160351] cfg80211: Calling CRDA to update world regulatory domain
[    0.162539] CacheFiles: Loaded
[    0.168130] [usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
[    0.171932] [sw_hcd0]: usb host driver initialize........
[    0.176134] [sw_hcd0]: open_usb_clock
[    0.200285] [sw_hcd0]: host_init_state = 0
[    0.201255] [sw_hcd0]: platform is usb host
[    0.204160] [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.215342] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38
[    0.227861] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
[    0.234569] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
[    0.237711] hub 1-0:1.0: USB hub found
[    0.240605] hub 1-0:1.0: 1 port detected
[    0.244452] wrn: hcd is not enable, need not start hcd
[    0.245628] [sw_hcd0]: sw_usb_host0_disable start
[    0.251636] -------sw_hcd0_soft_disconnect---------
[    0.254601] is_on = 0, hcd0_set_vbus_cnt = 0
[    0.257650] [sw_hcd_host0]: Set USB Power Off
[    0.261394] wrn: hcd is not enable, need not stop hcd
[    0.262403] [sw_hcd0]: close_usb_clock
[    0.264896] [sw_hcd0]: sw_usb_host0_disable end
[    0.268068] [sw_udc]: udc_init: version 20080411
[    0.274533] axp driver uning configuration failed(566)
[    0.278386] axp driver uning configuration failed(578)
[    0.281903] NET: Registered protocol family 2
...some lines cut out...
<6>mmc0: new high speed SD card at address e624
[    6.706295] mmc0: new high speed SD card at address e624
<6>mmcblk0: mmc0:e624 SU02G 1.84 GiB
[    6.715367] mmcblk0: mmc0:e624 SU02G 1.84 GiB
<6> mmcblk0: p1 p2
[    6.723196]  mmcblk0: p1 p2
<6>kjournald starting.  Commit interval 5 seconds
[    7.179808] kjournald starting.  Commit interval 5 seconds
<6>EXT3-fs (mmcblk0p2): using internal journal
[    7.189559] EXT3-fs (mmcblk0p2): using internal journal
<6>EXT3-fs (mmcblk0p2): recovery complete
[    7.200092] EXT3-fs (mmcblk0p2): recovery complete
<6>EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    7.210714] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
<6>VFS: Mounted root (ext3 filesystem) on device 179:2.
[    7.222590] VFS: Mounted root (ext3 filesystem) on device 179:2.
<6>devtmpfs: mounted
[    7.232807] devtmpfs: mounted
<6>Freeing init memory: 172K
[    7.238642] Freeing init memory: 172K
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd<30>udevd[160]: starting version 175
[    8.068264] udevd[160]: starting version 175
udevd[160]: specified group 'videO' unknown

. ok
udevd[160]: specified group 'videO' unknown

[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...sw_usb_enable_hcd: usbc_num = 1
[    9.870843] sw_usb_enable_hcd: usbc_num = 1
ERR: script_parser_fetch usb_controller_type failed
[    9.889063] ERR: script_parser_fetch usb_controller_type failed
<6>usbcore: registered new interface driver rtl8188eu
[  10.037831] usbcore: registered new interface driver rtl8188eu
<30>udevd[193]: renamed network interface wlan0 to wlan12
[  10.105963] udevd[193]: renamed network interface wlan0 to wlan12
done.
Starting fake hwclock: loading system time.
Thu Jul  3 10:28:40 UTC 2014
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.20.1
/dev/mmcblk0p2: clean, 55219/120960 files, 330451/478464 blocks
done.
<6>EXT3-fs (mmcblk0p2): using internal journal
[  11.234021] EXT3-fs (mmcblk0p2): using internal journal
[ ok ] Cleaning up temporary files... /tmp.
[info] Loading kernel module sw_ahci_platform.
FATAL: Module sw_ahci_platform not found.
[info] Loading kernel module lcd.
[info] Loading kernel module ump.
UMP: [  11.630513] UMP: UMP device driver  loaded
UMP device driver  loaded
[info] Loading kernel module disp.
[info] Loading kernel module mali.
Mali: [  11.776177] Mali: permit MALI_IOC_MEM_MAP_EXT ioctl for framebuffer (paddr=0x49000000, size=33554432)
permit MALI_IOC_MEM_MAP_EXT ioctl for framebuffer (paddr=0x49000000, size=33554432)
<6>mali: use config clk_div 2
[  11.802116] mali: use config clk_div 2
<6>mali: clk_div 2
[  11.807710] mali: clk_div 2
Mali: [  11.811051] Mali: mali clock set completed, clock is  180000000 Hz
mali clock set completed, clock is  180000000 Hz
<6>mali: use config clk_div 2
[  11.824515] mali: use config clk_div 2
<6>mali: clk_div 2
[  11.830045] mali: clk_div 2
Mali: [  11.833385] Mali: mali clock set completed, clock is  180000000 Hz
mali clock set completed, clock is  180000000 Hz
Mali: [  11.848251] Mali: Mali device driver loaded
Mali device driver loaded
[info] Loading kernel module mali_drm.
FATAL: Module mali_drm not found.
[info] Loading kernel module 8192cu.
ERR: script_parser_fetch usb_controller_type failed
[  12.377449] ERR: script_parser_fetch usb_controller_type failed
<6>usbcore: registered new interface driver rtl8192cu
[  12.389611] usbcore: registered new interface driver rtl8192cu
[info] Loading kernel module gpio-sunxi.
<6>sunxi_gpio driver init ver 1.3
[  12.441234] sunxi_gpio driver init ver 1.3
<6>gpiochip_add: registered GPIOs 1 to 14 on device: A1X_GPIO
[  12.458707] gpiochip_add: registered GPIOs 1 to 14 on device: A1X_GPIO
[info] Loading kernel module sunxi_cedar_mod.
[cedar dev]: install start!!!
[  12.513446] [cedar dev]: install start!!!
[cedar dev]: install end!!!
[  12.525229] [cedar dev]: install end!!!
[info] Loading kernel module sunxi-codec.
[info] Loading kernel module pwm-sunxi.
pwm-sunxi: pwm0 configured - period: 10000, duty_percent: 99, duty: 9900
[  12.671203] pwm-sunxi: pwm0 configured - period: 10000, duty_percent: 99, duty: 9900
[info] Loading kernel module sun4i-keyboard.
<6>input: sun4i-keyboard as /devices/virtual/input/input2
[  12.746856] input: sun4i-keyboard as /devices/virtual/input/input2
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[ ok ] Configuring network interfaces...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting up ALSA...done.
[ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
Not starting X display manager (slim); it is not the default display manager.
[ ok ] Starting enhanced syslogd: rsyslogd.
[warn] /etc/environment has been deprecated for locale information; use /etc/default/locale for LC_ALL="en_US.utf8" instead ... (warning).
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] No valid /etc/lirc/lircd.conf has been found..
[ ok ] Remote control support has been disabled..
[ ok ] Reconfigure LIRC or manually replace /etc/lirc/lircd.conf to enable..
[ ok ] Loading cpufreq kernel modules...done (none).
[ ok ] CPUFreq Utilities: Setting performance CPUFreq governor...CPU0...done.
[ ok ] Starting network connection manager: NetworkManager.
[ ok ] Starting NTP server: ntpd.
[....] Starting OpenBSD Secure Shell server: sshd

See full boot output here:
https://paste2.org/yhMBnyFM