This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Wrong image format for bootm command

 

Hi all,

 

i have taken Appro DM368 IPNETCAM Reference design and trying to build and install my own uImage.

My directory structure of DM36x folder is as shown in attached .png file.

Inside the ti-davinci directory i am typing the following command

make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage

in order to generate Image in the following directory:

/home/mayank/DM36x/ipnc/ti-davinci/arch/arm/boot

i tried to install this image by copying it first in tftpboot directory using the following command:

tftp 0x80700000 uImage

nand erase 0x200000 0xF00000
nand write 0x80700000 0x500000 0x200000

But when i am trying to boot the board i am getting the following errors:

Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000                           
** Unknown image type                                                          
Wrong Image Format for bootm command                                           
ERROR: can't get kernel image!

I have following doubts:

1.My purpose is to make changes in appro code,make uimage and then install it in the board.

   i wat to know whether the procedure i am following above is right or wrong,after doing any changes

in the code i have to build the uimage and install it using tftp on the board so that when the gui is visible

on ip 192.168.1.168 the code changes get reflected in that.

Please guide if for accomplishing above my procedure is right or there is something else which needs to be done more.

2.Also please tell why the board is not booting after installing that image.

Many thanks for your replies and help.

Thanks and Regards,

Mayank Agarwal

 

 

 

 

 

  • Hi,

    MAYANK AGARWAL said:
    Please guide if for accomplishing above my procedure is right or there is something else which needs to be done more

    The steps you are doing are correct. Optionally, instead of storing the Linux Kernel Image in NAND and then booting from it, after doing tftp you can directly boot the image and see whether it is coming up.

    MAYANK AGARWAL said:

    2.Also please tell why the board is not booting after installing that image.

    You seem to erase a length of 0xF00000 starting from offset 0x200000 and then writing at an offset of 0x500000. Write the kernel image to the same offset which has been erased.

    Regards, Sudhakar