version 1.60, 2017/10/21 23:54:22
|
version 1.63, 2017/10/22 00:39:08
|
Line 52 Note that one can also use code for earl
|
Line 52 Note that one can also use code for earl
|
|
|
# Installation |
# Installation |
|
|
|
## SD card structure |
|
|
|
The Raspberry Pi looks for firmware and a kernel on the first FAT32 |
|
partition of the uSD card. The NetBSD kernel will then use the FFS |
|
partition as the root filesystem. |
|
|
|
A 2 GB card is the smallest workable size. The NetBSD filesystem will |
|
be expanded to fit on larger cards. |
|
|
|
## Choosing a version |
|
|
First, decide if you want to install a formal release (7.1), a stable |
First, decide if you want to install a formal release (7.1), a stable |
branch build (netbsd-7, netbsd-8), or current. Note that 7.1 predates |
branch build (netbsd-7, netbsd-8), or current. Note that 7.1 predates |
Raspberry Pi 3 support. For people who don't know how to choose among |
Raspberry Pi 3 support. For people who don't know how to choose among |
Line 62 those, netbsd-8 is probably best.
|
Line 73 those, netbsd-8 is probably best.
|
You can either build a release yourself with build.sh, or get one from the NetBSD FTP servers. |
You can either build a release yourself with build.sh, or get one from the NetBSD FTP servers. |
|
|
Both will provide rpi.img.gz and rpi_inst.img.gz. Each is an image to |
Both will provide rpi.img.gz and rpi_inst.img.gz. Each is an image to |
be written to a uSD card, and it has a FAT32 partition for booting and |
be written to a uSD card, and has a FAT32 partition for booting. In |
an FFS partition for NetBSD. |
rpi.img.gz, there is also an FFS partition for NetBSD. |
|
|
### Building yourself |
### Building yourself |
|
|
Line 85 NetBSD provides nightly builds on [nyftp
|
Line 96 NetBSD provides nightly builds on [nyftp
|
|
|
## Installing to uSD |
## Installing to uSD |
|
|
Once you have rpi.img.gz, put it on a uSD card using gunzip and dd, for examples |
Once you have rpi.img.gz, put it on a uSD card using gunzip and dd, for example: |
|
|
- gunzip rpi.img.gz |
- gunzip rpi.img.gz |
- dd if=rpi.i7mg of=/dev/disk1 |
- dd if=rpi.i7mg of=/dev/disk1 |
Line 105 edit cmdline.txt and remove '"console=fb
|
Line 116 edit cmdline.txt and remove '"console=fb
|
|
|
build.sh (and hence the FTP site) also creates an image 'rpi_inst.img.gz' specifically for installation without HDMI or a serial console. To use this method, write that image to a uSD card as above, and then: |
build.sh (and hence the FTP site) also creates an image 'rpi_inst.img.gz' specifically for installation without HDMI or a serial console. To use this method, write that image to a uSD card as above, and then: |
|
|
- Connect Ethernet Cable to RPI. |
- Ensure that you have a lan with a DHCP server. |
|
- Connect an Ethernet cable from the RPI to the LAN. |
- After starting DHCP client, SSH login to with user "sysinst", and password "netbsd". |
- After starting DHCP client, SSH login to with user "sysinst", and password "netbsd". |
- Be careful to note the ip address given during DHCP so you don't lose your connection |
- Be careful to note the ip address given during DHCP so you don't lose your connection |
- Also for after the sysinst is done and the system reboots |
- Also for after the sysinst is done and the system reboots |