MAX1027 Linux driver installation

From ArmadeusWiki
Jump to: navigation, search
  • From the armadeus/ top directory:
 $ make linux-menuconfig
  • Then select in
 Device Drivers  ---> 
    [*] SPI support  ---> 
        <M>   Freescale iMX SPI controller
  • If you want to have the hwmon compatible interface, select in
 Device Drivers  ---> 
    <M> Hardware Monitoring support (Module)
  • and then choose MAX1027 driver in
 Device Drivers  
    ---> Armadeus specific drivers  
        <M>   Armadeus Max1027 ADC driver (fast version)
  • Once the new configuration saved, rebuild your system:
 $ make

and copy hwmon.ko and max1027.ko driver to your target or reflash your rootfs.