Differences
This shows you the differences between two versions of the page.
| Next revisionBoth sides next revision | |||
| fr:toh:lemaker:bananapi [2015/02/22 18:27] – creation Bouv | fr:toh:lemaker:bananapi [2018/02/11 17:02] – external edit | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== BananaPi ===== | ||
| + | |||
| + | Pour découvrir d' | ||
| + | |||
| + | |||
| + | ==== Singularité matériel ==== | ||
| + | |||
| + | ^ Model ^ Ports ^ | ||
| + | | BananaPi | 2x USB, 1x 10/100/1000 Ethernet, MMC, SATA, sortie vidéo RCA, HDMI, audio | | ||
| + | |||
| + | ==== Disponibilité ==== | ||
| + | |||
| + | Cette carte est disponible depuis de nombreux revendeur, incluant le fabricant lui-même (voir : [[http:// | ||
| + | |||
| + | ==== Série ==== | ||
| + | |||
| + | Vous pouvez utiliser votre cavalier habituel, le brochage est : | ||
| + | < | ||
| + | GND TX RX | ||
| + | | ||
| + | {SD slot} o o o o | ||
| + | </ | ||
| + | |||
| + | ==== Statut ==== | ||
| + | |||
| + | * Veuillez vous référer à [[doc/ | ||
| + | * u-boot et le fichier DTS tout juste publié | ||
| + | * GMAC ne fonctionne pas à cause de subtile différence de PHY | ||
| + | |||
| + | ==== Installation ==== | ||
| + | |||
| + | Veuillez vous référer à : [[/ | ||
| + | |||
| + | ==== dmesg ==== | ||
| + | |||
| + | < | ||
| + | U-Boot 2014.04 (Sep 28 2014 - 22:27:22) Allwinner Technology | ||
| + | | ||
| + | CPU: | ||
| + | Board: Bananapi | ||
| + | I2C: ready | ||
| + | DRAM: 1 GiB | ||
| + | MMC: SUNXI SD/MMC: 0 | ||
| + | *** Warning - bad CRC, using default environment | ||
| + | | ||
| + | In: serial | ||
| + | Out: | ||
| + | Err: | ||
| + | Net: | ||
| + | Hit any key to stop autoboot: | ||
| + | reading uEnv.txt | ||
| + | 240 bytes read in 17 ms (13.7 KiB/ | ||
| + | Loaded environment from uEnv.txt | ||
| + | Running uenvcmd ... | ||
| + | reading uImage | ||
| + | 2574432 bytes read in 296 ms (8.3 MiB/ | ||
| + | reading dtb | ||
| + | 22849 bytes read in 29 ms (768.6 KiB/ | ||
| + | ## Booting kernel from Legacy Image at 46000000 ... | ||
| + | Image Name: ARM OpenWrt Linux-3.14.18 | ||
| + | Image Type: ARM Linux Kernel Image (uncompressed) | ||
| + | Data Size: 2574368 Bytes = 2.5 MiB | ||
| + | Load Address: 40008000 | ||
| + | Entry Point: | ||
| + | | ||
| + | ## Flattened Device Tree blob at 49000000 | ||
| + | | ||
| + | | ||
| + | Using Device Tree in place at 49000000, end 49008940 | ||
| + | | ||
| + | Starting kernel ... | ||
| + | | ||
| + | [ 0.000000] Booting Linux on physical CPU 0x0 | ||
| + | [ 0.000000] Linux version 3.14.18 (wigyori@trabant) (gcc version 4.8.3 (OpenWrt/ | ||
| + | [ 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: Lemaker bananaPi | ||
| + | [ 0.000000] Memory policy: Data cache writealloc | ||
| + | [ 0.000000] psci: probing function IDs from device-tree | ||
| + | [ 0.000000] PERCPU: Embedded 7 pages/cpu @eefdb000 s7104 r8192 d13376 u32768 | ||
| + | [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624 | ||
| + | [ 0.000000] Kernel command line: console=ttyS0, | ||
| + | [ 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: 1033784K/ | ||
| + | [ 0.000000] Virtual kernel memory layout: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] Preemptible hierarchical RCU implementation. | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, | ||
| + | [ 0.000000] NR_IRQS:16 nr_irqs:16 16 | ||
| + | [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys). | ||
| + | [ 0.000009] sched_clock: | ||
| + | [ 0.000018] Switching to timer-based delay loop | ||
| + | [ 0.000322] sched_clock: | ||
| + | [ 0.000469] sched_clock: | ||
| + | [ 0.000626] Console: colour dummy device 80x30 | ||
| + | [ 0.000664] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) | ||
| + | [ 0.000679] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.000843] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) | ||
| + | [ 0.000856] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) | ||
| + | [ 0.006501] CPU: Testing write buffer coherency: ok | ||
| + | [ 0.006849] /cpus/cpu@0 missing clock-frequency property | ||
| + | [ 0.006871] /cpus/cpu@1 missing clock-frequency property | ||
| + | [ 0.006885] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 | ||
| + | [ 0.006911] Setting up static identity map for 0x40011988 - 0x400119bc | ||
| + | [ 0.060470] CPU1: Booted secondary processor | ||
| + | [ 0.060516] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 | ||
| + | [ 0.060619] Brought up 2 CPUs | ||
| + | [ 0.060642] SMP: Total of 2 processors activated. | ||
| + | [ 0.060648] CPU: All CPU(s) started in HYP mode. | ||
| + | [ 0.060654] CPU: Virtualization extensions available. | ||
| + | [ 0.065352] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 | ||
| + | [ 0.065689] pinctrl core: initialized pinctrl subsystem | ||
| + | [ 0.066069] regulator-dummy: | ||
| + | [ 0.066391] NET: Registered protocol family 16 | ||
| + | [ 0.066654] DMA: preallocated 256 KiB pool for atomic coherent allocations | ||
| + | [ 0.076391] bio: create slab < | ||
| + | [ 0.076988] reg-fixed-voltage ahci-5v.4: could not find pctldev for node / | ||
| + | [ 0.077017] platform ahci-5v.4: Driver reg-fixed-voltage requests probe deferral | ||
| + | [ 0.077045] reg-fixed-voltage usb1-vbus.5: | ||
| + | [ 0.077060] platform usb1-vbus.5: | ||
| + | [ 0.077083] reg-fixed-voltage usb2-vbus.6: | ||
| + | [ 0.077098] platform usb2-vbus.6: | ||
| + | [ 0.077123] reg-fixed-voltage gmac-3v3.8: could not find pctldev for node / | ||
| + | [ 0.077139] platform gmac-3v3.8: Driver reg-fixed-voltage requests probe deferral | ||
| + | [ 0.077567] SCSI subsystem initialized | ||
| + | [ 0.078069] usbcore: registered new interface driver usbfs | ||
| + | [ 0.078133] usbcore: registered new interface driver hub | ||
| + | [ 0.078251] usbcore: registered new device driver usb | ||
| + | [ 0.078379] pps_core: LinuxPPS API ver. 1 registered | ||
| + | [ 0.078389] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti < | ||
| + | [ 0.078413] PTP clock support registered | ||
| + | [ 0.079312] Switched to clocksource arch_sys_counter | ||
| + | [ 0.086193] NET: Registered protocol family 2 | ||
| + | [ 0.087283] TCP established hash table entries: 8192 (order: 3, 32768 bytes) | ||
| + | [ 0.087375] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) | ||
| + | [ 0.087498] TCP: Hash tables configured (established 8192 bind 8192) | ||
| + | [ 0.087576] TCP: reno registered | ||
| + | [ 0.087594] UDP hash table entries: 512 (order: 2, 16384 bytes) | ||
| + | [ 0.087650] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) | ||
| + | [ 0.087967] NET: Registered protocol family 1 | ||
| + | [ 0.089282] futex hash table entries: 512 (order: 3, 32768 bytes) | ||
| + | [ 0.089509] audit: initializing netlink subsys (disabled) | ||
| + | [ 0.089578] audit: type=2000 audit(0.070: | ||
| + | [ 0.090111] bounce pool size: 64 pages | ||
| + | [ 0.097798] VFS: Disk quotas dquot_6.5.2 | ||
| + | [ 0.098124] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) | ||
| + | [ 0.100207] squashfs: version 4.0 (2009/ | ||
| + | [ 0.100221] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
| + | [ 0.101013] msgmni has been set to 1491 | ||
| + | [ 0.102975] io scheduler noop registered | ||
| + | [ 0.102995] io scheduler deadline registered | ||
| + | [ 0.103044] io scheduler cfq registered (default) | ||
| + | [ 0.103351] platform 1c13400.phy: | ||
| + | [ 0.105767] sunxi-pinctrl 1c20800.pinctrl: | ||
| + | [ 0.147015] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled | ||
| + | [ 0.169368] 1c28000.serial: | ||
| + | [ 0.775651] console [ttyS0] enabled | ||
| + | [ 0.801003] dw-apb-uart 1c29800.serial: | ||
| + | [ 0.807750] dw-apb-uart 1c29800.serial: | ||
| + | [ 0.813529] 1c29800.serial: | ||
| + | [ 0.844529] dw-apb-uart 1c29c00.serial: | ||
| + | [ 0.851276] dw-apb-uart 1c29c00.serial: | ||
| + | [ 0.857075] 1c29c00.serial: | ||
| + | [ 0.866927] platform 1c18000.sata: | ||
| + | [ 0.876819] platform 1c50000.ethernet: | ||
| + | [ 0.884260] ehci_hcd: USB 2.0 ' | ||
| + | [ 0.890801] ehci-platform: | ||
| + | [ 0.896148] platform 1c14000.usb: | ||
| + | [ 0.903463] platform 1c1c000.usb: | ||
| + | [ 0.910777] ohci_hcd: USB 1.1 ' | ||
| + | [ 0.916979] ohci-platform: | ||
| + | [ 0.922317] platform 1c14400.usb: | ||
| + | [ 0.929615] platform 1c1c400.usb: | ||
| + | [ 0.936966] usbcore: registered new interface driver usb-storage | ||
| + | [ 0.943223] mousedev: PS/2 mouse device common for all mice | ||
| + | [ 0.949196] input: 1c22800.lradc as / | ||
| + | [ 0.966374] input: axp20x-pek as / | ||
| + | [ 0.976221] LDO1: 1300 mV | ||
| + | [ 0.979620] LDO2: 1800 <--> 3300 mV at 3000 mV | ||
| + | [ 0.984578] LDO3: 700 <--> 3500 mV at 2275 mV | ||
| + | [ 0.989236] LDO4: 1250 <--> 3300 mV at 2800 mV | ||
| + | [ 0.994218] LDO5: 1800 <--> 3300 mV at 2800 mV | ||
| + | [ 0.999175] DCDC2: 700 <--> 2275 mV at 1400 mV | ||
| + | [ 1.004386] DCDC3: 700 <--> 3500 mV at 1300 mV | ||
| + | [ 1.009025] axp20x 0-0034: AXP20X driver loaded | ||
| + | [ 1.014797] sunxi-wdt 1c20c90.watchdog: | ||
| + | [ 1.023580] sunxi-mmc 1c0f000.mmc: | ||
| + | [ 1.028769] sunxi-mmc 1c0f000.mmc: | ||
| + | [ 1.036497] sunxi-ss 1c15000.crypto-engine: | ||
| + | [ 1.042984] TCP: cubic registered | ||
| + | [ 1.046307] Initializing XFRM netlink socket | ||
| + | [ 1.050670] NET: Registered protocol family 17 | ||
| + | [ 1.055212] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 1.059521] Registering SWP/SWPB emulation handler | ||
| + | [ 1.064686] registered taskstats version 1 | ||
| + | [ 1.069093] LDO4: disabling | ||
| + | [ 1.072100] LDO3: disabling | ||
| + | [ 1.075064] regulator-dummy: | ||
| + | [ 1.079340] ahci-5v: 5000 mV | ||
| + | [ 1.082750] usb1-vbus: 5000 mV | ||
| + | [ 1.086217] usb2-vbus: 5000 mV | ||
| + | [ 1.089756] gmac-3v3: 3300 mV | ||
| + | [ 1.159363] ahci-sunxi 1c18000.sata: | ||
| + | [ 1.166851] ahci-sunxi 1c18000.sata: | ||
| + | [ 1.172755] ahci-sunxi 1c18000.sata: | ||
| + | [ 1.181728] ahci-sunxi 1c18000.sata: | ||
| + | [ 1.190667] scsi0 : ahci_platform | ||
| + | [ 1.194351] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88 | ||
| + | [ 1.259403] stmmaceth 1c50000.ethernet: | ||
| + | [ 1.265240] | ||
| + | [ 1.268292] | ||
| + | [ 1.272846] | ||
| + | [ 1.276169] | ||
| + | [ 1.284697] libphy: stmmac: probed | ||
| + | [ 1.288113] eth0: PHY ID 001cc915 at 0 IRQ 0 (stmmac-0: | ||
| + | [ 1.294222] eth0: PHY ID 001cc915 at 1 IRQ 0 (stmmac-0: | ||
| + | [ 1.300008] ehci-platform 1c14000.usb: | ||
| + | [ 1.305612] ehci-platform 1c14000.usb: | ||
| + | [ 1.313490] ehci-platform 1c14000.usb: | ||
| + | [ 1.339340] ehci-platform 1c14000.usb: | ||
| + | [ 1.345629] usb usb1: New USB device found, idVendor=1d6b, | ||
| + | [ 1.352440] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 | ||
| + | [ 1.359668] usb usb1: Product: EHCI Host Controller | ||
| + | [ 1.364543] usb usb1: Manufacturer: | ||
| + | [ 1.366542] mmc0: host does not support reading read-only switch. assuming write-enable. | ||
| + | [ 1.378113] usb usb1: SerialNumber: | ||
| + | [ 1.383225] hub 1-0:1.0: USB hub found | ||
| + | [ 1.387012] hub 1-0:1.0: 1 port detected | ||
| + | [ 1.391555] ehci-platform 1c1c000.usb: | ||
| + | [ 1.397163] ehci-platform 1c1c000.usb: | ||
| + | [ 1.405027] ehci-platform 1c1c000.usb: | ||
| + | [ 1.429331] ehci-platform 1c1c000.usb: | ||
| + | [ 1.435589] usb usb2: New USB device found, idVendor=1d6b, | ||
| + | [ 1.442397] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 | ||
| + | [ 1.449622] usb usb2: Product: EHCI Host Controller | ||
| + | [ 1.454497] usb usb2: Manufacturer: | ||
| + | [ 1.459988] usb usb2: SerialNumber: | ||
| + | [ 1.465049] hub 2-0:1.0: USB hub found | ||
| + | [ 1.468833] hub 2-0:1.0: 1 port detected | ||
| + | [ 1.473332] ohci-platform 1c14400.usb: | ||
| + | [ 1.479997] ohci-platform 1c14400.usb: | ||
| + | [ 1.487829] ohci-platform 1c14400.usb: | ||
| + | [ 1.529342] mmc0: new high speed SDHC card at address 0007 | ||
| + | [ 1.535419] mmcblk0: mmc0:0007 SD4GB 3.70 GiB | ||
| + | [ 1.541226] | ||
| + | [ 1.549379] ata1: SATA link down (SStatus 0 SControl 300) | ||
| + | [ 1.553552] usb usb3: New USB device found, idVendor=1d6b, | ||
| + | [ 1.553560] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 | ||
| + | [ 1.553566] usb usb3: Product: Generic Platform OHCI controller | ||
| + | [ 1.553572] usb usb3: Manufacturer: | ||
| + | [ 1.553577] usb usb3: SerialNumber: | ||
| + | [ 1.554155] hub 3-0:1.0: USB hub found | ||
| + | [ 1.554197] hub 3-0:1.0: 1 port detected | ||
| + | [ 1.554809] ohci-platform 1c1c400.usb: | ||
| + | [ 1.554841] ohci-platform 1c1c400.usb: | ||
| + | [ 1.554954] ohci-platform 1c1c400.usb: | ||
| + | [ 1.613503] usb usb4: New USB device found, idVendor=1d6b, | ||
| + | [ 1.620312] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 | ||
| + | [ 1.627528] usb usb4: Product: Generic Platform OHCI controller | ||
| + | [ 1.633456] usb usb4: Manufacturer: | ||
| + | [ 1.638938] usb usb4: SerialNumber: | ||
| + | [ 1.644084] hub 4-0:1.0: USB hub found | ||
| + | [ 1.647882] hub 4-0:1.0: 1 port detected | ||
| + | [ 1.652366] drivers/ | ||
| + | [ 1.665555] EXT4-fs (mmcblk0p2): | ||
| + | [ 1.674862] EXT4-fs (mmcblk0p2): | ||
| + | [ 1.689116] EXT4-fs (mmcblk0p2): | ||
| + | [ 1.696686] VFS: Mounted root (ext4 filesystem) readonly on device 179: | ||
| + | [ 1.703713] Freeing unused kernel memory: 188K (c0499000 - c04c8000) | ||
| + | procd: Console is alive | ||
| + | procd: - watchdog - | ||
| + | procd: - preinit - | ||
| + | probing / | ||
| + | Detected generic sunxi // generic sunxi | ||
| + | [ 2.015607] random: mktemp urandom read with 18 bits of entropy available | ||
| + | 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 | ||
| + | mounting / | ||
| + | [ 5.243720] EXT4-fs (mmcblk0p2): | ||
| + | procd: - early - | ||
| + | procd: - watchdog - | ||
| + | procd: - ubus - | ||
| + | procd: - init - | ||
| + | Please press Enter to activate this console. | ||
| + | [ 6.408240] NET: Registered protocol family 10 | ||
| + | [ 6.417447] ip6_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | [ 6.433935] sunxi-rtc 1c20d00.rtc: | ||
| + | [ 6.441258] sunxi-rtc 1c20d00.rtc: | ||
| + | [ 6.457548] ip_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | [ 6.474170] nf_conntrack version 0.5.0 (16155 buckets, 64620 max) | ||
| + | [ 6.557179] xt_time: kernel timezone is -0000 | ||
| + | [ 6.566402] PPP generic driver version 2.4.2 | ||
| + | [ 6.578683] NET: Registered protocol family 24 | ||
| + | [ 8.096884] random: nonblocking pool is initialized | ||
| + | [ 9.590856] | ||
| + | [ 9.600176] device eth0 entered promiscuous mode | ||
| + | [ 9.620039] br-lan: port 1(eth0) entered forwarding state | ||
| + | [ 9.625518] br-lan: port 1(eth0) entered forwarding state | ||
| + | procd: - init complete - | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | | ||
| + | BusyBox v1.22.1 (2014-09-28 19:27:37 CEST) built-in shell (ash) | ||
| + | Enter ' | ||
| + | | ||
| + | _______ | ||
| + | | ||
| + | | ||
| + | | ||
| + | |__| W I R E L E S S F R E E D O M | ||
| + | | ||
| + | CHAOS CALMER (Bleeding Edge, r42689) | ||
| + | | ||
| + | * 1 1/2 oz Gin Shake with a glassful | ||
| + | * 1/4 oz Triple Sec of broken ice and pour | ||
| + | * 3/4 oz Lime Juice | ||
| + | * 1 1/2 oz Orange Juice | ||
| + | * 1 tsp. Grenadine Syrup | ||
| + | | ||
| + | root@OpenWrt:/# | ||
| + | |||
| + | root@OpenWrt:/# | ||
| + | processor | ||
| + | model name : ARMv7 Processor rev 4 (v7l) | ||
| + | Features | ||
| + | fpd32 lpae evtstrm | ||
| + | CPU implementer : 0x41 | ||
| + | CPU architecture: | ||
| + | CPU variant | ||
| + | CPU part : 0xc07 | ||
| + | CPU revision | ||
| + | | ||
| + | processor | ||
| + | model name : ARMv7 Processor rev 4 (v7l) | ||
| + | Features | ||
| + | fpd32 lpae evtstrm | ||
| + | CPU implementer : 0x41 | ||
| + | CPU architecture: | ||
| + | CPU variant | ||
| + | CPU part : 0xc07 | ||
| + | CPU revision | ||
| + | | ||
| + | Hardware | ||
| + | Revision | ||
| + | Serial | ||
| + | root@OpenWrt:/# | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Tags ===== | ||
| + | ---- | ||
| + | {{tag> | ||