--- wikisrc/ports/evbarm/odroid-c1.mdwn 2015/10/28 02:34:49 1.19 +++ wikisrc/ports/evbarm/odroid-c1.mdwn 2015/10/28 18:05:41 1.20 @@ -30,12 +30,12 @@ # Installation -* 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 *armv7.img* * Build U-Boot for ODROID-C1 * Pre-built binaries here: -* Note the location and size of the FFS partition in the *beagleboard.img* disklabel: +* Note the location and size of the FFS partition in the * armv7.img* disklabel: [[!template id=programlisting text=""" -# $TOOLDIR/bin/nbdisklabel -M evbarm -B le beagleboard.img +# $TOOLDIR/bin/nbdisklabel -M evbarm -B le armv7.img ... 8 partitions: # size offset fstype [fsize bsize cpg/sgs] @@ -47,13 +47,13 @@ """]] * Write the bootloader to the empty space at the start of the base image: [[!template id=programlisting text=""" -# dd if=bl1.bin.hardkernel of=beagleboard.img bs=1 count=442 conv=notrunc -# dd if=bl1.bin.hardkernel of=beagleboard.img bs=512 skip=1 seek=1 conv=notrunc -# dd if=u-boot.bin of=beagleboard.img bs=512 seek=64 conv=notrunc +# 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 """]] * Since the bootloader has overwritten the disklabel, we need to re-add partition "a" from the disklabel to the MBR partition table: [[!template id=programlisting text=""" -# $TOOLDIR/bin/armv7--netbsdelf-eabihf-fdisk -u beagleboard.img +# $TOOLDIR/bin/armv7--netbsdelf-eabihf-fdisk -u armv7.img ... Which partition do you want to change?: [none] 1 The data for partition 1 is: