Diff for /wikisrc/ports/evbarm/odroid-c1.mdwn between versions 1.25 and 1.31

version 1.25, 2015/11/26 00:11:45 version 1.31, 2021/02/19 22:02:03
Line 1 Line 1
 [[!meta title="NetBSD/evbarm on Hardkernel ODROID-C1 and ODROID-C1+"]]  [[!meta title="NetBSD/evbarm on Hardkernel ODROID-C1 and ODROID-C1+"]]
   
 [ODROID-C1](http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141578608433&tab_idx=1) was a $35 quad-core SBC from Hardkernel. ODROID-C1 support was introduced in NetBSD 7.0.  It has been succeeded by the [ODROID-C1+](http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143703355573), which is supported by the same NetBSD kernel.  [ODROID-C1](https://www.hardkernel.com/shop/odroid-c1-2/) was a $35 quad-core SBC from Hardkernel. ODROID-C1 support was introduced in NetBSD 7.0.  It has been succeeded by the [ODROID-C1+](https://www.hardkernel.com/shop/odroid-c1/), which is supported by the same NetBSD kernel.
   
 [[!toc levels=2]]  [[!toc levels=2]]
   
Line 28 Line 28
  - I2C   - I2C
  - Audio   - Audio
   
 # Installation  # Installation (NetBSD 8.0 and later)
   
   * Start with an ARMv7 image from *evbarm-earmv7hf/binary/gzimg/* such as *armv7.img*, the latest is [[here|https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-earmv7hf/binary/gzimg/armv7.img]].
   * Build U-Boot for ODROID-C1 <https://github.com/hardkernel/u-boot/tree/odroidc-v2011.03>
     * Pre-built binaries here: <http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/odroidc1/u-boot-odroidc-v2011.03-20150308.tar.gz>
   * Write the bootloader to the empty space at the start of the base image:
   [[!template  id=programlisting text="""
   # dd if=bl1.bin.hardkernel of=armv7.img bs=1 count=442 conv=notrunc
   # dd if=bl1.bin.hardkernel of=armv7.img bs=512 skip=1 seek=1 conv=notrunc
   # dd if=u-boot.bin of=armv7.img bs=512 seek=64 conv=notrunc
   """]]
   * Write the image to an SD card.
   * Edit *boot.ini* on the MS-DOS partition. Note that the default boot.ini has `console=fb` in `bootargs`, which you should remove if you want serial console:
   [[!template  id=programlisting text="""
   ODROIDC-UBOOT-CONFIG
   
   setenv bootargs "root=ld0a awge0.mac-address=${ethaddr} console=fb"
   setenv bootcmd "fatload mmc 0:1 0x21000000 netbsd-ODROID-C1.ub; bootm 0x21000000"
   run bootcmd
   """]] 
   
   # Installation (NetBSD 7.0/7.1)
   
 * Start with an ARMv7 image from *evbarm-earmv7hf/binary/gzimg/* such as *armv7.img*  * Start with an ARMv7 image from *evbarm-earmv7hf/binary/gzimg/* such as *armv7.img*
 * Build U-Boot for ODROID-C1 <https://github.com/hardkernel/u-boot/tree/odroidc-v2011.03>  * Build U-Boot for ODROID-C1 <https://github.com/hardkernel/u-boot/tree/odroidc-v2011.03>
   * Pre-built binaries here: <http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/odroidc1/u-boot-odroidc-v2011.03-20150308.tar.gz>    * Pre-built binaries here: <http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/odroidc1/u-boot-odroidc-v2011.03-20150308.tar.gz>
 * Note the location and size of the FFS partition in the * armv7.img* disklabel:  * Note the location and size of the FFS partition in the *armv7.img* disklabel:
 [[!template  id=programlisting text="""  [[!template  id=programlisting text="""
 # $TOOLDIR/bin/nbdisklabel -M evbarm -B le armv7.img  # $TOOLDIR/bin/nbdisklabel -M evbarm -B le armv7.img
 ...  ...
Line 232  From [ODROID Forum](http://forum.odroid. Line 253  From [ODROID Forum](http://forum.odroid.
   
 3.3V LVTTL  3.3V LVTTL
 """]]  """]]
   

Removed from v.1.25  
changed lines
  Added in v.1.31


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