CreatorDev / openwrt

Linux distribution for embedded devices
https://openwrt.org
GNU General Public License v2.0
3 stars 15 forks source link

sometimes sc16is7xx.ko is not installed on the target #217

Closed abhijit-mahajani-imgtec closed 7 years ago

abhijit-mahajani-imgtec commented 7 years ago

It has been observed couple of times that heartbeat led is not flashing once the Ci40 is booted up. Further investigation has showed up that serial driver sc16is7xx.ko is not there in the target file system. so there is nothing in /sys/class/leds because of which anything related to LEDs does not work. Also sound-pistachio-soc is dependent on this serial-sc16is7xx so audio related tests too fail to work.

In ci40-v1.0.1rc4 image (http://jenkins.creatordev.io/job/CreatorDev/job/openwrt/job/ci40/237/) heartbeat led is not flashing , spi uart tests are failing, audio/mic tests are not working. all these are the end effects of the root cause mentioned above.

Ham22 commented 7 years ago

Does just opkg installing the kmod fix the issue (as a workaround)?

ghost commented 7 years ago

@Ham22 Yes it does with this command opkg install kmod-serial-sc16is7xx

Ham22 commented 7 years ago

Looks like CONFIG_SPI and CONFIG_SPI_MASTER were removed from config-4.4 which may have affected.

Shpinkso commented 7 years ago

Issue is limited to CI builds, there is a simple manual step that can be taken when needed (Openwrt releases) so we'll take that effort until major releases are switched to LEDE