<div class='quotetop'>QUOTE </div>
--- Quote Start ---
You need to unload the module, ie, rmmod hello .
You need to enable "module unloading" in kernel config.
And enable "rmmod" in busybox.
-----------------------------------------[/b]
--- Quote End ---
Dear hippo,
According to your advice,after exute "make" instruction,"zImage" is buiilded.
Then I exute "make romfs".
Then I exute "make linux zImage",just like the fllowing:
I do not know wether "zImage" is right?
$ make linux zImage
make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C linux-2.6.x zImage || exit 1
no emulation specific options.
make: Entering directory `/home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x'
CHK include/nios2_system.h
CHK include/linux/version.h
CHK include/linux/compile.h
CHK usr/initramfs_list
OBJCOPY arch/nios2nommu/boot/zImage
Kernel: arch/nios2nommu/boot/zImage is ready
make: Leaving directory `/home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x'
if ; then
ln -f linux-2.6.x/vmlinux linux-2.6.x/linux;
fi
make: *** No rule to make target `zImage'. Stop.
$
-------------------------------------------/COLOR]
When I download "zImage" to my custom board,exute the instrution "modprobe mytest",the information "mytest : applet not found".
Whould you please tell me steps of "how to do a simple drive" ?