Skip to contentSkip to conversation

bd_t definition changes

DISCUSSION Richard Danter 2 participants 2 messages Apr 30, 2004

lore
Share & tools
lore
#0 lore raw

Hi All,

I am trying to boot linux 2.4.24 (from ELDK 3.0) on an EST SBC8260 using U-Boot 1.1.1 which I downloaded from the Denx ftp site.

U-Boot seems to be working just fine. I can tftpboot the uImage and start executing the kernel using bootm. But...

I have discovered that the bd_t (board info) being seen by the kernel does not match what it expects. Looking closer at the source, I can see that the definition of this structure differs between that in the kernel (arch/ppc/platforms/est8260.h) and U-Boot (include/asm-ppc/u-boot.h).

Should I fix the kernel version and submit it as a patch, or will that break other things?? Recommendations welcome!

Thanks
Rich

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

I am trying to boot linux 2.4.24 (from ELDK 3.0) on an EST SBC8260 using U-Boot 1.1.1 which I downloaded from the Denx ftp site.

...

Quoted 4 lines

I have discovered that the bd_t (board info) being seen by the kernel does not match what it expects. Looking closer at the source, I can see that the definition of this structure differs between that in the kernel (arch/ppc/platforms/est8260.h) and U-Boot (include/asm-ppc/u-boot.h).

Delete the definition in arch/ppc/platforms/est8260.h and replace it by a simple "#include <asm/ppcboot.h>" -- see any other board with U-Boot support for reference, for example "arch/ppc/platforms/tqm8260.h"

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] If God wanted me to touch my toes, he'd have put them on my knees.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/