1 2 Previous Next 16 Replies Latest reply on Feb 28, 2015 6:54 PM by Bsessa

    Error building a PDAT.bin

    max_liecher

      Hi all,

      I have a problem building the flash+platformdata.bin

      I use Linux Ubuntu 12.04 and the latest Flash-missingPDAT_Release-1.04.bin.

      As soon as I want to execute "./platform-data-patch.py -p platform-data.ini -i Flash-missingPDAT_Release-1.0.4.bin " I get the Error:

       

      Traceback (most recent call last):

        File "./platform-data-patch.py", line 208, in <module>

          main()

        File "./platform-data-patch.py", line 206, in main

          patch_output_file(opts.modified_image, platform_data, OFFSET_FROM_TOP)

        File "./platform-data-patch.py", line 193, in patch_output_file

          data_file.seek(offset, 0)

      IOError: [Errno 22] Invalid argument

       

      My .ini:

      [Platform Type]

      id=1

      desc=PlatformID

      data.type=hex.uint16

      # ClantonPeak 2, KipsBay 3, CrossHill 4, ClantonHill 5, KipsBay-fabD 6, GalileoGen2 8

      data.value=8

       

      [Mrc Params]

      id=8

      ver=1

      desc=MrcParams

      data.type=file

      #data.value=MRC/clantonpeak.v1.bin

      #data.value=MRC/kipsbay.v1.bin

      #data.value=MRC/crosshill.v1.bin

      #data.value=MRC/clantonhill.v1.bin

      #data.value=MRC/kipsbay-fabD.v1.bin

      data.value=MRC/GalileoGen2.bin

       

      [MAC address 0]

      id=3

      desc=1st MAC

      data.type=hex.string

      data.value=**MY MAC ADRESS**


      [MAC address 1]

      id=4

      desc=2nd MAC

      data.type=hex.string

      data.value=02FFFFFFFF01

       

      Thank you for your time!!

        1 2 Previous Next