[okl4-developer] s3c2410 compile problem.

David Mirabito davidm at ok-labs.com
Fri Oct 26 14:31:37 EST 2007


Hi Quanlong,

Alternatively, since image.boot is a standard ELF file, you might want 
to try a different command to start:
    bootelf 0x30000000
this will unpack the image to where in RAM the kernel and iguana expect 
everything to be.

One more thing, I'm not sure of the memory layout of your board, but the 
0x3000000 address should be high enough such that every section in 
image.boot completely fits below it. Otherwise the header will be 
overwritten as u-boot unpacks the sections which confuses u-boot when it 
tries to read the entrypoint and it may crash.

- David Mirabito

Hal Ashburner wrote:
> On Thu, 2007-10-25 at 16:19 +0900, QUANLONG wrote:
>   
>>  
>>
>> thank for you advice.
>>
>> now I get the image.boot, image.elf 
>>
>>  
>>
>> but when downloaded it to my board, nothing happens. 
>>
>> these are my test procedure.
>>
>> (1) first run uboot, which is flashed to my board.
>>
>> (2) use tftp download image.boot to 0x30000000 
>>
>> (3)  go 0x30000000  
>>
>>  
>>
>> is this correct procedure?
>>     
>
> Hi Quanlong,
>
> Can we keep these queries on the list please?
>
> Looks a bit suspect to me. I think this would work if you use something
> like  objcopy -o binary  on the image file first.
>
>
>   




More information about the Developer mailing list