I think the original image is still in the nand ...although I've never been able to interrupt the POST to get to a uboot prompt so not sure how I could dump the FEX file?
The A20-SOM appears to be the same as the A20-OLINUXINO-MICRO-4GB ....just the network issue in the uboot was getting in the way. At last she boots mainline :)) U-Boot SPL 2014.04 (Jun 28 2014 - 12:19:24) Board: A20-SOM DRAM: 1024 MiB CPU: 960000000Hz, AXI/AHB/APB: 3/2/2 spl: not an uImage at 1600 U-Boot 2014.04 (Jun 28 2014 - 12:19:24) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: A20-SOM I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 In: serial Out: serial Err: serial Net: dwmac.1c50000 Hit any key to stop autoboot: 0 sun7i# setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 sun7i# fatload mmc 0 0x46000000 uImage reading uImage 4915088 bytes read in 247 ms (19 MiB/s) sun7i# fatload mmc 0 0x49000000 sun7i-a20-som.dtb reading sun7i-a20-som.dtb 22285 bytes read in 28 ms (776.4 KiB/s) sun7i# bootm 0x46000000 - 0x49000000 ## Booting kernel from Legacy Image at 46000000 ... Image Name: Linux-3.16.0-rc2 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4915024 Bytes = 4.7 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 49000000 Booting using the fdt blob at 0x49000000 Loading Kernel Image ... OK Loading Device Tree to 4fff7000, end 4ffff70c ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.16.0-rc2 ([email protected]) (gcc version 4.9.0 (Buildroot 2014.08-git-00381-g27a1f09-dirty) ) #1 SMP Sat Jun 28 18:04:25 BST 2014 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Olimex A20-SOM [ 0.000000] cma: CMA: reserved 64 MiB at 6b800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] PERCPU: Embedded 8 pages/cpu @eafb2000 s8448 r8192 d16128 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 962836K/1048576K available (6459K kernel code, 890K rwdata, 2564K rodata, 656K init, 304K bss, 85740K reserved, 270336K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0208000 - 0xc0ad81d0 (9025 kB) [ 0.000000] .init : 0xc0ad9000 - 0xc0b7d100 ( 657 kB) [ 0.000000] .data : 0xc0b7e000 - 0xc0c5cb80 ( 891 kB) [ 0.000000] .bss : 0xc0c5cb88 - 0xc0ca8bc8 ( 305 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns [ 0.000017] Switching to timer-based delay loop [ 0.001042] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns [ 0.001420] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 26843545593ns [ 0.001680] Console: colour dummy device 80x30 [ 0.001711] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000) [ 0.001725] pid_max: default: 32768 minimum: 301 [ 0.001874] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001887] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002475] CPU: Testing write buffer coherency: ok [ 0.002770] /cpus/cpu@0 missing clock-frequency property [ 0.002786] /cpus/cpu@1 missing clock-frequency property [ 0.002798] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002857] Setting up static identity map for 0x40820028 - 0x408200c0 [ 0.004963] CPU1: Booted secondary processor [ 0.005009] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.005082] Brought up 2 CPUs [ 0.005101] SMP: Total of 2 processors activated. [ 0.005107] CPU: All CPU(s) started in HYP mode. [ 0.005112] CPU: Virtualization extensions available. [ 0.005797] devtmpfs: initialized [ 0.009462] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.009879] pinctrl core: initialized pinctrl subsystem [ 0.010413] regulator-dummy: no parameters [ 0.018014] NET: Registered protocol family 16 [ 0.019730] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.021359] cpuidle: using governor ladder [ 0.021379] cpuidle: using governor menu [ 0.027364] No ATAGs? [ 0.027409] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.027421] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.027574] EXYNOS: PMU not supported [ 0.029195] Serial: AMBA PL011 UART driver [ 0.053105] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot [ 0.053140] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5 [ 0.053466] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe [ 0.053484] platform ahci-5v: Driver reg-fixed-voltage requests probe deferral [ 0.053506] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.053518] platform usb1-vbus: Driver reg-fixed-voltage requests probe deferral [ 0.053538] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 0.053551] platform usb2-vbus: Driver reg-fixed-voltage requests probe deferral [ 0.053732] vcc3v0: 3000 mV [ 0.053950] vcc3v3: 3300 mV [ 0.054180] axp-ipsout: 5000 mV [ 0.055944] vgaarb: loaded [ 0.056598] SCSI subsystem initialized [ 0.057214] usbcore: registered new interface driver usbfs [ 0.057282] usbcore: registered new interface driver hub [ 0.057419] usbcore: registered new device driver usb [ 0.058085] Linux video capture interface: v2.00 [ 0.058150] pps_core: LinuxPPS API ver. 1 registered [ 0.058157] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> [ 0.058187] PTP clock support registered [ 0.058265] EDAC MC: Ver: 3.0.0 [ 0.059095] Advanced Linux Sound Architecture Driver Initialized. [ 0.060225] Switched to clocksource arch_sys_counter [ 0.069967] NET: Registered protocol family 2 [ 0.070714] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.070805] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.070927] TCP: Hash tables configured (established 8192 bind 8192) [ 0.070996] TCP: reno registered [ 0.071011] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.071070] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.071308] NET: Registered protocol family 1 [ 0.071714] RPC: Registered named UNIX socket transport module. [ 0.071728] RPC: Registered udp transport module. [ 0.071734] RPC: Registered tcp transport module. [ 0.071740] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.072528] hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available [ 0.073990] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.085636] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.086381] NFS: Registering the id_resolver key type [ 0.086462] Key type id_resolver registered [ 0.086470] Key type id_legacy registered [ 0.086533] msgmni has been set to 1480 [ 0.087023] bounce: pool size: 64 pages [ 0.087269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 0.087289] io scheduler noop registered [ 0.087302] io scheduler deadline registered [ 0.087477] io scheduler cfq registered (default) [ 0.088276] platform 1c13400.phy: Driver sun4i-usb-phy requests probe deferral [ 0.091987] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.149961] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.152467] console [ttyS0] disabled [ 0.172636] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A [ 0.861108] console [ttyS0] enabled [ 0.885848] 1c29800.serial: ttyS1 at MMIO 0x1c29800 (irq = 51, base_baud = 1500000) is a U6_16550A [ 0.915986] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 52, base_baud = 1500000) is a U6_16550A [ 0.925619] Serial: IMX driver [ 0.928929] msm_serial: driver initialized [ 0.933427] STMicroelectronics ASC driver initialized [ 0.939090] serial: Freescale lpuart driver [ 0.943491] [drm] Initialized drm 1.1.0 20060810 [ 0.952977] loop: module loaded [ 0.957702] platform 1c18000.sata: Driver ahci-sunxi requests probe deferral [ 0.968388] CAN device driver interface [ 0.973826] stmmaceth 1c50000.ethernet: no regulator found [ 0.979410] stmmaceth 1c50000.ethernet: no reset control found [ 0.985254] Ring mode enabled [ 0.988306] No HW DMA feature register supported [ 0.992838] Normal descriptors [ 0.996166] TX Checksum insertion supported [ 1.004430] libphy: stmmac: probed [ 1.007865] eth0: PHY ID 001cc912 at 1 IRQ POLL (stmmac-0:01) active [ 1.014690] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 1.022187] usbcore: registered new interface driver pegasus [ 1.027964] usbcore: registered new interface driver asix [ 1.033432] usbcore: registered new interface driver ax88179_178a [ 1.039587] usbcore: registered new interface driver cdc_ether [ 1.045500] usbcore: registered new interface driver smsc75xx [ 1.051322] usbcore: registered new interface driver smsc95xx [ 1.057126] usbcore: registered new interface driver net1080 [ 1.062842] usbcore: registered new interface driver cdc_subset [ 1.068824] usbcore: registered new interface driver zaurus [ 1.074528] usbcore: registered new interface driver cdc_ncm [ 1.080230] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.086761] ehci-pci: EHCI PCI platform driver [ 1.091270] ehci-platform: EHCI generic platform driver [ 1.096701] platform 1c14000.usb: Driver ehci-platform requests probe deferral [ 1.104005] platform 1c1c000.usb: Driver ehci-platform requests probe deferral [ 1.111333] ehci-omap: OMAP-EHCI Host Controller driver [ 1.116678] ehci-orion: EHCI orion driver [ 1.120795] SPEAr-ehci: EHCI SPEAr driver [ 1.124891] tegra-ehci: Tegra EHCI driver [ 1.129012] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.135234] ohci-pci: OHCI PCI platform driver [ 1.139745] ohci-platform: OHCI generic platform driver [ 1.145108] platform 1c14400.usb: Driver ohci-platform requests probe deferral [ 1.152420] platform 1c1c400.usb: Driver ohci-platform requests probe deferral [ 1.159712] ohci-omap3: OHCI OMAP3 driver [ 1.163839] SPEAr-ohci: OHCI SPEAr driver [ 1.168501] usbcore: registered new interface driver usb-storage [ 1.175962] mousedev: PS/2 mouse device common for all mice [ 1.183511] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 1.190330] sunxi-rtc 1c20d00.rtc: RTC enabled [ 1.195390] i2c /dev entries driver [ 1.202381] usbcore: registered new interface driver uvcvideo [ 1.208178] USB Video Class driver (1.1.1) [ 1.212322] gspca_main: v2.14.0 registered [ 1.220585] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.229393] sdhci: Secure Digital Host Controller Interface driver [ 1.235591] sdhci: Copyright(c) Pierre Ossman [ 1.240591] Synopsys Designware Multimedia Card Interface Driver [ 1.247394] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found [ 1.253675] sunxi-mmc 1c0f000.mmc: Got CD GPIO #225. [ 1.285263] sunxi-mmc 1c0f000.mmc: base:0xf0074000 irq:64 [ 1.291191] sunxi-mmc 1c12000.mmc: No vqmmc regulator found [ 1.297440] sunxi-mmc 1c12000.mmc: Got CD GPIO #235. [ 1.330239] sunxi-mmc 1c12000.mmc: base:0xf0076000 irq:67 [ 1.335830] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.342459] usbcore: registered new interface driver usbhid [ 1.348059] usbhid: USB HID core driver [ 1.356171] TCP: cubic registered [ 1.359506] NET: Registered protocol family 17 [ 1.364006] mmc0: host does not support reading read-only switch. assuming write-enable. [ 1.364009] can: controller area network core (rev 20120528 abi 9) [ 1.364102] NET: Registered protocol family 29 [ 1.364115] can: raw protocol (rev 20120528) [ 1.364124] can: broadcast manager protocol (rev 20120528 t) [ 1.364138] can: netlink gateway (rev 20130117) max_hops=1 [ 1.364607] Key type dns_resolver registered [ 1.364722] ThumbEE CPU extension supported. [ 1.364744] Registering SWP/SWPB emulation handler [ 1.366374] ahci-5v: 5000 mV [ 1.366855] usb1-vbus: 5000 mV [ 1.367268] usb2-vbus: 5000 mV [ 1.405274] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP [ 1.405284] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1 [ 1.405346] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 1.405358] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc [ 1.406377] scsi0 : ahci_platform [ 1.406739] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88 [ 1.407512] ehci-platform 1c14000.usb: EHCI Host Controller [ 1.407551] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1 [ 1.407730] ehci-platform 1c14000.usb: irq 71, io mem 0x01c14000 [ 1.415245] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00 [ 1.416173] hub 1-0:1.0: USB hub found [ 1.416215] hub 1-0:1.0: 1 port detected [ 1.417425] ehci-platform 1c1c000.usb: EHCI Host Controller [ 1.417460] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 1.417643] ehci-platform 1c1c000.usb: irq 72, io mem 0x01c1c000 [ 1.425241] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 1.426158] hub 2-0:1.0: USB hub found [ 1.426199] hub 2-0:1.0: 1 port detected [ 1.427260] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 1.427310] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3 [ 1.427411] ohci-platform 1c14400.usb: irq 96, io mem 0x01c14400 [ 1.485133] hub 3-0:1.0: USB hub found [ 1.485176] hub 3-0:1.0: 1 port detected [ 1.486312] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 1.486350] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4 [ 1.486486] ohci-platform 1c1c400.usb: irq 97, io mem 0x01c1c400 [ 1.545123] hub 4-0:1.0: USB hub found [ 1.545176] hub 4-0:1.0: 1 port detected [ 1.548647] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-03 11:18:21 UTC (213501) [ 1.552359] vcc3v0: disabling [ 1.552477] ALSA device list: [ 1.552480] No soundcards found. [ 1.605528] mmc0: new high speed SDHC card at address 0007 [ 1.611554] mmcblk0: mmc0:0007 SD08G 7.42 GiB [ 1.617501] mmcblk0: p1 p2 [ 1.730250] ata1: SATA link down (SStatus 0 SControl 300) [ 1.737393] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem [ 1.757378] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.765543] VFS: Mounted root (ext3 filesystem) readonly on device 179:2. [ 1.776474] devtmpfs: mounted [ 1.780137] Freeing unused kernel memory: 656K (c0ad9000 - c0b7d000) [ 2.353385] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered Starting logging: OK Initializing random number generator... [ 2.435003] random: dd urandom read with 40 bits of entropy available done. Starting network... A20-SOM - HELLO WORLD! A20-SOM login: A20-SOM - HELLO WORLD! A20-SOM login: root # # # cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 4 (v7l) Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 4 processor : 1 model name : ARMv7 Processor rev 4 (v7l) Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 4 Hardware : Allwinner sun7i (A20) Family Revision : 0000 Serial : 0000000000000000 # # # uname [ 24.547291] random: nonblocking pool is initialized -a Linux A20-SOM 3.16.0-rc2 #1 SMP Sat Jun 28 18:04:25 BST 2014 armv7l GNU/Linux # ifconfig -a eth0 Link encap:Ethernet HWaddr 12:34:56:78:99:AA BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:117 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) # ifconfig eth0 192.100.1.19 netmask 255.255.255.0 up [ 54.041368] No MAC Management Counters available # ping [ 58.030557] stmmaceth 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx # # ping 192.100.1.1 PING 192.100.1.1 (192.100.1.1): 56 data bytes 64 bytes from 192.100.1.1: seq=0 ttl=64 time=0.781 ms 64 bytes from 192.100.1.1: seq=1 ttl=64 time=0.338 ms 64 bytes from 192.100.1.1: seq=2 ttl=64 time=0.324 ms --- 192.100.1.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.324/0.481/0.781 ms # On Sat, Jun 28, 2014 at 6:03 PM, <[email protected]> wrote: > One important step of the device howto is > Step 3: Retrieve crucial information from the stock OS > Have you still the original os on your board? Is there an original fex > available ? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "linux-sunxi" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/linux-sunxi/nRXlsqemDt8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
