From owner-freebsd-arm@freebsd.org Tue Apr 2 10:46:05 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 2ECDB1560F4D for ; Tue, 2 Apr 2019 10:46:05 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C639F8623D for ; Tue, 2 Apr 2019 10:46:04 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qt1-x836.google.com with SMTP id s15so14604052qtn.3 for ; Tue, 02 Apr 2019 03:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=A1kNI76aFo7+7bzLD1ej3JZ6gxOFKS1EKcT59QzYH9w=; b=GbYrd4YZGku6OmCLU7Pwe+F69w5mcdTj5Vi9fkad+gkx49gThtDz6zMtA+n9qPydYX WU+9NLbUdqUffpDEJCzHkj61E/4Qhwp+w81FLJYFHsR9/obb/YssdQSlAy+pbODuSQmn 5FxiDmTbtZZM8d8/igXm3ZYcLgVzE+ttW4pbMOWSsKIOBSOzm7Quf0rV72wTHsXQk520 q1niIbWjxZBj7lLhBAR2rzd7TQ8bR0pu4XOAVPkBXt/8TmXguukSdjOGrqs7ofa2GHXb PRqAO9Bz/FpSGl16ljshcCDbjV6BOIieWZvHsvpvjZ1I2EBwDoa3KF6vOGoQd74UYrK/ 78kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=A1kNI76aFo7+7bzLD1ej3JZ6gxOFKS1EKcT59QzYH9w=; b=kSTyMVymWRStxKm3fVU0AFrI9T92+KoznV7LgJKIcRzdUqIDNTEXX8qI5/0oAAjkuM 8ms3pWzVeSk/OOSWI8NOCkXXuKoEIp9685B4nDKj8W7HuBDnuKdSOasCp/aM0YL1f3Sx Yk36u78E7XWRoIV3Ryjl/83cyhzRZSHKdlweUBLLjfEfe+WYF0q/GFF3OyC31NqVmS5h kpmmI4W76m6TWXckNi48+KekLGC3t3C2RctvK+tIobnQSIDz/Blmr80i7uOfwIKDSM/Q Xoq793kTxJcXGfEzTN4pq7IlkvV5GCXndqwRVsitTD/mVX4wYi83BAtXlfYlpUNvvHsQ wJsw== X-Gm-Message-State: APjAAAWih71JmNVMfEhKgvQat0b5O3Qcy0hixkRe6BJphsL8fwink5gF T1r1rZLDg1UYJkbQ1uYmopFUYqeD0lSRdQUu4Lqmjg== X-Google-Smtp-Source: APXvYqyW8bI9lDc6bdO2els490Fz36LolK0wWd5Zn9z2TZRgdIDbMm5QJvSghg5q4Ng7MkL2sLjW6CNgLRUEVJsyOs0= X-Received: by 2002:a0c:d27a:: with SMTP id o55mr57905510qvh.21.1554201964308; Tue, 02 Apr 2019 03:46:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Marcin Wojtas Date: Tue, 2 Apr 2019 12:45:51 +0200 Message-ID: Subject: Re: Help getting Marvell-A388 SBC booted To: =?UTF-8?Q?Peter_Ankerst=C3=A5l?= Cc: doc.solo@web.de, freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: C639F8623D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Tue, 02 Apr 2019 10:46:05 -0000 Hi Peter, pon., 1 kwi 2019 o 23:19 Peter Ankerst=C3=A5l napisa=C5=82= (a): > > > > > On 1 Feb 2019, at 10:03, Marcin Wojtas wrote: > > > > Hi S=C3=B6ren, > > > > pt., 1 lut 2019 o 09:18 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 >