LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error while Linux 3.0.3 for MB (https://www.linuxquestions.org/questions/linux-newbie-8/error-while-linux-3-0-3-for-mb-905193/)

manikumar086 09-27-2011 03:20 AM

Error while Linux 3.0.3 for MB
 
Hi, I am using microblaze_unknown_linux_gnu_gcc compiler of 4.1.2 version and

trying to make the linux 3.0.3 and configured its ARCH to microblaze and

# Definitions for MICROBLAZE0
#
CONFIG_KERNEL_BASE_ADDR=0x50000000
CONFIG_XILINX_MICROBLAZE0_FAMILY="virtex5"
CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
CONFIG_XILINX_MICROBLAZE0_USE_BARREL=0
CONFIG_XILINX_MICROBLAZE0_USE_DIV=0
CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1
CONFIG_XILINX_MICROBLAZE0_USE_FPU=0
CONFIG_XILINX_MICROBLAZE0_HW_VER="7.10.d"

after giving make the following error came:
-------------------------------------------

1) If CONFIG_INITRAMFS_SOURCE="rootfs.cpio" in .config file then Error is:

/opt/extra500GB/mani/linux-3.0.3/scripts/gen_initramfs_list.sh: Cannot open 'rootfs.cpio'
make[1]: *** [usr/initramfs_data.cpio.gz] Error 1
make: *** [usr] Error 2

2) If CONFIG_INITRAMFS_SOURCE="" then Error is:

kernel/built-in.o: In function `sched_clock_cpu':
/opt/extra500GB/mani/linux-3.0.3/kernel/sched_clock.c:334: relocation truncated t section in arch/microblaze/kernel/built-in.o
make: *** [.tmp_vmlinux1] Error 1

Can anyone help...


All times are GMT -5. The time now is 12:08 AM.