Eric Fowler
2014-01-24 21:12:54 UTC
I have the emcraft distro linux-M2S-1.12.0. I have successfully built and
booted this several times.
When I went into the linux directory and ran 'make menuconfig' to enable
the spi drivers, then ran 'make', I was confronted with:
CHK include/generated/compile.h
GEN usr/initramfs_data.cpio
/home/eric/linux-cortexm-1.12.0/linux/scripts/gen_initramfs_list.sh: line
329: 1957 Segmentation fault (core dumped) usr/gen_init_cpio
${cpio_list} > ${cpio_tfile}
make[1]: *** [usr/initramfs_data.cpio] Error 139
make: *** [usr] Error 2
Yuk. Since then I have not been able to get around this. I have done 'make
clean' and 'make oldconfig', which got me a build which failed to compile a
driver that I don't need. I once was able to get a new distro to build a
default kernel but that of course helps only a little. Now, bizarrely, the
build *always* does this, even after blowing away the whole tree, tools and
all, and rebuilding it. I have also run amuk in the /tmp directory.
Has anyone else seen this? Does anyone know the cause?
If all I want is SPI support, what do I need to tell menuconfig? I thought
my entries made sense.
Eric
booted this several times.
When I went into the linux directory and ran 'make menuconfig' to enable
the spi drivers, then ran 'make', I was confronted with:
CHK include/generated/compile.h
GEN usr/initramfs_data.cpio
/home/eric/linux-cortexm-1.12.0/linux/scripts/gen_initramfs_list.sh: line
329: 1957 Segmentation fault (core dumped) usr/gen_init_cpio
${cpio_list} > ${cpio_tfile}
make[1]: *** [usr/initramfs_data.cpio] Error 139
make: *** [usr] Error 2
Yuk. Since then I have not been able to get around this. I have done 'make
clean' and 'make oldconfig', which got me a build which failed to compile a
driver that I don't need. I once was able to get a new distro to build a
default kernel but that of course helps only a little. Now, bizarrely, the
build *always* does this, even after blowing away the whole tree, tools and
all, and rebuilding it. I have also run amuk in the /tmp directory.
Has anyone else seen this? Does anyone know the cause?
If all I want is SPI support, what do I need to tell menuconfig? I thought
my entries made sense.
Eric
--
cc:NSA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140124/64661ae0/attachment.html>
cc:NSA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140124/64661ae0/attachment.html>