NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: u-boot banana pi armv7



Am Do., 21. Jan. 2021 um 07:13 Uhr schrieb George Morgan <gmorgan%fastmail.fm@localhost>:
>
> Ok, I finally found the right incantation to boot Netbsd-9.1 on my banana pi sata disk but haven't figured out how to make it run automatically yet:
>
> 1) Grab a pre-built armv7.img (u-boot and mini-root) from http://www.armbsd.org/arm/
> 2) Write it to my sdcard
>
> Via serial console, interrupt u-boot and run the following u-boot commands:
>
> scsi scan
> scsi dev 0
> fatload scsi 0:1 $fdt_addr_r dtb/$fdtfile
> fatload scsi 0:1 $kernel_addr_r EFI/boot/bootarm.efi
> bootefi $kernel_addr_r $fdt_addr_r
>
> [Interrupt EFI boot]
>
> boot hd0a:netbsd
> ================================
> So, I can make a boot.scr with the u-boot commands and put it on /dev/ld0e (msdos boot partition on sdcard), but I don't know how to tell bootarm.efi to find netbsd on hd0a.  I assume I need to set some environment variable or pass more args to the bootefi command???  I feel like I'm really close now.

At this point (for bootarm.efi)

  /etc/efiboot.plist

or

  boot.cfg   (for newer bootarm.efi's)

are the places to deposit (additional) boot info / menu for it.

Regards, Markus


Home | Main Index | Thread Index | Old Index