* boot failure help needed
@ 2005-07-15 12:20 Susheel Raj
2005-07-15 16:54 ` Wolfgang Denk
0 siblings, 1 reply; 7+ messages in thread
From: Susheel Raj @ 2005-07-15 12:20 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I am using freescale mpc5200B on the board. I have a
tftp-server on my machine and connect to the board
through this server.
the Kernel and the root file system are ion my
desktop PC in the directory /tftpboot/
kernel ---> /tftpboot/pImage
root fs ---> /tftpboot/rootfs/
We have U_Boot for booting system and it fetches the
kernel from the server (that is my esktop PC) through
the ETHERNET connection. rootfile systems stays here
in the server ,
ls command shows like this in /tftpboot/rootfs/
[root@localhost rootfs]# ls
bin build_dir deep_sleep dev etc lib mnt opt
proc sbin tmp usr var
console interface is console=ttyS0 on to the board
now the problem is that if i use MPC5200 Rev A then
the kernel boots without any problem and gets into the
command
but when i am using MPC5200 Rev B it shows like this
U-Boot 1.1.1 (Jul 8 2005 - 16:18:22)
CPU: MPC5200 (JTAG ID 1001101d) at 396 MHz
Bus 132 MHz, IPB 66 MHz, PCI 33 MHz
Board: Mitron MCT3
DRAM: 64 MB
FLASH: 4 MB
FPGA: OK
SPI: MPC5200_spi,mki_ad initialised
Backlight: (channel 2, dutycycle 50, freq 500)
initialised
Video: SMI720 @ 640x480x8 28kHz 53Hz
In: serial
Out: serial
Err: serial
NAND: Flash chip found:
Manufacturer ID: 0x20, Chip ID: 0x79 (NAND
128MiB 3,3V 8-bit)
1 flash chips found. Total nand_chip size:
128 MB
128 MB at 0x28001000
Net: FEC ETHERNET
IDE: no card
## Booting image at 00800000 ...
Image Name: Linux-2.4.21-rc1
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 1004081 Bytes = 980.5 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Mitron CVS tag: mct3_moto1_update
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.21-rc1 (nuguru@SW-server) (gcc
version 2.95.4 20010319 (prerelease/franzo/20011204))
#67 Fri Jul 15 14:16:36 EEST 2005
Mitron SGVT port (C) 2003 Mitron Oy (mitron@mitron.fi)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs console=ttyS0
nfsroot=192.168.1.61:/tftpboot/rootfs
ip=192.168.30.130:192.168.1.61:192.168.1.1:255.255.0.0:SGVT_180::off
mgt5100_pic.c/mgt5100_init_irq: using configuration
from FPGA binary file
mgt5100_init_irq: external FPGA interrupt controller
(by Mitron Oy) initialized
Calibrating delay loop... 263.78 BogoMIPS
Memory: 61828k available (1768k kernel code, 576k
data, 76k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536
bytes)
Inode cache hash table entries: 4096 (order: 3, 32768
bytes)
Mount cache hash table entries: 512 (order: 0, 4096
bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384
bytes)
Page-cache hash table entries: 16384 (order: 4, 65536
bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Memory resource not set for host bridge 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society
NET3.039
Initializing RT netlink socket
Starting kswapd
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red
H�erial.c->init_chipsels: mfdev->count !=
SGVT_RS_TABLE_SIZE
Serial driver version 5.05c (2001-07-08) with
MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
uart00 at 0xc5078000 (irq = 92) is a TI16750
uart01 at 0xc507a008 (irq = 92) is a TI16750
uart02 at 0xc507c010 (irq = 92) is a TI16750
RAMDISK driver initialized: 16 RAM disks of 4096K size
1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
Uniform Multi-Platform E-IDE driver Revision:
7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
SCSI subsystem driver Revision: 1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci-embedded.c: USB OHCI at membase 0xf0001000,
IRQ 44
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik
<vojtech@suse.cz>
hid-core.c: USB HID support drivers
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
pegasus.c: v0.4.26 (2002/03/21):Pegasus/Pegasus II USB
Ethernet driver
usb.c: registered new driver pegasus
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
eth0: Phy @ 0x0, type LXT971 (0x001378e2)
Mitron multi chip CAN driver 0.4 inited
Mitron SPI core functionality initialized
spi-core.o: adapter SGVT SPI host registered as
adapter 0.
spi_add_driver: driver MKI driver registered.
kb_probe_func: MKI keyboard 0 found. Versions: hw:3.1
sw:2.2
spi_attach_client: client [SGVT SPI keyboard]
registered to adapter [SGVT SPI host](pos. 0).
MKI initialized succesfully
SGVT_WDT: Software Watchdog Timer version 0.1, timeout
60 sec.
SGVT Bank 0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
SGVT Bank 0: Swapping erase regions for broken CFI
table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due
to code brokenness.
Creating 3 MTD partitions on "SGVT Bank 0":
0x00000000-0x00200000 : "kernel"
0x00200000-0x00280000 : "logo1"
0x00280000-0x00300000 : "logo2"
No NAND device found!!!
sgvt_nand_init: unable to find NAND device
Initialised PWM buzzer, v. 0.1
Nov. I/O 0.1 succesfully initialized
spi_add_driver: driver A/D driver registered.
spi_attach_client: client [SGVT SPI A/D converter]
registered to adapter [SGVT SPI host](pos. 5).
SPI A/D initialized succesfully
ppcpmw 0.8 initialized
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind
4096)
eth0: config: auto-negotiation off, 100HDX, 10HDX.
IP-Config: Complete:
device=eth0, addr=192.168.30.130,
mask=255.255.0.0, gw=192.168.1.1,
host=SGVT_180, domain=, nis-domain=(none),
bootserver=192.168.1.61, rootserver=192.168.1.61,
rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.1.61
Looking up port of RPC 100005/1 on 192.168.1.61
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 76k init
U-Boot 1.1.1 (Jul 8 2005 - 16:18:22)
CPU: MPC5200 (JTAG ID 1001101d) at 396 MHz
Bus 132 MHz, IPB 66 MHz, PCI 33 MHz
Board: Mitron MCT3
DRAM: 64 MB
FLASH: 4 MB
FPGA: OK
SPI: MPC5200_spi,mki_ad initialised
Backlight: (channel 2, dutycycle 50, freq 500)
initialised
Video: SMI720 @ 640x480x8 28kHz 53Hz
In: serial
Out: serial
Err: serial
NAND: Flash chip found:
Manufacturer ID: 0x20, Chip ID: 0x79 (NAND
128MiB 3,3V 8-bit)
1 flash chips found. Total nand_chip size:
128 MB
and it gooooooes on ...
i think it is not able to search for the INIT task ..
what could be the problem .. please help
Susheel
More Smiles Per Hour
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: boot failure help needed
2005-07-15 12:20 Susheel Raj
@ 2005-07-15 16:54 ` Wolfgang Denk
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2005-07-15 16:54 UTC (permalink / raw)
To: Susheel Raj; +Cc: linuxppc-embedded
In message <20050715122030.13663.qmail@web8506.mail.in.yahoo.com> you wrote:
>
> now the problem is that if i use MPC5200 Rev A then
> the kernel boots without any problem and gets into the
> command
>
> but when i am using MPC5200 Rev B it shows like this
You need BAPI v2.2 for the Rev. B processors.
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
God runs electromagnetics by wave theory on Monday, Wednesday, and
Friday, and the Devil runs them by quantum theory on Tuesday, Thurs-
day, and Saturday. -- William Bragg
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: boot failure help needed
2005-07-18 11:50 RE:boot failure help needed Nuguru Susheel
@ 2005-07-18 10:53 ` Wolfgang Denk
2005-07-18 14:18 ` Nuguru Susheel
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2005-07-18 10:53 UTC (permalink / raw)
To: Nuguru Susheel; +Cc: linuxppc-embedded
In message <1121687419.3288.27.camel@localhost.localdomain> you wrote:
>
> Sorry to ask but what is BAPI ??? (I hope people wont mind answering
> for newbie questions)
BAPI = BestComm Application Programming Interface, i. e. the code in
arch/ppc/5xxx_io/bestcomm/
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
There are three ways to get something done:
(1) Do it yourself.
(2) Hire someone to do it for you.
(3) Forbid your kids to do it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE:boot failure help needed
@ 2005-07-18 11:50 Nuguru Susheel
2005-07-18 10:53 ` boot " Wolfgang Denk
0 siblings, 1 reply; 7+ messages in thread
From: Nuguru Susheel @ 2005-07-18 11:50 UTC (permalink / raw)
To: linuxppc-embedded
>> now the problem is that if i use MPC5200 Rev A then
>> the kernel boots without any problem and gets into the
>> command=20
>>=20
>> but when i am using MPC5200 Rev B it shows like this
>You need BAPI v2.2 for the Rev. B processors.
Hi Denk,
Sorry to ask but what is BAPI ??? (I hope people wont mind answering
for newbie questions)=20
--=20
/\ =20
=C2=B0 =C2=B0 =C2=B0 //\\
=C2=B0 ' =C2=B0 =C2=B0 //
------Cheers-//-- -- Software Engineering: Embedded and Realtime System=
s, Embedded Linux
\ =C2=B0 =C2=B0 nSr // '/
\---------//--/ .'-----------------------------------------------------=
---------------'.
\ .,=C2=B0.. // / ( Every program has at least one bug and can be sh=
ortened by at least )
\ .=C2=B0, ./ ( one instruction -- from which, by induction=
, one can deduce that )
\ . . / ( every program can be reduced to one instruction which=
doesn't work. )
\ . / '._____________________________________________________=
_______________ .'
\=3D=3D=3D/
| |
| |
| |
| |
| |
=3D=3D=3D=3D=3D=3D=3D
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: boot failure help needed
2005-07-18 10:53 ` boot " Wolfgang Denk
@ 2005-07-18 14:18 ` Nuguru Susheel
0 siblings, 0 replies; 7+ messages in thread
From: Nuguru Susheel @ 2005-07-18 14:18 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
> >
> > Sorry to ask but what is BAPI ??? (I hope people wont mind answering
> > for newbie questions)
>
> BAPI = BestComm Application Programming Interface, i. e. the code in
> arch/ppc/5xxx_io/bestcomm/
Thanks for guiding me Denk, where can i get it from? ... and how is it
effecting here in this situation ?? sorry for too many questions, but it
will help me to learn and solve the problem ..
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: boot failure help needed
@ 2005-07-19 8:48 Susheel Raj
0 siblings, 0 replies; 7+ messages in thread
From: Susheel Raj @ 2005-07-19 8:48 UTC (permalink / raw)
To: david.wolfe; +Cc: linuxppc-embedded
> If you're using rev.B1 silicon (mask M08A), you'll
need
> to set the as of yet undocumented TXW_MASK bit (13
in
> PPC bit ordering) in the Rx FIFO control register
> (MBAR + 0x318c). Thus, set &fec->rfifo_cntrl to
> 0x0f040000 in mpc5xxx_fec_setup().
yes David i am using rev.B1 and I tried setting the
TXW_MASK bit but nothing changed ...
> If you're still having problems with Ethernet, I
would
> suggest debugging it with a root file system on
> something other than NFS.E.g. ramdisk, MTD or ATA.
I tried also ur second suggestion trying to boot
through ramdisk, with rootfilesystem in
ramdisk.image.gz and building kernel in pImage both in
Compact Flash.
It is working fine ( I have no idea of the
configuration and what args are passed by U_BOOt to
kernel) .. does this mean that there is problem with
root filesystem on my remote computer or does this
mean there could be a problem connecting to the remote
computer (Probably problem with BESTCOM as pointed by
Wolfgang Denk) ?????
I want to have the root filesystem on the remote
computer instead on ramdisk because i need to add
applications into the root filesystem in runtime.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: boot failure help needed
[not found] <20050719153508.GB32476@orthanc.am.freescale.net>
@ 2005-07-21 7:18 ` Susheel Raj
0 siblings, 0 replies; 7+ messages in thread
From: Susheel Raj @ 2005-07-21 7:18 UTC (permalink / raw)
To: David Wolfe; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]
Hi David,
I have never done patch (I am a kid, help me grow
:-). the directories look a bit different to me as
compared that in the patch. PWD gives me this
nuguru@SW-server:~/linux_2_4_21_5200/arch/ppc$ pwd
/home/nuguru/linux_2_4_21_5200/arch/ppc
nuguru@SW-server:~/linux_2_4_21_5200/arch/ppc$ ls
4xx_io 8xx_io Makefile boot configs
iSeries lib mgt_io platforms xmon
8260_io CVS amiga config.in defconfig
kernel math-emu mm vmlinux.lds
nuguru@SW-server:~/linux_2_4_21_5200/arch/ppc$
I dont see the 5xxx_io .. but everything in mgt_io has
output files
nuguru@SW-server:~/linux_2_4_21_5200/arch/ppc/mgt_io$
ls
CVS Makefile fec.c fec.o psc.c
sc_task.impl.S sdma.o
Config.in bestcomm fec.h mgt_io.o psc.o sdma.c
sdma_5100.c
the bestcomm directory doesnt have "capi" folder in ..
Attaching the bestcomm folder on my system, and daring
to ask to send me a patch for this one.
If you feel that it will take more of your time can
you please suggest me some other options :-)
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
[-- Attachment #2: 489967008-bestcomm.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 36780 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-07-21 7:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18 11:50 RE:boot failure help needed Nuguru Susheel
2005-07-18 10:53 ` boot " Wolfgang Denk
2005-07-18 14:18 ` Nuguru Susheel
[not found] <20050719153508.GB32476@orthanc.am.freescale.net>
2005-07-21 7:18 ` Susheel Raj
-- strict thread matches above, loose matches on Subject: below --
2005-07-19 8:48 Susheel Raj
2005-07-15 12:20 Susheel Raj
2005-07-15 16:54 ` 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).