C function call in Linux kernel
I check the structure before I posted this question. I also tried to include u-boot.h. But still no luck. The kernel is always stuck at the first C function call.
Actually before the early_init in head_4xx.S is called, the board_info structure is not used, so changing the stucture doesn't seem to be able to solve the problem. Did I miss anything?
Frank
Quoted 32 lines
From: Wolfgang Denk <[email protected]>
To: "Laurent Mohin" <[email protected]>
CC: "Frank Young" <[email protected]>,u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] C function call in Linux kernel Date: Fri, 09 Jul 2004 09:43:57 +0200In message <OFF5B5543E.E759971F-ONC1256ECC.0022C03D-C1256ECC.00258D93@se.wavetek.com>
Quoted 7 lines · you
Try to check that the board info structure exchanged by u-boot and the kernel use the same
bd_tdefinition.
Kernel from Montavista for the Walnut board generally use a board info structure definition relative to the IBM bootloader.
If it's the case, you need to replace thebd_tstructure defined inarch/ppc/platforms/walnut.hby the one found in
include/asm-ppc/ppcboot.hDon't replace it - just remove it / comment it out and include <
asm/ppcboot.h>Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Uncertain fortune is thoroughly mastered by the equity of the calcu-
lation. - Blaise Pascal
Quoted 9 lines
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/
Quoted 3 lines · In message <[email protected]> you wrote:
I check the structure before I posted this question. I also tried to include
u-boot.h. But still no luck. The kernel is always stuck at the first C function call.
Let's go back a few steps.
How do you know that? And what exactly means "stuck" in this context?
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de You Earth people glorified organized violence for forty centuries. But you imprison those who employ it privately. -- Spock, "Dagger of the Mind", stardate 2715.1