You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compute Module ignores i2c_arm from either config.txt or dt #1129
dtparam=i2c_arm=on in config.txt on compute module does not result in either i2c0 or i2c1 being enabled. I'd like it to enable i2c1 for compatibility with A+,B+ 2B.
The ignoring of anything referencing i2c_arm on CM also results in the lack of rtc being enabled using the "stock" i2c-rtc overlay definition, (config.txt: dtoverlay=i2c-rtc,ds1307), which references i2c_arm. Which of course can be worked around by specifying either i2c0 or i2c1 in the dts instead, but again, for consistencies sake and to allow the "stock" overlay definition to be used without any mods on all models including CM, it would be nice if either a ref to i2c_arm in either an overlay file or config.txt on CM, caused i2c1 to be enabled on CM.
EDIT: With the benefit of hindsight I should have opened this "issue" under the firmware project, rather than the kernel.... Sorry!!!
changed the title [-]Compute Module ignores i2c_arm from either confit.txt or dt[/-][+]Compute Module ignores i2c_arm from either config.txt or dt[/+]on Sep 11, 2015
This could easily have been a DT/kernel issue, but as you've worked out the arm/vc aliases are created by the firmware. The thinking behind the absence of the aliases was that ownership of the ports is more flexible on the CM, and that CM users are likely to be creating their own .dtbs anyway.
Having said that, there's probably no harm in having the aliases created anyway. They should appear in a future release.
Activity
[-]Compute Module ignores i2c_arm from either confit.txt or dt[/-][+]Compute Module ignores i2c_arm from either config.txt or dt[/+]pelwell commentedon Sep 14, 2015
This could easily have been a DT/kernel issue, but as you've worked out the arm/vc aliases are created by the firmware. The thinking behind the absence of the aliases was that ownership of the ports is more flexible on the CM, and that CM users are likely to be creating their own .dtbs anyway.
Having said that, there's probably no harm in having the aliases created anyway. They should appear in a future release.
kernel: bump to 4.1.7
kernel: bump to 4.1.7
popcornmix commentedon Sep 14, 2015
@pelwell's change should be in latest rpi-update firmware
clivem commentedon Sep 14, 2015
Tested using i2c_arm alias on CM with latest firmware. Working! Thank you.
kernel: bump to 4.1.7