Hello JPMontero_Intel,
As I wrote above:
-- got a Galileo board
-- upgraded firmware with sysimage-galileo-1.0.0.cap included in arduino-1.5.3 package (with IDE)
-- booting from microSD card, binary image LINUX_IMAGE_FOR_SD_Intel_Galileo_v1.0.0
-- the code snippet comes from a standalone linux module, compiled with Board_Support_Package_Sources_for_Intel_Quark_v1.0.0. I've added a recipe to linux-yocto-clanton.
-- the code runs in driver's "init" function.
-- dmesg was run just after loading the driver with insmod...
Hmm... If there is anything else, let me know.
Best regards,
Krzysztof