Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2019 23:18:46 +0200
From:      =?utf-8?Q?Peter_Ankerst=C3=A5l?= <peter@pean.org>
To:        Marcin Wojtas <mw@semihalf.com>
Cc:        doc.solo@web.de, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Help getting Marvell-A388 SBC booted
Message-ID:  <DFF1B0BD-74D3-48B6-89E5-F0DE49097C15@pean.org>
In-Reply-To: <CAPv3WKeSvqWKyCD69uUqzRuJdfZ0iq_WaVkoNxNKmHdhT3O%2BXQ@mail.gmail.com>
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>

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

--Apple-Mail=_50CCBADD-0C50-4E78-B0C2-D405A603190E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On 1 Feb 2019, at 10:03, Marcin Wojtas <mw@semihalf.com> wrote:
>=20
> Hi S=C3=B6ren,
>=20
> pt., 1 lut 2019 o 09:18 <doc.solo@web.de> napisa=C5=82(a):
>>=20
>> Hi Marcin,
>>=20
>> I used this device tree: =
https://github.com/Artox/crochet/blob/pr-clearfog/board/Clearfog/files/arm=
ada-388-helios4.dts. I did a crochet build of FreeBSD-12 with config =
from above mentioned github repo.
>>=20
>> 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?
>=20
> 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:
-
=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 =
result.
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.kwb



--Apple-Mail=_50CCBADD-0C50-4E78-B0C2-D405A603190E
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCDKIw
ggZMMIIFNKADAgECAhAIYx54g0aQ2jlpvYBCpK60MA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYT
AlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xJDAi
BgNVBAMTG0RpZ2lDZXJ0IFNIQTIgQXNzdXJlZCBJRCBDQTAeFw0xOTAzMjAwMDAwMDBaFw0yMjAz
MjAxMjAwMDBaMHQxCzAJBgNVBAYTAlNFMRAwDgYDVQQHEwdVcHBzYWxhMRkwFwYDVQQKDBBQZXRl
ciBBbmtlcnN0w6VsMRkwFwYDVQQDDBBQZXRlciBBbmtlcnN0w6VsMR0wGwYJKoZIhvcNAQkBFg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IT0kuwQmFXDgd3ejSfTaFR9NfqbmN7yU2kFjCIFw/W56qIkcXG+OgQ/rBvP0KxClvlnvgSML
AkUzJBOqobuTG2hLJp4m3UCGyg2pkhuWTW9EAAAAAAAA
--Apple-Mail=_50CCBADD-0C50-4E78-B0C2-D405A603190E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFF1B0BD-74D3-48B6-89E5-F0DE49097C15>