Building an SPI image for olpcflash

From OLPC
Revision as of 15:14, 6 January 2007 by Xavi (talk | contribs) (categorization and some format)
Jump to navigation Jump to search

(This recipe is from Richard Smith.)

Note - this text is now obsolete as the buildrom builds the SPI ROM image by default. Please visit Building LinuxBIOS for full instructions.

  • Git buildrom
  • Update the linuxbios version in ./packages/linuxbios/linuxbios.mk to be >= 2373 2374
  • Remove .configured and .unpacked_* in ./work/linuxbios/stamps
  • Edit your ./Config.mk to change the LinuxBIOS config file.
 LINUXBIOS_CONFIG=Config.SPI.lb
  • Run 'make linuxbios-clean'
    If this is a fresh install you may get an error here. No worries.
  • Run 'make'

In ./deploy you should now have a linuxbios.rom file that is 983,040 bytes.

Programming the SPI FLASH