DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th December 2017
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 177
Default NetBSD on RPi3

(Mainly, just for info.)

Looking to try out NBSD on my RPi3, which is set to boot from USB - NBSD failed to boot.

Loading it onto a microSD card does work though, but I would like it to run from USB, & to use the built in wifi.

(2017-11-10-netbsd-raspi-earmv6hf.img used)
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #2   (View Single Post)  
Old 23rd December 2017
Stlyx Stlyx is offline
New User
 
Join Date: Sep 2017
Posts: 9
Default

Quote:
Originally Posted by bsd-keith View Post
...
Looking to try out NBSD on my RPi3, which is set to boot from USB - NBSD failed to boot.
I saw your thread and it made me want to put my Rasberry Pi 3 to work as well . I remember reading -- somewhere -- that the RPIs have a limited boot code; I think it either stated or implied that it was hard coded to boot from a microSD card, but specifcally, the microSD card had to have an msdos partition containing ELF binaries (whatever those are -- I certainly don't know) and a kernel image. Then again, it has been quite some time since I last looked it up. Anway, I was wondering how you set it to boot from a USB port. I would like to give it a shot.

Quote:
Originally Posted by bsd-keith View Post
...I would like it to run from USB, & to use the built in wifi.
...
Regarding the built-in WiFi, it's not functional yet according to the Raspberry Pi NetBSD-Wiki, but apparently the built-in Bluetooth isn't working yet either, at least not in the release versions, but if you were thinking of some other way of getting it to work, I would love to know.
Reply With Quote
  #3   (View Single Post)  
Old 23rd December 2017
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 177
Default

Hi, the info about converting to booting from USB is on the RPi forum, here's a quick run through.
Code:
echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
reboot & check it was set up OK
Code:
vcgencmd otp_dump | grep 17
you should see
Quote:
17:3020000a
###########
Put the NBSD image onto your microSD card, & boot it up.
The NBSD image for RPi3 is in Japanese so, change the encoding in /etc/wscons.conf
Code:
encoding uk
then change these in your .xinitrc
Code:
setxkbmap gb
Code:
export LANG=en_GB.UTF8
(Change UK & GB to what you need.)

You should now be running NBSD from microSD card.

##########
TinyCore Linux is another O/S that I tried out booting from USB, it loads to ram, & if I remember, wifi worked OK on it.

##########
P.S. Once the OTP bit is set, you can boot from microSD cards or from USB.
__________________
Linux since 1999, & also a BSD user.

Last edited by bsd-keith; 23rd December 2017 at 12:24 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick