[ECOS] Help with booting Linux off my Redboot prompt

Krishna Ganugapati krishnag@marakicorp.com
Tue Feb 22 17:56:00 GMT 2005


Thanks Nickolay

I did specify all four parameters to "exec" and while things do not dump 
core or anything -- it looks like its hanging somewhere in the Linux 
startup. I understand this may be the wrong place to pose the question, but 
has anyone used the BDI2000 to debug a Linux target after it has been 
invoked from Redboot using exec.

The BDI2000 documentation is pretty sparse.

I also discovered that the base address for the IXDP425 is 0x00600000 after 
greping through the sources.

My board only has UART 0 and I'm suspecting that it has something to do with 
how the Linux console works. I get no output to my console window once I 
invoke exec...

I need to figure out how to debug a Linux target under Redboot using a 
BDI2000

Thanks

Krishna

----- Original Message ----- 
From: "Nickolay" <nickolay@protei.ru>
To: "Krishna Ganugapati" <krishnag@marakicorp.com>
Cc: <ecos-discuss@ecos.sourceware.org>
Sent: Tuesday, February 22, 2005 3:18 AM
Subject: Re: [ECOS] Help with booting Linux off my Redboot prompt


> Krishna Ganugapati wrote:
>
>> I have successfully built redboot for my IXP425 - can load redboot image 
>> store it in flash, npe's work fine and I can successfully tftp images 
>> down to my board from by RedHat9 Linux box.
>>
>> I've built Linux kernels and a rootfs.
>>
>> My compressed Linux kernel is zImage
>>
>> and  my compressed rootfs is rootfs.gz
>>
>> I execute the following commands at my Redboot console
>>
>> a) load -r -v -b 0x00800000 rootfs.gz  ; load the rootfs.gz image @ 
>> 0x0800000
>>
>> b) load -r -v -v 0x01600000 zImage  ;  load the compressed kernel zImage 
>> @ 0x01600000
>>
>> c) exec
>>
>> The resulting output is
>> Using base address 0x01600000 and length 0x000b73c0 (which is the correct 
>> size of the image)
>>
>> However following that, I get nothing....
>>
>> Any ideas how I can debug further... or should I be taking this to 
>> another alias...
>>
>>
>> Thanks!
>>
>> Krishna
>
> Try explicitly indicate what you want load from.
> exec -b 0x01600000 -l 0 0x01600000
>
>
>
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list