Thank you Allred. I just reached the same conclusion. I was trying to avoid 
secondary download but it looks like that is not the correct way.
 
I will check where I can find a UBL for DM6467 and load that first using the 
built in UART UBL.
 
Does anyone know where a pre built binary for UBL exists for DM6467 ?
 
Regards,
Neeraj
 

--- On Thu, 12/4/08, Allred, Daniel <[EMAIL PROTECTED]> wrote:

From: Allred, Daniel <[EMAIL PROTECTED]>
Subject: RE: DM6467 serial loader to download uImage issue
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, 
"davinci-linux-open-source@linux.davincidsp.com" 
<davinci-linux-open-source@linux.davincidsp.com>
Date: Thursday, December 4, 2008, 10:22 AM








Neeraj,
 
I don’t think you can load a kernel image in the uImage format like this.  The 
uImage format is specific to the u-boot boot loader, and I have never heard of 
someone trying to jump into it without using u-boot.  The vmlinux image is an 
ELF executable, but it has to loaded to be executed – that’s why u-boot (and 
other various boot loaders) exist.  The way I undertand things, u-boot parses 
and loads the uImage and does certain things (like passing command-line args to 
the kernel) to get the kernel started.
 
The slh program could be used to load and execute u-boot, which in turn could 
load and run the kernel.
 
Regards,
Daniel
 

Daniel J. Allred
High Performance DSP/SoC
Catalog DSP / Emerging End Equipment




From: Neeraj Tandon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 03, 2008 7:38 PM
To: davinci-linux-open-source@linux.davincidsp.com; Allred, Daniel
Subject: DM6467 serial loader to download uImage issue
 





 

Hi Everyone,

 

I am using DM6467 EVM with Monta Vista 4.0.1 Linux and serial loader utility. I 
am using slh_DM646x.exe. This embeds a small UART bootloader. I have verified 
that this can talk to EVM and able to download the UART bootloader. I am 
attempting to download uImage and kick of the kernel from ram. 

 

>From the slt_DM646x.exe logs I can see the entire uImage gets downloaded. I 
>also instrumented the uart.c code to verify received uImage is of correct 
>length and start address specified is received correctly. 

 

However kernel never kick starts. I connect hyperteminal after application 
terminates and I see no activity. I even added a big delay before entering 
entry point from main function so I can see activity from serial console after 
download is completed but I do not see anything an board seems to be hung.I 
believe uImage is of correct format as mkimage inserts the entry point etc on 
to linked image. 

 

Any suggestions to point me in correct direction are highly appreciated.

 

I am using following command :

 

slh_DM646x.exe -v -p COM6 -load2DDR -startAddr 0x80008000 -loadAddr 0x80008000 
uImage

 

I see following dumped on screen. This confirms image got downloaded correctly:

SENDIMG received. Returning ACK and header for image data...
ACK command sent. Waiting for BEGIN command...
        Target:   BEGIN
BEGIN commmand received. Sending the image data...
Image data sent.  Waiting for DONE...
        Target: App File Len0x00155044App File loadAddr0x80008000   DONE
DONE received.  All bytes of image data received...
        Target: Starting APP code Entry point0x80008000   DONE

 

Regards,

Neeraj

 

 




 
 
 


      
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to