From owner-freebsd-arm@freebsd.org Fri May 17 13:13:21 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 C3FDD15951A4 for ; Fri, 17 May 2019 13:13:21 +0000 (UTC) (envelope-from deepcore.dk@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8600073375 for ; Fri, 17 May 2019 13:13:20 +0000 (UTC) (envelope-from deepcore.dk@gmail.com) Received: by mail-lj1-x22e.google.com with SMTP id w1so6308270ljw.0 for ; Fri, 17 May 2019 06:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=5ycPO6ZfP8mZjFkhcuhPHSQKTpZCDHl27z1cEKimgco=; b=AZJ6v7jVXq0LmVTG47/berg8ZRtotVytG/dqxvqsfP5ZIRsOz5eLg+ekHDh4pMFBDM SB+uaYxwDcbcOYnCPt/f0GeyVQ5AbGEg0YyJly2lTkJzmoBAcjQOTF3WxP/gYjCIGFT+ NTW7BaFC9lo/vkae8y6fKztTOTPIZj6AM7/dV+sOE2eMSYj2HZ7IcSgdm2ZcStWuQ0fB 229iV93WIziUMP5J8iB6wRyNxO8TSlQ3ChEF4NRIYMPI0NstOY/g2xWfY+Iaf+50IWaQ I42HoZDUdrWza70YDeuZQDq93K2pxJGHGVqSP1ZHU7dqKXwo3+JopRowKuqAtnUFrGZ8 uXMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=5ycPO6ZfP8mZjFkhcuhPHSQKTpZCDHl27z1cEKimgco=; b=N3LHWGH7y8AFjTHFLp4ppIatCyvUJmL2bel/H7jYx/T9ZyHW3M18xD2T3jo22gjnK8 OexSYZoYkEy4CnMlMHggiqYJDxP7pPKEpZcc+xKRLkDndP060uEuNqPqiuO9njFhTTbl rhi1mcM7XMy9j0x8+daocmN3Ky2MbWw9g2YP3jpb4V18Dfl9OM67U3AvH0DkUVg7eOYt 8/w5bPhPpIlf2cEELegeMVyNRf9tGvV3BEDQjrq/pF9K63o79S0va275fDyFVnUb3hmO Jw1ZmrlUPvEoSQTfE/x8iJpqQ93DmGpSaE/xFBmiRJuIzAxp1Ov72XzvSjZ+ytP/voY5 Abrw== X-Gm-Message-State: APjAAAX+I7mLUVLP+IHSPHGv25x7DIJvJn63kIr0a9RR8e40I3jTCKbm yi9chgbQM4Y4KxX94SaDV7M= X-Google-Smtp-Source: APXvYqxjOEvt4KlmVq9vK5rpEhn5vHzUCmzpM30wfs2i8ndlS0UcZ1yppNbWMHQ/dg3SNE6EJ27mSg== X-Received: by 2002:a2e:380c:: with SMTP id f12mr11498923lja.53.1558098798336; Fri, 17 May 2019 06:13:18 -0700 (PDT) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id x20sm1442338ljc.15.2019.05.17.06.13.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 May 2019 06:13:17 -0700 (PDT) From: "=?utf-8?Q?S=C3=B8ren_Schmidt?=" X-Google-Original-From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_F559A9A2-99CD-4C4D-9186-F918FD7C13F3"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: Espressobin anyone ? Date: Fri, 17 May 2019 15:13:15 +0200 In-Reply-To: Cc: "freebsd-arm@freebsd.org" , Marcin Wojtas To: James Shuriff References: <334C83B6-1F12-436A-866B-947977A34D4D@deepcore.dk> <051F7682-B3EC-49D8-B52A-2A8C75BEE757@gmail.com> X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 8600073375 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=AZJ6v7jV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of deepcoredk@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=deepcoredk@gmail.com X-Spamd-Result: default: False [-7.43 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; HAS_ATTACHMENT(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.83)[ip: (-9.64), ipnet: 2a00:1450::/32(-2.20), asn: 15169(-2.27), country: US(-0.06)] 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: Fri, 17 May 2019 13:13:22 -0000 --Apple-Mail=_F559A9A2-99CD-4C4D-9186-F918FD7C13F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Using loader.env doesn=E2=80=99t work it is not read it seems. However having hacked currdev into the loader instead it boots reliably, = it finds its network but not the switch and MMC media is also ignored. It does seem to find its SATA disk though but I need to add the armada = ID=E2=80=99s to my driver there. There is a lot of HW support missing though, but given that others have = support it shouldn=E2=80=99t be too hard to fix, given that I can get = the SATA port working so it can be (re)booted and played with easily, -S=C3=B8ren > On 15 May 2019, at 22.49, James Shuriff wrote: >=20 > /EFI/FREEBSD isn't there in the image. It's only used for = /EFI/FREEBSD/loader.env as far as I know. If setting currdev from the = loader prompt works then setting rootdev to diskXX: should work. It = didn't work for me when I had a similar issue to what you're having but = it's worth a try. How is your disk partitioned? >=20 > - James Shuriff >=20 > -----Original Message----- > From: S=C3=B8ren Schmidt > Sent: Wednesday, May 15, 2019 3:33 PM > To: James Shuriff > Cc: freebsd-arm@freebsd.org; Marcin Wojtas > Subject: Re: Espressobin anyone ? >=20 > Hi >=20 > Sortof boot. >=20 > I use the stock arm64 memstick image. >=20 > I can get it to boot the kernel if I add a .dtb file to the fat = partition and load that, and issue set currdev=3DdiskXX at the loader = prompt >=20 > However the kernel does find the SD card controller but does not find = the SD card so no root filesystem. >=20 > On the stock image (HEAD) there is no /EFI/FREEBSD, just /EFI/BOOT but = I=E2=80=99ll try to add it in there so the boot can continue without = interaction. >=20 > However I still don=E2=80=99t have a rootfs . That could be OK and = just use a SATA disk which was the idea in the long run. >=20 > -S=C3=B8ren >=20 >=20 >=20 >> On 15 May 2019, at 21.07, James Shuriff wrote: >>=20 >> You can boot manually using the loader shell, right? Try putting this = in /EFI/FREEBSD/loader.env >>=20 >> rootdev=3Ddisk0sX: >>=20 >> Were "X" is the boot slice, such as 2a. This didn't work for me when = I was having loader.efi issues but it's worth a shot. How is your disk = laid out? >>=20 >> - James Shuriff >>=20 >> -----Original Message----- >> From: owner-freebsd-arm@freebsd.org = On Behalf Of S=C3=B8ren Schmidt >> Sent: Tuesday, May 14, 2019 4:17 PM >> To: freebsd-arm@freebsd.org >> Cc: Marcin Wojtas >> Subject: Re: Espressobin anyone ? >>=20 >>=20 >>=20 >>> On 14 May 2019, at 21.10, S=C3=B8ren Schmidt = wrote: >>>=20 >>> Hi Marcin >>>=20 >>> OK, I just tried 12-stable and it doesn=E2=80=99t seem to be able to = locate any partitions. >>>=20 >>> Is there any official docs/notes on how to setup the boot = environment on the Espressobin board? >>> I=E2=80=99ve been able to get it to load the efi loader with the = stock u-boot (which is kindof linux centric): >>>=20 >>> Found 1 disks >>> Consoles: EFI console >>> FreeBSD/arm64 EFI loader, Revision 1.1 >>>=20 >>> Command line arguments: loader.efi >>> EFI version: 2.05 >>> EFI Firmware: Das U-boot (rev 0.00) >>> Console: efi (0) >>> Failed to find bootable partition >>>=20 >>> I=E2=80=99ll try the stock arm64 image from head, see if that gets = any further.. >>>=20 >>>=20 >>>> On 14 May 2019, at 20.47, Marcin Wojtas wrote: >>>>=20 >>>> Hi Soren >>>>=20 >>>> W dniu wt., 14.05.2019 o 20:40 S=C3=B8ren Schmidt = > napisa=C5=82(a): >>>> Hi >>>>=20 >>>> Just before I get me feet to wet in attacking it, is there anyone = that has made progress on this ? >>>>=20 >>>> There are a few rumblings here and there but nothing concrete .. >>>>=20 >>>> -S=C3=B8ren >>>>=20 >>>>=20 >>>> It works nicely on HEAD (without PCIE though) - It was tried 2 = weeks ago. >>>>=20 >>>> Best regards, >>>> Marcin >>=20 >> The newest HEAD snapshot image doesn=E2=80=99t work either, fails the = same way (no partition found) so no Lua loader..(my 12-stable uses the = old 4th loader). >>=20 >> Found 1 disks >> Consoles: EFI console >> Reading loader env vars from /efi/freebsd/loader.env >> FreeBSD/arm64 EFI loader, Revision 1.1 >>=20 >> 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: invalid argument. >>=20 >> can't load 'kernel' >>=20 >> Type '?' for a list of commands, 'help' for more detailed help. >> OK >>=20 >>=20 >> Ideas are welcome, seems that the aarch64 loader gets in there, but = it fails to find the freebsd partition=E2=80=A6 >>=20 >> -S=C3=B8ren >>=20 >>>=20 >>=20 >> ________________________________ >> DISCLAIMER: This message and any attachments are intended solely for = the use of the recipient and may contain confidential information. If = you have received this message in error please delete it and promptly = notify the sender, James Shuriff = (james@opentech.cc). >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >=20 > ________________________________ > DISCLAIMER: This message and any attachments are intended solely for = the use of the recipient and may contain confidential information. If = you have received this message in error please delete it and promptly = notify the sender, James Shuriff = (james@opentech.cc). > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --Apple-Mail=_F559A9A2-99CD-4C4D-9186-F918FD7C13F3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkC0kEuD0Me2xEj5EGvRMAY4qbRsFAlzes2sACgkQGvRMAY4q bRsLCQ/+KFTeqd0hQ3EKOYKKo/I8mQgcCjzzhbn6FKy8KZfBIVLXDEjPX/W0Eswl Y2nwP4dfyb6DnKdqGjwzonv/XjTZAcuTQ2JnfSRMm/ysIXBW8m35otwolwDRPrtd d7g00CbkSq0UW06af8wGVLzf4Wl20CIxHow0zB54+WV2et+5zXWzbDUbJoxJCn/h bU39DGCLHpKmsC7x/CCWrwZOSJBgxEheGqJqdxce0cVFhL6Wqc+aOPAN5DBYyV4X hrZzX9CghDumFsDtc9hQJwANZBlBgkWnd3uhVQrnd19b3LrKmg3pqshhsMjbkN+F TWQvrmgngbAyXN+pheImB0vbMiixUp1k2k3708IbqtEAl7UxfIXdg5EuNDcYjngw 74ka4PkG/2JsIPax0N5Ht+10g7HlunANE1W3/NVt8ebBswWV2wwdzUa/7abfL/Wm /VjvsLuyU+0PENFbsT/+pXs3Tx6LC7G9wONJXME+DCY7+mQacud5bW0FK7fS1E0y 1+n1IPWXYt4VzghxXS44rqkF2PEznPeUsP9fKDtucId0U7g/mJxyYLLN9tp2N/js h8psWv1sh3HAtTl0XZbEYQdIO/4KDXCoe+xgCtUFzj9Sr5n56vsZ7Lmf/dyDZ+rc +PEWTU/6e+YBnAFVmkiSIxM17xSwGnuo+sfa1FJi/yuZGBpTVEg= =B3ZB -----END PGP SIGNATURE----- --Apple-Mail=_F559A9A2-99CD-4C4D-9186-F918FD7C13F3--