I want to lift-up this theme. This RPi uses slightly different Broadcom chip and I expected, that either evbarm6hf or evbarm7hf kernels will function. But for a moment I'm sitting in front of colorful square on the screen for 10 minutes. I'm newbie in NetBSD, but I have a feeling, that it was stopped for some reason.
Comment by vkhutkO early Wednesday morning, April 27th, 2016
What is the state of supporting of the newest hardware generation?
Comment by daniel.oelschlegel Saturday afternoon, April 16th, 2016

To install NetBSD from the USB images provided from the site, it is necessary to enable "UEFI/Legacy Boot" and to change the "UEFI/Legacy Boot Priority" to "Legacy First". Also, Enable the "USB UEFI BIOS Support" and disable "USB 3.0 Mode".

After booting the USB image but before installing everything, you may want to switch back to MBR (instead of GPT). To do this, drop to the shell prompt and delete GPT from the drives:

gpt destroy wd0
gpt destroy wd1

What works: X11 (with new DRM/KMS work), audio, SSD and HDD, trackpoint, keyboard backlight (doesn't seem to depend on OS drivers). What doesn't work: onboard wireless (buy a cheap USB wireless adapter), suspend/hibernate/resume, special function keys (turn up/down volume, etc.).

The new Synaptic Trackpad works with basic functions. Cursor movement and left click only.

Tried with NetBSD 7.0.

Comment by silasdb Friday night, March 25th, 2016

This configuration is grossly complicated and adds extra configurations which does not make sense to use all. uEnv.txt? So, here is the simple breakdown for someone who just wants to get a working boot on cubietruck. The config files that come with the download seem made only for odroid with some sloppy config to look like it should work for others.

  1. gunzip armv7.img.gz
  2. dd if=u-boot-sunxi-with-spl.bin of=armv7.img bs=1k seek=8 conv=notrunc
  3. dd if=armv7.img of=/dev/rsd0d bs=1m
  4. mount -t msdos /dev/sd0e /mnt
  5. cd /mnt
  6. mkdir old
  7. mv * old/
  8. mv old/netbsd-YOURKERNEL.ub ./netbsd.ub
  9. ---- boot.cmd ----
  10. setenv bootargs "root=ld0a console=fb"
  11. fatload mmc 0:1 82000000 netbsd.ub; bootm 82000000
  12. ---- EOF ----
  13. mkubootimage -A arm -n armv7 -T script boot.cmd boot.scr

Done and bootable now. If the screen goes black after boot, unplug and re-plugin the hdmi cable

Comment by Mr. in the wee hours of Saturday night, March 6th, 2016


I want to boot my Raspberry Pi with evbarmeb. evbarmeb - is the Big-endian version of Netbsd, please correct me if I'm wrong.

I'm not able to boot it. I tried the following steps to create the bootable SD Card : 1. wget http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201602270000Z/evbarm-earmv7hfeb/binary/gzimg/armv7.img.gz 2. gunzip armv7.img.gz 3. dd if=armv7.img of=/dev/mmcblk0 bs=4M

But I'm able to boot it with the normal evbarm7hf image.

Thanks, Reemus Kumar

Comment by reemuskumar at lunch time on Saturday, February 27th, 2016

I have the following for my BPI

bpi# cat /boot/uEnv.txt
bootargs=root=wd0a -v c0nsole=fb fb.margin=60 armv7.dcache=1 aload_script=fatload mmc 0 0x43000000 bananapi/script.bin; aload_kernel=fatload mmc 0 0x48000000 netbsd.ub; bootm 0x48000000; uenvcmd=run aload_script aload_kernel bpi#

with this version of u-boot: U-Boot 2014.04-10693-gf954935 (Aug 06 2014 - 11:18:37) Allwinner Technology

Maybe this explains the boot problems people have seen. Any further problems please send-pr.

Comment by skrll early Wednesday morning, February 24th, 2016

1m will not work on Linux. m must be CAPITAL not lower char.

# dd if=NetBSD-7.0-i386-install.img of=/dev/sdb bs=1M conv=sync

Comment by buhara13 early Monday morning, February 22nd, 2016

I downloaded armv7.img from official FTP, dd'd u-boot-sunxi-with-spl.bin to it, made boot.cmd as per instructions and connected BPI to a Samsung LED TV via hdmi cable. I see the initial boot, however it fails with a black screen after "transferring control to NetBSD stage-2 loader (at address 40007800)". What am I doing wrong?

Here is the picture of boot-up: http://imgur.com/uMNI7ay

I initially thought it was a screen resolution problem, but I tried everything in uEnv.txt without success.

Comment by soxxxz Saturday night, February 20th, 2016
removed from the GSoC list since it requires extended discussion how to do it properly first
Comment by spz terribly early Wednesday morning, February 10th, 2016
New sources have multiple kernels listed like netbsd-CUBIETRUCK.ub . Kernel wouldn't boot until I renamed it to netbsd.ub instead of just pointing to netbsd-CUBIETRUCK.ub.
Comment by Mr. Friday afternoon, January 22nd, 2016
Add a comment
Contact | Disclaimer | Copyright © 1994-2016 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.
NetBSD® is a registered trademark of The NetBSD Foundation, Inc.