version 1.50, 2017/10/08 23:14:07
|
version 1.51, 2017/10/08 23:20:38
|
Line 32 Initial, limited, Raspberry Pi support w
|
Line 32 Initial, limited, Raspberry Pi support w
|
|
|
In minicom, run "minicom -s" and set hardware flow control to "no" |
In minicom, run "minicom -s" and set hardware flow control to "no" |
|
|
- Growing the root file-system (**not required with NetBSD -current after 2015-04-07, or by NetBSD 7 after 2015-08-06**) |
|
- During the partitioning process, do not delete or format the |
|
first MSDOS (FAT) partition, as the Raspberry pi firmware is |
|
hard coded to boot on the SDCAD / 1st MSDOS partition / Firmware |
|
updates and boot loader. |
|
- Copy /boot/cmdline.txt to /boot/cmdline.txt.orig |
|
- Edit /boot/cmdline.txt and add the '-s' flag to the end of the first line of text to boot into single-user mode. |
|
- For the next steps, the root filesystem mustn't be mounted rw. So reboot, and at the prompt to enter the pathname of shell, |
|
press return for the default (/bin/sh). |
|
- At the # prompt, type |
|
|
|
"disklabel -i ld0" and press return. |
|
|
|
- At the partition> prompt type "A" and press return. |
|
|
|
Adjust disklabel sector from 4194304 to 62333952 [n]? |
|
Type "y" and press return. |
|
|
|
- partition> prompt type "a" and press return. |
|
|
|
Filesystem type prompt, press return to use the current value (4.2BSD). |
|
Start offset prompt, press return to use the current value. |
|
Partition size prompt, type "$" and press return to grow the |
|
partition to use all available free space. |
|
|
|
- partition> prompt type "W" to save the changes to the disklabel. |
|
|
|
Confirm this choice by typing "y" at the Label disk prompt. |
|
Type "Q" and press return to quit disklabel. |
|
|
|
- At the # prompt (shell), type |
|
|
|
fsck -fy /dev/rld0a |
|
resize_ffs -y /dev/rld0a |
|
|
|
- This may take a few minutes, be patient! |
|
|
|
fsck -fy /dev/rld0a |
|
mount_msdos /dev/ld0e /boot |
|
mv /boot/cmdline.txt.orig /boot/cmdline.txt |
|
reboot |
|
|
|
- When the system comes back up, the root file-system will have been expanded to |
|
fill the SD card. |
|
|
|
# Installation with sshramdisk image |
# Installation with sshramdisk image |
- You may use the rpi_inst.img.gz file created by an evbarm build. |
- You may use the rpi_inst.img.gz file created by an evbarm build. |
- Connect Ethernet Cable to RPI. |
- Connect Ethernet Cable to RPI. |