This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

linux kernel compilation for arm AM335x .

sir

I am compiling the kernel with loadable module kept in directory "Driver/char/HelloWorld.c".

I make entry in Kconfig and MAKEFILE  in same Directory for HelloWorld.c.

then  i have ecuted following commands.

export  ARCH=arm

export CROSS_COMPILE=arm-linux-gnueabihf-

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- pcm051_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig        /selected the HelloWorld as loadable module*/
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules

uImage from arch/arm/boot copied to boot partition of micro sd card.

sudo make ARCH=arm INSTALL_MOD_PATH=/media/username/rootfs modules_install

everthing is fine no error appear during above procedure.i have check that Driver/char/HelloWorld.c get compiled and Driver/char/HelloWorld.o is created.

after this procedure i have put the micro SD card in the board and power ON the board.i have expored the HelloWorld.o ,i am searching for this HelloWorld.o but not found in rootfs.

Can you tell me is there any mistake in the procedure or i am not looking in the right place.?