Skip to contentSkip to conversation

G4 mdd help request

DISCUSSION Giuliano Pochini 5 participants 11 messages Jul 16, 2003 – Jul 19, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I bought a dual G4-MDD and I installed my SCSI disk I used on my G3. Is there an osx command to get the openfirmware path of the yaboot partition on that disc ? I tried to boot /pci@f2000000/ADPT,29160@12/@4:9,ofboot.b but it doesn't work. Macosx mounts the HFS partitions on the old disc, but it doesn't show any of them on the startup disk utility (does it need to be blessed again ?).

Bye.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 8 lines · Giuliano Pochini

I bought a dual G4-MDD and I installed my SCSI disk I used on my G3. Is there an osx command to get the openfirmware path of the yaboot partition on that disc ? I tried to boot /pci@f2000000/ADPT,29160@12/@4:9,ofboot.b but it doesn't work. Macosx mounts the HFS partitions on the old disc, but it doesn't show any of them on the startup disk utility (does it need to be blessed again ?).

the yaboot bootstrap partition should be type Apple_Bootstrap and thus never mounted by any macos, if this is the case there is no need to rebless it since macos never tampered with it.

now if you didn't follow directions and made it an Apple_HFS then macos probably broke it yes.

--
Ethan Benson
http://www.alaska.net/~erbenson/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 11 lines · On 16-Jul-2003 Ethan Benson wrote:
Quoted 8 lines · Giuliano Pochini

I bought a dual G4-MDD and I installed my SCSI disk I used on my G3. Is there an osx command to get the openfirmware path of the yaboot partition on that disc ? I tried to boot /pci@f2000000/ADPT,29160@12/@4:9,ofboot.b but it doesn't work. Macosx mounts the HFS partitions on the old disc, but it doesn't show any of them on the startup disk utility (does it need to be blessed again ?).

Quoted 3 lines

the yaboot bootstrap partition should be type Apple_Bootstrap and thus never mounted by any macos, if this is the case there is no need to rebless it since macos never tampered with it.

IIRC it's Apple_Bootstrap, but first of all I must know the correct ofpath... I also tried to boot the YDL2.3 cd without success :(

Quoted 2 lines

now if you didn't follow directions and made it an Apple_HFS then macos probably broke it yes.

I'll try to get osx root access.

Bye.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 13 lines · Giuliano Pochini
Quoted 11 lines · On 16-Jul-2003 Ethan Benson wrote:
Quoted 8 lines · Giuliano Pochini

I bought a dual G4-MDD and I installed my SCSI disk I used on my G3. Is there an osx command to get the openfirmware path of the yaboot partition on that disc ? I tried to boot /pci@f2000000/ADPT,29160@12/@4:9,ofboot.b but it doesn't work. Macosx mounts the HFS partitions on the old disc, but it doesn't show any of them on the startup disk utility (does it need to be blessed again ?).

Quoted 6 lines
Quoted 3 lines

the yaboot bootstrap partition should be type Apple_Bootstrap and thus never mounted by any macos, if this is the case there is no need to rebless it since macos never tampered with it.

IIRC it's Apple_Bootstrap, but first of all I must know the correct ofpath... I also tried to boot the YDL2.3 cd without success :(

just walk the device tree in OF.

Quoted 4 lines
Quoted 2 lines

now if you didn't follow directions and made it an Apple_HFS then macos probably broke it yes.

I'll try to get osx root access.

--
Ethan Benson
http://www.alaska.net/~erbenson/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw
Quoted 8 lines · On 16-Jul-2003 Ethan Benson wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

I bought a dual G4-MDD and I installed my SCSI disk I used on my G3. Is there an osx command to get the openfirmware path of the yaboot partition on that disc ? I tried to boot /pci@f2000000/ADPT,29160@12/@4:9,ofboot.b but it doesn't work. Macosx mounts the HFS partitions on the old disc, but it doesn't show any of them on the startup disk utility (does it need to be blessed again ?).

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

the yaboot bootstrap partition should be type Apple_Bootstrap and thus never mounted by any macos, if this is the case there is no need to rebless it since macos never tampered with it.

IIRC it's Apple_Bootstrap, but first of all I must know the correct ofpath... I also tried to boot the YDL2.3 cd without success :(

just walk the device tree in OF.

Of course I did, but I was unsure because dev / ls shows a leaf "/disk". Yesterday night I managed to get from osx the of path, and it's about the same I wrote above. I mounted the boot partition in /xyz, then I wrote in a root shell:

bless -folder9 /xyz -verbose -setOF

*obviously* it didn't work, but It printed the of path on the screen, which I hope it's the right one. Any attempt to boot from of results in a "can't OPEN: pci/......". Damn! Does it boot from anything different than the osx dvd and its ide disc ??

Bye.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#5 lore raw
Quoted 17 lines · Giuliano Pochini
Quoted 15 lines · On 16-Jul-2003 Ethan Benson wrote:
Quoted 14 lines
Quoted 11 lines
Quoted 7 lines

I bought a dual G4-MDD and I installed my SCSI disk I used on my G3. Is there an osx command to get the openfirmware path of the yaboot partition on that disc ? I tried to boot /pci@f2000000/ADPT,29160@12/@4:9,ofboot.b but it doesn't work. Macosx mounts the HFS partitions on the old disc, but it doesn't show any of them on the startup disk utility (does it need to be blessed again ?).

the yaboot bootstrap partition should be type Apple_Bootstrap and thus never mounted by any macos, if this is the case there is no need to rebless it since macos never tampered with it.

IIRC it's Apple_Bootstrap, but first of all I must know the correct ofpath... I also tried to boot the YDL2.3 cd without success :(

Quoted 8 lines
Quoted 1 line

just walk the device tree in OF.

Of course I did, but I was unsure because dev / ls shows a leaf "/disk". Yesterday night I managed to get from osx the of path, and it's about the same I wrote above. I mounted the boot partition in /xyz, then I wrote in a root shell:

bless -folder9 /xyz -verbose -setOF

NEVER mount bootstrap partitions in any macos, nor let macos ever touch it. no good will ever result.

Quoted 8 lines

*obviously* it didn't work, but It printed the of path on the screen, which I hope it's the right one. Any attempt to boot from of results in a "can't OPEN: pci/......". Damn! Does it boot from anything different than the osx dvd and its ide disc ??

Bye.

--
Ethan Benson
http://www.alaska.net/~erbenson/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#6 lore raw
Quoted 9 lines · On 17-Jul-2003 Ethan Benson wrote:
Quoted 6 lines

Of course I did, but I was unsure because dev / ls shows a leaf "/disk". Yesterday night I managed to get from osx the of path, and it's about the same I wrote above. I mounted the boot partition in /xyz, then I wrote in a root shell:

bless -folder9 /xyz -verbose -setOF

NEVER mount bootstrap partitions in any macos, nor let macos ever touch it. no good will ever result.

Who cares ? For sir G4mdd it was (is) not a bootable partition. What damage can it do ? It already doesn't boot.

Bye.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#7 lore raw

Re: G4 mdd help request [solved]

It wasn't my fault. There is a bad interaction between the G4-MDD and the Adaptec [23]9160 family. I quote here the relevant part from ask.adaptec.com because it may be useful to someone else:

----
System will not boot to a drive attached to an Adaptec SCSI card on QuickSilver G4s.

This information applies to the following product(s):

PowerDomain 29160, 29160N, 39160 PCI SCSI Card

To work around this issue print out the instructions that are below and follow them exactly:

1) Reboot, holding down command-option-O-F all at the same time at startup. This will bring up a white screen starting with "Open Firmware" and ending with a "0 >" prompt.

2 When the Open Firmware prompt appears, type the following: (Note that the spaces between quotes are important and the instructions are case sensitive)

setenv fcode-debug? true

3) At the "0 >" prompt type the following and then press the return key

printenv

4) Verify the following line exists in the output, generally 4 to 6 lines down

fcode-debug? true false

5) At the "0 >" prompt type the following and then press the return key

mac-boot

6) Once the system is up, select appropriate drive (using Startup Disk in the Control Panels folder under Mac OS 9 or in Startup Disk in System Preferences under Mac OS X) and reboot.
----

--
Bye.
Giuliano.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#8 lore raw

Question regarding UBOOT.

Hi,

I have an EP8260 board. I have the u-boot binary. The board comes with a
boot loader(PlanetCore). I want to load u-boot into RAM and then start executing from there. Is this possible? I tried doing this, but the board goes for a reset.

CAN I START UBOOT AS AN APPLICATION FROM PLANETCORE BOOTLOADER? that is
it possible to start one bootloader from another one?

deepesh

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#9 lore raw

Re: Question regarding UBOOT.

Quoted 6 lines · In message <Pine.LNX.4.21.0307191918350.12735-100000@deepesh.india.tejasnetwork…

I have an EP8260 board. I have the u-boot binary. The board comes with a
boot loader(PlanetCore). I want to load u-boot into RAM and then start executing from there. Is this possible? I tried doing this, but the board goes for a reset.

If the bianry is all you have then the answer is no, it cannot be done.

If you knoiw exactly what you're doing you can modify the U-Boot source code to behave like you want - but then you have to ask yourself _why_ you would want to do that.

My $ 0.02: Install U-Boot. Forget the other bootloader.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] If there are self-made purgatories, then we all have to live in them.
-- Spock, "This Side of Paradise", stardate 3417.7

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

A message that is not in the archive (sent off-list or not yet received): [email protected] asnetworks.com

#11 lore raw

Re: Question regarding UBOOT.

This is a FAQ. Yes it is possible, but you have to know EXACTLY what you are doing to make it work. The primary problem is memory mapping and SDRAM
initialization: you CANNOT do them while running out of RAM because it will cause your program to "disappear". Most people find it much easier to program U-Boot into flash.

gvb

Quoted 7 lines · At 07:28 PM 7/19/2003 +0530, [email protected] wrote:

Hi,

I have an EP8260 board. I have the u-boot binary. The board comes with a
boot loader(PlanetCore). I want to load u-boot into RAM and then start executing from there. Is this possible? I tried doing this, but the board goes for a reset.

Quoted 7 lines

CAN I START UBOOT AS AN APPLICATION FROM PLANETCORE BOOTLOADER? that is
it possible to start one bootloader from another one?

deepesh

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/