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

**URL:** <https://forums.digi.com/t/how-can-i-update-kernel-image-through-network-without-the-use-of-serial-port/11190>\
**Category:** Linux\
**Tags:** hardware\
**Created:** [March 18, 2011, 7:57am UTC](https://forums.digi.com/t/how-can-i-update-kernel-image-through-network-without-the-use-of-serial-port/11190 "2011-03-18T07:57:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elu\_digi](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@elu\_digi](https://forums.digi.com/u/elu_digi)\
**Post date:** [March 18, 2011, 7:57am UTC](https://forums.digi.com/t/how-can-i-update-kernel-image-through-network-without-the-use-of-serial-port/11190/1 "2011-03-18T07:57:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![elu\_digi](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@elu\_digi](https://forums.digi.com/u/elu_digi)\
**Post date:** [March 25, 2011, 7:58am UTC](https://forums.digi.com/t/how-can-i-update-kernel-image-through-network-without-the-use-of-serial-port/11190/2 "2011-03-25T07:58:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bobthomas13](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bobthomas13](https://forums.digi.com/u/bobthomas13)\
**Post date:** [April 18, 2011, 2:24pm UTC](https://forums.digi.com/t/how-can-i-update-kernel-image-through-network-without-the-use-of-serial-port/11190/3 "2011-04-18T14:24:29Z")

</div>

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](mailto:root@10.80.1.203):/tmp

then you do a ssh session to module.  
ssh [root@10.80.1.203](mailto: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.

---

<div class="post-metadata">

**Author:** ![bobthomas13](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bobthomas13](https://forums.digi.com/u/bobthomas13)\
**Post date:** [April 18, 2011, 2:26pm UTC](https://forums.digi.com/t/how-can-i-update-kernel-image-through-network-without-the-use-of-serial-port/11190/4 "2011-04-18T14:26:18Z")

</div>

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.
