version 1.7, 2018/11/19 21:18:08
|
version 1.8, 2018/11/19 21:36:09
|
Line 12 on other SoCs and medias with little adj
|
Line 12 on other SoCs and medias with little adj
|
# Populating (u)SD card with `armv7.img` |
# Populating (u)SD card with `armv7.img` |
|
|
- Download or build `armv7.img`, e.g.: |
- Download or build `armv7.img`, e.g.: |
```` |
|
|
[[!template id=programlisting text=""" |
$ ftp http://cdn.NetBSD.org/pub/NetBSD/NetBSD-8.0/evbarm-earmv7hf/binary/gzimg/armv7.img.gz |
$ ftp http://cdn.NetBSD.org/pub/NetBSD/NetBSD-8.0/evbarm-earmv7hf/binary/gzimg/armv7.img.gz |
$ gunzip armv7.img.gz |
$ gunzip armv7.img.gz |
```` |
"""]] |
|
|
- Write the image to (u)SD card: |
- Write the image to (u)SD card: |
```` |
|
$ dd if=armv7.img of=/dev/rsd0d bs=1m conv=sync |
[[!template id=programlisting text=""" |
```` |
# dd if=armv7.img of=/dev/rsd0d bs=1m conv=sync |
|
"""]] |
|
|
- Write u-boot to (u)SD card. `u-boot` images are provided by |
- Write u-boot to (u)SD card. `u-boot` images are provided by |
`sysutils/u-boot-<boardname>` packages, for example for Allwinner SoC: |
`sysutils/u-boot-<boardname>` packages, for example for Allwinner SoC: |
```` |
|
$ dd if=/usr/pkg/share/u-boot/<boardname>/u-boot-sunxi-with-spl.bin of=/dev/rld0d bs=1k seek=8 conv=sync |
[[!template id=programlisting text=""" |
```` |
# dd if=/usr/pkg/share/u-boot/<boardname>/u-boot-sunxi-with-spl.bin of=/dev/rld0d bs=1k seek=8 conv=sync |
|
"""]] |
|
|
*TODOleot*: Adjust/provide u-boot incantantions to boot on a BPI |
*TODOleot*: Adjust/provide u-boot incantantions to boot on a BPI |
|
|