--- wikisrc/ports/evbarm/odroid-c1.mdwn 2021/02/19 22:02:03 1.31 +++ wikisrc/ports/evbarm/odroid-c1.mdwn 2021/02/19 23:06:17 1.32 @@ -31,23 +31,17 @@ # 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 - * Pre-built binaries here: +* Build U-Boot for ODROID-C1 + * Pre-built binaries here: + + * 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 +# dd if=u-boot.bin.odroidc1 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)