Updating S1L from S1L

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Updating S1L from S1L

Updating S1L from S1L

If you already have S1L on your FDI board, you can update to a previous or later version of S1L with the following procedure. This procedure should not be used to update the kickstart loader in block 0.

Step 1: Boot the system to the S1L prompt. Have your updated version of S1L ready.

Step 2: At the S1L prompt, type 'load term raw 0x90000000' to start the binary receive in S1L of the new image. On your terminal program, send the S1L file (ie, s1l_from_kick_gnu.bin) to the board as a binary file.

Step 3: Once transfer completes, send a break to the board to return to the prompt. In TeraTerm, a break can be sent from the Control menu or by pressing ALT-B.

Step 4: Erase the blocks in FLASH used for S1L storage. These are blocks 1 to 24. Be very careful not to erase block 0, which is used for the klickstart loader. The 'erase 1 24' command can be used to erase the blocks.

Step 5: Write the loaded S1L image into the S1L area starting at block 1. The S1L image is usually between 56K and 80K, so it will easily fit in 1 block. The command 'write 0x90000000 64 64' will perform this operation. The write command take sectors (not blocks) - sector 64 is where block 1 starts.

Step 6: Reset the board to verify the S1L image has been updated.

The entire sequence is shown below. You can see a different version of S1L is running by examining the build date of S1L when it boots.

FDI3250 Kickstart v1.00
NAND Flash Initialized
Running Stage 1 Loader ...

Future Designs, Inc. DK-xTS-LPC3250 Board
Build date: Sep 10 2010 10:12:22
Autoboot in progress, press any key to stop

linux>load term raw 0x90000000
Starting terminal download, send break to stop
File loaded successfully

linux>erase 1 24
Operation will overwrite bootloader - ok?(y/n):
Starting block erase

linux>write 0x90000000 64 64

linux>FDI3250 Kickstart v1.00
NAND Flash Initialized
Running Stage 1 Loader ...
Using default system configuration

Future Designs, Inc. DK-xTS-LPC3250 Board
Build date: Sep 13 2010 11:20:12

FDI3250
%3CLINGO-SUB%20id%3D%22lingo-sub-1118441%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUpdating%20S1L%20from%20S1L%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118441%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EIf%20you%20already%20have%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20on%20your%20FDI%20board%2C%20you%20can%20update%20to%20a%20previous%20or%20later%20version%20of%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20with%20the%20following%20procedure.%20This%20procedure%20should%20not%20be%20used%20to%20update%20the%20kickstart%20loader%20in%20block%200.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStep%201%3A%20Boot%20the%20system%20to%20the%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20prompt.%20Have%20your%20updated%20version%20of%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20ready.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStep%202%3A%20At%20the%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20prompt%2C%20type%20'load%20term%20raw%200x90000000'%20to%20start%20the%20binary%20receive%20in%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20of%20the%20new%20image.%20On%20your%20terminal%20program%2C%20send%20the%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20file%20(ie%2C%20s1l_from_kick_gnu.bin)%20to%20the%20board%20as%20a%20binary%20file.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStep%203%3A%20Once%20transfer%20completes%2C%20send%20a%20break%20to%20the%20board%20to%20return%20to%20the%20prompt.%20In%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ETeraTerm%3C%2FSPAN%3E%2C%20a%20break%20can%20be%20sent%20from%20the%20Control%20menu%20or%20by%20pressing%20ALT-B.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStep%204%3A%20Erase%20the%20blocks%20in%20FLASH%20used%20for%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20storage.%20These%20are%20blocks%201%20to%2024.%20Be%20very%20careful%20not%20to%20erase%20block%200%2C%20which%20is%20used%20for%20the%20klickstart%20loader.%20The%20'erase%201%2024'%20command%20can%20be%20used%20to%20erase%20the%20blocks.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStep%205%3A%20Write%20the%20loaded%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20image%20into%20the%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20area%20starting%20at%20block%201.%20The%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20image%20is%20usually%20between%2056K%20and%2080K%2C%20so%20it%20will%20easily%20fit%20in%201%20block.%20The%20command%20'write%200x90000000%2064%2064'%20will%20perform%20this%20operation.%20The%20write%20command%20take%20sectors%20(not%20blocks)%20-%20sector%2064%20is%20where%20block%201%20starts.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStep%206%3A%20Reset%20the%20board%20to%20verify%20the%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20image%20has%20been%20updated.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23646464%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20font-size%3A%2012px%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EThe%20entire%20sequence%20is%20shown%20below.%20You%20can%20see%20a%20different%20version%20of%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20is%20running%20by%20examining%20the%20build%20date%20of%20%3CSPAN%20class%3D%22foswikiNewLink%22%3ES1L%3C%2FSPAN%3E%20when%20it%20boots.%3C%2FSPAN%3E%3C%2FP%3E%3CPRE%20style%3D%22font-family%3A%20monospace%2C%20serif%3B%20font-size%3A%2012px%3B%20color%3A%20%23646464%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EFDI3250%20Kickstart%20v1.00%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3ENAND%20Flash%20Initialized%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3ERunning%20Stage%201%20Loader%20...%3C%2FSPAN%3E%0A%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EFuture%20Designs%2C%20Inc.%20DK-xTS-LPC3250%20Board%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EBuild%20date%3A%20Sep%2010%202010%2010%3A12%3A22%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EAutoboot%20in%20progress%2C%20press%20any%20key%20to%20stop%3C%2FSPAN%3E%0A%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3Elinux%26gt%3Bload%20term%20raw%200x90000000%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStarting%20terminal%20download%2C%20send%20break%20to%20stop%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EFile%20loaded%20successfully%3C%2FSPAN%3E%0A%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3Elinux%26gt%3Berase%201%2024%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EOperation%20will%20overwrite%20bootloader%20-%20ok%3F(y%2Fn)%3A%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EStarting%20block%20erase%3C%2FSPAN%3E%0A%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3Elinux%26gt%3Bwrite%200x90000000%2064%2064%3C%2FSPAN%3E%0A%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3Elinux%26gt%3BFDI3250%20Kickstart%20v1.00%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3ENAND%20Flash%20Initialized%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3ERunning%20Stage%201%20Loader%20...%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EUsing%20default%20system%20configuration%3C%2FSPAN%3E%0A%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EFuture%20Designs%2C%20Inc.%20DK-xTS-LPC3250%20Board%3C%2FSPAN%3E%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EBuild%20date%3A%20Sep%2013%202010%2011%3A20%3A12%3C%2FSPAN%3E%0A%0A%3CSPAN%20style%3D%22font-size%3A%2012pt%3B%20font-family%3A%20helvetica%3B%22%3EFDI3250%3C%2FSPAN%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎09-10-2020 02:40 AM
Updated by: