Lemaker Banana Pro
For further Allwinner-based boards, please refer to soc.allwinner.sunxi
The board is available from various vendors, including the manufacturer itself, see here for BananaPro.
Supported Versions
Status
- Please refer to soc.allwinner.sunxi regarding the Allwinner A20 SOC.
Hardware Highlights
Model | Ports |
---|---|
BananaPi | AP6181 BT+WLAN, micro MMC, SATA, RCA video-out, HDMI, sound |
Remember: HDMI Output is not available in OpenWrt by default. Use console instead.
Installation
Please refer to soc.allwinner.sunxi.
Serial
You can use your usual serial levelshifter. Pinout is:
TX RX GND J15 o o o {ethernet} {usb}
Bootlogs
OpenWrt bootlog
U-Boot SPL 2016.01 (Jan 22 2016 - 22:50:30) DRAM: 1024 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC U-Boot 2016.01 (Jan 22 2016 - 22:50:30 +0100) Allwinner Technology CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment Setting up a 720x576i composite-pal console (overscan 32x20) In: serial Out: vga Err: vga SCSI: SUNXI SCSI INIT AHCI PHY power up failed. Net: eth0: ethernet@01c50000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr reading /boot.scr 377 bytes read in 19 ms (18.6 KiB/s) ## Executing script at 43100000 reading uImage 2184744 bytes read in 263 ms (7.9 MiB/s) reading dtb 29815 bytes read in 32 ms (909.2 KiB/s) ## Booting kernel from Legacy Image at 42000000 ... Image Name: ARM OpenWrt Linux-4.4 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2184680 Bytes = 2.1 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Kernel Image ... OK Using Device Tree in place at 43000000, end 4300a476 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.4.0 (wigyori@trabant) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47791) ) #5 SMP PREEMPT Fri Jan 22 23:13:46 CET 2016 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache [ 0.000000] Machine model: LeMaker Banana Pro [ 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 12 pages/cpu @ef7c6000 s17984 r8192 d22976 u49152 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260202 [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait [ 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: 1031000K/1046952K available (4340K kernel code, 205K rwdata, 1228K rodata, 268K init, 641K bss, 15952K reserved, 0K cma-reserved, 260520K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc05784ac (5570 kB) [ 0.000000] .init : 0xc0579000 - 0xc05bc000 ( 268 kB) [ 0.000000] .data : 0xc05bc000 - 0xc05ef6a8 ( 206 kB) [ 0.000000] .bss : 0xc05f2000 - 0xc06926b0 ( 642 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible 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.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000020] Switching to timer-based delay loop, resolution 41ns [ 0.000461] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000669] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns [ 0.000834] Console: colour dummy device 80x30 [ 0.000865] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000881] pid_max: default: 32768 minimum: 301 [ 0.000983] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000997] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001588] CPU: Testing write buffer coherency: ok [ 0.001950] /cpus/cpu@0 missing clock-frequency property [ 0.001972] /cpus/cpu@1 missing clock-frequency property [ 0.001986] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002060] Setting up static identity map for 0x40008280 - 0x400082d8 [ 0.080396] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080476] Brought up 2 CPUs [ 0.080498] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.080505] CPU: All CPU(s) started in HYP mode. [ 0.080510] CPU: Virtualization extensions available. [ 0.088837] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.089642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.089809] pinctrl core: initialized pinctrl subsystem [ 0.091553] NET: Registered protocol family 16 [ 0.091913] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.142762] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.142824] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 0.144019] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe [ 0.144068] reg-fixed-voltage vmmc3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/vmmc3_pin@0, deferring probe [ 0.145182] SCSI subsystem initialized [ 0.146240] usbcore: registered new interface driver usbfs [ 0.146390] usbcore: registered new interface driver hub [ 0.146562] usbcore: registered new device driver usb [ 0.147099] pps_core: LinuxPPS API ver. 1 registered [ 0.147111] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.147211] PTP clock support registered [ 0.148076] Advanced Linux Sound Architecture Driver Initialized. [ 0.149464] clocksource: Switched to clocksource arch_sys_counter [ 0.150956] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0xf0900000 [ 0.150980] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880 [ 0.157918] Console: switching to colour frame buffer device 82x33 [ 0.163551] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered! [ 0.176860] NET: Registered protocol family 2 [ 0.177650] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.177741] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.177869] TCP: Hash tables configured (established 8192 bind 8192) [ 0.177959] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.178022] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.178294] NET: Registered protocol family 1 [ 0.180888] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.181015] audit: initializing netlink subsys (disabled) [ 0.181102] audit: type=2000 audit(0.170:1): initialized [ 0.192880] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.193798] bounce: pool size: 64 pages [ 0.193821] io scheduler noop registered [ 0.193834] io scheduler deadline registered [ 0.193888] io scheduler cfq registered (default) [ 0.199225] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.298728] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.302823] console [ttyS0] disabled [ 0.323132] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 43, base_baud = 1500000) is a U6_16550A [ 0.928052] console [ttyS0] enabled [ 0.955395] 1c29000.serial: ttyS1 at MMIO 0x1c29000 (irq = 44, base_baud = 1500000) is a U6_16550A [ 0.988181] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 45, base_baud = 1500000) is a U6_16550A [ 1.002976] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.009633] ehci-platform: EHCI generic platform driver [ 1.015394] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.021683] ohci-platform: OHCI generic platform driver [ 1.027559] usbcore: registered new interface driver usb-storage [ 1.034343] mousedev: PS/2 mouse device common for all mice [ 1.041630] i2c /dev entries driver [ 1.046532] axp20x 0-0034: AXP20x variant AXP209 found [ 1.065246] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0 [ 1.075752] axp20x-regulator axp20x-regulator: regulators node not found [ 1.086329] axp20x 0-0034: AXP20X driver loaded [ 1.092678] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.101633] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found [ 1.107709] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 1.149707] sunxi-mmc 1c0f000.mmc: base:0xf08bc000 irq:27 [ 1.158142] Initializing XFRM netlink socket [ 1.163450] NET: Registered protocol family 10 [ 1.169166] NET: Registered protocol family 17 [ 1.173789] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.186494] can: controller area network core (rev 20120528 abi 9) [ 1.192799] NET: Registered protocol family 29 [ 1.197270] 8021q: 802.1Q VLAN Support v1.8 [ 1.212183] Registering SWP/SWPB emulation handler [ 1.226743] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.237527] mmc0: new high speed SDHC card at address 0007 [ 1.254187] mmcblk0: mmc0:0007 SD4GB 3.70 GiB [ 1.260013] mmcblk0: p1 p2 [ 1.339573] sun7i-dwmac 1c50000.ethernet: no reset control found [ 1.345586] Ring mode enabled [ 1.348639] No HW DMA feature register supported [ 1.353207] Normal descriptors [ 1.356528] TX Checksum insertion supported [ 1.365660] libphy: stmmac: probed [ 1.369077] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active [ 1.375492] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01) [ 1.381743] ehci-platform 1c14000.usb: EHCI Host Controller [ 1.387355] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1 [ 1.395343] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000 [ 1.419476] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00 [ 1.425785] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.432622] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.439854] usb usb1: Product: EHCI Host Controller [ 1.444728] usb usb1: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.450048] usb usb1: SerialNumber: 1c14000.usb [ 1.455409] hub 1-0:1.0: USB hub found [ 1.459214] hub 1-0:1.0: 1 port detected [ 1.463955] ehci-platform 1c1c000.usb: EHCI Host Controller [ 1.469606] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 1.477496] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000 [ 1.499478] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 1.505789] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.512594] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.519825] usb usb2: Product: EHCI Host Controller [ 1.524699] usb usb2: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.530024] usb usb2: SerialNumber: 1c1c000.usb [ 1.535356] hub 2-0:1.0: USB hub found [ 1.539161] hub 2-0:1.0: 1 port detected [ 1.543877] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 1.550572] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3 [ 1.558458] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400 [ 1.623657] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.630472] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.637688] usb usb3: Product: Generic Platform OHCI controller [ 1.644559] usb usb3: Manufacturer: Linux 4.4.0 ohci_hcd [ 1.649889] usb usb3: SerialNumber: 1c14400.usb [ 1.655275] hub 3-0:1.0: USB hub found [ 1.659081] hub 3-0:1.0: 1 port detected [ 1.663817] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 1.670512] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4 [ 1.678404] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400 [ 1.743665] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.750480] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.757695] usb usb4: Product: Generic Platform OHCI controller [ 1.763755] usb usb4: Manufacturer: Linux 4.4.0 ohci_hcd [ 1.769064] usb usb4: SerialNumber: 1c1c400.usb [ 1.774461] hub 4-0:1.0: USB hub found [ 1.778263] hub 4-0:1.0: 1 port detected [ 1.783334] sunxi-mmc 1c12000.mmc: No vqmmc regulator found [ 1.829493] sunxi-mmc 1c12000.mmc: base:0xf0a7e000 irq:28 [ 1.834996] hctosys: unable to open rtc device (rtc0) [ 1.845274] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !! [ 1.851924] vcc3v0: disabling [ 1.854921] vcc5v0: disabling [ 1.858062] ALSA device list: [ 1.861151] No soundcards found. [ 1.866762] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 1.876068] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 1.888150] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 1.894750] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 1.902426] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.909550] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.909642] Freeing unused kernel memory: 268K (c0579000 - c05bc000) [ 1.923087] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.931296] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 1.952414] mmc1: new high speed SDIO card at address 0001 [ 2.032684] init: Console is alive [ 2.036326] init: - watchdog - [ 2.169762] ahci-sunxi 1c18000.sata: PHY power up failed. [ 2.175225] ahci-sunxi: probe of 1c18000.sata failed with error -5 [ 3.040213] init: - preinit - Detected bananapro // LeMaker Banana Pro Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.163551] mount_root: mounting /dev/root [ 6.426268] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 6.437611] procd: - early - [ 6.441171] procd: - watchdog - [ 7.353749] procd: - ubus - [ 8.358900] random: ubusd urandom read with 27 bits of entropy available [ 9.367033] procd: - init - Please press Enter to activate this console. [ 9.848010] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 9.861491] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 9.868313] sunxi-rtc 1c20d00.rtc: RTC enabled [ 9.884420] ip_tables: (C) 2000-2006 Netfilter Core Team [ 9.899881] nf_conntrack version 0.5.0 (16113 buckets, 64452 max) [ 9.986833] xt_time: kernel timezone is -0000 [ 9.998510] PPP generic driver version 2.4.2 [ 10.004545] NET: Registered protocol family 24 [ 12.292536] RX IPC Checksum Offload disabled [ 12.296933] No MAC Management Counters available [ 12.320898] device eth0 entered promiscuous mode [ 12.328109] br-lan: port 1(eth0) entered forwarding state [ 12.333655] br-lan: port 1(eth0) entered forwarding state [ 14.269973] br-lan: port 1(eth0) entered disabled state [ 34.269802] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 34.278201] br-lan: port 1(eth0) entered forwarding state [ 34.283695] br-lan: port 1(eth0) entered forwarding state [ 36.174496] random: nonblocking pool is initialized [ 36.279464] br-lan: port 1(eth0) entered forwarding state BusyBox v1.24.1 (2016-01-22 22:50:34 CET) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- DESIGNATED DRIVER (Bleeding Edge, r48455) ----------------------------------------------------- * 2 oz. Orange Juice Combine all juices in a * 2 oz. Pineapple Juice tall glass filled with * 2 oz. Grapefruit Juice ice, stir well. * 2 oz. Cranberry Juice ----------------------------------------------------- root@OpenWrt:/#