Subject: RE: IBM750Cxe+marvell GT64260-taming the beast
To: 'Matt Thomas' <matt@3am-software.com>
From: Karoliya, Abhishek <Abhishek.Karoliya@fci.com>
List: port-powerpc
Date: 04/02/2003 00:07:53
Hi Matt,

   i checked out the latest sources {as on 1 April } and try to build up
NetBsd for EV64260
but during compilation  it gives me the following error...


 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c ../../../../dev/ata/ata.c
/usr/curr/tools/obj/tools.NetBSD-1.6-i386/bin/powerpc--netbsd-gcc
-msoft-float  -ffreestanding -g -O2 -Wreturn-type -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Dev64260 -Devbppc
-I.  -I../../../../arch -I../../../.. -nostdinc
-DPPC_INTR_IMPL="<arch/powerpc/marvell/marvell_intr.h>"
-DPPC_PCI_MACHDEP_IMPL="<arch/powerpc/marvell/pci_machdep.h>" -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT   -c ../../../../arch/evbppc/ev64260/mainbus.c
/usr/curr/tools/obj/tools.NetBSD-1.6-i386/bin/powerpc--netbsd-gcc
-msoft-float  -ffreestanding -g -O2 -Wreturn-type -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Dev64260 -Devbppc
-I.  -I../../../../arch -I../../../.. -nostdinc
-DPPC_INTR_IMPL="<arch/powerpc/marvell/marvell_intr.h>"
-DPPC_PCI_MACHDEP_IMPL="<arch/powerpc/marvell/pci_machdep.h>" -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT   -c ../../../../arch/evbppc/ev64260/gt_mainbus.c
../../../../arch/evbppc/ev64260/gt_mainbus.c: In function
`gtpci_md_bus_devorder':
../../../../arch/evbppc/ev64260/gt_mainbus.c:216: structure has no member
named `gtpc_self'
../../../../arch/evbppc/ev64260/gt_mainbus.c:217: structure has no member
named `gtpc_self'
*** Error code 1

Stop.
nbmake: stopped in /usr/curr/sys/arch/evbppc/compile/EV64260

Please advice on this issue....

Thanks a lot
Abhishek


-----Original Message-----
From: Matt Thomas [mailto:matt@3am-software.com]
Sent: Sunday, 23 March 2003 1:51 AM
To: Karoliya, Abhishek
Subject: RE: IBM750Cxe+marvell GT64260-taming the beast


At 11:32 AM 3/22/2003, you wrote:
>Hi Matt,
>
>    I checked out the sources from the cvs and build the image got EV64260
to
>try on my board{without making any changes ..} I have a few doubts
>
>1. Will the evbppc toolchain suffice to build the image...

YES

>2. I have a bootloader which can boot linux image in binary format ,  will
>this bootloader be able to boot Netbsd also or some changes are required.

Binary.  As in ELF?  or a 'objcopy -O binary netbsd netbsd.bin'?

>3. If i run the binary image of netbsd{after building it from the
>compile/EV64260 dir by just typing nbmake-evbppc}, the bootloader reports
>PROGRAM EXCEPTIONS.

Is it loading at 0x3000?  Or someplace else?  Where are the exceptions
address?

>It will be really great if you can give some pointers in this regard  ...
>Thanks a lot...

What gpp pins are used for the watchdog?  What's the TCLK (bus frequency)
used?  Does your board supply a baudrate frequency for MPSC (if so, at what
rate) or does it derive it from TCLK?

Since you will using MPSC, these need to be answered before you get console
output.


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message