[RESOLVED] I2C on GPIO
Pascal
New Member Posts: 11 ✭
Hi!
I try to use a LCD2004 based display connected via I2C. My problem is that I can't see my I2C port like described at WIKI.
If I do
And there is only
and no i2c 4, 5 or 6
Did I do a false configuration (eg in BIOS)?
PS: I'm running an UP Squared on Ubilinux, all packages actual.
I try to use a LCD2004 based display connected via I2C. My problem is that I can't see my I2C port like described at WIKI.
If I do
ls /sys/bus/pci/devices/*/i2c_designware.0/ | grep i2cI get nothing at all, but by doing
ls /sys/bus/pci/devices/*/i2c_designware.1/ | grep i2cI get
root@ds2:~# ls /sys/bus/pci/devices/*/i2c_designware.1/ | grep i2c i2c-1
And there is only
ls /dev/i2c-* /dev/i2c-0 /dev/i2c-1 /dev/i2c-2 /dev/i2c-3
and no i2c 4, 5 or 6
Did I do a false configuration (eg in BIOS)?
PS: I'm running an UP Squared on Ubilinux, all packages actual.
Comments
-
Hi
can you give us the output of the sysinfo script as described in the wiki?
https://up-community.org/wiki/Software#Requesting_support_for_Linux_OS
Regards
Nicola Lunghi -
Of course. I ran the script as root.
./sysinfo.sh > debug.log No LSB modules are available. WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts. tail: „/sys/kernel/debug/regmap/AA*/*“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
(Last message is german telling that file was not found)
the debug.log contains the following information:
[hide]File at Pastebin[/hide] -
Hi
You are using the wrong ubilinux distro
Ubilinux 3.0 doesn't support UP squared
Please install ubilinux 4.0
https://up-community.org/downloads/download/44-ubilinux/90-ubilinux-installer-4-0
https://up-community.org/wiki/Ubilinux
Regards
Nicola Lunghi -
Also please update your BIOS version before updating the OS (the 1.3 release that you have is very old) following the procedure here
https://up-community.org/wiki/Bios_Update
1) first update to bios 1.8 (this is necessary for old bios release prior to 1.8
2) then update to the latest 2.1
Be sure to wait until the system reboot into the OS between all the BIOS updates.
Don't turn off the board/remove power until you see Linux booting.
So to be more specific:
1) update to bios 1.8
2) wait until Linux boot again
3) reboot
4) update to bios 2.1
5) wait until Linux boot again
6) you're ok
Regards
Nicola Lunghi -
Thank you.
The 2.1 BIOS is not for Innovator Boards, am I right? I got mine from Kickstarter - so am I allowed to install 2.1 BIOS? -
I updatet to bios 1.8 and installed ubilinux 4.0
Seems to work now.
Your installer script for ubilinux got stuck 3 or 4 times at different stages (cloning partition, extending rootfs and sometiems even earier...)
Thanks! -
Hi
you can update to BIOS release 2.1 with no harm (suggested especially if you want to use USB OTG)
Regarding the installer error is a known bug (but harmless if you rerun the script it will fix by himself)
It should be fixed on the next release of the installer
Regards
Nicola Lunghi -
Thanks for all your help. I got the first letters on the LCD now.
Closed! -
Hello, can you post your sourcecode to display something ? I just managed to i2cdetect my lcd display, I can't have any source working yet.