*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installation
Using standard images
The simplest way is to download the appropriate SD card image from the NetBSD mirrors:
The Raspberry Pi 1 requires the ARMv6 rpi.img.gz.
The Raspberry Pi 2-3 can use the standard ARMv7 armv7.img.gz image.
The Raspberry Pi 3 can also use arm64.img.gz.
Decompress it and write it to the SD card:
$ gunzip armv7.img.gz
$ dd if=armv7.img of=/dev/rld0d conv=sync bs=1m progress=1
If you're not using NetBSD, your operating system's dd command's arguments may vary. On Windows, try Rawrite32.
The Raspberry Pi 4 requires the UEFI firmware. Write the UEFI firmware to the SD card, and then insert an USB drive with the standard NetBSD arm64.img written to it. The Pi will then boot from USB.
The Raspberry Pi 3 can also boot NetBSD from UEFI firmware, but the installation process is currently more complicated. However, there are some advantages, so you might want to try anyway.
There's going to be issues. Notably, booting is teetotally different from X86, and indeed all Arm sbcs are non-standard & unique that way. If you browse the distributions, you may see spins for various different sbcs. RazPi are popular, but the competition uses other chips.
Secondly, there's the porting issue. I presume the BSD libc isn't gnu libc, so you're left with the very little already compiled for that. Aarch64 is not x86_64, so patches have to be written and applied where the code doesn't suit. If you have a netbsd installer image that you can try on an sdcard, go ahead. Otherwise, I'd seriously advise sucking it up and installing Linux.
There's going to be issues. Notably, booting is teetotally different from X86, and indeed all Arm sbcs are non-standard & unique that way. If you browse the distributions, you may see spins for various different sbcs. RazPi are popular, but the competition uses other chips.
Secondly, there's the porting issue. I presume the BSD libc isn't gnu libc, so you're left with the very little already compiled for that. Aarch64 is not x86_64, so patches have to be written and applied where the code doesn't suit. If you have a netbsd installer image that you can try on an sdcard, go ahead. Otherwise, I'd seriously advise sucking it up and installing Linux.
Wrong, there is never a good reason to run linux unless someone is a low IQ poor person who buys random trash hardware e.g. walmart laptops or is running a top 500 supercomputer but theoretically FreeBSD or DragonflyBSD could be ported to the supercomputers. OpenBSD is based on NetBSD code so it inherits its portability but NetBSD is a smaller project so perhaps OpenBSD makes more sense here :
Wrong, there is never a good reason to run linux unless someone is a low IQ poor person who buys random trash hardware e.g. walmart laptops or is running a top 500 supercomputer but theoretically FreeBSD or DragonflyBSD could be ported to the supercomputers. OpenBSD is based on NetBSD code so it inherits its portability but NetBSD is a smaller project so perhaps OpenBSD makes more sense here :
So you're berating me for the 'philosophical heresy' of suggesting linux? But you made the point yourself that I underlined in bold. There's no bsd for Arm, it has to be ported. Porting for Arm is a lot of hard work. The cpu requirements are different. That query was in "Zero Replies" some days before I replied. I preseume you had seen and ignored it. Then when I suggested another Unix, you're coming down on me? Try helping the OP instead. You wouldn't want to be seen as one of those guys who 'talks a good job' but never gets involved himself, would you?
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 4,925
Rep:
Each of the main BSD now have ARM versions available, but some work is sometimes needed to get them up & running, it's not quite as easy as Linux has become, but it will likely get there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.