Jump to content

scuttleclun

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Ok, thanks for the info. I wasn't sure if the default way it was set up was 'by design' or not. Hopefully this post will be useful to others who want to use I2C and SPI on the A10 Lime's UEXT connector.
  2. Hi, I have installed armbian 5.23 on an olimex A10 lime. After boot I find that the i2c devices on the UEXT interface do not show in /dev. They should be /dev/i2c-2 and /dev/i2c-3 and should be detectable using i2cdetect -y 2 (or 3). I notice that the package linux-jessie-root-lime-a10_5.23_armhf.deb ships the .bin (fex) files that configure the ports on boot. The file /boot/bin/lime-a10.bin and /boot/bin/lime-a10-lcd.bin have definitions for these ports but they are disabled. So for now I make a new .bin file with these ports enabled. Specifically I had to change the file like this (I made a new copy so that apt-get upgrade would not clobber my changes) as user 'root': # cd /boot/bin # bin2fex lime-a10.bin >lime-a10.fex # cp lime-a10.fex lime-a10-i2c.fex # nano lime-a10-i2c.fex then starting on line 121 I made the file look like this: Before the twi1_used = 0 and twi2_used=0 Then convert the file back to a .bin, change the symlink for script.bin and reboot # fex2bin lime-a10-i2c.fex lime-a10-i2c.bin # cd /boot # rm -f script.bin # ln -s bin/lime-a10-i2c.bin script.bin # shutdown -r now Question: Why are these ports disabled on the A10 lime in the .bin file? Can this be changed for future versions? Thank you in advance.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines