Porting to Nubus PowerMacs
While we are on the subject of porting, How hard would it be to get linux ppc to boot on machines with NT firmware? Does anyone know why this firmware is so problematic? Is there anywhere one could find documentation on it, etc.
Alex
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 5 lines · Alexander Gustav Deucher
While we are on the subject of porting, How hard would it be to get linux ppc to boot on machines with NT firmware? Does anyone know why this firmware is so problematic? Is there anywhere one could find documentation on it, etc.
This firmware might even try to boot the image in little endian mode, handling the setting of the processor is rather simple, but resetting the host bridge to big endian operation might be very complex and HW dependant.
Could you try the zImage and the preploader on my ftp site:
ftp://vcorr1.iram.es/pub/zImage-2.2.0-pre5 ftp://vcorr1.iram.es/pub/preploader.tgz
(preploader is an experimental early boot code which will take your /usr/src/vmlinux and build a zImage ready to boot from 0x41 partition). It could be hacked to spit out a lot of info about what the state of the machine is when the loaded image gets control.
Gabriel.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 7 lines · Gabriel Paubert
Quoted 5 lines · Alexander Gustav Deucher
While we are on the subject of porting, How hard would it be to get linux ppc to boot on machines with NT firmware? Does anyone know why this firmware is so problematic? Is there anywhere one could find documentation on it, etc.
Is this Open Firmware or some derivative of PPCbug?? I though NT required Open Firmware (which would mean the preploader wouldn't work too well)
Quoted 11 lines
This firmware might even try to boot the image in little endian mode, handling the setting of the processor is rather simple, but resetting the host bridge to big endian operation might be very complex and HW dependant.
Could you try the zImage and the preploader on my ftp site:
ftp://vcorr1.iram.es/pub/zImage-2.2.0-pre5 ftp://vcorr1.iram.es/pub/preploader.tgz
Quoted 9 lines
(preploader is an experimental early boot code which will take your
/usr/src/vmlinuxand build a zImage ready to boot from0x41partition). It could be hacked to spit out a lot of info about what the state of the machine is when the loaded image gets control.Gabriel.
--------------------------------------------------------------------------
| Troy Benjegerdes | [email protected] | [email protected] | | Unix is user friendly... You just have to be friendly to it first. | | This message composed with 100% free software. http://www.gnu.org |
--------------------------------------------------------------------------
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 4 lines · Troy Benjegerdes
Quoted 3 lines · Gabriel Paubert
Quoted 1 line · Alexander Gustav Deucher
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
While we are on the subject of porting, How hard would it be to get linux ppc to boot on machines with NT firmware? Does anyone know why this firmware is so problematic? Is there anywhere one could find documentation on it, etc.
Is this Open Firmware or some derivative of PPCbug?? I though NT required Open Firmware (which would mean the preploader wouldn't work too well)
This is a message I got from Alois Fertl:
AF> I tried the preploader on a Motorola Pro2000/200. This is a system AF> originally developed to run Windows NT. It has a 603ev, IBM660 PCI AF> bridge and a WINBOND chip (no SCSI, E-Net and VGA on the mainboard). AF> This system by default was shipped with the Motorola PowerPC firmware AF> (not PPCBug) which claims to be able to boot PReP operating Systems AF> but I never got this Firmware to boot ppclinux.
AF>
AF> With some small changes to misc.c of the normal boot code I got it AF> to successfully load, uncompress but "Now booting the Kernel" AF> was the last message I ever got from this system. After many hours AF> of poking around I found the reason why this happens. The Firmware AF> uses one IBAT and all DBAT registers but does not deinitialize them AF> before it calles the loaded core. I think the kernel code than AF> initializes those BAT entries it wants to use and enables the MMU. AF> This will also reactivate the remainding BAT entries which are AF> never invalidated. This and residual related items also keep the AF> preploader from working correctly.
I have added code to invalidate BATs early in my latest preploader, so yes I think it's still worth testing on more machines. There are other issues on which I'm still waiting for patches from Alois (residual data and PCI configuration related) but he got it to boot.
Gabriel.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 7 lines · Gabriel Paubert
Quoted 4 lines · Troy Benjegerdes
Quoted 3 lines · Gabriel Paubert
Quoted 1 line · Alexander Gustav Deucher
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
While we are on the subject of porting, How hard would it be to get linux ppc to boot on machines with NT firmware? Does anyone know why this firmware is so problematic? Is there anywhere one could find documentation on it, etc.
Is this Open Firmware or some derivative of PPCbug?? I though NT required Open Firmware (which would mean the preploader wouldn't work too well)
It is something called "Motorola PowerPC firmware.
During the "PPC NT period" there where three different kinds of firmware on Motorola products:
PPCBug
Motorola PowerPC firmware - Used on boxes shipped with NT
PowerPC Open Firmware
Alexander can you please give me the version of the firmware (something like 3.0x.0x.
I hasitate to make to much noise about my findings because
1) I'm struggeling a problem with different versions of this Firmware; one boots the floppy but the other one refuses this.
2) I'm not shure how many potential systems there are.
3) To get the kernel running with the standard IDE equipment I had to add some changes which according to Cort will break IDE on IBM.
Please also cc responses to [email protected]
Alois
Quoted 21 lines
This is a message I got from Alois Fertl:
AF> I tried the preploader on a Motorola Pro2000/200. This is a system AF> originally developed to run Windows NT. It has a 603ev, IBM660 PCI AF> bridge and a WINBOND chip (no SCSI, E-Net and VGA on the mainboard). AF> This system by default was shipped with the Motorola PowerPC firmware AF> (not PPCBug) which claims to be able to boot PReP operating Systems AF> but I never got this Firmware to boot ppclinux.
AF>
AF> With some small changes tomisc.cof the normal boot code I got it AF> to successfully load, uncompress but "Now booting the Kernel" AF> was the last message I ever got from this system. After many hours AF> of poking around I found the reason why this happens. The Firmware AF> uses one IBAT and all DBAT registers but does not deinitialize them AF> before it calles the loaded core. I think the kernel code than AF> initializes those BAT entries it wants to use and enables the MMU. AF> This will also reactivate the remainding BAT entries which are AF> never invalidated. This and residual related items also keep the AF> preploader from working correctly.
Quoted 6 lines
I have added code to invalidate BATs early in my latest preploader, so yes I think it's still worth testing on more machines. There are other issues on which I'm still waiting for patches from Alois (residual data and PCI configuration related) but he got it to boot.
Gabriel.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
I didn't mean to reject them outright. They do need to be reworked a bit so they don't kill IDE on the IBMs, though.
}3) To get the kernel running with the standard IDE equipment I had to add
} some changes which according to Cort will break IDE on IBM.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]