Date: Thu, 22 Jul 2021 21:03:52 -0500 From: Justin Hibbits <jhibbits@FreeBSD.org> To: al@familysafeinternet.com Cc: "freebsd-ppc@freebsd.org" <freebsd-ppc@freebsd.org> Subject: Re: FreeBSD on X5000 Message-ID: <20210722210352.20e2d605@ralga.knownspace> In-Reply-To: <ee56ba5c-f9d1-001d-a598-11d97d589b75@datazap.net> References: <ee56ba5c-f9d1-001d-a598-11d97d589b75@datazap.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 22 Jul 2021 07:30:14 -0400 al@familysafeinternet.com wrote: > Hi, > > I have hired a programmer to help me with getting something working > on FreeBSD, adding new features, etc. Of course, I want to be working > with the latest code. However, I can't seem to make it run. I think > the problem is that the bootloader expects to see a ZFS root > partition is the reason it won't boot. Could someone at least give me > a hint? > > Kind Regards, > Al > > I'm not quite sure what you're asking. I have an X5000 with a UFS root, it's partitioned MBR with 2 partitions: msdosfs for ubldr, and the rest is dedicated to a disklabel with a few partitions. You want in U-Boot the following variables at least: loaderdev disk1s2a is mine (first disk, second slice, first partition in that slice) bootcmd: sata init; fatload sata 0:1 $loadaddr ubldr; fatload sata 0:1 $fdtaddr $fdtfile; fdt addr $fdtaddr; fdt boardsetup; bootelf $loadaddr bootargs: vfs.root.mountfrom=ufs:/dev/ada0s2a (same as loaderdev) The vfs.root.mountfrom may not be necessary, if ubldr provides it to the kernel, but I keep it just to be safe. - Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210722210352.20e2d605>