A13-SOM do not boot from SD-Card and canot be install android on nand

Started by Jentec, October 31, 2014, 05:27:27 PM

Previous topic - Next topic

Jentec

A13-SOM 512 will not boot from sd card with debian i use the image from here and this will be post on uart

U-Boot SPL 2014.04-10681-g78592f1-dirty (Jun 06 2014 - 13:43:24)
Board: A13-OLinuXinoM
DRAM: 0 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
spl: mmc blk read err - 0
### ERROR ### Please RESET the board ###

when i try to install android over livesuit my pc will not detecting the connection of the A13-som

dont know what happens with this unit i got it yesterday

the sd-card image and livesuit detection is working on a13-micro board (but micro board got no nand so install of android do not start)

so what happens its the board defect ?

i have found on forum "SPL: Please implement spl_start_uboot() for your board" that he got problems with him power supplay but i use a extern unit and he works on a13-micro

hope anyone can helps me


JohnS

Board looks fine but something is wrong with software image or power or whatever.

John

Jentec

ok after few tests with other power supply sd-cards and dont know what all

i will send back a13-som-512 with wifi module to olimex and hope for a replace or payment

but "1-3 times" som was booting but after resett this again hangs
interressting is this "DRAM: 0 MiB"

sd card on som board

U-Boot SPL 2014.04-10681-g78592f1-dirty (Jun 06 2014 - 13:43:24)
Board: A13-OLinuXinoM
DRAM: 0 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 SPL 2014.04-10681-g78592f1-dirty (Jun 06 2014 - 13:43:24)
Board: A13-OLinuXinoM
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 SPL 2014.04-10681-g78592f1-dirty (Jun 06 2014 - 13:43:24)
Board: A13-OLinuXinoM
DRAM: 0 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!

----------------------------------------------------------------------------------


sd-card with a13-micro alltimes boot perfectly tested 30x resetting and rebooting with kernel
no problems


U-Boot SPL 2014.04-10681-g78592f1-dirty (Jun 06 2014 - 13:43:24)
Board: A13-OLinuXinoM
DRAM: 256 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 2014.04-10681-g78592f1-dirty (Jun 06 2014 - 13:43:24) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Board: A13-OLinuXinoM
I2C:   ready
DRAM:  256 MiB
MMC:   SUNXI SD/MMC: 0
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
28808 bytes read in 30 ms (937.5 KiB/s)
reading uImage
4321416 bytes read in 303 ms (13.6 MiB/s)
## Booting kernel from Legacy Image at 48000000 ...
   Image Name:   Linux-3.4.90+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4321352 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) ) #11 PREEMPT Thu Jun 5 16:40:24 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: 65536
<7>free_area_init_node: node 0, pgdat c08cdd64, node_mem_map c098b000
<7>  DMA zone: 512 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 65024 pages, LIFO batch:15
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768<c>
<7>pcpu-alloc: <c>
  • <c>0 <c>
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    <5>Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
    <6>PID hash table entries: 1024 (order: 0, 4096 bytes)
    <6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    <6>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    <6>Memory: 256MB = 256MB total
    <5>Memory: 135324k/135324k available, 126820k reserved, 0K highmem
    <5>Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc08183bc   (8257 kB)
          .init : 0xc0819000 - 0xc0843000   ( 168 kB)
          .data : 0xc0844000 - 0xc08d6278   ( 585 kB)
           .bss : 0xc08d629c - 0xc098a160   ( 720 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 0x404ff7f8 - 0x404ff82c
    <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
    <6>NET: Registered protocol family 2
    <6>IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    <6>TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    <6>TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    <6>TCP: Hash tables configured (established 8192 bind 8192)
    <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.329: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 264
    <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) ) #11 PREEMPT Thu Jun 5 16:40:24 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: 65536
    [    0.000000] free_area_init_node: node 0, pgdat c08cdd64, node_mem_map c098b000
    [    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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc:
  • 0
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 256MB = 256MB total
    [    0.000000] Memory: 135324k/135324k available, 126820k 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 : 0xd0800000 - 0xff000000   ( 744 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08183bc   (8257 kB)
    [    0.000000]       .init : 0xc0819000 - 0xc0843000   ( 168 kB)
    [    0.000000]       .data : 0xc0844000 - 0xc08d6278   ( 585 kB)
    [    0.000000]        .bss : 0xc08d629c - 0xc098a160   ( 720 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

    ..................




jlucius

Are you using the same image for A13-SOM and for A13-Micro?

The Bootloader U-Boot requires different settings for DRAM for both boards, so this could be the reason why it fails.

Could you try the official Image for the A13-SOM?

https://www.olimex.com/wiki/A13-SOM

Jentec

was using image for A13-SOM 512 my som i have send for 3 weeks to olimex but noone is replay on email or forum what happens with the som ...
bad support from olimex like my money back when this guys dont like to help