Annotation of wikisrc/ports/evbarm/allwinner.mdwn, revision 1.16
1.1 wiki 1: [[!meta title="NetBSD/evbarm on Allwinner Technology SoCs"]]
2:
3: # Supported boards
1.11 wiki 4: - [Banana Pi](http://www.bananapi.org/p/product.html) (BPI)
1.1 wiki 5: - Cubieboard, Cubieboard 2 (CUBIEBOARD)
6: - Cubietruck (CUBIETRUCK)
1.10 wiki 7: - [Merrii Hummingbird A31](http://www.merrii.com/en/pla_d.asp?id=172) (HUMMINGBIRD_A31)
1.1 wiki 8:
9: # Supported hardware
10: - SoCs
11: - Cortex-A8: A10
1.13 wiki 12: - Cortex-A7: A20, A31
1.14 wiki 13: - SD/MMC controller (DMA)
1.1 wiki 14: - DMA controller
15: - GPIO
16: - UART
17: - I2C
18: - P2WI (A31)
19: - PMU
20: - AXP209 (A20)
21: - AXP221 (A31)
22: - Watchdog timer
23: - RTC
24: - Audio codec
1.14 wiki 25: - USB host
1.1 wiki 26: - OHCI
27: - EHCI
1.14 wiki 28: - OTG (not yet working on A31)
1.1 wiki 29: - SATA (A10/A20)
30: - Gigabit Ethernet (GMAC)
1.2 wiki 31:
1.14 wiki 32: # TODO
33: - MULTIPROCESSOR is not yet stable
34: - HDMI (some work completed here for A20)
35: - Framebuffer
36: - OTG (A31)
37: - USB device mode
38: - Bluetooth / WiFi (Cubietruck, Hummingbird A31)
39: - 3G (Hummingbird A31)
40: - SD/MMC UHS-I support (needs sdmmc(4) changes)
1.15 wiki 41: - TV input (Hummingbird A31)
1.16 ! wiki 42: - NAND
1.14 wiki 43:
1.2 wiki 44: # Installation
45:
46: ## A10 / A20 based boards
47:
1.3 wiki 48: * Start with an ARMv7 image from *evbarm-earmv7hf/binary/gzimg/* such as *beaglebone.img*
1.2 wiki 49: * Download a U-Boot build for your board from the linux-sunxi web site <http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi/u-boot-sunxi-latest/>
50: * Write the *u-boot-sunxi-with-spl.bin* loader to the base image:
51: [[!template id=programlisting text="""
52: # dd if=u-boot-sunxi-with-spl.bin of=beaglebone.img bs=1k seek=8 conv=notrunc
53: """]]
54: * Write the image to an SD card.
1.12 wiz 55: * Copy the kernel (netbsd.ub) for your board to the root of the MS-DOS partition.
56: * Create or edit uEnv.txt on the MS-DOS partition:
1.2 wiki 57: [[!template id=programlisting text="""
58: bootargs=root=ld0a
59: uenvcmd=mmc dev 0; mmc rescan; fatload mmc 0:1 82000000 netbsd.ub; bootm 82000000
60: """]]
61:
62: ## A31 based boards
63:
64: TBD.
1.5 wiki 65:
1.7 wiki 66: # Big (endian) fun
1.5 wiki 67:
68: You can run this boards with a little endian (this is the default and implied by above install instructions)
1.12 wiz 69: or with a big endian kernel and userland. However, kernel and userland endianness needs to match.
1.5 wiki 70:
71: To build a big endian release (or sets) use
72: [[!template id=programlisting text="""
73: ./build.sh -m evbearmv7hf-eb
74: """]]
1.12 wiz 75: where -eb means endianness big, hf is hardware floating point support, and earm is the modern "extended" ABI for ARM CPUs, and finally v7 is version 7 of the supported instruction set.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb