xref: /openbsd/distrib/notes/armv7/prep (revision cecf84d4)
1dnl	$OpenBSD: prep,v 1.6 2015/01/26 01:55:55 jsg Exp $
2Please be aware that OpenBSD support for this platform is far from
3complete.
4
5OpenBSD can be installed onto a disk by copying the miniroot for your
6board "miniroot-{am335x,beagle,imx,panda,cubie}-{:--:}OSrev.fs"
7image to an SD card or by booting the ramdisk kernel over the network
8using a TFTP server.
9
10Booting from an SD card:
11
12  To use the miniroot image you will need another machine to plug the
13  SD card in to. Any machine type will do, as long as it supports SD card
14  storage devices.  Under OpenBSD, it will appear as a ``sd'' device, for
15  example sd1.
16
17  Use the dd(1) utility to copy the miniroot to the hard drive.
18  The command would likely be, under OpenBSD:
19  	dd if=miniroot-beagle-{:--:}OSrev.fs of=/dev/rsd1c
20
21  When you have connected the BeagleBoard to you computer, a command such
22  as "cu -l cuaU0 -s 115200" (assuming cuaU0 is your serial port device)
23  should connect you to the board's console.
24
25  Note: By default the BeagleBone Black will boot from the internal emmc.
26  In order to make it boot from the micro SD card, you will need to hold down
27  the small button located by the SD card slot while powering on the board.
28  Once you have done this the board will boot from the SD card as the default.
29
30Booting over the network:
31
32  To interrupt the U-Boot boot process press a key after the banner is
33  displayed on the serial console.
34
35  Then the U-Boot image of the ramdisk kernel can be loaded via TFTP.
36
37  Configure the local IP address via DHCP:
38
39      U-Boot# setenv autoload no
40      U-Boot# dhcp
41
42  Or with a static address:
43
44      U-Boot# setenv ipaddr 192.168.1.2
45
46  Set the IP address of the TFTP server:
47
48      U-Boot# setenv serverip 192.168.1.1
49
50  To load an OMAP ramdisk image via TFTP:
51
52      U-Boot# tftpboot bsd.rd.OMAP.umg
53      U-Boot# bootm
54