From nobody Fri Jul 23 02:03:52 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3FE01127AD13 for ; Fri, 23 Jul 2021 02:03:57 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GWCKn0W5jz3G5G for ; Fri, 23 Jul 2021 02:03:56 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io1-xd2d.google.com with SMTP id l126so744550ioa.12 for ; Thu, 22 Jul 2021 19:03:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=THCEXJo0snN7OrPxUbUi6qdmSkrxiFmQZZyWVpQJzP4=; b=ku9BPcSsnSAOveAwHm/USPmqNtp3F5KHDwlaHAMIHp9Gz43bU0R2tLG2bjFqmU5FbJ ONq2enQTF7+SX1+TREuS9md3sACh+XsNGqPCzl4vWRAfepoySkNfSl1Kv0W60nNr+Vu9 w4oUJnAuy4nA3aFA+A2s/RAaNhluapuVHx1Oicl2eisUtbNP+hG+I2xoRHV9o0iIvnN4 HIieXDiYYo1GiP/+rKzFnrqVi2WTImETKyYY4FI9JoNqmiqEf6b+yu9I7NL47sO+8Dy5 jRhQ93ryBbRMOJTdRBLE1WZaHGUhgrvqHNsc9XULHr+f0a67sGCZBpAmqC1dv1AyWwgB opng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=THCEXJo0snN7OrPxUbUi6qdmSkrxiFmQZZyWVpQJzP4=; b=nqlJdcstE96/csBvG78H/rmyHFy2bV01jyG0Qq56wBiQ70XuHQxkX4C5f4UnZ5kSZ+ 01/U/8wBmG/tiaKFWttDoXeSHNAHZvl48fsV74/krYB8Bl8RY/qR2hBvDjdIZ5VP+pnt YA3108HGQ6TTMPrjcBRnhTi7+9uo/SQgSb6OdjwAq/MyGMz5pifJvM2jtrE8KAGTMjNK fzMtcZC6jDReiC/3OLV9vh1XKnqDQuAqO6LHS0/j3Fzxp4HtjRMInc8Xx1ePasGV75UG kD9ctwAOdfCH/N+5O6qLH9TndCGpqFIXUMf1kARkeybisezVmGhtm08HxwAbT/N1f385 OuBw== X-Gm-Message-State: AOAM5319yA09nG+JugSu0ogrWbj3b8Uel0A0Vgeip3dX5shMIxwr+fuK y1BoLyQTNO8KDlJ9bpbQeO1ShZCjW2M= X-Google-Smtp-Source: ABdhPJzfQ6RpICgg2FwEGXBjvxFSznd5RLMmZSfN0AFyFcjyWiZxBqFpWvPEVTBSPVQojZ+o/GH7Qw== X-Received: by 2002:a5d:93d3:: with SMTP id j19mr2065850ioo.184.1627005835992; Thu, 22 Jul 2021 19:03:55 -0700 (PDT) Received: from ralga.knownspace (173-18-9-215.client.mchsi.com. [173.18.9.215]) by smtp.gmail.com with ESMTPSA id t15sm15545487iln.36.2021.07.22.19.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 19:03:55 -0700 (PDT) Date: Thu, 22 Jul 2021 21:03:52 -0500 From: Justin Hibbits To: al@familysafeinternet.com Cc: "freebsd-ppc@freebsd.org" Subject: Re: FreeBSD on X5000 Message-ID: <20210722210352.20e2d605@ralga.knownspace> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; powerpc64-portbld-freebsd14.0) List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GWCKn0W5jz3G5G X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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