• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Problem for loading kernel from ftp  (Read 1125 times)
djraffon
Newbie
*

Karma: 0
Posts: 5


View Profile
« on: June 16, 2010, 07:05:01 AM »

I managed to compile a kernel on the sheevaplug itself

I moved the /linux-2.6.34/arch/arm/boot/uImage to my ftp server

I tried to access and download the uImage from a 3rd computer (IP 192.168.1.7) by using:
wget http://ftp://192.168.1.4/uImage

everything is working fine

then I access to the sheeva:
screen /dev/ttyUSB0 115200

I stopped the boot process and  try to load the uImage with ftp:
setenv ipaddr 192.168.1.9
setenv serverip 192.168.1.4
tftpboot 0x2000000 uImage

but I get the message:
Using egiga0 device
TFTP from server 192.168.1.4; our IP address is 192.168.1.9
Filename 'uImage'.
Load address: 0x2000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again

I guess there is something wrong with the ftp server but what?


Logged

Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #1 on: June 16, 2010, 01:40:23 PM »

You need a tftp server, not an ftp server.
Logged

preaton
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #2 on: June 16, 2010, 03:03:46 PM »

I found setting up a tftp server very frustating as there are few if any useful error messages. Things to check

1. is uImage in the right directory - it probably is or you would get a "File not found" error
2. Try with a small text file to make sure it is not some problem with the uImage file
3. At uboot prompt type 'dhcp' then 'printenv' Dhcp prompts the tftp server and sets the environment variables such as serverip filename and filesize. On my tftp server the file name is pxelinux.0 which is used for remote booting but is unnecessary in this context - however it does confirm that things are set up properly.

Cheers

Paul
Logged

Pages: [1]
Print
Jump to: