I am a total NetBSD-noob and today I figured out how to install NetBSD on my RPi Mod B Ver 1.
I used rpi_inst.img and in order to make pkgin work I had to edit the default ftp repositories.
Browsing the FTP, I saw that inside the following dir:
there was not a dir named 7.0 so I used the only path that made me install pkgin, this one:
Now I am trying to install vim, but inside this dir there is not a vim package.
However I can see two vim packages, one for each of these paths:
Said that, my question is:
Did I messed up the selection of the mirror?
Why only the first path had all the dependecies needed by pkgin? (I am sorry I do not remember which package was missing)
Can I (and should I) add all the three paths to install other packages?
For those interested, I wrote down all the steps I followed during installation.
Trying to boot the latest snapshot on my Pi Zero resulted in 8 flashes of the OK/ACT LED (bootcode.bin and/or start.elf problems, according to the documentation).
This image boots fine on my Pi B+ and Pi 2.
I over-wrote bootcode.bin, start.elf and start_cd.elf on the freshly imaged SD card from an Arch Linux MicroSD that works in the Pi Zero. It now boots. I don't know if these are exactly the correct files, but I suspect they likely require updating in the base image.
I've included MD5 sums of the files for your convenience:
From the NetBSD Image (20151231):
MD5 (bootcode.bin) = 9a4ad6a12ad7dc1aae279888c25d2252
MD5 (start.elf) = a2c4b9ea3ae986f88ea01e05bef46904
MD5 (start_cd.elf) = 85924312c9b51d1ef5b7ca301bb18d54
Files I copied over that make it bootable (from my Arch Linux Pi Zero environment):
MD5 (bootcode.bin) = 6cc6560c0178c10928d14b8768969dab
MD5 (start.elf) = f5b2a422d863efe5d47b1ac291ccaa3a
MD5 (start_cd.elf) = f0dfc1462c5d9b003b64428fd52406ed
Hope this helps!
I am kaku.
How can I use the DS3231 RTC module for raspberry pi ?
Thank you very much!
If you update the PKGSRC_COMPILER value to include ccache as the wiki states, it does use it, but it creates a new .ccache directory under each packages work subdirectory. So, any use of "make clean" will remove that cache directory and you will loose your work. (using ccache --print-config and/or -s will make what's going on clearer)
If you set
to where root's global cache is, it will persist. If you upgrade your compilers, you may want to run
to remove old cached files before you rebuild your packages.
This thread http://mail-index.netbsd.org/pkgsrc-users/2009/08/31/msg010604.html has some additional information.
I have just updated instructions regarding how to install NetBSD 7.0 on the
I have noticed that uenvcmd was not honored by U-Boot and so writing it is
needed to have an U-Boot image script (that can be generated via
If you have further questions or you notice some problems feel free to ask and
I will try to help you (like you I have a Banana Pi and tested all the updated
instructions on a BPI)!
Good luck and happy hacking!
is there any fine manual to install netbsd on banana pi?
i've tried to follow above instruction, however my banana pi won't boot to netbsd...