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

Re: [microblaze-uclinux] uclinux port to Multimedia board



Hi Christopher,

Christopher John Comis wrote:

> I am wondering if any of you could please help me out.  I am trying to port
> to the Xilinx Multimedia board.  I made several modifications to accommodate
> the mbvanilla platform to my board:

> - I set 1MB of my ZBT RAM to base address 0xFE000000-0xFEFFFFFF
> - I set 8MB of my ZBT RAM to base address 0xFF000000-0xFF7FFFFF (note that
> this memory is actually divided across 4x2MB banks)

I see you posted a correction to this address map.  So, the physical 
address map is

1MB at 0xffe00000 - 0xffefffff
8MB at 0xff000000 - 0xff7fffff

Is this correct?

[snip]

> I made the following modifications to the uclinux platform:
> - I adjusted mbvanilla.h as follows:
> #define ERAM_ADDR 0xFFE00000
> #define ERAM_SIZE 0x00100000 
> - I adjusted the address space of mbvanilla.ld as follows:
> OPB  : ORIGIN = 0xFFE00000, LENGTH = 0x00100000

This will squish the entire Linux system (kernel + user space memory + 
file system) into a 1MB block based at 0xffe00000.   The 8MB block from 
0xff000000 will be completely invisible to the kernel.

Is that your intention?

Putting the entire kernel + filesystem + user space into 1MB when you 
have 8MB available doesn't make a lot of sense to me, but perhaps you 
have something else in mind for the 8MB block at 0xff000000?

This may or may not be causing the errors you are seeing, but you should 
confirm what you are trying to do.

To simplify things at first, I recommend you change ERAM_START and 
ERAM_SIZE to 0xff000000 and 0x00800000 respectively, and similarly in 
the link script.

One other thing, after you make changes in the link script, you should 
manually delete the file linux-2.4.x/linux.ld - I'm not certain that the 
auto-dependencies are correct, so you might end up linking with an old 
version.

Cheers,

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/