Diff for /wikisrc/ports/evbarm/allwinner.mdwn between versions 1.44 and 1.50

version 1.44, 2014/12/19 00:13:09 version 1.50, 2015/04/02 18:36:59
Line 1 Line 1
 [[!meta title="NetBSD/evbarm on Allwinner Technology SoCs"]]  [[!meta title="NetBSD/evbarm on Allwinner Technology SoCs"]]
   
   NetBSD 7.0 has support for A10, A20, and A31 SoCs. NetBSD -current adds support for A80 SoCs.
   
 [[!toc levels=2]]  [[!toc levels=2]]
   
 # Supported boards  # Supported boards
Line 36 Line 38
    - OTG (A20)     - OTG (A20)
  - SATA (A10/A20)   - SATA (A10/A20)
  - Gigabit Ethernet (GMAC)   - Gigabit Ethernet (GMAC)
  - HDMI (A20/A31)   - HDMI
    - DDC / EDID mode detection     - DDC / EDID mode detection (A20/A31)
    - Audio support     - Audio support (A20/A31)
  - Framebuffer (A20/A31)   - Framebuffer (A20/A31/A80)
  - IR receiver (A20/A31/A80)   - IR receiver (A20/A31/A80)
   
 # TODO  # TODO
Line 56 Line 58
    - big.LITTLE support     - big.LITTLE support
    - USB3 (OTG and XHCI)     - USB3 (OTG and XHCI)
    - IR transmitter     - IR transmitter
    - HDMI     - HDMI (DDC and mode setting; currently relies on U-Boot for setup)
    - Audio codec     - Audio codec
  - All   - All
    - USB device mode     - USB device mode
Line 71 Line 73
   
 * Start with an ARMv7 image from *evbarm-earmv7hf/binary/gzimg/* such as *beagleboard.img*  * Start with an ARMv7 image from *evbarm-earmv7hf/binary/gzimg/* such as *beagleboard.img*
 * Download a U-Boot build for your board  * Download a U-Boot build for your board
   * A10/A20: Download from the linux-sunxi web site <http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi/u-boot-sunxi-latest/>    * Download the correct build from the linux-sunxi web site <http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi-mainline/u-boot-sunxi-mainline-latest/>.
   * A31: The standard u-boot-sunxi tree doesn't support A31 yet. Until sun6i support is merged, a build is available at <http://dis.invisible.ca/allwinner/a31/  
 * Write the *u-boot-sunxi-with-spl.bin* loader to the empty space at the start of the base image:  * Write the *u-boot-sunxi-with-spl.bin* loader to the empty space at the start of the base image:
 [[!template  id=programlisting text="""  [[!template  id=programlisting text="""
 # dd if=u-boot-sunxi-with-spl.bin of=beagleboard.img bs=1k seek=8 conv=notrunc  # dd if=u-boot-sunxi-with-spl.bin of=beagleboard.img bs=1k seek=8 conv=notrunc
Line 87  uenvcmd=mmc dev 0; mmc rescan; fatload m Line 88  uenvcmd=mmc dev 0; mmc rescan; fatload m
   
 ## A80 based boards  ## A80 based boards
   
 * Cubieboard 4 SDK (lubuntu) U-Boot env:  * Cubieboard 4 U-Boot for SD card: <http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/allwinner/a80/cubieboard4-uboot.tgz>
 [[!template  id=programlisting text="""  [[!template  id=programlisting text="""
 baudrate=115200  # dd if=u-boot-spl.bin of=/dev/sdd bs=1k seek=8
 boot_normal=fatload mmc 0:1 20007800 uimage;bootm 20007800  # dd if=u-boot-sun9iw1p1.bin of=/dev/sdd bs=1k seek=19096
 bootcmd=run setargs_cubie boot_normal  
 bootdelay=3  
 console=ttyS0,115200  
 console1=tty1  
 init=/init  
 loglevel=8  
 mmc_root=/dev/mmcblk0p2  
 setargs_cubie=setenv bootargs console=${console1} console=${console} root=${mmc_root} loglevel=${loglevel}  
 stderr=serial  
 stdin=serial  
 stdout=serial  
 """]]  """]]
   * First partition needs to be at +20MB offset. Format it as MSDOS, copy 'netbsd.ub' to it as 'uImage'.
   
 # Big (endian) fun  # Big (endian) fun
   

Removed from v.1.44  
changed lines
  Added in v.1.50


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb