skip navigation

How can I create a raw binary using the Platform Builder tools?

There are two ways to create a raw binary using Platform Builder:

  1. Modify the config.bib file to generate a .nb0 file.
    Here are the lines to add:

    ROMSIZE=$(FLA_BUILD_IMAGE_SIZE)
    ROMWIDTH=32
    ROMSTART=$(FLA_BUILD_IMAGE_START)

    OR

    ROMSIZE=$(RAM_BUILD_IMAGE_SIZE)
    ROMWIDTH=32
    ROMSTART=$(RAM_BUILD_IMAGE_START)

    Depending if you have IMGFLASH=1 or not.
  2. Use "cvrtbin" from the command line, that is what makeimg uses to create the .nbX files in the above method.
    e.g. .> cvrtbin -r -a 0x8c105000 -w 32 -l 0x1000000 nk.bin