From owner-freebsd-arm@freebsd.org Thu May 30 18:22:32 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DD4015A71E4 for ; Thu, 30 May 2019 18:22:32 +0000 (UTC) (envelope-from kim@westryn.net) Received: from mail.westryn.net (mail.westryn.net [199.48.135.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4934F975E9 for ; Thu, 30 May 2019 18:22:31 +0000 (UTC) (envelope-from kim@westryn.net) Received: from client20.westryn.net (225x169.ouraynet.com [204.16.225.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.westryn.net (Postfix) with ESMTPSA id A446F9432CD; Thu, 30 May 2019 12:22:23 -0600 (MDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Espressobin anyone ? From: Kim Shrier In-Reply-To: Date: Thu, 30 May 2019 12:22:22 -0600 Cc: James Shuriff , Marcin Wojtas , =?utf-8?Q?S=C3=B8ren_Schmidt?= Content-Transfer-Encoding: quoted-printable Message-Id: <9B48E915-C705-4582-837B-C92B40AD63EB@westryn.net> References: <334C83B6-1F12-436A-866B-947977A34D4D@deepcore.dk> <051F7682-B3EC-49D8-B52A-2A8C75BEE757@gmail.com> To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 4934F975E9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kim@westryn.net designates 199.48.135.251 as permitted sender) smtp.mailfrom=kim@westryn.net X-Spamd-Result: default: False [-3.19 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:199.48.135.251]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[westryn.net]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.westryn.net]; NEURAL_HAM_SHORT(-0.90)[-0.903,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.48)[ipnet: 199.48.132.0/22(-3.46), asn: 36236(-3.88), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.132.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2019 18:22:32 -0000 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