Annotation of wikisrc/ports/evbarm/odroid-c1.mdwn, revision 1.3
1.1 wiki 1: [[!meta title="NetBSD/evbarm on Hardkernel ODROID-C1"]]
2:
3: [[!toc levels=2]]
4:
1.2 wiki 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>
1.3 ! wiki 33: * Pre-built binaries here: <http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/odroidc1/u-boot-odroidc-v2011.03-20150308.tar.gz>
1.2 wiki 34: * Write the bootloader to the empty space at the start of the base image:
35: [[!template id=programlisting text="""
36: # dd if=bl1.bin.hardkernel of=beagleboard.img bs=1 count=442 conv=notrunc
37: # dd if=bl1.bin.hardkernel of=beagleboard.img bs=512 skip=1 seek=1 conv=notrunc
38: # dd if=u-boot.bin of=beagleboard.img bs=512 seek=64 conv=notrunc
39: """]]
40: * Write the image to an SD card.
41: * Copy the kernel (netbsd.ub) for your board to the root of the MS-DOS partition on the SD card.
42: * Create or edit boot.ini on the MS-DOS partition:
43: [[!template id=programlisting text="""
44: ODROIDC-UBOOT-CONFIG
45:
46: setenv m "1080p"
47: setenv vout_mode "hdmi"
48: setenv m_bpp "32"
49: setenv disableuhs "disableuhs"
50: setenv bootargs "root=ld0a awge0.mac-address=${ethaddr}"
51: setenv bootcmd "fatload mmc 0:1 0x21000000 netbsd.ub; bootm 0x21000000"
52: run bootcmd
53: """]]
54:
55:
1.1 wiki 56: # ODROID-C1 UART pins
57:
58: From [ODROID Forum](http://forum.odroid.com/viewtopic.php?f=115&t=7684):
59:
60: [[!template id=programlisting text="""
61: ___UART____
62: |Pin 4 - GND|
63: |Pin 3 - RXD|
64: |Pin 2 - TXD|
65: |Pin 1 - VCC|
66: \___________|
67:
68: 3.3V LVTTL
69: """]]
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb