MPC8560 Linux...

Hello All,

I am trying to port Linux 2.4.20 on my MPC8560 based custom board, i have my u-boot-1.1.2 up and running without any problem in the board, But when i tried to boot the kernel , i am not getting any debug messages on the serial port and i have also checked the serial port parameters and it's seems to be correct. Can anyone shed somelight what could be the problem.

Regards sivam

Reply to
sivam
Loading thread data ...

Check the serial driver in the kernel..mainly the UART clock, is it using the processor clock or some diff clock? Check if the debug option enabled inside the kernel.

chill, sudip

Reply to
sudip05

Some things to use during board bringups on a limited test equipment environment...(assuming that initd is not getting started or video driver is shot).

  1. Identify a test point or LED on your board and write a function to activate these indicator. The more indicators, the quicker you can narrow down to identifying your failure points. Use oscilliscope trigger for HW test points. Use your eye ball(s) for LED ON/OFF.

  1. Insert indicator function in various stages of your boot up codes. Recompile, relink, rebuild ramdisk, load it up the kernel into flash (or TFTP or NFS)

  2. Make a note of whether the indicator was triggered or not.

  1. Repeat step 1, until you get closer to the failure portion of your kernel init routines.

Time-consuming, yes... But great way to identify the hangups (before getting your video driver).

sivam wrote:

Reply to
Capt. James. T. Kirk

Arghh.. Why are you using such an ancient kernel version for current hardware? Use up-to-date sources!

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"I didn't know it was impossible when I did it."
Reply to
Wolfgang Denk

Hello Guys,

Thanks alot for the advice. It really helped me. I have identified the problem to be relocation address of CCSRBAR. I am still wondering why the kernel didn't take this value from u-boot ?. I have seen the value been hardcoded in the kernel, but the kernel suppose to take this value from u-boot rite ?

Rgds sivam

Reply to
sivam

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.