yaboot patches needed for pegasos support

Bug #24176 reported by Sven Luther on 2005-10-18
Affects Status Importance Assigned to Milestone
yaboot (Ubuntu)

Bug Description

Please consider adding some of the patches from :


In particular the following are needed in order to have any chance of yaboot
working on the pegasos with the fixed firmware :

  yaboot-1.3.13-pegasos-serial.patch -- not sure if pegasos specific, but fixes
the repeat-forever-second-keystroke-on-serial-console.
  yaboot-1.3.13-malloc.patch -- pegasos OF now claims first 20MB for graphic
card emulation and itself, as a consequence the fixed claim at address 3MB will
fail. This patch goes searching for a freely available area in case of failure
instead of dying.

  A similar patch for netboot is also needed :
--- fs_of.c.orig 2005-10-18 01:35:26.000000000 +0200
+++ fs_of.c 2005-10-18 01:34:52.000000000 +0200
@@ -132,6 +132,8 @@
      static char buffer[1024];
      char *filename;
      char *p;
+ unsigned long addr;

@@ -160,7 +162,11 @@
          return FILE_ERR_BAD_FSYS;

- file->buffer = prom_claim((void *)LOAD_BUFFER_POS, LOAD_BUFFER_SIZE, 0);
+ for (addr = LOAD_BUFFER_POS; addr <= LOAD_BUFFER_POS * 16 ;addr+=0x100000) {
+ file->buffer = prom_claim((void *)addr, LOAD_BUFFER_SIZE, 0);
+ if (file->buffer != (void *)-1) break;
+ }
      if (file->buffer == (void *)-1) {
          prom_printf("Can't claim memory for TFTP download\n");

Not sure about the other patches though, but they are of less immediate need.


Sven Luther

Colin Watson (cjwatson) on 2007-04-19
Changed in yaboot:
assignee: kamion → nobody
status: Unconfirmed → Confirmed

Thank you for posting this bug.

Does this occur in Lucid?

Changed in yaboot (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.