NetBSD on the Pinebook Pro in August 2022 - or not?
#1
I don't know what goes on in the Linux world.  I surmise that Manjaro now comes with a U-Boot that is incompatible with NetBSD.

I bought another PinebookPro.  I have a microSD card with NetBSD 9.0 on it that I used as sort of a rescue boot for my other PinebookPro (which runs NetBSD 9.1).  I know that it works because I booted the old PBP with it, to make an image of the eMMC, so that I could make the new PBP a clone of the old one.  Booting this new PBP with the microSD card works for less than 20 seconds, and then the display turns off.  I have yet to open this PBP up to use the serial console, but I don't expect that will help, because NetBSD does start to boot.  I see that the PBP image of NetBSD has been withdrawn from armbsd.org, and I expect that is due to this problem.

I suppose it may be possible to install a different Linux on a microSD card in order to re-flash the eMMC with my original PBP NetBSD image.  But I wonder if I will run into some other trouble and effectively brick the PBP.  Is Manjaro booting via SPI ROM?  I'm not very ambitious about experimenting because I don't have my other PBP running NetBSD to fall back on.

Well it seems I can answer my own question. My microSD card may have gone corrupt.

I followed the first three instructions here https://wiki.netbsd.org/ports/evbarm/ins...g_sysinst/
and then copied rk3399-pinebook-pro.dtb from /dtb/rockchip to both /dtb and / (because I don't recall which is the proper place), and now have a bootable microSD with NetBSD.

The actual first command used was
Code:
dd if=arm64.img of=/dev/mmcblk1 bs=1M conv=sync
arm64.img is from evbarm/aarch64
the Pinebook Pro U-Boot was found here https://cdn.netbsd.org/pub/pkgsrc/packag...4/9.0/All/
:wq



[ SRA accepts you ]
  Reply
#2
I tried to install NetBSD HEAD and it seems to render Pinebook Pro unbootable when I halt/reboot the system. Not sure what it does exactly, but looks like it puts the CPU into some weird state that it cannot continue operation. What helps is to disconnect battery over night, then plug in and it's bootable again.
  Reply
#3
What I found is that the instructions above don't make a bootable U-boot. When I first tried NetBSD, before we had (or perhaps before I knew about) the working images on armbsd.org (no longer available) I had to manually copy the U-Boot from a working Linux. It looks like I might have to do that again.
:wq



[ SRA accepts you ]
  Reply
#4
(08-21-2022, 06:19 AM)KC9UDX Wrote: What I found is that the instructions above don't make a bootable U-boot.  When I first tried NetBSD, before we had (or perhaps before I knew about) the working images on armbsd.org (no longer available) I had to manually copy the U-Boot from a working Linux.  It looks like I might have to do that again.

Good advice is to actually burn u-boot to SPI.
  Reply
#5
(08-21-2022, 06:49 AM)untitled Wrote:
(08-21-2022, 06:19 AM)KC9UDX Wrote: What I found is that the instructions above don't make a bootable U-boot.  When I first tried NetBSD, before we had (or perhaps before I knew about) the working images on armbsd.org (no longer available) I had to manually copy the U-Boot from a working Linux.  It looks like I might have to do that again.

Good advice is to actually burn u-boot to SPI.

I've always wanted to do that.  But, as I can scarcely get one to work on SD and eMMC, I don't dare flash one that might not work to SPI ROM.
:wq



[ SRA accepts you ]
  Reply
#6
Hi!,

I installed Tow-Boot on SPI. It seems better than distro's implementations.
You can try it live (from sd-card) then burn it on SPI.

I don't use *BSD but seems tow-boot support them.
Kind regards,
Xavier Miller.
  Reply
#7
(08-24-2022, 01:04 AM)alchemist Wrote: I installed Tow-Boot on SPI. It seems better than distro's implementations.
You can try it live (from sd-card) then burn it on SPI.

I don't use *BSD but seems tow-boot support them.

I may try it.  But I'd like to get something working first.  As I have no time to deal with it for a while, I'm mostly waiting for a working bootable image to resurface.
:wq



[ SRA accepts you ]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  2nd NetBSD boot goes dark donn 6 1,740 02-22-2024, 03:59 AM
Last Post: KC9UDX
  NetBSD 1.0 runs down battery donn 13 1,387 11-15-2023, 04:05 PM
Last Post: KC9UDX
  Booting NetBSD untitled 12 5,949 08-30-2022, 01:23 AM
Last Post: untitled
  NetBSD and pinebook keyboard/trackpad firmware updater mrgtwentythree 5 9,866 05-16-2021, 07:37 PM
Last Post: mrgtwentythree
  NetBSD Der Geist der Maschine 76 109,722 05-16-2021, 02:43 PM
Last Post: mrgtwentythree
Question OpenBSD 6.7 on Pinebook Pro SKG 27 49,250 05-07-2021, 04:03 PM
Last Post: bigtreeman
Music NetBSD and USB "sound cards" KC9UDX 2 5,288 05-07-2021, 12:11 PM
Last Post: elimark1
  OpenBSD on the pinebook pro e-minguez 5 11,113 04-27-2021, 04:06 AM
Last Post: dreamer_
  PINEBOOK Pro USB-C Docking Deck on FreeBSD S199pWa1k9r 2 4,484 03-04-2021, 01:53 PM
Last Post: Arwen
Question Issues Installing NetBSD on a PineBook Pro ReleaseTheGeese 14 14,934 01-31-2021, 11:20 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)