[U-Boot-Users] Uboot mpc8xx porting

Wolfgang Denk wd at denx.de
Mon Feb 6 08:06:50 CET 2006


In message <c0dc62120602051956y1cd7611dv184b1ca974e93a54 at mail.gmail.com> you wrote:
> As is understand by seeing the code, there is a bd_info structure that
> the U-boot sends to the kernel through registers. Now one of the main
> information that is passed on is the address of the start of the
> bd_info structure in the memory. At the end of the structure the last

Right.

> member is again a structure pointer that points to monitor routines.

Not really. These pointers have been there historically, but they are
not used normally. They'd be of limited use anyway.

> I have a U-boot working fine, i have tested example applications on
> our target board and found everything is fine. Does this mean that the
> monitor routines are fine. When i try to load kernel, the kernel

Yes.

> executes some code in head_8xx.S and hangs. As told in the Readme file
> i have checked with the IMMR start to be matching with ppcboot.h.

How do you know that the kernel is  hanging  in  head_8xx.S  ?  Don't
modify that file! Don't try adding random code there.

> Why is the Kernel hanging? Will the Kernel use the getc,puts and other
> monitor functions of the U-boot for messages? How do i proceed? I have

No, it will not. To proceed, try o  find  out  where  the  kernel  is
hanging.  Are  there  any messages in the log buffer? [Read the FAQ!]
Then attach your BDI2000 and debug the kernel...


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Compassion -- that's the one things no machine ever had.  Maybe it's
the one thing that keeps men ahead of them.
	-- McCoy, "The Ultimate Computer", stardate 4731.3




More information about the U-Boot mailing list