From owner-freebsd-ppc@FreeBSD.ORG Wed Jan 16 17:41:39 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 98EF3B03 for ; Wed, 16 Jan 2013 17:41:39 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) by mx1.freebsd.org (Postfix) with ESMTP id 66F6BD86 for ; Wed, 16 Jan 2013 17:41:39 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id ro12so846144pbb.24 for ; Wed, 16 Jan 2013 09:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type; bh=mDXAnSQENrHwXY8UaEPHnDLpvdU5qNwQwEra5Q1LQiM=; b=n702HC8SaSoKg9+E0eQ3k5+su/phcTiG/hgtsosii3oGK2XUmFe+11y26G2JC/LaUT eKmo4BCPJeS35OcW2hGJhcpxgLCmwMcMqkMkgsjk3aBs07A59j2POvqc98/QahKaxF9V l4JBJNsnB4VoinvDbkY05XWiN+8b177LDC9KK4S6RLNmb96BCJrKljQ8DOcEpZWMvp+g NxUVPUOn053s8dODXWEFVpRf3tIUwn8ZkrSS7iN8a9k+BGdDuojVc5dZvFWUPBWUfPAk 3oz02U9JH5OQQ5RvHQtqAe0n+OSGKjJCALpn9OQR6I0UXMVziZ1O6YLNc+Q5jmuIcQ1m pNOQ== X-Received: by 10.66.79.74 with SMTP id h10mr5697503pax.25.1358358093404; Wed, 16 Jan 2013 09:41:33 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id o5sm13346159paz.32.2013.01.16.09.41.30 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jan 2013 09:41:32 -0800 (PST) Message-ID: <50F6E642.5070100@gmail.com> Date: Wed, 16 Jan 2013 09:41:22 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Super Bisquit Subject: Re: Stupid questions on installing References: <50F66C64.9090008@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2013 17:41:39 -0000 On 01/16/2013 01:26, Super Bisquit wrote: > On Wed, Jan 16, 2013 at 4:01 AM, matt wrote: >> On 01/16/2013 00:05, Super Bisquit wrote: >>> I'd like to know if anyone has used the memstick image to >>> install FreeBSD to a PowerpC32 machine and what was done to the usb >>> device with the dd command. >>> >> Yes, G4 MDD FW400. Also boots OS9, NetBSD, OpenBSD this way. OS X might >> work, didn't care to try. >> >> pv -ptre memstick.img | dd of=/dev/da0 obs=2M >> >> pv just for the progress bar because I hate dd's reticence. 2M because >> it was fastest for that particular usb stick. Otherwise nothing fancy. > I'll use the reference that you have here to run the dd command. > Still, did you need to format it to hfs or not? >> Booting with option sometimes worked. Sometimes claim failed or it would >> spit out other nonsense (I thought adler was a german bird...) >> Booting with /pci@f2000000/blah/disk@1:,\\:tbxi caused screen corruption >> for a moment and sometimes worked >> Booting with /pci@f2000000/blah/disk@1:,\ppc\boot1.elf worked every time >> Where blah is usb@X[,Y] >> >> Since you can redirect OF to telnet, at least this stage can be easier >> if you can blind type those commands and have a telnet client available >> on another machine. > Will I need to add the dhcp server to the second machine in order to > run the telnet interface? >> Naturally installing is quite slow over usb 1.1, with a random NEC based >> USB2.0 card I was also able to install much faster. >> > I know that debian has a ttyUSBX available but that doesn't seem to be > the issue with FreeBSD. >> No idea about serial console, I only have the weird internal modem >> connector and I haven't figured out how to get a TTL console on it yet. >> No pinout appears available, although the traces seem to indicate some >> likely pins... >> >> Do you have something like a G4port on the Titanium? I assume G4 modem >> header 5v/3.3v TTL maybe? > I'm not sure. I'll see what the OF commands say when I run them at the > forth prompt. >> Matt >> >> I may have gotten slightly confused between the couple messages. I thought a hardware serial port was involved. As far as OpenFirmware via telnet: http://www.fenestrated.net/~macman/mirrors/Apple%20Technotes%20(As%20of%202002)/tn/tn2004.html No DHCP server is necessary, but you'll have to type the commands mentioned in the technote blind. Once you're in, you can possibly set the boot-command to the correct telnet command or put it in an nvramrc. Did we ever have an OF-only syscons for FreeBSD (probably early on)? I wonder if it would also go over telnet... Personally I would do a DESTDIR= install over firewire in target disk mode preferably in this situation, then chroot to it on the host and configure it to get sshd running... Once setup just reboot the titanium and ssh in. This should be possible from any FreeBSD system with firewire since we can cross-build world and kernel. As far as USB: I didn't format anything. I tested 9.1-RC3, I can test release tomorrow. I just dd the image onto the stick, I may have zeroed the first couple megabytes first to "clean" off any junk. My G4 will not always try to boot from USB, it has to be directed to do so via the Option menu. It might try if there was no other bootable disk, can't remember. USB is *not* hotplug for Openfirmware, so put the stick in before you turn on the machine. I did have a variety of errors trying to boot the stick directly at times, especially with different releases and even other BSDs. The most reliable way to boot it was to type the full path to the boot1.elf in OF. If it fails you have to reboot to get OF clean again. Matt