[ELDK] How to Boot a New Kernal from TFTP Server

Ashutosh Sharma ashu0204 at yahoo.com
Sat Jun 13 12:13:50 CEST 2009


Hello

Are you planing to boot using NFS or RAM disk.

In case of RAM disk you need to tftp ramdisk.img and kilauea.dtb files to ram.

in case of RAM disk use

=> bootm kernel_location ramdis_location kilauea.dtb_location
in case of NFS boot
=> bootm kernel_location - kilauea.dtb_location

Make sure to set bootargs for both before booting the system

Regards,
+--------------------+     \\//     +-----------------------------+
| Ashutosh Sharma    |    ( .. )    |      ashu0204 at yahoo.com     |
+--------------------+-ooO-(__)-Ooo-+-----------------------------+


--- On Sat, 6/13/09, camel joe <camel4joe at gmail.com> wrote:

> From: camel joe <camel4joe at gmail.com>
> Subject: [ELDK] How to Boot a New Kernal from TFTP Server
> To: eldk at lists.denx.de
> Date: Saturday, June 13, 2009, 4:11 AM
> Forgive me for my very basic
> questions, since I am a newbie and this
> is my first time to learn using ELDK/U-Boot.
> 
> By following the DULG for Kilauea document, I was able to
> build the
> kernel and to set up the TFTP server and U-boot parameters,
> as
> follows:
> 
> Hit any key to stop autoboot:  0
> => setenv ipaddr 172.20.10.45
> => setenv serverip 172.20.10.34
> => tftpboot
> Waiting for PHY auto negotiation to complete.. done
> ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
> Using ppc_4xx_eth0 device
> TFTP from server 172.20.10.34; our IP address is
> 172.20.10.45
> Filename 'kilauea/uImage'.
> Load address: 0x100000
> Loading:
> #################################################################
>      
>    ##################################################
> done
> Bytes transferred = 1680071 (19a2c7 hex)
> =>
> 
> But I don't know exactly what to do next for booting up the
> board,
> since when I use "reset" or "boot" commands, the board
> always is
> running with the old existing kernel that comes with the
> manufactory.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> --Joe Chen
> _______________________________________________
> eldk mailing list
> eldk at lists.denx.de
> http://lists.denx.de/mailman/listinfo/eldk
> 


      


More information about the eldk mailing list