[ELDK] RFSB Issues

Jonathan Haws Jonathan.Haws at sdl.usu.edu
Fri Sep 4 21:00:06 CEST 2009


All,

I am trying to create a rootfs filesystem that includes the Xenomai
user-space support libraries.  When I configure the rootfs and include
Xenomai, I get the following output:

Current target list is 
/home/jhaws/sdlppc/rfsb/build/images/image.ext2
/home/jhaws/sdlppc/rfsb/build/images/uRamdisk
rm -rf /home/jhaws/sdlppc/rfsb/build/* status
Cleaning /home/jhaws/sdlppc/rfsb/build
Populating /home/jhaws/sdlppc/rfsb/build with directories
Using SELF skeleton from 'config/skeleton/self' to populate file
system
2 blocks
cpio: usr/local/xenomai/kbuild: Cannot stat: No such file or directory
cpio: usr/local/xenomai/kbuild/include: Cannot stat: No such file or
directory
cpio: usr/local/xenomai/kbuild/include/COPYING: Cannot stat: No such
file or directory
cpio: usr/local/xenomai/kbuild/include/Makefile: Cannot stat: No such
file or directory
cpio: usr/local/xenomai/kbuild/include/Makefile.am: Cannot stat: No
such file or directory
cpio: usr/local/xenomai/kbuild/include/Makefile.in: Cannot stat: No
such file or directory
cpio: usr/local/xenomai/kbuild/include/asm-arm: Cannot stat: No such
file or directory
...
cpio: usr/local/xenomai/kbuild/scripts/xeno-config: Cannot stat: No
such file or directory
cpio: usr/local/xenomai/kbuild/scripts/xeno-config.in: Cannot stat: No
such file or directory
cpio: usr/local/xenomai/kbuild/scripts/xeno-info: Cannot stat: No such
file or directory
cpio: usr/local/xenomai/kbuild/scripts/xeno-load: Cannot stat: No such
file or directory
cpio: usr/local/xenomai/kbuild/scripts/xeno-load.in: Cannot stat: No
such file or directory
cpio: usr/local/xenomai/kbuild/scripts/xeno-test: Cannot stat: No such
file or directory
cpio: usr/local/xenomai/kbuild/scripts/xeno-test.in: Cannot stat: No
such file or directory
1472 blocks
Creating busybox symlinks
make pkgs
Current target list is
/home/jhaws/sdlppc/rfsb/build/images/image.ext2
/home/jhaws/sdlppc/rfsb/build/images/uRamdisk
make[1]: Entering directory `/home/jhaws/sdlppc/rfsb'
make[1]: Nothing to be done for `pkgs'.
make[1]: Leaving directory `/home/jhaws/sdlppc/rfsb'
touch status/stamp.custom-pkgs 
Adding dependency libraries
warning: could not resolve 'libnative.so.1'
warning: could not resolve 'libpthread_rt.so.1'
warning: could not resolve 'librtdm.so.1'
639 blocks
Copying files from custom/rootfs
1 block
Generating ext2 image
rm -f /home/jhaws/sdlppc/rfsb/build/images/image.ext2
/home/jhaws/sdlppc/rfsb/build/images/image.ext2.gz
genext2fs -i 4096 -d /home/jhaws/sdlppc/rfsb/build/rootfs -b 9728 -D
config/rootfs_devices.tab
/home/jhaws/sdlppc/rfsb/build/images/image.ext2
genext2fs: couldn't allocate a block (no free space)
make: *** [/home/jhaws/sdlppc/rfsb/build/images/image.ext2] Error 1

The issue appears to be that the Xenomai that I built from source does
not contain the kbuild/ directory.  Is that needed?  Is there a way to
get rid of those warnings?

Next, the "could not resolve 'libXXXXX.so.1'" warnings - those
libraries exist in eldk/ppc_4xx/usr/local/xenomai, but not in
eldk/ppc_4xx/lib.  Shouldn't the Makefile know where the Xenomai
libraries are?  What is the correct way to specify that?  Should I
just make a symlink to them in lib?  That seems like a kludge to me.

Finally, the error with genext2fs fails because I have not given
enough blocks.  However, I do not want a 16MB ramdisk image either.  I
have found that by removing the locales in
build/rootfs/usr/share/locale helps.  But where are those pulled from?
How can I specify the locale I want?

Thanks for the help on these issues!

Jonathan




More information about the eldk mailing list