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.
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.
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.
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.