Building an SPI image for olpcflash

From OLPC
Jump to navigation Jump to search
Stop hand.png WARNING:
The content of this section is considered
DEPRECATED and OBSOLETE
It is preserved for historical or documenting reasons.

(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