Netboot Mailing List (by thread)

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

v0.9.0d Error in PCI image.rom generation.




	Hello everybody. I've just found an error in makerom/user.c in the
netboot-0.9.0d sources.

	Where it says:	

"makerom/user.c" line 93

  bootd.loadernum = 2;
  bootd.loaders[0].outname = NULL;              /* set later */
  bootd.loaders[0].outtype = OUT_NONE;          /* set later */
  bootd.loaders[0].outsize = 0;
  bootd.loaders[0].useint18 = useint18;
  bootd.loaders[0].cardinst = cardinst;
  bootd.loaders[0].bootask = bootask;
  bootd.loaders[1].outname = NULL;              /* set later */
  bootd.loaders[1].outtype = OUT_NONE;          /* set later */
  bootd.loaders[1].outsize = 0;
  bootd.loaders[1].useint18 = TRUE;
  bootd.loaders[0].cardinst = FALSE;
  bootd.loaders[0].bootask = FALSE;


	It must say (i think):

"makerom/user.c" line 93 

  bootd.loadernum = 2;
  bootd.loaders[0].outname = NULL;              /* set later */
  bootd.loaders[0].outtype = OUT_NONE;          /* set later */
  bootd.loaders[0].outsize = 0;
  bootd.loaders[0].useint18 = useint18;
  bootd..loaders[0].cardinst = cardinst;
  bootd.loaders[0].bootask = bootask;
  bootd.loaders[1].outname = NULL;              /* set later */
  bootd.loaders[1].outtype = OUT_NONE;          /* set later */
  bootd.loaders[1].outsize = 0;
  bootd.loaders[1].useint18 = TRUE;
  /* omar@dit.upm.es BEGIN */
  bootd.loaders[1].cardinst = cardinst;
  bootd.loaders[1].bootask = bootask;
  /* omar@dit.upm.es END */

	This enables the use of the pci header in the image.rom
generation.

	I found it when i realized that the PCI header offset was zeroed by 
makerom/passes.c while was ok in bootrom/binaries/rom.bin. Now i'm testing
about Device Indicators. All the roms i've seen working (intel and
etherboot) have DEVIND= 14h while netboot has DEVIND= b4h or 34h. Now
romcheck finds a rom space in c800 but with romsize= 4KB and without
device/vendor identifier... Any idea? The actual romsize is 32KB.

	Omar.

--------------------------------------------------------------------------------
    Centro de Calculo
    Departamento Ingenieria Telematica (ETSIT)      e-mail: omar@dit.upm.es
    Universidad Politecnica de Madrid               Tel:(+34) 913367366-Ext.328
    Ciudad Universitaria, s/n 28040 Madrid (Spain)  Fax:(+34) 913367333
--------------------------------------------------------------------------------



===========================================================================
This Mail was sent to netboot mailing list by:
Omar Walid Llorente <omar@dit.upm.es>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.