What steeps are necesary to get the gpio module included into the kernel image.
Thanks in advance
Carlos
-
Create a combined project: kernel, kernel modules and rootfs
-
Configure the kernel and roots (see docu). AFAIK gpio.ko can only built as a loadable module.
-
Build the project
-
Add script in BUILD_ROOT/etc/init.rc to load gpio.ko at initialization time and create needed device files in BUILD_ROOT/dev/gpio/x where x = gpio_num (0…3, 5…7, 9, 12, 13)
-
Install the project – you have now images of kernel and rootfs (and a nfs mount for testing)
Have fun
-mrib
mrib, Thankyou for your help. I got it