I have enabled S3C24xx/S3C64xx Inbuilt ADC in Device Driver--> Hardware monitoring support from the linux 2.6.32.2 kernel But i cannot see /sys/devices/platform/s3c24xx-adc/s3c-hwmon/ on my mini2440. Am I doing something wrong?
ADC pins for 2440
Have a look in /arch/arm/mach-s3c2440/mach-mini2440.c and see if ADC is registered. If you are using an non-FriendlyArm 2.6.32.2 kernel then ADC support might be built-in. Have you got any /sys/. . . entries? Any reason for not using a more recent kernel? I see Pengutronix have a patch for their kernel to add hw-mon and I have only used the ADC on their kernels. Good luck!
Hello , Can you guide me how to see if ADC is registered in /arch/arm/mach-s3c2440/mach-mini2440.c ? Also tell me from where should I get latest kernel for mini2440 I have downloaded this kernel from this site only. The site has 2.6.32.2 kernel available.
Had to boot up my old Linux dev box as I haven't used 2.6.32.2 for over a year. No ADC stuff in mach-mini2440.c I would suggest you head over to this site: http://www.oselas.org/oselas/bsp/pengutronix/mini2440_bsp_en.html and download their toolchain and BSP for the mini2440 AND read their QuickStart guide. This is the only kernel that is in active development for the mini2440. Unless you are wanting to learn how to build a kernel and root filesystem from scratch I would make use of all the work that has gone into their BSP . . . and start developing applications! And excellent support.
Should have read: If you are using an non-FriendlyArm 2.6.32.2 kernel then ADC support might NOT be built-in.
I tried the pengutronix bsp and followed the quickstart guide. I am stuck at "mini2440:/ update -t barebox -d nand" (page 27 of the doc). It seems endless. How much time does this step takes? All the previous steps work smooth.
This step should end in about a few seconds. What kind of Mini2440 do you have (SDRAM size, Flash type and size)?
Hmm, should work out of the box. Can you show us the whole log of your terminal session with all your input and Mini244's output? It would help us to understand what is different on your system.
Till the "mini2440:/ update -t barebox -d nand" step , I got the same outputs as given in the quickstart guide. Any other way than tftp?