From owner-freebsd-ppc@freebsd.org Mon Aug 12 19:17:42 2019 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2228ABE0C9 for ; Mon, 12 Aug 2019 19:17:42 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 466lwj14Kfz3LJw for ; Mon, 12 Aug 2019 19:17:40 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-ot1-x343.google.com with SMTP id q20so10215482otl.0 for ; Mon, 12 Aug 2019 12:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Lf1qhZXj01hPAvbVaTi/zpb5g33jsy3wB66pJf3pJug=; b=HGmm1OA7xkb4Slu88uFt3yrSY+5NYv84YtPJSavb09TjgMm5vLm7WdadQVfz8xqoJw 6TmwAmm79M+zud2c3tXo30qm9Bbr4rRF5tng461k7uwkg/Hh48VKJ/LhnNvyhLN+qq1Y Cd2lHfdLLe/NnxpaC8IcnkKdPM4dguwvLpqS6n5TWHIbmI6/nxi8J+iVgNwUpuD2KQRp tiP1vIelY6VQwAvTh3J1CJvuSzBEfFCsvhmO+ubap0mCDRqUIMhB6PWegppyWN+wqWmt MMcbwiM5A4z/GrpAUIMNwDPNLXEyza8bLhqXTXBmOKhhW0m/0Y172+CRNPpJzLQG9R+f 126A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Lf1qhZXj01hPAvbVaTi/zpb5g33jsy3wB66pJf3pJug=; b=if8E3cEIvV9hIHwqx+42v04iAxjsU2qTHJZIhVfFR1DfBHIDIAMG721LICuuiblCt4 z3wMqllIgDq3SdpnARB8heYx2cd6HrwSmbQs4MRzAcvT5OqrVJcQ6EYfv+tr+zIg5wew uekiV5zVcLFcM66jLV+Qavoa6UxxM+zp7tWR8b/TWo54xKYlvG1TrpK2LssD7zSlC7Gw uul9fnXFrL3bf8R+kSsPWNwUkc7bTXHle/+TMG4y6ZqWI+326/LBOrQXonZy7zbgq3aE HMYe2E1lUXBEkaMIJ3UqMF52AHxE3m7qGzYoBg53PgEv2zntXzU7KjwixgmfS37T/SDU 3rTQ== X-Gm-Message-State: APjAAAX/KJzoss5wPOi4sGcjvDLRsIIaEIHR5Ust8gTGvlpUfIHJdWmq 0e3ZSKMil/J3JkeIzK45xyN5hBOaa2I= X-Google-Smtp-Source: APXvYqxUSODMjgMeAVg2OBxGQ0Zab7JSHxw6f5nXdezmMvQSsN2tOyXgDZKSeXNPt/qjN/GqbGHm7w== X-Received: by 2002:a02:5a02:: with SMTP id v2mr38158666jaa.124.1565637459887; Mon, 12 Aug 2019 12:17:39 -0700 (PDT) Received: from ralga.knownspace (173-25-245-129.client.mchsi.com. [173.25.245.129]) by smtp.gmail.com with ESMTPSA id t2sm4102130iod.81.2019.08.12.12.17.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 12 Aug 2019 12:17:39 -0700 (PDT) Date: Mon, 12 Aug 2019 14:17:35 -0500 From: Justin Hibbits To: Al Cc: freebsd-ppc@freebsd.org Subject: Re: progress and some questions X5000 Message-ID: <20190812141735.57fece60@ralga.knownspace> In-Reply-To: <434669ac-ccc0-f971-7c41-f539b91fa9d7@datazap.net> References: <434669ac-ccc0-f971-7c41-f539b91fa9d7@datazap.net> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 466lwj14Kfz3LJw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HGmm1OA7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::343 as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-3.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; RECEIVED_SPAMHAUS_PBL(0.00)[129.245.25.173.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (3.07), ipnet: 2607:f8b0::/32(-2.97), asn: 15169(-2.39), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2019 19:17:42 -0000 On Mon, 12 Aug 2019 15:07:18 +0200 Al wrote: > Hello, > > After a very long time of trying different things, it is where the > serial console does work. It seems that none of the serial-to-usb > devices were fast enough to transfer data from the X5000's serial > port. > > Still, I have some issues. The kernel can't seem to find the > userland. It stops with DHCP/BOOTP. It looks like it is trying to do > a netboot. I have an install of FreeBSD on a thumb drive. My guess is > that I need to move the boot loader to the FAT partition. Is this > correct? > > Also, I just did an install to the thumb drive from an X86 FreeBSD > machine that I borrowed to compile the powerpc install. Would it be > better to have the cdrom installer on the thumb drive? > > Kind Regards, > Al Hi Al, I'll give a more thorough reply later, but for now I wanted to address the kernel config. The QORIQ64 config is based on MPC85XX config, which assumes an always-netboot environment. To remove this so that you always boot locally, add the following to your kernel config: nooptions BOOTP nooptions BOOTP_NFSROOT Also, we do have the ability to boot from loader, using ubldr. The instructions to do so are on the wiki, at https://wiki.freebsd.org/powerpc/UBoot-Install Basically you want two top-level partitions (The AmigaOne X5000 U-Boot doesn't recognize GPT format, only MBR, so you're stuck with that format). One partition is FAT, and should have ubldr and the .dtb file. The other partition is a FreeBSD disklabel partition, where you put your full FreeBSD install. You cannot create it from x86 as an actual install. If you want to create the image from x86, you need to use mkimg, and there are scripts around for building FreeBSD disklabel images, you can find them online. - Justin