Make install error.

Make install error.

This question is not answered

Hey!

When I run the following command:

mariusze2@mariusze2-desktop:~/DM365SDK844703$ make install

I got an error. It looks like this:


  Ridgerun Linux SDK
  Board configuration: Leopard Board DM365

 Installation system of uboot images over TFTP for host 192.168.1.20
  Please be sure u-boot is running on port /dev/ttyS1 and none process (like minicom) is using it
  u-boot port /dev/ttyS1

  Performing handshake with u-boot...done.

  Trying to identify NAND block size... detected 0x20000

  Verifying if kernel needs to be installed...
  Loading Kernel image...
  Configuring the network...
    Uboot <= setenv autoload no
    Uboot <= dhcp
    Uboot <= setenv serverip 192.168.1.20
    Uboot <= setenv autostart
    Uboot <= mw.l 0x82000000 0xff 0xb8001
    Uboot <= tftp 0x82000000 kernel.uImage.mariusze2.leopard
-------------> Error: didn't match [Leopard 365 :>]    Uboot <= setenv autostart yes
=============> Error: didn't match [setenv autostart yes]-------------> Error: didn't match [Leopard 365 :>]  Erasing Memory...
    Uboot <= nand unlock 0x400000 0x300000
=============> Error: didn't match [nand unlock 0x400000 0x300000]-------------> Error: didn't match [Leopard 365 :>]    Uboot <= nand erase 0x400000 0x300000
=============> Error: didn't match [nand erase 0x400000 0x300000]

When I run

mariusze2@mariusze2-desktop:~/DM365SDK844703$ make config

I select

Installer configuration ---> 

Protocol for transfering images to the target (TFTP)  --->

and I change on Serial

Now I go restart server tftp and nfs

$ sudo /etc/init.d/xinetd restart

 * Stopping internet superserver xinetd                                  [ OK ]
 * Starting internet superserver xinetd                                  [ OK ]

$ sudo /etc/init.d/nfs-kernel-server restart

 * Stopping NFS kernel daemon                                            [ OK ]
 * Unexporting directories for NFS kernel daemon...                      [ OK ]
 * Exporting directories for NFS kernel daemon...                        [ OK ]
 * Starting NFS kernel daemon                                            [ OK ]

next I go make and make install.

Now there is no previous error. What is wrong with tftp?

 

 

 

All Replies
  • Do you see this :designsomething.org/.../255.aspx ?

  • Different tftp servers use different directories to hold the files available via tftp.  Check which directory your tftp server expects (common choices are /tftpboot and /srv/tftp).  On my machine (Ubuntu using  tftpd), the /etc/inetd.conf file is where you set the directory used by the tftp server.

    I solve problems like this using a tool called wireshark.  I recommend taking several hours and getting smart at how to watch a network exchange and figure out what is going wrong.  I suspect if you use wireshark, the tftp server will be responding with something like file not found.