* linux hangs after MMU:mapin
@ 2004-01-01 6:35 nagraj c
2004-01-01 17:27 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: nagraj c @ 2004-01-01 6:35 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
"Wish You A Happy New Year".
I am trying to port Linux on PPC405GP. I have downloaded
linuxppc_2_4_devel using BitKeeper and compiled using powerpc-linux- tools.
And I followed the following steps to compile kernel.
make walnut_config
make mrproper
make menuconfig
make dep
make uImage
After exucuting final step, vmlinux.UBoot has been created in
/linuxppc_2_4_devel/arch/ppc/boot/images.
Boot Loader: I am using U-BOOT-0.4.0 as a boot loader.
Board: Custom Board with IBM walnut405 features.
U-BOOT is working fine. I have downloaded vmlinux.UBoot into 0x400000
memory location using tftp command. After I boot linux using command bootm
400000, it hangs after
PPC:> bootm 400000
## Booting image at 00400000 ...
Image Name: Linux-2.4.23
Created: 2003-12-23 10:11:20 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 258050 Bytes = 252 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
What could be the problem? Any suggestions are apreciated.
My board info is as follows:
PPC:> bd_info
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFFF80000
flashsize = 0x00480000
flashoffset = 0x0002D000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x0000A000
procfreq = 266.660 MHz
plb_busfreq = 133.330 MHz
pci_busfreq = 33.332 MHz
ethaddr = 00:01:01:01:01:01
IP addr = 192.168.0.204
baudrate = 9600 bps
And environment variables are set as follows:
PPC:> printenv
bootcmd=bootm F0400000
loads_echo=1
ethaddr=00:01:01:01:01:01
bootdelay=50
filesize=80000
ipaddr=192.168.0.204
serverip=192.168.0.65
baudrate=115200
bootflags=0x00000001
bootargs=root=/dev/ram0 rw
stdin=serial
stdout=serial
stderr=serial
Environment size: 238/65532 bytes
With Best Regards,
Nag
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: linux hangs after MMU:mapin
2004-01-01 6:35 linux hangs after MMU:mapin nagraj c
@ 2004-01-01 17:27 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-01-01 17:27 UTC (permalink / raw)
To: nagraj c; +Cc: linuxppc-embedded
Dear Nag,
in message <Law15-F93QzWsfdg29l00008f3e@hotmail.com> you wrote:
>
> I am trying to port Linux on PPC405GP. I have downloaded
> linuxppc_2_4_devel using BitKeeper and compiled using powerpc-linux-
> tools. And I followed the following steps to compile kernel.
> make walnut_config
> make mrproper
> make menuconfig
> make dep
> make uImage
>
> After exucuting final step, vmlinux.UBoot has been created in
> /linuxppc_2_4_devel/arch/ppc/boot/images.
> Boot Loader: I am using U-BOOT-0.4.0 as a boot loader.
> Board: Custom Board with IBM walnut405 features.
Did you adapt the kernel sources (1) for use with U-Boot? [The struct
board_info as defined in "arch/ppc/platforms/walnut.h" is not
compatible to U-Boot] and (2) for use with your hardware [Your custom
board is probably not exactly identical to the Walnut.]
> What could be the problem? Any suggestions are apreciated.
See http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel
Best regards, and a Happy New Year!
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
We have found all life forms in the galaxy are capable of superior
development.
-- Kirk, "The Gamesters of Triskelion", stardate 3211.7
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-01 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-01 6:35 linux hangs after MMU:mapin nagraj c
2004-01-01 17:27 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).