Home/Support/Support Forum/How can i update kernel image through network without the use of serial port.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can i update kernel image through network without the use of serial port.

0 votes
Hi all,
I connected my development board through network, Say for example dev board ip-address 192.168.0.191
and one of my network pc ip address is 192.168.0.163(server ip for dev board). Now How can i interrupt the U-Boot from host(192.168.0.163) through network using telnet.
I wanted to interrupt the U-Boot without the help of serial cable using telnet.

please give me the solution..
Thanks in advance.
asked Mar 18, 2011 in Linux by elu_digi New to the Community (6 points)
recategorized Dec 3, 2013 by tuxembb

Please log in or register to answer this question.

3 Answers

0 votes
I want to control the U-Boot using telnet, similar to Redboot.
Is it possible to add telnet into U-Boot source code, if so How can it possible,

anyone has solution for the above.
Thanks in advance.
answered Mar 25, 2011 by elu_digi New to the Community (6 points)
0 votes
Elumalai,

I guess you want this behaviour so as to update the partitions on module is it?

i suggest you to first do a scp to your module. by default scp server is enabled in DEL.

my module's ip is -> 10.80.1.203
and on module transfer the image that you wanted.
/tmp folder is RAM.

eg : scp rootfs-cme9210js.squashfs root@10.80.1.203:/tmp

then you do a ssh session to module.
ssh root@10.80.1.203

you will get a BusyBox linux prompt.

check file in /tmp
/tmp # ls
media mnt var rootfs-cme9210js.squashfs

check your partitions.
ie :
/proc # cat mtd
dev: size erasesize name
mtd0: 00030000 00010000 "U-Boot"
mtd1: 00020000 00010000 "NVRAM"
mtd2: 00140000 00010000 "Kernel"
mtd3: 00180000 00010000 "RootFS"
mtd4: 000f0000 00010000 "UserFS"

then use update_flash tool.

/tmp # update_flash rootfs-cme9210js.squashfs 3

3->rootfs.
to update kernel use 2.
answered Apr 18, 2011 by bobthomas13 Seasoned Professional (182 points)
0 votes
you can use replace telnet with ssh and ftp with scp.
but i prefer secure transfer.

by default passowrd for scp and ssh is "password".
you may change it.
answered Apr 18, 2011 by bobthomas13 Seasoned Professional (182 points)
...