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

Re: [microblaze-uclinux] Problems when porting uClinux to Spartan-3starter board



Hi Lin,

Lin Jyi-Tsuen wrote:
>  
> I am porting uClinux to Spartan-3 Starter Board.
> After I download the image.bin to SRAM via a bootloader.
> But it doesn't work..
> Here is the  MSH and config file, Any one can help me ?
>  
> PS: the base address is 0x80300000.

A couple of comments/observations, in no particular order:

1. You need to connect the uartlite interrupt signal to the interrupt
controller if you want to use the uClinux UARTlite driver for your console.

2. The .config contains entries for a xilinx ethernet controller, yet
there is no ethernet instance in your MHS file.  This suggests an
inconsistency between your EDK project (MHS/MSS) and the auto-config.in.
  Make sure the TARGET_DIR parameter in your system.mss points to the
correct place in your kernel directory structure, and make sure you do
"make oldconfig" in your uClinux-dist after updating the auto-config.in
(ie running libgen).

3. Again, there is inconsistency between MHS file and .config (thus
auto-config.in) on the microblaze processor instance.  hw_ver is
different, for starters.

4. The icache and dcache ranges on your microblaze don't overlap with
your memory range.  In fact, it appears that some of your peripheral IO
ranges are inside the cacheable memory region for microblaze.  This is
guaranteed to cause problems!

5. To be useful, we need a better problem description than "it doesn't
work".

Hope this helps

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/