Espressobin anyone ?
Kim Shrier
kim at westryn.net
Thu May 30 18:22:32 UTC 2019
I have just received my espressobin board and I am attempting to boot FreeBSD from a USB stick.
I built a memstick image on FreeBSD Current r348346 and dd’ed it onto the usb stick.
I have done a usb start command and it located my USD stick.
Marvell>> usb start
starting USB...
USB0: Register 2000104 NbrPorts 2
Starting the controller
USB XHCI 1.00
USB1: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Marvell>> usb dev
USB device 0: Vendor: SMI Rev: 1100 Prod: USB DISK
Type: Removable Hard Disk
Capacity: 3824.0 MB = 3.7 GB (7831552 x 512)
Marvell>> usb part
Partition Map for USB device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000003 0x0001041a ""
attrs: 0x0000000000000000
type: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
guid: f3c4b566-81da-11e9-85d3-10ddb1e3768c
2 0x0001041b 0x00227cda ""
attrs: 0x0000000000000000
type: 516e7cb4-6ecf-11d6-8ff8-00022d09712b
guid: f3c4b7b7-81da-11e9-85d3-10ddb1e3768c
Marvell>> fatls usb 0 /efi/boot
./
../
635712 bootaa64.efi
1 file(s), 2 dir(s)
I am not sure of what I need to do to get it to boot FreeBSD off of the usb stick
I have tried the following commands:
Marvell>> fatload usb 0 0 /efi/boot/bootaa64.efi
reading /efi/boot/bootaa64.efi
635712 bytes read in 45 ms (13.5 MiB/s)
Marvell>> bootefi 0
## Starting EFI application at 00000000 ...
WARNING: Invalid device tree, expect boot to fail
Card did not respond to voltage select!
mmc_init: -95, time 23
Found 0 disks
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/arm64 EFI loader, Revision 1.1
Command line arguments: loader.efi
EFI version: 2.05
EFI Firmware: Das U-boot (rev 0.00)
Console: efi (0)
Startup error in /boot/lua/loader.lua:
LUA ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
OK
Based on the warning message and some comments previously in this thread, I think I need a .dtb file.
I have downloaded the armada-3720-community-v7.dtb file from globalscaletechnologies.com.
After I get it onto the usb stick, I am not sure of the command(s) needed to load it into memory.
Nor, am I sure of any other settings I need to make in order to boot FreeBSD from the usb stick.
Any advice would be greatly appreciated.
Kim
More information about the freebsd-arm
mailing list