File:  [NetBSD Developer Wiki] / wikisrc / ports / evbarm / odroid-c1.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Sun Mar 8 13:34:37 2015 UTC (6 years, 3 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by jmcneill: ODROID-C1 installation notes, add supported hardware table and TODO list

    1: [[!meta title="NetBSD/evbarm on Hardkernel ODROID-C1"]]
    2: 
    3: [[!toc levels=2]]
    4: 
    5: # Supported hardware
    6:  - CPU: Cortex-A5: S805 (4-core) at 1.5GHz
    7:    - CPU frequency scaling is supported with machdep.cpu sysctl tree
    8:    - SMP supported
    9:    - PL310 L2 cache controller
   10:  - GIC
   11:  - A5 watchdog timer
   12:  - A5 global timer
   13:  - SD/MMC controller (DMA)
   14:  - Serial console
   15:  - USB host (OTG)
   16:  - Gigabit Ethernet (GMAC)
   17:    - RTL8211F PHY
   18:  - Hardware random number generator
   19: 
   20: # TODO
   21:  - USB device mode
   22:  - Simultaneous SD card and eMMC usage
   23:  - SD/MMC UHS-I support (needs sdmmc(4) changes)
   24:  - HDMI / framebuffer
   25:  - IR receiver
   26:  - GPIO
   27:  - I2C
   28: 
   29: # Installation
   30: 
   31: * Start with an ARMv7 image from *evbarm-earmv7hf/binary/gzimg/* such as *beagleboard.img*
   32: * Build U-Boot for ODROID-C1 <https://github.com/hardkernel/u-boot/tree/odroidc-v2011.03>
   33: * Write the bootloader to the empty space at the start of the base image:
   34: [[!template  id=programlisting text="""
   35: # dd if=bl1.bin.hardkernel of=beagleboard.img bs=1 count=442 conv=notrunc
   36: # dd if=bl1.bin.hardkernel of=beagleboard.img bs=512 skip=1 seek=1 conv=notrunc
   37: # dd if=u-boot.bin of=beagleboard.img bs=512 seek=64 conv=notrunc
   38: """]]
   39: * Write the image to an SD card.
   40: * Copy the kernel (netbsd.ub) for your board to the root of the MS-DOS partition on the SD card.
   41: * Create or edit boot.ini on the MS-DOS partition:
   42: [[!template  id=programlisting text="""
   43: ODROIDC-UBOOT-CONFIG
   44: 
   45: setenv m "1080p"
   46: setenv vout_mode "hdmi"
   47: setenv m_bpp "32"
   48: setenv disableuhs "disableuhs"
   49: setenv bootargs "root=ld0a awge0.mac-address=${ethaddr}"
   50: setenv bootcmd "fatload mmc 0:1 0x21000000 netbsd.ub; bootm 0x21000000"
   51: run bootcmd
   52: """]]
   53: 
   54: 
   55: # ODROID-C1 UART pins
   56: 
   57: From [ODROID Forum](http://forum.odroid.com/viewtopic.php?f=115&t=7684):
   58: 
   59: [[!template  id=programlisting text="""
   60:  ___UART____
   61: |Pin 4 - GND|
   62: |Pin 3 - RXD|
   63: |Pin 2 - TXD|
   64: |Pin 1 - VCC|
   65: \___________|
   66: 
   67: 3.3V LVTTL
   68: """]]

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