bd_t structure
I've ported a 2.4.x kernel from a ppc405EP based board to 2.6.15 but I am having problems with the bd_t info passed from the boot loader.
i am trying to use the original ppcboot (yes i know it's old but I don't to port it right now) to boot the 2.6.15 kernel. It looks like the board information passed to ppc4xx_init in r3 is not the same. I also looked at the ppcboot.h file in the 2.6 kernel and it doesn't appear to be the same as the one in the ppcboot source tree.
My question is: can I boot a kernel made with the 2.6.15 tree with ppcboot instaed of u-boot?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Quoted 3 lines · In message <[email protected]> you wrote:
My question is: can I boot a kernel made with the 2.6.15 tree with ppcboot instaed of u-boot?
Yes, if you fix either one or the other.
My recommendation is to fix PPCBoot (by installing U-Boot instead). Anything else ist just lost effort.
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Winners never talk about glorious victories. That's because they're
the ones who see what the battlefield looks like afterwards. It's
only the losers who have glorious victories.
- Terry Pratchett, _Small Gods_Quoted 8 lines · --- Wolfgang Denk
In message <[email protected]> you
Quoted 2 lines · wrote:
My question is: can I boot a kernel made with the 2.6.15
tree
Quoted 1 line
with ppcboot instaed of u-boot?
Quoted 8 lines
Yes, if you fix either one or the other.
My recommendation is to fix PPCBoot (by installing U-Boot instead).
Anything else ist just lost effort.Best regards,
I agree, but I don't have the time right now. I just wanted confirmation of what I suspected, the bd_t structures are different for ppcboot and u-boot.
I'll just hack it (bd_t) for now and port u-boot when I get the kernel up and running. This is my first time porting from 2.4.x to 2.6 so my efforts are concentrated on that right now. Thanks for the reply.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Quoted 10 lines · --- Wolfgang Denk
In message <[email protected]> you
Quoted 2 lines · wrote:
My question is: can I boot a kernel made with the 2.6.15
tree
Quoted 1 line
with ppcboot instaed of u-boot?
Yes, if you fix either one or the other.
Quoted 7 lines
My recommendation is to fix PPCBoot (by installing U-Boot instead).
Anything else ist just lost effort.Best regards,
Wolfgang Denk
One more question,
I posted a question on the linux dev mailing list about 2.6 performance and didn't get a reply. The question was about your findings on the difference between 2.4 and 2.6, so I'll ask you directly.:-)
So far your findings about the size is correct. My 2.4 is around 850k and the 2.6 with the same functionality is greater then 1MEG.
Should I expect the performance to be less then 2.4 or has the kernel been improved since then?
BTW, my processor is a 405EP.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Dear Frank,
Quoted 2 lines · in message <[email protected]> you wrote:
I posted a question on the linux dev mailing list about 2.6
Did you? As frannk_m1 ? I don't see any such posting.
Quoted 1 line
performance and didn't get a reply. The question was about your
Maybe because your message didn't make it to the list at all?
Quoted 2 lines
Should I expect the performance to be less then 2.4 or has the kernel been improved since then?
It has been improved, but not much. Changing the clock tick from 1000 to 250 Hz improved the situation a bit, too. But yes, you should be prepared to see lower performance.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de This is now. Later is later.
Quoted 9 lines · --- Wolfgang Denk
Dear Frank,
in message <[email protected]> you
Quoted 2 lines · wrote:
I posted a question on the linux dev mailing list about 2.6
Did you? As
frannk_m1? I don't see any such posting.
I'll ok into why it didn't post.
Quoted 16 lines
Quoted 2 lines
performance and didn't get a reply. The question was about
your
Maybe because your message didn't make it to the list at all?
Quoted 1 line
Should I expect the performance to be less then 2.4 or has
the
Quoted 1 line
kernel been improved since then?
It has been improved, but not much. Changing the clock tick from 1000
to 250 Hz improved the situation a bit, too. But yes, you should be
prepared to see lower performance.
Quoted 3 lines
Best regards,
Wolfgang Denk
Ok, thanks for the information. I'll expect a performance degradation and see what I can do to improve it..
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com