Using Procomm to download the kernel and file system images

version 1.0

 

If you do not have a Linux PC available, you can still download the kernel and file system images to rrload using the Procomm terminal emulation software.  The follow steps were tested using Procomm Plus 32,  June 9, 1997.

 

Note: hyperterm corrupts the data when downloaded using the “Send text file” and does not support a RAW ASCII file transfer protocol.

 

The following steps assume you have successfully have rrload running on the EVM and have the linux.gz.rr (or linux.rr) and fs.img.gz.rr (or fs.img.rr) files ready for download to the EVM.

Configuring Procomm

1)      Start Procomm

2)      Options -> System Options -> Modem Connection

a.       com1 (or whatever serial port you are connected to)

b.      Modem/connection properties -> baud rate: 15200, parity: none, Data bits: 8, Stop bits: 1 (no handshake)

3)      Options -> Data Options -> Transfer Protocol -> Current Transfer Protocol: RAW ASCII (no other boxes checked)

4)      You should now be able to reset EVM and see the rrload menu

 

Configuring rrload

1)      In rrload, select 3. View/Edit Parms…

2)      In rrload, verify 4. I/O load port is set to serial.  Change it to serial if set to ether.

3)      If you changed the I/O load port setting, you can erase the parameters from flash and save the parameters to flash

4)      In rrload, return to the main menu.

 

Test configuration

1)      In rrload, select 1. Load [comp] form I/O port…

2)      In rrload,1. Load [Kernel]

3)      In Procomm, Data -> Send File -> rrload.ForUpgrade.rr

4)      Note: Procomm played a wave file several times after the download was complete and there was an extra “!” after the rrload “which?” prompted.  You may need to press the backspace key to remove the spurious character.

5)      When you see the rrload menu prompt (should be less than 15 seconds), select 0 to return to main menu

6)      In rrload, select 4. Boot Kernel/filesystem (boot_auto).  The will cause rrload.ForUpgrade to run.  If the download was successful, you will see the rrload menus and the string **ForUpgrade**.

7)      The above steps verified that Procomm is configured correctly.  Reset the EVM to get rrload running (we do not want to be using rrload.ForUpgrade, that was just to test Procomm configuration).

 

Downloading the kernel and file system

1)      In rrload, select 1. Load [comp] form I/O port…

2)      In rrload,1. Load [Kernel]

3)      In Procomm, Data -> Send File -> linux.gz.rr

4)      When you see the rrload menu prompt (should be less than 60 seconds), select 2 Load [FileSystem]

5)      In Procomm, Data -> Send File -> fs.img.gz.rr

6)      When you see the rrload menu prompt (should be less than 120 seconds), select 0 to return to main menu

 

Saving kernel and file system to flash

1)      In rrload, from the main menu, erase the flash (kernel and file system), using E. Erase [comp] from Flash… menu, if needed

2)      In rrload, 2. Store RAM [comp] to Flash… Store the kernel and file system.

 

Booting  the Linux kernel

1)      In rrload, from the main menu, 4. Boot Kernel/filesystem (boot_auto)

2)      If the kernel and file system images were downloaded without corruption, the Linux boot messages will be displayed ending with “TestTarget login:” prompt.  Enter “root” and the shell prompt will be displayed.