[U-Boot-Users] RAMDISK image in flash not getting mounted - Memec Powerpc405 board

Wolfgang Denk wd at denx.de
Thu Nov 6 23:20:16 CET 2003


Hello,

in message <20031106213306.15958.qmail at web11609.mail.yahoo.com> you wrote:
> 
> I tried pRamdisk for ppc_4xxFP and ppc_4xx. I am not sure
> of the difference between ppc_4xxFP and ppc_4xx. But just a
> heads up. With ppc_4xxFP, I get the same results as for the

ppc_4xxFP is for PPC 4xx processors with floating  point  unit;  your
processor belongs not to this group.

All this is documented - please see the DULG (to be more precise, see
the table at end of section 3.5 at
http://www.denx.de/twiki/bin/view/DULG/ELDKUsage


> With ppc_4xx, I get these messages
> 
> Freeing unused kernel memory: 52k init
> serial console detected.  Disabling virtual terminals.
> Oops: kernel access of bad area, sig: 11
> NIP: C00112C8 XER: 00000000 LR: C00112AC SP: C19CFF10 REGS:
> c19cfe60 TRAP: 0800    Not tainted
> MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
> DEAR: 39600410, ESR: 00000000
> TASK = c19ce000[12] 'xinetd' Last syscall: 3
> last math 00000000 last altivec 00000000
> GPR00: ED0001FE C19CFF10 C19CE000 00009030 00001030
> C0101AE8 C1E44260 00000000
> GPR08: C0101AE8 09B003ED C00F8030 396003F0 00000001
> 10043878 00000000 00000000
> GPR16: 00000000 00000000 00000000 00000000 00001032
> 019CFF40 00000000 C00049E0
> GPR24: C000608C 10024CB0 30025ACC 10025A48 C1E86000
> C0104C80 00000000 C19CFF10
> Call backtrace:
> 0EC82E3A C0004A04 10007570 10007614 10009714 1000C134
> 0FD74D14
> 00000000

Well,  and  which  results  did  you  get  when  decoding  this  call
backtrace?

> I also have a question concerning Linux debugging with
> abatron. I can set an instruction breakpoint (e.g at
> start_here in the kernel) when I use a zImage.elf image but

zImage.elf is definitely not what you want to use. You  have  to  use
the vmlinux file in the kernel's top level directory.

> the same breakpoint doesnt work when I use u-boot to boot
> vmlinux.PPCBoot image. 

See http://www.denx.de/twiki/bin/view/DULG/DebuggingLinuxKernel

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You speak of courage. Obviously you do not know the  difference  bet-
ween  courage and foolhardiness. Always it is the brave ones who die,
the soldiers.
	-- Kor, the Klingon Commander, "Errand of Mercy",
	   stardate 3201.7




More information about the U-Boot mailing list