Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2013 09:41:22 -0800
From:      matt <sendtomatt@gmail.com>
To:        Super Bisquit <superbisquit@gmail.com>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Stupid questions on installing
Message-ID:  <50F6E642.5070100@gmail.com>
In-Reply-To: <CA%2BWntOuk%2ByVL3V5xadiw2q1RA091pfNEZ-VBDAjq5FG1aw7JKA@mail.gmail.com>
References:  <CA%2BWntOu16qqdiZNrWrtdHCkx8s%2BDGw=n_PT7kKYGnibVv%2Bp8UA@mail.gmail.com> <CA%2BWntOunumxMiBRs6RZcj4R1NJSN-rCB8fq1idnB0JR0oLVp%2BQ@mail.gmail.com> <50F66C64.9090008@gmail.com> <CA%2BWntOuk%2ByVL3V5xadiw2q1RA091pfNEZ-VBDAjq5FG1aw7JKA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/16/2013 01:26, Super Bisquit wrote:
> On Wed, Jan 16, 2013 at 4:01 AM, matt <sendtomatt@gmail.com> 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
<http://www.fenestrated.net/%7Emacman/mirrors/Apple%20Technotes%20%28As%20of%202002%29/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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F6E642.5070100>