Skip to contentSkip to conversation

ADS8260 Hang

DISCUSSION challaharikumar 3 participants 3 messages Apr 22, 2004

lore
Share & tools
lore
#0 lore raw

Hi All,

I having been trying to bring up the ADS8260 board and incidentally ran into some problems.

I initially tried using Linux 2.4.1 kernel and it worked fine and the board was up.
I upgraded to 2.4.17 and I found out that the system started hanging during boot up.

I compiled 2.4.17 for ppc boot. (I already have ppc boot on my ADS board and I test my development by tftp boot'ing the kernel image.

I tried tracking down where the hang could be and ended up at the RFI instruction where its waiting to complete the MMU initialization. The system executes SYNC instruction and then hangs. (arch/ppc/kernel/head.S)

I tried comparing the file head.S between 2.4.1 and 2.4.17. I found out some patches done inside the 2.4.1 had been made generic. There were patches for the BAT initialization and RAM mapping on the MPC8260.

Is there an update on the files?
Should the patches be done for 2.4.17 as well ?

Any suggestions or pointers could be very helpful.

[Running on x86 with Red Hat 8.0 and cross compiling for PPC.]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 4 lines · challaharikumar

I tried tracking down where the hang could be and ended up at the RFI instruction where its waiting to complete the MMU initialization. The system executes SYNC instruction and then hangs. (arch/ppc/kernel/head.S)

Your tools are fooling you, this isn't the problem. The mapping of memory for 82xx works just fine. There may be something specific to your board that is incorrect, but this mmu initialization at this point is not the problem.

Why are you using such an old kernel? Please update to something more recent.

	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to challaharikumar
Quoted 5 lines · In message <[email protected]> you wrote:

I initially tried using Linux 2.4.1 kernel and it worked fine and the board was up.
I upgraded to 2.4.17 and I found out that the system started hanging during boot up.

I guess you didn't read the FAQ; see
http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel

I think you must unset the "clocks_in_mhz" environment variable.

Quoted 3 lines

I tried tracking down where the hang could be and ended up at the RFI instruction where its waiting to complete the MMU initialization. The system executes SYNC instruction and then hangs. (arch/ppc/kernel/head.S)

I think you are hunting a ghost; and again you didn't read the FAQ; see
http://www.denx.de/twiki/bin/view/DULG/HowToSingleStepThroughRFIInstruction

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] "When the only tool you have is a hammer, you tend to treat
everything as if it were a nail." - Abraham Maslow

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/