version 1.136, 2020/10/15 20:07:30
|
version 1.137, 2020/10/16 17:29:39
|
Line 174 every few weeks.
|
Line 174 every few weeks.
|
|
|
- <https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/README> |
- <https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/README> |
|
|
|
## Boot Process |
|
|
|
https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md |
|
|
|
Note that generally, a single dtb is loaded. On NetBSD 9, the dtb |
|
file for the system is loaded by the bootloader (in flash). |
|
|
## Configuring 802.11 |
## Configuring 802.11 |
|
|
After installation, the Ethernet will function as on any other NetBSD system; simply enable dhcpcd or configure a static address. USB WiFi devices will also function as on any other NetBSD system; in addition to dhcpcd or static, configure and enable wpa_supplicant. |
After installation, the Ethernet will function as on any other NetBSD system; simply enable dhcpcd or configure a static address. USB WiFi devices will also function as on any other NetBSD system; in addition to dhcpcd or static, configure and enable wpa_supplicant. |
Line 218 The program vcgencmd, referenced in the
|
Line 225 The program vcgencmd, referenced in the
|
|
|
## Updating dtb files |
## Updating dtb files |
|
|
|
### NetBSD 8 |
|
|
|
On NetBSD 8, dtb files are not used. (\todo Really?) |
|
|
|
### NetBSD 9 |
|
|
(This is harder than it should be.) |
(This is harder than it should be.) |
Build a release. gunzip the armv7.img, vnconfig it, and mount the MSDOS partition (e) e.g. on /mnt. Copy the dtb files from /mnt/foo.dtb to /boot, and from /mnt/dtb/foo.dtb to /boot/dtb. |
Build a release. gunzip the armv7.img, vnconfig it, and mount the MSDOS partition (e) e.g. on /mnt. Copy the dtb files from /mnt/foo.dtb to /boot, and from /mnt/dtb/foo.dtb to /boot/dtb. |
|
|
Line 227 It seems that some systems, including RP
|
Line 240 It seems that some systems, including RP
|
|
|
\todo Explain how one is supposed to be able to update these from the dtb files in releasedir/binary/kernel, or fix it to have the same structure. |
\todo Explain how one is supposed to be able to update these from the dtb files in releasedir/binary/kernel, or fix it to have the same structure. |
|
|
|
### NetBSD current |
|
|
|
When updating, ensure that /boot is mounted and that you unpack the dtb set. |
|
|
## Updating the firmware |
## Updating the firmware |
|
|
It is highly likely that running NetBSD from a given branch X with firmware from a branch Y < X will not go well. It is unclear if firmware from a branch Y > X will work. It is standard practice to use firmware from the right branch. |
It is highly likely that running NetBSD from a given branch X with firmware from a branch Y < X will not go well. It is unclear if firmware from a branch Y > X will work. It is standard practice to use firmware from the right branch. |