Building an SPI image for olpcflash: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Update incorrect SVN update number)
(Remove instructions - buildrom builds SPI ROMs by default now)
Line 1: Line 1:
(This recipe is from Richard Smith.)
(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.

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


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

Revision as of 16:36, 16 August 2006

(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