[Trac #506] Guard test code in olpc-boot.fth

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 23 19:34:31 EST 2006


#506: Guard test code in olpc-boot.fth
-------------------------------+--------------------------------------------
 Reporter:  wmb at firmworks.com  |       Owner:  blizzard
     Type:  defect             |      Status:  new     
 Priority:  normal             |   Milestone:  BTest-2 
Component:  distro             |    Keywords:          
-------------------------------+--------------------------------------------
 The /boot/olpc-boot.fth file in build 185 contains some test code to put
 keyboard layout information in CMOS RAM, based on information that the
 firmware reads from SPI FLASH.

 That code needs to be guarded to prevent it from being executed on newer
 firmware that already has those functions built-in.

 Specifically, add:
    [ifndef] set-pn

 on the second line (after the initial comment line)

 and add:
    [then]
 after the line that reads "set-country-code".

-- 
Ticket URL: <http://dev.laptop.org/ticket/506>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list