freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
611 stars 188 forks source link

Boot failure on Pine64 #219

Open adriaandegroot opened 6 years ago

adriaandegroot commented 6 years ago

Here's my minicom boot log:

>> FreeBSD EFI boot block
   Loader path: /boot/loader.efi

   Initializing modules: ZFS UFS
   Load Path: \efi\boot\bootaa64.efi
   Load Device: mmc0
   Probing 3 block devices...... done
    ZFS found no pools
    UFS found no partitions
Failed to load '/boot/loader.efi'
panic: No bootable partitions found!
## Application terminated, r = 1
EFI LOAD FAILED: continuing...

The older pine64 image reports

>> FreeBSD EFI boot block
   Loader path: /boot/loader.efi

   Initializing modules: ZFS UFS
   Probing 3 block devices.....* done
    ZFS found no pools
    UFS found 1 partition
Consoles: EFI console  
Command line arguments: loader.efi
Image base: 0xb8dc6000
EFI version: 2.05
EFI Firmware: Das U-boot (rev 0.00)

The two images are both written to (identical) 16GB micro SD cards. Except for the start block (148480 vs 148491), the partition tables look functionally the same to me (the bootable one has been growfs'ed to the full 15GB available, the non-bootable one is still 9GB from the image writing process). Both have a /boot/loader.efi -- which is moot, I guess, since UFS can't even find the appropriate partition.