View Single Post
  #6 (permalink)  
Old 26th Mar 2008, 3:43 am
Pesho Pesho is offline
Junior Member
 
Join Date: Mar 2008
Posts: 28
Default Re: Can someone transkate russian instruction?

8.Further in the make_fw catalog make a BAT - name it make.bat and put this in it:

cd .\bin
s1fwx a FWIMAGE.FW:fw <script>list.!!!
cd ..
copy .\bin\FWIMAGE.FW .\fw\FWIMAGE.FW
cd .\fw
s1fwx a FWIMAGE.bin:afi <script>list.!!!
cd ..
copy .\fw\FWIMAGE.bin .
del .\fw\FWIMAGE.bin

the BAT will collect the firmware in a pile (im guessing compile)
9.In FW's catalog, place the files needed to complete the whole firmware. You can take parts from other firmwares using EXTRACT.BAT with this in it and put it in the catalog make_fw:

md bin
md fw
copy %1 .\fw\%1
cd .\fw
s1fwx s %1 >script.afi
s1fwx x %1 >list.!!!
del %1
copy FWIMAGE.FW ..\bin\FWIMAGE.FW
cd ..
cd .\bin
s1fwx s FWIMAGE.FW >script.afi
s1fwx x FWIMAGE.FW >list.!!!
del FWIMAGE.FW
cd ..

10. A little trick - s1fwx.exe doesn't make the header properly for completely new firmwares. Therefore, after assembling the firmware you have to replace the header with the one that was in the FWIMAGE.FW we got. It's the first 512 bytes of the file, in the finished firmware it begins at the offset 0x37400.
Reply With Quote