From: Debbie Xu <DX...@in...> - 2003-01-15 02:29:45
|
Hi Prakash and Wolfgang, I had exactly the same problem as Prakash. And now I hit the same wall as Prakash. The kernel took over the control from ppcboot, but it never printed out anything and went on forever. I found the kernel started at _start, then broke when doing memset() in the early_init() function in arch/ppc/kernel/setup.c. However, the range to be initialized at memset() is from __bss_start to _end, and these two values are set automatically in the arch/ppc/Makefile. I have no way to modify the values at all. Is Prakash having the same problem? Anybody have an idea how this memset(__bss_start, 0, _end-__bss_start) could go wrong? Thanks, Debbie -----Original Message----- From: Wolfgang Denk [mailto:wd...@de...] Sent: Thursday, December 26, 2002 4:18 PM To: Prakash kanthi Cc: ppc...@li... Subject: Re: [PPCBoot-users] loads usage on a windows platform In message <200...@we...> you wrote: > Great! I used kermit itself to download the image and > it worked. Now i can do imi and get valid information. Fine. It's always best to use real tools instead of M$ crippleware. > But when i try to do 'bootm 0x00400000', it verifies > the checksum successfully, prints board info structs, > prints that there is no Initrd and finally a message > saying that control is transferred to 0x0. After that > it just stops there forever. Well, you now enter the next stage of debuffing - that of the Linux kernel (which is more or less off topic here). > I went thru cmd_bootm.c and saw that, the control is > shipped to 0x0 with four params (bd info, > initrd_start, initrd_end, cmd_start and cmd_end). > Which function is it calling in linux code? It enters the Linux kernel at the entry point, _start > start_kernel in linux code does not take four params. start_kernel is much, much later. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd...@de... For those who like this sort of thing, this is the sort of thing they like. - Abraham Lincoln ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ PPCBoot-users mailing list PPC...@li... https://lists.sourceforge.net/lists/listinfo/ppcboot-users |