Uploading the firmware for the very first time
- Configure serial port connection.
Connect your TPP to the PC.
[optionally] Configure TPP RS-232 port in the TPPFWwriter program.
-
Upload the bootloader with RS-232 XModem/YModem
TPP will prompt for xmodem each second.
If no prompt for xmodem, power off the board, connect the jumper to CN3 port and power on the board back.
Call xmodem to upload the file u-boot-spl.bin from your PC. Wait for transfer to complete.
After successfull upload you'll see string " SPL " among other diagnostic information printed.
Immediately after TPP will prompt for ymodem. It will offer to start ymodem for 20 times with about 20 seconds interval.
Call ymodem to upload the file u-boot.img from your PC.
TPP will reset itself if it will not get ymodem session and data on 20x20 timeout.
After successfull upload you'll see string "DRAM:" among other diagnostic information printed.
If you currently have nothing in your NAND or your firmware is corrupted you'll see CLI prompt (like "TPP#").
Otherwise you may have to interrupt booting process with any key.
-
Flash it
At this step all commands have to be done using CLI prompt (like "TPP#").
One-by-one:
3.0 This two commands you may skip if you wish to use default random MAC
setenv ethaddr AA:BB:CC:DD:EE:FF
saveenv
where AA:BB:CC:DD:EE:FF is the MAC-address you choose for this board.
3.1 Get IP-address and set update server IP
dhcp
setenv serverip 192.168.75.150
Specify the IP address of your TFTP server instead of 192.168.75.150.
3.2 Load update file
tps_upd tftp:upd.itb
Blue LEDs (LED2-LED6) will start to flash chaotically, which means, board downloads firmware image from your TFTP server. Download may take up to several minutes.
Next it will check and write the parts of downloaded image into the NAND partitions. During the write to each partition (enumerated from 1 to 11) will be indicated by relative binary number on blue LEDS.
The biggest possible piece of firmware is 11'th partition. Writing to it may take up to 10 minutes (for 250Mb image) depending on image size.
After string "Done " input to console:
reset
If string "Starting kernel ..." and then " TPS (Tibbo Project System) " was printed, TPP firmware has been successfully uploaded.
See flashing.log as an example of full device flashing console output.