Date: Fri, 17 May 2019 15:13:15 +0200 From: "=?utf-8?Q?S=C3=B8ren_Schmidt?=" <deepcore.dk@gmail.com> To: James Shuriff <james@opentech.cc> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Marcin Wojtas <mw@semihalf.com> Subject: Re: Espressobin anyone ? Message-ID: <F36EE3C6-17E6-4229-BFE1-D7BE81589D28@gmail.com> In-Reply-To: <BN7PR06MB51872A92C05A6EFC02C32BFCAA090@BN7PR06MB5187.namprd06.prod.outlook.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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <james@opentech.cc> 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 <deepcore.dk@gmail.com> > Sent: Wednesday, May 15, 2019 3:33 PM > To: James Shuriff <james@opentech.cc> > Cc: freebsd-arm@freebsd.org; Marcin Wojtas <mw@semihalf.com> > 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 <james@opentech.cc> 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 <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 <mw@semihalf.com> >> Subject: Re: Espressobin anyone ? >>=20 >>=20 >>=20 >>> On 14 May 2019, at 21.10, S=C3=B8ren Schmidt <deepcore.dk@gmail.com> = 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 <mw@semihalf.com> wrote: >>>>=20 >>>> Hi Soren >>>>=20 >>>> W dniu wt., 14.05.2019 o 20:40 S=C3=B8ren Schmidt = <deepcore.dk@gmail.com <mailto:deepcore.dk@gmail.com>> 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<mailto: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<mailto: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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F36EE3C6-17E6-4229-BFE1-D7BE81589D28>