//////// X-LOAD
// Load x-load in the phone
a 0x20010000
// Check README to generate x-load.bin
f x-load.bin

// Boot with x-load
a 0x20010c00
b

end
/////////////////////////////////////////////////////////////////// X-LOAD END

/////////////////////////////////////////////////////////////////// U-BOOT
// Send an address
a 0x20010000
// Load a file in phone memory at the previous given address
f x-load.bin

// Call a sub from x-load.bin: TT BoardInit (should only work with TT)
a 0x20010da4
c

// Load another program to a new address, check README to generate u-boot.bin
a 0x10280000
f u-boot.bin

// Send an address and dump the content to check upload has been done
a 0x10299a50
M;M;M;M;M;M;M;M

// Send u-boot start address and boot there
a 0x10280000
b

end
/////////////////////////////////////////////////////////////////// U-BOOT END

/////////////////////////////////////////////////////////////////// DUMP MEM
// Send an address
a 0x20000000

// Dump 8kB from that address
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 512 octets
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 1ko
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 2ko
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 3ko
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 4ko
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 5ko
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 6ko
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 7ko
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 
M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 8ko

end
/////////////////////////////////////////////////////////////////// DUMP MEM END


