Walnut boot problem solved
Dear all,
I have figured out why my kernel hanged while booting on Walnut
platform. It is because the structure of board_info is different between u-boot-0.4.8 and linuxppc-2.4-devel. After syncing the structure, I can boot up to where the kernel tries to mount the filesystem. Attached is a patch for the fix.
Thanks for all help and suggestions.
Best regards,
Jacky Lam
Hi Jacky,
Quoted 4 lines · in message <009a01c38bb6$ceb84f40$2803050a@JackyLam> you wrote:
I have figured out why my kernel hanged while booting on Walnut
platform. It is because the structure ofboard_infois different between u-boot-0.4.8 and linuxppc-2.4-devel. After syncing the structure, I can boot
Does the fact that this is a FAQ tell you something?
Quoted 2 lines
up to where the kernel tries to mount the filesystem. Attached is a patch for the fix.
This patch is not really useful. Instead of redefining the structure yourself you should simply #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: [email protected] By the way, ALL software projects are done by iterative prototyping. Some companies call their prototypes "releases", that's all.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "Jacky Lam" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, October 07, 2003 6:40 AM
Subject: Re: Walnut boot problem solved
Quoted 7 lines
Hi Jacky,
Quoted 4 lines · in message <009a01c38bb6$ceb84f40$2803050a@JackyLam> you wrote:
I have figured out why my kernel hanged while booting on Walnut
platform. It is because the structure ofboard_infois different between u-boot-0.4.8 and linuxppc-2.4-devel. After syncing the structure, I can
boot
Quoted 2 lines
Does the fact that this is a FAQ tell you something?
No...just my blind guess while tracing the code.
Quoted 2 lines
Quoted 2 lines
up to where the kernel tries to mount the filesystem. Attached is a
patch
Quoted 4 lines
Quoted 1 line
for the fix.
This patch is not really useful. Instead of redefining the structure yourself you should simply #include <
asm/ppcboot.h>.
Thanks. (Will you change it in next release?)
Regards,
Jacky
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · In message <000d01c38c5b$99ebdcf0$0202a8c0@homevl9biy3v7e> you wrote:
Quoted 3 lines
This patch is not really useful. Instead of redefining the structure yourself you should simply #include <
asm/ppcboot.h>.Thanks. (Will you change it in next release?)
I am not in the position to make such a change.
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] Lots of people drink from the wrong bottle sometimes.
-- Edith Keeler, "The City on the Edge of Forever",
stardate unknown
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/