![]() |
|
NetBSD images for the pine (and other boards) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: BSD on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=105) +--- Thread: NetBSD images for the pine (and other boards) (/showthread.php?tid=6231) |
NetBSD images for the pine (and other boards) - e-minguez - 07-02-2018 Thanks to @jmcneill for creating the builds!!!
Code: sudo dd if=./NetBSD-evbarm-aarch64-201811042130Z-pine64.img of=/dev/sdbFirst boot
Code: passwd
Code: useradd -m -G wheel edu
passwd edu
Code: ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="my favourite network"
key_mgmt=WPA-PSK
psk="hunter2"
}
Code: wpa_supplicant=YES
wpa_supplicant_flags="-i urtwn0 -c /etc/wpa_supplicant.conf"
Code: chmod 600 /etc/wpa_supplicant.conf
/etc/rc.d/wpa_supplicant start
Code: ifconfig urtwn0Update to latest current As root user: Code: # Create a temporary directory
mkdir -p /root/tmp/kernel
cd /root/tmp/kernel
# Backup the current NetBSD kernel
cp /netbsd /onetbsd
# Download a full tar with kernel and dtb files
ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/kern-GENERIC64.tgz
tar xzvf /root/tmp/kernel/kern-GENERIC64.tgz
# Overwrite the current NetBSD kernel and dtb files
cp ./netbsd /netbsd
cp sun50i-a64-pine64* /boot/dtb/allwinner/
# Reboot
rebootAfter reboot Code: mkdir -p /root/tmp/sets
cd /root/tmp/sets
# Download and untar all sets
for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/$x.tgz; done
for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do tar -C / -zxvpf $x.tgz; doneUpdate the /etc/ configuration Code: for x in etc xetc; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/$x.tgz; done
etcupdate -s etc.tgz -s xetc.tgzVerify everything works, then clean up and reboot Code: rm -Rf /root/tmp
rebootBased on @jmcneill instructions: Code: <jmcneill> Updated sets are on the autobuild server: http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/
<jmcneill> Backup current (working) kernel: cp /netbsd /onetbsd
<jmcneill> Then take "./netbsd" from kern-GENERIC64.tgz and put it as /netbsd
<jmcneill> and you probably want to update the dtb in /boot/dtb/allwinner/ to match
<jmcneill> (latest dtb is in that same file)
<jmcneill> reboot with the new kernel, make sure it works..
<jmcneill> (you need to be running the new kernel for this latest step -- old kernel may not support new userland)
<jmcneill> then extract sets..
<jmcneill> for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do tar -C / -zxvpf $x.tgz; done
<jmcneill> note that I skipped the debug sets (they are big) and etc/xetc sets (we upgrade those separately)
<jmcneill> To see what sets you have installed, ls /etc/mtree/set.*
<jmcneill> Then to update etc and xetc: etcupdate -s etc.tgz -s xetc.tgzRE: NetBSD images for the pine (and other boards) - Luke - 07-02-2018 Thanks, will ask Pineadmin to add the images to the installer. RE: NetBSD images for the pine (and other boards) - e-minguez - 07-11-2018 It seems we have news here: https://twitter.com/jmcwhatever/status/1016982676107128833 NetBSD ARM 64-bit images with SMP support now available at invisible.ca/arm RE: NetBSD images for the pine (and other boards) - e-minguez - 08-01-2018 I've just installed it in a spare microsd and it seems to work fine so far (it boots!) ![]() The only caveat I've found is the wireless connectivity doesn't work (chipset not supported) RE: NetBSD images for the pine (and other boards) - e-minguez - 11-06-2018 Updated first post with more information and how to stay updated in current. RE: NetBSD images for the pine (and other boards) - tllim - 11-06-2018 (11-06-2018, 07:13 AM)e-minguez Wrote: Updated first post with more information and how to stay updated in current. Thanks. RE: NetBSD images for the pine (and other boards) - erchache2000 - 01-03-2019 To do sudo you need to install it from pkgsrc ;( or not? O_o RE: NetBSD images for the pine (and other boards) - beard5849 - 06-09-2019 Can I have a user & password to SSH login please? I've successfully installed, on a 16Gb SD card: NetBSD-evbarm-aarch64-201906031130Z-rockpro64.img.gz It boots on my RockPro64 board. I resizes the root filesystem. On second boot and waiting five mins, I can SSH to it but the SSHD daemon won't accept <no password> I've investigated, as suggested, mounting the SD card root filesystem on a Linux box and adding a user manually. But on Fedora 29, "guestmount" doesn't work. I don't have a serial console connection. What I'm looking for is an OS for the RK3399 that supports the NEON extended instructions and a C compiler that also has NEON support. Project: FreeDV, Digital Voice at low bitrates, Codec2 mode 2020 using LPCNet Alan B RE: NetBSD images for the pine (and other boards) - rambius - 08-17-2019 (07-02-2018, 04:53 AM)e-minguez Wrote:Hello, I just received my pinebook and installed NetBSD on it. Can you please share what usb wireless adapter you are using - brand and model? Regards rambius RE: NetBSD images for the pine (and other boards) - e-minguez - 08-20-2019 (08-17-2019, 08:28 AM)rambius Wrote:(07-02-2018, 04:53 AM)e-minguez Wrote:Hello, I had one spare wireless usb that was luckly compatible with NetBSD but I cannot remember the model, see https://www.netbsd.org/support/hardware/usb.html for a list of supported adapters. |