Hi John,
Thanks for the further clarification. I've now been able to make more
progress on this issue.
However, I'm now seeing some linker errors which make me question the
configuration of the microblaze core.
The error is as follows:
mb-ld -T linux.ld --defsym _STACK_SIZE=0x00
arch/microblaze/platform/uclinux-auto/head_ram.o init/main.o
init/version.o init/do_mounts.o \
--start-group \
arch/microblaze/kernel/kernel.o arch/microblaze/mm/mm.o
arch/microblaze/xilinx_ocp/xilinx_ocp.o
arch/microblaze/platform/uclinux-auto/platform.o kernel/kernel.o
mmnommu/mmnommu.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/serial/serial.o
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/mtd/mtdlink.o drivers/media/media.o \
net/network.o \
/mnt/casper/vinc/malta/uclinux2/uClinux-2.4.x/lib/lib.a
arch/microblaze/lib/lib.a
/usr/local/microblaze_elf_tools/bin/../lib/gcc-lib/microblaze/2.95.3-4/.
/libgcc.a
/usr/local/microblaze_elf_tools/bin/../lib/gcc-lib/microblaze/2.95.3-4/.
/../../../../microblaze/lib/libc.a \
--end-group \
-o linux
/usr/local/microblaze_elf_tools/bin//mb-ld.real: region ERAM is full
(linux section .text)
/usr/local/microblaze_elf_tools/bin//mb-ld.real: region ERAM is full
(linux section .sdata2)
/usr/local/microblaze_elf_tools/bin//mb-ld.real: address 0x8100a020 of
linux section .data is not within region ERAM
/usr/local/microblaze_elf_tools/bin//mb-ld.real: address 0x8100b000 of
linux section .init is not within region ERAM
/usr/local/microblaze_elf_tools/bin//mb-ld.real: address 0x81029c2c of
linux section .bss is not within region ERAM
/usr/local/microblaze_elf_tools/bin//mb-ld.real: section .intv [81000400
-> 81000437] overlaps section .text [81000400 -> 810b87d7]
/usr/local/microblaze_elf_tools/bin//mb-ld.real: section .sdata2
[81000438 -> 810019e7] overlaps section .text [81000400 -> 810b87d7]
/usr/local/microblaze_elf_tools/bin//mb-ld.real: section .data [810019e8
-> 8100a01f] overlaps section .text [81000400 -> 810b87d7]
/usr/local/microblaze_elf_tools/bin//mb-ld.real: section .init [81001000
-> 8100afff] overlaps section .text [81000400 -> 810b87d7]
make[1]: *** [linux] Error 1
make[1]: Leaving directory
`/mnt/casper/vinc/malta/uclinux2/uClinux-2.4.x'
make: *** [linux] Error 1
Are there some microblaze core configuration parameters in the EDK that
need tweaking to overcome this error? The Linux.ld file is attached.
Thanks again,
Vincent
-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of John
Williams
Sent: 16 June 2005 00:26
To: microblaze-uclinux@itee.uq.edu.au
Subject: Re: [microblaze-uclinux] auto-config, Spartan 3 (xc3s400)
Hi Vincent,
Carr, Vincent wrote:
> The readme says to "Simply enter the kernel configuration menu
> (Customize Kernel Settings), then save and exit. It is not necessary
> to make any changes, simply entering the menu causes the new
> auto-settings to be detected. Finally, build the kernel as per
> normal."
>
> When I run "make menuconfig" I have two menu options available
> Vendor/Product Selection
> Kernel/Library/Defaults Section
>
> I've tried various different combinations of menus but I do not appear
> to be able to proceed to building the kernel.
I was being a bit brief when I wrote that README. From this top menu,
choose the "Vendor/Product" submenu, and select "Xilinx" as the vendor,
and "uclinux-auto" as the product/board.
Then, return to the top menu, and go into the "Kernel/Library/Defaults"
submenu. There, select the box that says "Customise Kernel Settings".
Then, exit the menu sytem, and say "yes" when it asks to save your
changes.
The kernel config menu will then launch. Here, just choose exit, and
say "yes" to save changes, and you will return to the command line. Do
"make dep all" and you will be on your way.
The uClinux-dist menu mechanism and structure can be a little confusing
the first few times you use it, but soon it will become almost automatic
for you.
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/
Attachment:
linux.ld
Description: linux.ld