[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#279888: yaboot-installer: support pegasos2 ...



Package: yaboot-installer
Severity: wishlist


Kamion, as discussed on irc, i am filling here a bug report to add
support yaboot on pegasos 2. This is not urgent, since first we need to
convinve Ethan to let Warren include the amiga partition table patch,
and second i need to release the fixed OF upgrade that enables support
for it.

Anyway, the info you asked are : 

1) how to detect a pegasos 2 in yaboot-installer ? 

   /proc/cpuinfo has the field :

   machine         : CHRP Pegasos2 

   or 

   machine         : CHRP Pegasos

   Depending on the pegasos model.

2) What to do to install yaboot ? 

  Well, this one is easy, as there is no magic to do. Just move the
  /usr/lib/yaboot/yaboot to /boot, and that's it. The OF will be set to
  autoboot this yaboot binary (we can use code similar to the
  nobootloader one to tell the user how to do this if needed), and
  yaboot will get its config file from /etc/yaboot.conf as usual.

  There is no need to run ybin at all, or to move it to a prep partition
  or anything such.

3) Inform the user of the OF variable setting as mentioned above.

4) ofpath needs some fixing. In particular there are two issues :

  1) OF syntax may differ a little, should not, but may. I need to test
  this in details. Also not sure if yaboot can make use of devaliases.

  2) pegasos partitions start at 0, not 1. not sure how apple or ibm
  handle those, but the yaboot documentation seems to start counting at
  1.

Ok, noted here for reference, and as said no urgency. I will probably
contribute to this myself next week too. Especially point 3) and 4)
which needs real hardware for testing.

Friendly,

Sven Luther


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.8-pegasos
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)




Reply to: