[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Spartan3E 1600E u-boot problem



Hi Giulio,

I have had similar problems with the Spartan 500 starter kit, which I
have managed to solve in the following manner:

1. Do you actually have the buttons enabled in your hardware design?
If not, you have to turn it off manually in your uClinux
configuration. In 'make menuconfig', go to 'Device Drivers ->
Character devices' and turn of 'Xilinx OPB GPIO Support' This will
disable GPIO support in uClinux for all GPIO devices in your design.
If you do have them enabled, it is caused by a #define mismatch in the
driver. Read section 3.1 from this document
(http://www.google.nl/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fwww.tramhungchau.com%2FELS%2FPetaLinux_v4.pdf&ei=s83gR_7LHov2wwG_7-nJCA&usg=AFQjCNHTrHfjR3O2Owe1nePnRKFMAvMArg&sig2=DE8PBJ3OLovS2fWQ8uzwXg)
for a solution.

2. For this problem, I will probably need some more information, but I
am not sure that the way you try to load the kernel is correct. I
recommend starting by loading the kernel through the XMD debugger.
Start XMD and connect to the microblaze. Then download the image.bin
to the start address of the DDR_SDRAM memory. (dow -data image.bin
$SDRAM_BASEADDR). When this is done, tell XMD to continue from that
address (con #SDRAM_BASEADDR).
If you want to boot your kernel from flash, I think you will have to
follow the steps described in the tutorial, rather than just sending
the srec image to the terminal.

Regards,

Tommy Kamps


On Tue, Mar 18, 2008 at 4:44 PM, Giulio Mazzoleni
<giulio.mazzoleni@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello everybody.
>
>  I need some help on getting started with the Xilinx Spartan3 XC3S1600E
>  evaluation board.
>
>  I'm using GNU/Linux and have no previous experience on the Xilinx
>  development environment, so please excuse my ignorance.
>
>  I tried following the guide posted to
>  http://developer.petalogix.com/wiki/BoardGuides/Xilinx/S3E1600/Tutorial
>  to no avail.
>
>  I'm using the petalinux-v0.30-rc1 distribution, EDK 9.2i updated to
>  latest service pack and configuration Xilinx-Spartan3E1600-RevA-edk92
>
>  During the process I encounter two different kind of problems:
>
>  1. I can succesfully complete steps:
>   - make menuconfig
>   - make
>
>   - petalinux-prepare-hardware
>   - make -f system.make bits
>   - make -f system.make libs
>   - make -f system.make program
>   - make -f system.make init_bram
>
>  But after issuing petalinux-copy-autoconfig, compiling the
>  petalinux-dist with make complains about not being able to find the
>  definition of CONFIG_XILINX_BTN_DECODER_0_BASEADDR (and others like
>  this)
>
>  2. After issuing make -f system.make download and sending the file
>  u-boot.srec with kermit nothing happens, but the console screen remains
>  locked showing
>
>  FS-BOOT: Waiting for SREC image....
>  FS-BOOT: Image download successful.
>  FS-BOOT: Warning image location differ from default boot location. Image will not boot automatically after POR.
>  FS-BOOT: Press 'n' to boot old image.
>  FS-BOOT: Use new image.
>  FS-BOOT: Booting image...
>
>  I get the same behaviour by using the prebuilt hardware/reference-designs/pre-built/Xilinx-Spartan3E1600-RevA/images/u-boot-2.6.srec
>
>  I tried with different jumper settings for J30 to no avail.
>
>  Sorry for having given so few infos.
>
>  I would be very grateful if anybody could address me in the right direction.
>  Maybe by telling me how to run some test programs to see if everything is working correctly.
>
>  Many thanks.
>
>  Giulio Mazzoleni
>
>  ___________________________
>  microblaze-uclinux mailing list
>  microblaze-uclinux@xxxxxxxxxxxxxx
>  Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>  Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/