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

Re: [microblaze-uclinux] make errors with petalinux-mmu-v0.10



Hi Bob,

Bob Cutler wrote:

I am using petalinux-mmu-v0.10 built with Xilinx-Spartan3E1600-MMU-edk92.
Can the following commands or at least the touch command be incorporated
into the make files?

mkdir images
touch images/rootfs.cpio

The problem is that doing a "make clean" removes images/rootfs.cpio
so a subsequent "make all" will fail at the following point if you do
not remember to do a "touch images/rootfs.cpio" in between the make
commands.


Yes, I am aware of this, and longer-term obviously something more palateable will be provided. THe focus in the -mmu test release is to get test coverage on the kernel - minor tool gremlins like this will be ironed out later.

For a quick fix you could probably add a target to the toplevel petalinux-dist Makefile images/rootfs.cpio, that just touches the offenbding file (and makes the dir if necessary). THen add this as a dependency on the linux: target.

Regards,

John




 HOSTCC  usr/gen_init_cpio
/hosts/rub/work/rwc/petalinux/petalinux-mmu-v0.10/software/linux-2.6.x-petalogix/scripts/gen_initramfs_list.sh: Cannot open '/hosts/rub/work/rwc/petalinux/petalinux-mmu-v0.10/software/petalinux-dist/images/rootfs.cpio'
make[2]: *** [usr/initramfs_data.cpio.gz] Error 1
make[1]: *** [usr] Error 2
make[1]: Leaving directory `/hosts/rub/work/rwc/petalinux/petalinux-mmu-v0.10/software/linux-2.6.x-petalogix'
make: *** [linux] Error 1

Thanks,
Bob

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/