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

[microblaze-uclinux] Error Compiling Kernel



This is what I did:
 
1. Modified the mbvanilla_net, the only big change that affects the kernel
is the memory size from 32M to 8M and uses ZBT SRAM instead of DDR.
 
2. Build the new hardware platform and download it to the board and write a
UART test program to run out of ZBT RAM.
 
3. Modified uClinux-dist/linux-2.4.x/include/asm-microblaze/mbvanilla.h for
ERAM_SIZE
 
4. make menuconfig, select the Insight->XC2V1K_Microblaze and uClibc and
default all settings, press ENTER for all following questions.

5. make dep

6. make
/net/fpga1/users/welson/uclinux/uClinux-2.4.x/include/asm/pgalloc.h: In
function `__flush_icache_all':
/net/fpga1/users/welson/uclinux/uClinux-2.4.x/include/asm/pgalloc.h:31:
`CONFIG_XILINX_MICROBLAZE0_CACHE_BYTE_SIZE' undeclared (first use in this
function)
/net/fpga1/users/welson/uclinux/uClinux-2.4.x/include/asm/pgalloc.h:31:
(Each undeclared identifier is reported only once
/net/fpga1/users/welson/uclinux/uClinux-2.4.x/include/asm/pgalloc.h:31: for
each function it appears in.)
/net/fpga1/users/welson/uclinux/uClinux-2.4.x/include/asm/pgalloc.h:32:
`CONFIG_XILINX_MICROBLAZE0ICACHE_BASEADDR' undeclared (first use in this
function)
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/net/fpga1/users/welson/uclinux/uClinux-2.4.x'
make: *** [linux] Error 1

Looks like there are more files to modify before compiling the kernel.

Welson


___________________________
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/