Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2019 12:45:51 +0200
From:      Marcin Wojtas <mw@semihalf.com>
To:        =?UTF-8?Q?Peter_Ankerst=C3=A5l?= <peter@pean.org>
Cc:        doc.solo@web.de, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Help getting Marvell-A388 SBC booted
Message-ID:  <CAPv3WKfqOjnbdY5X0Xm=4Fmoreo1FtHZXZVsVydA1sdC3=rjug@mail.gmail.com>
In-Reply-To: <DFF1B0BD-74D3-48B6-89E5-F0DE49097C15@pean.org>
References:  <trinity-8e9b1199-ff8e-4b6d-8a9e-e1ea75fea8d7-1548867471858@3c-app-webde-bs03> <CAPv3WKfRjCP975=265xEfv=hJWJxkt4hx8tcVXkuX_cV70WcYg@mail.gmail.com> <trinity-7394adee-d245-4e66-ad4d-8a5841399b88-1549009120540@3c-app-webde-bs50> <CAPv3WKeSvqWKyCD69uUqzRuJdfZ0iq_WaVkoNxNKmHdhT3O%2BXQ@mail.gmail.com> <DFF1B0BD-74D3-48B6-89E5-F0DE49097C15@pean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Peter,


pon., 1 kwi 2019 o 23:19 Peter Ankerst=C3=A5l <peter@pean.org> napisa=C5=82=
(a):
>
>
>
> > On 1 Feb 2019, at 10:03, Marcin Wojtas <mw@semihalf.com> wrote:
> >
> > Hi S=C3=B6ren,
> >
> > pt., 1 lut 2019 o 09:18 <doc.solo@web.de> napisa=C5=82(a):
> >>
> >> Hi Marcin,
> >>
> >> I used this device tree: https://github.com/Artox/crochet/blob/pr-clea=
rfog/board/Clearfog/files/armada-388-helios4.dts. I did a crochet build of =
FreeBSD-12 with config from above mentioned github repo.
> >>
> >> I will build everything from scratch now, but documentation is really =
sparse. So I still don't know what is really important to get FBSD booted. =
My understanding is, that U-Boot needs the API enabled and that there are s=
ome deviations from the linux device trees. Anything else?
> >
> > We made an effort to remove all deviations from the Linux device
> > trees, when adding support to GENERIC config. Therefore any
> > customisation is no longer needed (it was added long time before 12
> > release). We also used unmodified u-boot from Marvell repos all the
> > time. I need to check and help you (but not before the weekend :) ).
>
> Hi!
>
> Im trying to get FreeBSD 12 running on the ClearFog Base (with eMMC). I h=
ave built a image using crochet with the modifications found at https://git=
hub.com/Artox/crochet/
>
> But so far I have no luck getting it booted:
> -
> =3D> fatload mmc 0:2 0x1000000 armada-388-clearfog-base.dtb
> reading armada-388-clearfog-base.dtb
> 24814 bytes read in 17 ms (1.4 MiB/s)
> =3D> fatload mmc 0:2 0x2000000 ubldr.bin
> reading ubldr.bin
> 367160 bytes read in 33 ms (10.6 MiB/s)
> =3D> go 0x2000000
> ## Starting application at 0x02000000 ...
> ## Application terminated, rc =3D 0x1BADAB1
> -
>
> I have tried to write a few different u-boot to my eMMC with the same res=
ult.
> dd if=3Du-boot-clearfog-base-mmc.kwb of=3D/dev/mmcblk0 bs=3D512 seek=3D1
>
> 1. The ones built with sysutils/u-boot-clearfog
> 2. https://images.solid-build.xyz/A38X/U-Boot/u-boot-clearfog-base-mmc.kw=
b
>

Please try https://github.com/SolidRun/u-boot-armada38x.git , as
pointed in: https://developer.solid-run.com/knowledge-base/freebsd/

Best regards,
Marcin

>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPv3WKfqOjnbdY5X0Xm=4Fmoreo1FtHZXZVsVydA1sdC3=rjug>