Date: Tue, 28 Dec 2021 05:14:53 -0800 From: Mark Millard via freebsd-arm <freebsd-arm@freebsd.org> To: petru garstea <peter.garshtja@ambient-md.com> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD13.0 on Pine ROCK64 Message-ID: <4DD2481B-282F-47C8-843D-D3121D042259@yahoo.com> In-Reply-To: <64ec1bf0-4eea-2499-f728-83f093e95027@ambient-md.com> References: <64ec1bf0-4eea-2499-f728-83f093e95027@ambient-md.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Dec-27, at 19:40, petru garstea <peter.garshtja@ambient-md.com> = wrote: > Greetings, >=20 > Hope all is well. >=20 > I burned on emmc drive a FBSD13 version for pine rock64 SOC however = the system doesn't boot. >=20 > The command I used >=20 > dd if=3DFreeBSD-13.0-RELEASE-arm64-aarch64-ROCK64.img of=3D/dev/da0 = bs=3D1m conv=3Dsync status=3Dprogress >=20 > Then I validate the partition tables >=20 > gpart show > =3D> 40 6291376 da0 GPT (29G) [CORRUPT] > 40 32728 - free - (16M) 40+32768 =3D=3D 32808, which overlaps with [32768..32768+102400) > 32768 102400 1 efi (50M) > 135168 6156160 2 freebsd-ufs (2.9G) > 6291328 88 - free - (44K) >=20 >=20 > I tried to boot as is but no luck, then since the GPT is corrupted I = ran >=20 > gpt recover da0 >=20 > But the result is the same, the system doesnt boot. >=20 >=20 > I tested an armbian image and that worked well. My configuration uses the e.MMC through loading the kernel (but the kernel gets the world from USB3). (I do my own FreeBSD builds.) # gpart show =3D> 63 244277185 mmcsd0 MBR (116G) 63 32705 - free - (16M) 32768 102312 1 fat32lba [active] (50M) 135080 28760 - free - (14M) 163840 241172480 2 freebsd (115G) 241336320 2940928 - free - (1.4G) =3D> 0 241172480 mmcsd0s2 BSD (115G) 0 230686720 1 freebsd-ufs (110G) 230686720 10485760 - free - (5.0G) . . . The Rock64 boots just fine, no microsd card present. For reference, my Rock64 Armbian installation on e.MMC is shown as (gpart show output): =3D> 63 244277185 da3 MBR (116G) 63 32705 - free - (16M) 32768 241795072 1 linux-data (115G) 241827840 2449408 - free - (1.2G) Similarly, my Rock64 NetBSD installation on e.MMC is shown as (again gpart show output): =3D> 63 244277185 da3 MBR (116G) 63 32705 - free - (16M) 32768 163840 1 fat32lba [active] (80M) 196608 244080640 2 !169 (116G) (These were accessed via a USB3 reader, not via the Rock64. The Rock64 was otherwise engaged. I did not build Armbian or NetBSD. I just used an image from a standard place for each.) All these start at 63 and avoid having the initial free space overlapping the [32768.. 32768+???) area. All these are MBR instead of GPT. As I remember, the Rock64 has a jumper configuration that can force microsd card booting, something I avoid on the Rock64. I've no clue of any of he above happens to have touched on you actual problem. But at least I've got an FreeBSD system that does the steps through loading the kernel via using the e.MMC. So that much is possible. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DD2481B-282F-47C8-843D-D3121D042259>