From: Frank Young Date: Fri, 09 Jul 2004 14:00:49 -0700 Subject: [U-Boot-Users] C function call in Linux kernel Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >From: Wolfgang Denk >To: "Laurent Mohin" >CC: "Frank Young" ,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 +0200 > >In message > >you wrote: > > > > Try to check that the board info structure exchanged by u-boot and the > > kernel use the same bd_t definition. > > 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 the bd_t structure defined in > > arch/ppc/platforms/walnut.h by the one found in >include/asm-ppc/ppcboot.h > >Don't replace it - just remove it / comment it out and include > > >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 > > >------------------------------------------------------- >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/