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 msalter@redhat.com  2006-09-19 16:14 -------
> RedBoot> load -v -r -m tftp -b %{FREEMEMLO} /linux/kernel
> Raw file loaded 0x00029c00-0x00129bff, assumed entry at 0x00029c00
> RedBoot> exec
> Using base address 0x00029c00 and length 0x00100000
> $T050f:06000000;0d:0000b6a8;

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]