Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2019 12:22:22 -0600
From:      Kim Shrier <kim@westryn.net>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Cc:        James Shuriff <james@opentech.cc>, Marcin Wojtas <mw@semihalf.com>, =?utf-8?Q?S=C3=B8ren_Schmidt?= <deepcore.dk@gmail.com>
Subject:   Re: Espressobin anyone ?
Message-ID:  <9B48E915-C705-4582-837B-C92B40AD63EB@westryn.net>
In-Reply-To: <F36EE3C6-17E6-4229-BFE1-D7BE81589D28@gmail.com>
References:  <F4B29A2F-D94B-4E44-B5D7-8F29B63BC286@deepcore.dk> <CAPv3WKdFWkxLLY9orLee8G9Z=vbVrGoRAJv%2BhcM%2BmE%2B4Ue9SDQ@mail.gmail.com> <334C83B6-1F12-436A-866B-947977A34D4D@deepcore.dk> <E73AFF5D-43CA-41A7-BDBA-ADEF2D342479@deepcore.dk> <BN7PR06MB518773EC2F92D56E1BE6587BAA090@BN7PR06MB5187.namprd06.prod.outlook.com> <051F7682-B3EC-49D8-B52A-2A8C75BEE757@gmail.com> <BN7PR06MB51872A92C05A6EFC02C32BFCAA090@BN7PR06MB5187.namprd06.prod.outlook.com> <F36EE3C6-17E6-4229-BFE1-D7BE81589D28@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=E2=80=99ed 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       =20
                Type: Removable Hard Disk
                Capacity: 3824.0 MB =3D 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=20

    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 =20
        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=20

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B48E915-C705-4582-837B-C92B40AD63EB>