Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 14:13:03 -0400
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        freebsd-ppc@freebsd.org
Subject:   Re: PowerMac G4 booting from memstick image
Message-ID:  <0d1abd9f-7e42-b6fd-22ce-14396bafbfde@freebsd.org>
In-Reply-To: <36E07854-8A8B-4115-8968-C9FA4E33E9B4@gmail.com>
References:  <A0937215-7A85-4250-B387-4175E10591C8@gmail.com> <CAOpTx7Fe%2BYMy=W%2Bs2-qz9V0803xPeqk19qptyG4fwdE5GUY7SQ@mail.gmail.com> <0E36A05F-017F-4B81-80E9-BC27D10E64FD@gmail.com> <800807B2-83C1-40CB-B5D3-67B5A6AED2C7@yahoo.com> <6F45C842-2520-46AF-8818-B1E18107C706@gmail.com> <e8df0188-9cde-4c41-964e-af7d1e0fdc39@www.fastmail.com> <097E0875-0C62-4C8F-A9C3-8097E2B408C2@gmail.com> <ebee8f4d-1330-4fbf-9b62-26bcee8e97ac@www.fastmail.com> <36E07854-8A8B-4115-8968-C9FA4E33E9B4@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD boots like MacOS and will be auto-detected by firmware. The lazy 
solution is to reset OF by holding command-option-P-R at bootup and then 
let auto-boot go. You can also use the graphical chooser to boot FreeBSD 
(hold option at boot).

If you want to do it the hard way, you can boot from "hd:,\\:tbxi".
-Nathan

On 4/20/21 1:12 AM, Mehul Sanghvi wrote:
> I was able to get FBSD-13 installed !
>
> I did two things so am not sure which one actually worked
>
> 1.  I changed to using an older USB stick I had
>
> 2.  I did the following at loader prompt
>
>      OK  unload
>      OK  set kern.smp.disabled=“1”
>      OK  boot-conf
>
>
> Hopefully I did that correctly and that was the fix rather than changing the USB stick
>
>
> The problem I have now is that OpenFirmware is setup to boot NetBSD and I don’t know what I need
> to set for the boot-device and boot-file variables in order for auto-boot to work.  At the moment I am unable to boot manually either.
>
> cheers,
>
>     mehul
>
>
>> On Apr 19, 2021, at 22:44 , Brandon Bergren <bdragon@FreeBSD.org> wrote:
>>
>>
>>
>> On Mon, Apr 19, 2021, at 9:16 PM, Mehul Sanghvi wrote:
>>>
>>>> On Apr 19, 2021, at 21:42 , Brandon Bergren <bdragon@FreeBSD.org> wrote:
>>>>
>>>> This may be caused by a descynced timebase. At the loader prompt, do "boot kern.smp.disabled=1" (or set it in the loader environment) and see if that fixes it.
>>>>
>>> This would be after installing freebsd yes ?
>> I meant while booting into the installer. You can hit a button during the countdown and boot with extra options.
>>
>> Oh, and after some discussion in IRC, I realized that I was misremembering what I still needed on the G4 side, and it should theoretically work on *all* SMP G4s as-is.
>>
>>>>> Having gotten to the point of selecting Install,  the keyboard wouldn’t
>>>>> work.  An Apple keyboard, hooked up via KVM switch, which was working
>>>>> just fine upto that moment.
>>>> I've seen this for some reason on ADB. I can usually work around it by using a USB keyboard. But it could be due to screwed up timers (due to timebase desync)
>>>>
>>> The Apple keyboard is an USB keyboard but I worked around it by using a
>>> spare USB keyboard I had.
>> OK.
>>
>>>
>>> The ISO got past the mountroot issue, but too many messages of the form
>>>
>>>     CAM status: CCB request completed with an error
>>>
>>>
>>> I may have to see if I have other USB flash dries around and try those.
>>> It could very well be the USB flash.  I didn’t realize the G4s would
>>> be picky about the stick that is used.
>> Well, generally the problem tends to be that the stick just plain doesn't show up as a disk@1 device in OF.
>>
>>
>>
>>> cheers,
>>>
>>>     mehul
>>>
>>>
>>>
>>>
>>
>> -- 
>>   Brandon Bergren
>>   bdragon@FreeBSD.org
> _______________________________________________
> freebsd-ppc@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0d1abd9f-7e42-b6fd-22ce-14396bafbfde>