FPGARelated.com
Forums

linux on virtex 2 pro board

Started by rajendra k singh August 17, 2004
Hi All,
    I am trying to boot linux on virtex 2 pro P7-ff672 board. My problem is
that I am able to boot the linux image(ppc) on bitstream generated by EDK
6.1 but not with bitstream generated by EDK 6.2 (SP2). Does anyone had
similar experience ? I wonder if the problem is EDK 6.2 or I need to change
my  liuux image which should not be the case as I am using the same version
of cores. Following is the only message I get on bitstream generated by 6.2
EDK.

loaded at:     00400000 0045D1E4
board data at: 0045A13C 0045A154
relocated to:  00405600 00405618
zimage at:     00405AFB 00459C4F
avail ram:     0045E000 02000000

Linux/PPC load: root=/dev/nfs rw ip=on
Uncompressing Linux...done.
Now booting the kernel


While the same Image produce following message on 6.1 bitstream

loaded at:     00400000 005C71D0
board data at: 005C4128 005C4140
relocated to:  00405608 00405620
zimage at:     00405B24 0045A2AA
initrd at:     0045B000 005C3E44
avail ram:     005C8000 02000000

Linux/PPC load: root=/dev/ram
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.18_mvl30-ml300 () (gcc version 3.2.1 20020930 (Mo
ntaVista)) #7 Mon Mar 1 19:31:21 MST 2004
Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc.
(source@mvista.com)

On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram
Xilinx INTC #0 at 0xD0000FC0 mapped to 0xFDFFEFC0
Calibrating delay loop... 299.82 BogoMIPS
........

Any pointers or suggesitions are appreciated.

Thanks
raj


Raj,

just looking at the kernel command line I would say that these are two 
different Linux kernels. In one case you try to boot from NFS in the 
other from a RAM disk.

- Peter


rajendra k singh wrote:
> Hi All, > I am trying to boot linux on virtex 2 pro P7-ff672 board. My problem is > that I am able to boot the linux image(ppc) on bitstream generated by EDK > 6.1 but not with bitstream generated by EDK 6.2 (SP2). Does anyone had > similar experience ? I wonder if the problem is EDK 6.2 or I need to change > my liuux image which should not be the case as I am using the same version > of cores. Following is the only message I get on bitstream generated by 6.2 > EDK. > > loaded at: 00400000 0045D1E4 > board data at: 0045A13C 0045A154 > relocated to: 00405600 00405618 > zimage at: 00405AFB 00459C4F > avail ram: 0045E000 02000000 > > Linux/PPC load: root=/dev/nfs rw ip=on > Uncompressing Linux...done. > Now booting the kernel > > > While the same Image produce following message on 6.1 bitstream > > loaded at: 00400000 005C71D0 > board data at: 005C4128 005C4140 > relocated to: 00405608 00405620 > zimage at: 00405B24 0045A2AA > initrd at: 0045B000 005C3E44 > avail ram: 005C8000 02000000 > > Linux/PPC load: root=/dev/ram > Uncompressing Linux...done. > Now booting the kernel > Linux version 2.4.18_mvl30-ml300 () (gcc version 3.2.1 20020930 (Mo > ntaVista)) #7 Mon Mar 1 19:31:21 MST 2004 > Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc. > (source@mvista.com) > > On node 0 totalpages: 8192 > zone(0): 8192 pages. > zone(1): 0 pages. > zone(2): 0 pages. > Kernel command line: root=/dev/ram > Xilinx INTC #0 at 0xD0000FC0 mapped to 0xFDFFEFC0 > Calibrating delay loop... 299.82 BogoMIPS > ........ > > Any pointers or suggesitions are appreciated. > > Thanks > raj > >
ok, my mistake. I didnt tell that I had two linux image just to avoid any
confusion. But I tried both the images (one with root=/dev/nfs and other
with root=/dev/ram) and both hangs after "Now booting the kernel message".

-raj

"Peter Ryser" <peter.ryser@xilinx.com> wrote in message
news:4122EBF2.4030304@xilinx.com...
> Raj, > > just looking at the kernel command line I would say that these are two > different Linux kernels. In one case you try to boot from NFS in the > other from a RAM disk. > > - Peter > > > rajendra k singh wrote: > > Hi All, > > I am trying to boot linux on virtex 2 pro P7-ff672 board. My problem
is
> > that I am able to boot the linux image(ppc) on bitstream generated by
EDK
> > 6.1 but not with bitstream generated by EDK 6.2 (SP2). Does anyone had > > similar experience ? I wonder if the problem is EDK 6.2 or I need to
change
> > my liuux image which should not be the case as I am using the same
version
> > of cores. Following is the only message I get on bitstream generated by
6.2
> > EDK. > > > > loaded at: 00400000 0045D1E4 > > board data at: 0045A13C 0045A154 > > relocated to: 00405600 00405618 > > zimage at: 00405AFB 00459C4F > > avail ram: 0045E000 02000000 > > > > Linux/PPC load: root=/dev/nfs rw ip=on > > Uncompressing Linux...done. > > Now booting the kernel > > > > > > While the same Image produce following message on 6.1 bitstream > > > > loaded at: 00400000 005C71D0 > > board data at: 005C4128 005C4140 > > relocated to: 00405608 00405620 > > zimage at: 00405B24 0045A2AA > > initrd at: 0045B000 005C3E44 > > avail ram: 005C8000 02000000 > > > > Linux/PPC load: root=/dev/ram > > Uncompressing Linux...done. > > Now booting the kernel > > Linux version 2.4.18_mvl30-ml300 () (gcc version 3.2.1 20020930 (Mo > > ntaVista)) #7 Mon Mar 1 19:31:21 MST 2004 > > Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc. > > (source@mvista.com) > > > > On node 0 totalpages: 8192 > > zone(0): 8192 pages. > > zone(1): 0 pages. > > zone(2): 0 pages. > > Kernel command line: root=/dev/ram > > Xilinx INTC #0 at 0xD0000FC0 mapped to 0xFDFFEFC0 > > Calibrating delay loop... 299.82 BogoMIPS > > ........ > > > > Any pointers or suggesitions are appreciated. > > > > Thanks > > raj > > > > >