[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] petalinux-v0.40-rc3 and linux image compilation - flatfs error
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: [microblaze-uclinux] petalinux-v0.40-rc3 and linux image compilation - flatfs error
- From: Aleksandar Sutic <asutic@xxxxxxxxx>
- Date: Thu, 4 Jun 2009 09:50:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=PnseqVOI4IylCMRHCEAv9O5P9K/02PIwzPqymKHt26I=; b=xyA/aKif7lBR167S1CS6QZ9zBTr/4a9YTWWVHFBi4tsTfVWKg/d4otJhp1lhfDVfIL 0e3sQUWBefLsDrnsOkL0lMhIMlHOKDGF77ZZZGiAwgmrwrWOXDL+t27Xia18ffxrdhdu to0e/JOa9B4qxfCE1y+9mmArmdaPKgBCKA/H4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=v+QjMmVJXLXKJjkEioLs+7kuUGeqkTG4L9DbFyMtCkS/j1CKndDjcHKnlM/FhcZDEv bDKkcqALyzVVQQEb9T8H4z4nPjXHD8mSybJivYl7FIasXu5KWgfH780qeYz1GJF05XNQ 6kADf71i6/iWXUVf+vlvKver5EuUn044ueSDw=
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx
Hi,
Currently, my goal is to run PetaLinux environment on Xilinx ML403 board. The processor in the system is MicroBlaze with basic peripherals (serial console, lite Ethernet, memory controllers). At the end, I'd like to have PowerPC in this system instead of MicroBlaze. At the moment, fs-boot prompt is available and I'm preparing the Linux image.
I have downloaded petalinux-v0.40-rc3, but after trying to setup the kernel features, I saw that menuconfig menu differs from what we had with petalinux-v0.30-rc1, which I run on a Spartan3A Starter Kit. Moreover, during the compilation I have encountered an issue with flatfs (see bellow the error log) and I assume that the problem is coming from wrong setup of MTD. The MTD menu differs from what is described at http://developer.petalogix.com/wiki/BoardGuides/Custom/Tutorial.
Does anyone knows what should I do in order to avoid the error? Are there any plans to align the tutorial with the petalinux-v0.40-rc3 release? What is the correct setup of MTD?
As I'm a novice user of PetaLinux and XIlinx Platform Studio, any help regarding this topic would be highly appreciated.
Regards,
Aleksandar
make[2]: Entering directory `/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/user/flatfsd'
mb-linux-gcc -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -mno-xl-soft-mul -mcpu=v7.10.d -DEMBED -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -Dlinux -D__linux__ -Dunix -DLINUX -Wall -DUSING_MTD_DEVICE=1 -DFLATFSD_VERSION='"1.0.0mtd"' -c -o flatfsd.o flatfsd.c
flatfsd.c: In function ‘reset_config_fs’:
flatfsd.c:150: warning: ‘rc’ is used uninitialized in this function
mb-linux-gcc -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -mno-xl-soft-mul -mcpu=v7.10.d -DEMBED -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -Dlinux -D__linux__ -Dunix -DLINUX -Wall -DUSING_MTD_DEVICE=1 -DFLATFSD_VERSION='"1.0.0mtd"' -c -o newfs.o newfs.c
mb-linux-gcc -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -mno-xl-soft-mul -mcpu=v7.10.d -DEMBED -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -Dlinux -D__linux__ -Dunix -DLINUX -Wall -DUSING_MTD_DEVICE=1 -DFLATFSD_VERSION='"1.0.0mtd"' -c -o reboot.o reboot.c
mb-linux-gcc -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -mno-xl-soft-mul -mcpu=v7.10.d -DEMBED -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -Dlinux -D__linux__ -Dunix -DLINUX -Wall -DUSING_MTD_DEVICE=1 -DFLATFSD_VERSION='"1.0.0mtd"' -c -o flatfs.o flatfs.c
flatfs.c: In function ‘flat_write’:
flatfs.c:128: warning: pointer targets in passing argument 1 of ‘chksum’ differ in signedness
flatfs.c: In function ‘flatread’:
flatfs.c:344: warning: pointer targets in passing argument 1 of ‘flat_read’ differ in signedness
flatfs.c:359: warning: pointer targets in passing argument 1 of ‘flat_read’ differ in signedness
mb-linux-gcc -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -mno-xl-soft-mul -mcpu=v7.10.d -DEMBED -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -I/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include -Dlinux -D__linux__ -Dunix -DLINUX -Wall -DUSING_MTD_DEVICE=1 -DFLATFSD_VERSION='"1.0.0mtd"' -c -o flatfs_mtd.o flatfs_mtd.c
In file included from /home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include/mtd/mtd-user.h:13,
from flatfs_mtd.c:19:
/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/include/mtd/mtd-abi.h:18: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
make[2]: *** [flatfs_mtd.o] Error 1
make[2]: Leaving directory `/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/user/flatfsd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/asutic/workspace/xilinx/microblaze/petalinux-v0.40-rc3/software/petalinux-dist/user'
make: *** [subdirs] Error 1