Burning files to flash

  • IP address goes with experiment subnet the RCE is on:
    • rdsrv101's IP address ends in 9, 73, 137, 201 for expts A, B, C, D, resp.
  • The load address in the burnSystem -A field must be decimal
    • Since having moved to storing/loading ELF images to/from flash, the value of this argument should always be specified as zero (i.e., -A 0).
  • The bootstrap index is selected from the values [0, 1] according to our policy:
    • prod = 0
    • rescue = 1
  • Boot the RCE in question
    • E.g., run xmd
    • Download the rescue image
    • con
  • telnet to the RCE in question
    freeBlocks
    lsSystem
    
    rmContainer -T SYSTEM -I <bootstrap [0, 1]>
    
    mkdir /mnt/bld
    mount -t nfs 172.21.7.<[a,b,c,d]>:/nfsexport/users/claus/dat/workspace/build /mnt/bld
    cd /mnt/bld/platform/bin/ppc-rtems-rce405-dbg
    
    burnSystem -I <bootstrap [0, 1]> -A 0 core.2.1.<branch>.elf
    

For ease of copy-and-pasting:

rmContainer -T SYSTEM -I 0
rmContainer -T SYSTEM -I 1

mkdir /mnt/bld
mount -t nfs 172.21.7.9:/nfsexport/users/claus/dat/workspace/build /mnt/bld
mount -t nfs 172.21.7.73:/nfsexport/users/claus/dat/workspace/build /mnt/bld
mount -t nfs 172.21.7.137:/nfsexport/users/claus/dat/workspace/build /mnt/bld
mount -t nfs 172.21.7.201:/nfsexport/users/claus/dat/workspace/build /mnt/bld

cd /mnt/bld/platform/bin/ppc-rtems-rce405-dbg
cd /mnt/bld/platform/bin/ppc-rtems-rce405-opt

cd /mnt/bld/platform/bin/ppc-rtems-rce440-dbg
cd /mnt/bld/platform/bin/ppc-rtems-rce440-opt

burnSystem -I 0 -A 0 dpm.2.2.prod
burnSystem -I 1 -A 0 dpm.2.2.rescue.elf

cd /mnt/bld/platform/bin/ppc-rtems-cm405-dbg
cd /mnt/bld/platform/bin/ppc-rtems-cm405-opt

cd /mnt/bld/platform/bin/ppc-rtems-cm440-dbg
cd /mnt/bld/platform/bin/ppc-rtems-cm440-opt

burnSystem -I 0 -A 0 dtm.2.2.prod
burnSystem -I 1 -A 0 dtm.2.2.rescue.elf
  • No labels