version 1.1, 2013/01/01 05:38:48
|
version 1.6, 2013/11/22 16:00:39
|
Line 1
|
Line 1
|
[[!meta title="NetBSD/evbarm on BeagleBone"]] |
[[!meta title="NetBSD/evbarm on BeagleBone"]] |
|
|
|
[[images/beaglebone.jpg]] |
|
|
This page attempts to document and coordinate efforts towards NetBSD on [BeagleBone](http://beagleboard.org/bone). |
This page attempts to document and coordinate efforts towards NetBSD on [BeagleBone](http://beagleboard.org/bone). |
|
|
|
(BeagleBone [image](http://www.flickr.com/photos/sparkfun/8267577194/) by SparkFun Electronics used under CC-By-2.0 license) |
|
|
# What works |
# What works |
- Boots multi-user on [[!template id=man name="ld" section="4"]] @ [[!template id=man name="sdmmc" section="4"]] root and [[!template id=man name="com" section="4"]] console. |
- Boots multi-user on [[!template id=man name="ld" section="4"]] @ [[!template id=man name="sdmmc" section="4"]] root and [[!template id=man name="com" section="4"]] console. |
|
- Ethernet ([[!template id=man name="cpsw" section="4" arch="evbarm"]]) |
|
|
# What needs work |
# What needs work |
- Ethernet (being worked on by [[users/jakllsch]]) |
|
- EDMA3 (perhaps at first for [[!template id=man name="sdhc" section="4"]]) |
- EDMA3 (perhaps at first for [[!template id=man name="sdhc" section="4"]]) |
- USB (host) |
- USB (host) |
- SPI |
- SPI |
Line 60 WARNING: using filesystem time
|
Line 64 WARNING: using filesystem time
|
WARNING: CHECK AND RESET THE DATE! |
WARNING: CHECK AND RESET THE DATE! |
init: copying out path `/sbin/init' 11 |
init: copying out path `/sbin/init' 11 |
"""]] |
"""]] |
|
|
|
|
|
- Growing the root file-system |
|
- 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. |
|
- Reboot to single user, 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 |
|
reboot |
|
- When the system comes back up, the root file-system will have been expanded to |
|
fill the SD card. |