This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000313] unable to execute linux kernel with Redboot


http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000313





------- Additional Comments From lexaiu4@mail.ru  2006-09-21 07:30 -------
I have made all as you have written but loading kernel to asm code in
redboot_linux_boot.c and hang silently. This id part of asm code -

    asm volatile (
        CYGARC_HAL_MMU_OFF(%5)
        "__tramp_start__:\n"
        " cmp %1,%4;\n"       // Default kernel load address. Relocate
        " beq 2f;\n"          // kernel image there if necessary, and
        " cmp %2,#0;\n"       // if size is non-zero
        " beq 2f;\n"
....

> Just using "exec" by itself is not going to work for you
> because it will assume you are booting a raw kernel image
> without the decompressor wrapper. from previous messages it
> looks like you are booting a compressed image. You should
> try something like:
> 
> RedBoot> load -v -r -m tftp -b 0x1000000 /linux/kernel
> RedBoot> exec -b 0x1000000 -l 0 0x1000000
> 
> The "-l 0" part is important to keep "exec" from moving
> the image down to where the final kernel code will reside.
> The 0x1000000 address is mostly arbitrary and just needs to
> be somewhere not used by RedBoot.
> 
> As far as the memory controller setup goes, you'll need to
> decide for yourself if its working for you or not. I do
> believe the 566Mhz clock used in the refresh calculation is
> wrong. You need to use the memory bus clock, not the cpu
> core clock, IIRC, the memory bus runs at (4 * 33MHz).
> 



-- 
Configure bugmail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]