Diff for /wikisrc/ports/evbarm/install_using_sysinst.mdwn between versions 1.8 and 1.10

version 1.8, 2018/11/19 21:36:09 version 1.10, 2018/11/19 21:49:42
Line 25  $ gunzip armv7.img.gz Line 25  $ gunzip armv7.img.gz
 """]]  """]]
   
 - 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-&lt;boardname&gt;` packages, for example for Allwinner SoC:  `sysutils/u-boot-<boardname>` packages, for example for Allwinner SoC:
   
 [[!template id=programlisting text="""  [[!template id=programlisting text="""
 # dd if=/usr/pkg/share/u-boot/&lt;boardname&gt;/u-boot-sunxi-with-spl.bin of=/dev/rld0d bs=1k seek=8 conv=sync  # dd if=/usr/pkg/share/u-boot/&lt;boardname&gt;/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  NetBSD/evbarm 8.0 does not automatically boot on the BananaPI.
   We can use the following commands to boot from the (u)SD cards in u-boot:
   
   [[!template id=programlisting text="""
   mmc dev 0
   setenv kernel netbsd-BPI.ub
   fatload mmc 0:1 82000000 $kernel
   bootm 82000000 root=ld0a console=fb
   """]]
   
   Or, to avoid typing them at every boot we can prepare an u-boot script via
   [[!template id=man name="mkubootimage" section="1"]].
   
   [[!template id=programlisting text="""
   $ cat boot.cmd
   mmc dev 0
   setenv kernel netbsd-BPI.ub
   fatload mmc 0:1 82000000 $kernel
   bootm 82000000 root=ld0a console=fb
   $ mkubootimage -A arm -n armv7 -T script boot.cmd boot.scr
   """]]
   
   ...and copy it on the populated (u)SD card:
   
   [[!template id=programlisting text="""
   # mount /dev/sd0e /mnt
   # cp /mnt/boot.scr /mnt/boot.scr.orig
   # cp boot.scr /mnt/
   """]]
   
   
 # Installing via sysinst(8)  # Installing via sysinst(8)

Removed from v.1.8  
changed lines
  Added in v.1.10


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