[uClinux-dev] modules in 20050808 dist
Harald.Kuethe at controlware.de
Thu Aug 25 02:21:46 EDT 2005
> Were you able to successfully load modules on an armnommu target with
> the new distrubution? If so, did you have to compile your module
> differently than in the past? I've spent a little time looking at this
> and it appears that insmod is reading the module header wrong.
Same problem with me,
the fix is easy but difficult to find out (took me one day)
romfs-inst.sh is always stripping the files, this is ok for user space tools
but if you compile kernel modules outside the kernel tree and install them with $(ROMFSINST)
they get stripped. Add a -S to $(ROMFSINST) and the following patch and you should be fine.
--- ../uClinux-test-050814/uClinux-dist-test/tools/romfs-inst.sh 2005-08-05 03:02:32.000000000 +0200
+++ tools/romfs-inst.sh 2005-08-24 12:41:50.000000000 +0200
@@ -144,7 +144,7 @@
-while getopts 'dve:o:A:p:a:l:s:' opt "$@"
+while getopts 'dSve:o:A:p:a:l:s:' opt "$@"
case "$opt" in
v) v="1"; ;;
More information about the uClinux-dev