Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 18th, 2011  |  syntax: None  |  size: 1.01 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. options
  2. {
  3.     productVersion = "2.38.6";
  4.     componentVersion = "2.38.6";
  5.     flags = 0x100;
  6. }
  7.  
  8. sources
  9. {
  10.     stage0 = "fw/fw.____.0.elf";
  11.     stage1 = "fw/fw.____.1.elf";
  12.     stage2 = "fw/fw.____.2.elf";
  13.     stage3 = "fw/fw.____.3.elf";
  14.     stage4 = "fw/fw.____.4.elf";
  15.     host = "fw/fw.host.0.elf";
  16.     play0 = "fw/fw.play.0.elf";
  17.     play1 = "fw/fw.play.1.elf";
  18.     rsrc = "fw/fw.rsrc.bin";
  19.     jump_if = "jump_if.bin";
  20.     bootloader_bin = extern(0);
  21. }
  22.  
  23. section(0)
  24. {
  25.     load stage0;
  26.     call stage0;
  27.     load stage1;
  28.     call stage1;
  29.     load stage2;
  30.     call stage2;
  31.     load jump_if > 0;
  32.     call 0('rock');
  33.     load stage3;
  34.     call stage3(1);
  35.     load stage4;
  36.     jump stage4;
  37. }
  38.  
  39. section('host')
  40. {
  41.     load host;
  42.     jump host;
  43. }
  44.  
  45. section('play')
  46. {
  47.     load play0;
  48.     call play0;
  49.     load play1;
  50.     jump play1;
  51. }
  52.  
  53. section('rsrc'; cleartext=true, alignment=512) <= rsrc;
  54.  
  55. section('rock')
  56. {
  57.     load bootloader_bin > 0x40000000;
  58.     jump 0x40000000(0xfee1deaf);
  59. }
  60.  
  61.  
clone this paste RAW Paste Data