Specifications

D
Updating the BIOS on the CPMs
63
Building the flash update driver
Iftheamifldrv<version>.rpmisnotinthesoftwarerelease,youwillneedtobuilditusingthe
rsysbflashutility.
1. FromtheATCAsoftwarerelease,installbiosver<version>.rpmand
rsysbflash<version>.rpmforyouroperatingsystem.Thisstepisnotnecessaryifthese
requiredRPMsarealreadyinstalled(seePreparetheCPMsfortheupdateonpage 62for
instructions).
2. IftheCPMusesacrosscompiledversionofWindRiver2.0,specifytheARCHandthe
CROSS_COMPILEenvironmentvariablesbeforeproceeding withStep 3below.Thesame
settingsareusedthatareusedtocrosscompilethekernel.SeetheWindRiver
documentat ionfordetailsabouttheenvironmentvariablesandcompilingthekernel.
3. Runrsysbflashwiththeargumenttobuildthedriver.
rsysbflash/MAKEDRV
Theutilitycreatesthedriverfileamifldrv_mod.oandplacesitinthedirectorywhere
rsysbflashisexecuted.Ifthedriverisbuiltsuccessfully,amessagesimilartothefollowing
isgeneratedbyrsysbflash:
+‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐+
|AMIFirmwareUpdateUtility(APTIO)v2.27|
|Copyright(C)2009AmericanMegatrendsInc.AllRightsReserved.|
+‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐+
‐Programinitializing..
‐MakeAFULNXdriver....ok
‐Programendednormally.
4. Createthe/lib/modules/‘uname‐r‘/extra/amifldrv/directoryifitdoesnotexist.
mkdir‐p/lib/modules/‘uname‐r‘/extra/amifldrv/
5. Copythedriverfileamifldrv_mod.oto/lib/modules/‘uname‐r‘/extra/amifldrv/.