Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45285 - Livecd: add chrp support
Summary: Livecd: add chrp support
Status: IN_PROGRESS
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL: http://gentoo.tugraz.at/7043-140/
Whiteboard: rs6k
Keywords:
Depends on:
Blocks: 56513
  Show dependency tree
 
Reported: 2004-03-21 08:24 UTC by Tom Gall (RETIRED)
Modified: 2013-07-06 19:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Gall (RETIRED) gentoo-dev 2004-03-21 08:24:40 UTC
In a nutshell, IBM RS/6000 and pSeries hardware is not supported on the live cd. (iSeries isnt supported directly either and yes we should fix that too but that'll go into a different bug)

This is thankfully fairly easy to fix so, what the heck, why not do it?

Reproducible: Always
Steps to Reproduce:
Here's how to print in support.

1) on the livecd create a ppc and etc directory
2) into the etc directory place the yaboot.conf with chrp kernel references
Make SURE you reference the cdrom as cdrom:  and not cd: !!
3) place the "chrp" version of yaboot in the "root" of the cd. The chrp version of yaboot is one where the binary has had addnote run on top of it. Note the chrp yaboot and the "normal" pmac yaboot are mutually exclusive. One is for pmac hardware, the other for chrp.
(look for another bug on this ... I'm going to "fix" this problem as we only build the one yaboot binary and we shouldn't)
4) In the ppc directory place the following script, name it bootinfo.txt
-------8<----------8<---------
<chrp-boot>
<description>Gentoo PPC 2004.0</description>
<os-name>Gentoo PPC 2004.0</os-name>
<boot-script>boot &device;:1,yaboot </boot-script>
</chrp-boot>
----8<-------8<-----8<------
5) make a chrp kernel, given the yaboot.conf in /etc you can place the kernels in /boot like the pmac kernels. 
There are really 3 32 bit chrp kernels that can be built
1) chrp (uni for boxes such as the rs/6000 43p 150)  arch/ppc/configs/ibmchrp_defconfig
2) chrp-smp (smp boxes such as the rs/6000 43p F50) same as ibmpchrp_defconfig but with smp on 
3) Power3-smp (Power3 based boxes such as the 43p 260, 44p 270, p640 etc) (This 32 bit kernel is ONLY good for boxes with 3 gig or less of memory)  arch/ppc/configs/power3_defconfig

This "should" work, tho I have a sinking feeling there's an el torito 512 byte bootblock of some sort needed.   Tho from the OF command line:

boot cdrom:,\ppc\bootinfo.txt *should* work or event
boot cdrom:,yaboot

Anyway, that's the magic!
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-03-26 06:14:47 UTC
I think we can easily support this. I am a bit concerned about the directories and the naming thing. Is there a possibility to reuse the /boot directory on the cd, but give various binaries for chrp an extra .chrp extension (or prefix, whatever, maybe we can make some sort of cascading boot thing: 

/boot/chrp/whateverisneeded
/boot/apple/newworld/
/boot/apple/oldworld/ 
/boot/pegasos/)?
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 13:27:44 UTC
Hoping to have this in 2004.3
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-10-31 13:32:59 UTC
tgall, could you test the 2004.3 CD?  Pieter and I can show you, where to find the release-CDs.  Just ping on IRC.
Comment 4 Lars Weiler (RETIRED) gentoo-dev 2005-01-09 01:41:17 UTC
Does 2004.3 work on RS/6000?
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2005-04-02 06:23:02 UTC
I guess, 2005.0 does not work on RS/6000 either, as the included yaboot is not the correctly compiled for that type of machine.  I leave that bug open, so that we could look into it later (probably for 2005.1).  I hope to get some input from dostrow about the RS/6000 support.
Comment 6 Lars Weiler (RETIRED) gentoo-dev 2005-05-07 16:28:22 UTC
Mark Dokter wrote a good document about installing Gentoo on a 7043-140.  I'll use it as a resource for the 2005.1 building.  See the document in URL.
Comment 7 Brent Baude (RETIRED) gentoo-dev 2007-04-06 16:22:56 UTC
Tom,

still want to keep this open?
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-06 19:47:49 UTC
It seems unlikely that (the other) Tom will still reply; maintainers, please decide whether this bug is consider appropriately dealt with and either mark it appropriately if this is or state why it is still open. Thank you in advance.