From owner-freebsd-ppc@freebsd.org Fri Feb 15 03:54:28 2019 Return-Path: Delivered-To: freebsd-ppc@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 6121D14EDAB9 for ; Fri, 15 Feb 2019 03:54:28 +0000 (UTC) (envelope-from al@datazap.net) Received: from agnus.datazap.net (agnus.datazap.net [209.160.43.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6207274B9E for ; Fri, 15 Feb 2019 03:54:26 +0000 (UTC) (envelope-from al@datazap.net) Received: from [127.0.0.1] (localhost [127.0.0.1]) by agnus.datazap.net (Postfix) with ESMTP id BFE5FB794B; Thu, 14 Feb 2019 22:54:15 -0500 (EST) From: Al Subject: Re: Netboot X5000 To: Justin Hibbits , "freebsd-ppc@freebsd.org" References: <20190204130229.4228eb4c@ralga.knownspace> Message-ID: <6afc4bfe-9cc0-57e3-391e-b69f18743fa0@datazap.net> Date: Fri, 15 Feb 2019 04:54:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20190204130229.4228eb4c@ralga.knownspace> Content-Language: en-US X-Rspamd-Queue-Id: 6207274B9E X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.60 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.89)[0.886,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[datazap.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.93)[0.928,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[98.43.160.209.list.dnswl.org : 127.0.5.2]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.78)[0.779,0]; MX_GOOD(-0.01)[agnus.datazap.net]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14361, ipnet:209.160.32.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.21)[ipnet: 209.160.32.0/20(0.81), asn: 14361(0.33), country: US(-0.07)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 15 Feb 2019 03:54:28 -0000 On 04/02/19 20:02, Justin Hibbits wrote: > On Thu, 31 Jan 2019 02:06:19 +0100 > Al wrote: > >> Hello, >> >> After months of going in the wrong direction with this, I think I am >> finally on the right track. I came across: >> https://wiki.freebsd.org/powerpc/UBoot-Install I have successfully >> followed all the steps until where it says: "Once booted to netboot". >> It does not document how to set up a netboot for a uboot machine. And >> I have searched for hours looking for information on how to netboot >> an X5000 without success. Does anyone know where I could find some >> documentation on netbooting the X5000? >> >> Kind Regards, >> Al > Hi Al, > > I can't say I've setup a 'proper' netboot system, but when I was doing > my bringup for the X5000 (and writing that wiki page) my netboot > consisted of a isc-dhcp server and a tftp server with the kernel and > dtb files. The kernel at the time was a uImage, as demonstrated on the > wiki page. However, now it's possible (and I strongly encourage) to > use ubldr to boot the kernel. I will update the wiki page as soon as I > get the last piece of the puzzle committed for placing ubldr in the > right place at install time. > > An alternative would be to create a release image (make buildworld > buildkernel KERNCONF=QORIQ64 TARGET_ARCH=powerpc64; make -C release/ > cdrom TARGET_ARCH=powerpc64), put that image onto a USB stick and > "netbooting" ubldr (put ubldr on a tftp server, and boot that), and > setting the loader to boot from the USB stick. You might be able to > just boot straight to ubldr on the USB stick, too. > > - Justin > Hello Justin, I could not get it to make -C release/. It kept running out of disk space. This is an easy fix, but I decided to try one other thing first. I did an install to a thumb drive and booted with: |load usb 0:1 ||0x3ffffc0 amiga64.uImage load usb 0:1 3000000 cyrus.dtb bootm ||0x3ffffc0 - 3000000 It acted like it may have booted, but the screen was black. It may have failed to initialize the video, so I am not sure if I could call this a success. Is there documentation for ubldr? Kind Regards Al |