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

Re: [microblaze-uclinux] Error Compiling Kernel



Hi Welson,

Welson Sun wrote:

> 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.
>  
[snip]

> 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.

Sorry, I should have looked more closely earlier.  I've fixed this in 
CVS, can you update your local include/asm-microblaze directory and try 
again?

Thanks,

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/