Help getting Marvell-A388 SBC booted

Marcin Wojtas mw at semihalf.com
Tue Apr 2 10:46:05 UTC 2019


Hi Peter,


pon., 1 kwi 2019 o 23:19 Peter Ankerstål <peter at pean.org> napisał(a):
>
>
>
> > On 1 Feb 2019, at 10:03, Marcin Wojtas <mw at semihalf.com> wrote:
> >
> > Hi Sören,
> >
> > pt., 1 lut 2019 o 09:18 <doc.solo at web.de> napisał(a):
> >>
> >> Hi Marcin,
> >>
> >> I used this device tree: https://github.com/Artox/crochet/blob/pr-clearfog/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 some 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 have built a image using crochet with the modifications found at https://github.com/Artox/crochet/
>
> But so far I have no luck getting it booted:
> -
> => 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)
> => fatload mmc 0:2 0x2000000 ubldr.bin
> reading ubldr.bin
> 367160 bytes read in 33 ms (10.6 MiB/s)
> => go 0x2000000
> ## Starting application at 0x02000000 ...
> ## Application terminated, rc = 0x1BADAB1
> -
>
> I have tried to write a few different u-boot to my eMMC with the same result.
> dd if=u-boot-clearfog-base-mmc.kwb of=/dev/mmcblk0 bs=512 seek=1
>
> 1. The ones built with sysutils/u-boot-clearfog
> 2. https://images.solid-build.xyz/A38X/U-Boot/u-boot-clearfog-base-mmc.kwb
>

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

Best regards,
Marcin

>


More information about the freebsd-arm mailing list