1) The kermit source code can be downloaded from the below site.
http://www.columbia.edu/kermit/ck80.html
2) Unzip the cku211.tar.gz file
3) Navigate to the extracted directory and run,
make linux
4) After the make, wermit binary executable will be generated
5) Rename the binary image wermit to kermit and copy to the /bin
dircetory
6) Change the permissions of the kermit,
chmod 777 /bin/kermit
7) Create a configuration file ker-conf.scr in the extracted directory
with the following parameters,
set line /dev/ttyS0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
set file type bin
robust
set streaming off
8) Now change the permissions of ker-conf.scr file,
chmod 777 ker-conf.scr
9) The setup is ready for transfering the images
Flashing the uImage
i) Run on Beagle u-boot>,
loadb 0x80200000 uImage
ii) Run on host,
kermit ker-conf.scr
iii) This leads to the kermit prompt, type
c-kermit> send /binary /<path of the uImage>
iv) Now execute the following on the Beagle u-boot>
nand unlock
nand ecc sw
nand erase 28000 40000
nand write 0x80200000 28000 40000
Flashing the RFS
i) Run on Beagle u-boot>,
loadb 0x80200000 uImage
ii) Run on host,
kermit ker-conf.scr
iii) This leads to the kermit prompt, type
c-kermit> send /binary /<path of the RFS>
iv) Now execute the following on the Beagle u-boot>
nand unlock
nand ecc sw
nand erase 68000 F980000
nand write 0x80200000 68000 560000