BigW Consortium Gitlab

Commit 3e20e72d by David Frey

Enable the iot_slot module

parent 51287f7b
...@@ -103,7 +103,7 @@ static int iot_slot_enumerate(struct iot_slot *slot) ...@@ -103,7 +103,7 @@ static int iot_slot_enumerate(struct iot_slot *slot)
if (eeprom == NULL) if (eeprom == NULL)
{ {
dev_warn(device, dev_warn(device,
"Card detected on IoT slot %d, but no eeprom was detected\n", "Card detected on IoT slot %d, but a valid eeprom was not detected\n",
slot_index); slot_index);
goto restore_card_detect; goto restore_card_detect;
} }
......
...@@ -122,7 +122,6 @@ static inline uint8_t *to_eeprom_buffer(struct i2c_client *eeprom) ...@@ -122,7 +122,6 @@ static inline uint8_t *to_eeprom_buffer(struct i2c_client *eeprom)
if (0xAA != buffer[0] || 0x55 != buffer[1]) { if (0xAA != buffer[0] || 0x55 != buffer[1]) {
dev_err(&eeprom->dev, "Invalid header: %02x%02x.\n", dev_err(&eeprom->dev, "Invalid header: %02x%02x.\n",
buffer[0], buffer[1]); buffer[0], buffer[1]);
BUG();
return NULL; return NULL;
} }
return buffer; return buffer;
......
...@@ -8,7 +8,10 @@ ...@@ -8,7 +8,10 @@
apps: apps:
{ {
$MANGOH_ROOT/apps/GpioExpander/gpioExpanderService/gpioExpanderServiceRed // gpioExpanderServiceRed conflicts with the iot_slot driver because the iot_slot driver makes
// use of the sx1509 gpio expander kernel driver whereas the gpio expander implements a driver
// in user space.
// $MANGOH_ROOT/apps/GpioExpander/gpioExpanderService/gpioExpanderServiceRed
$MANGOH_ROOT/apps/MqttClient/mqttClient $MANGOH_ROOT/apps/MqttClient/mqttClient
$MANGOH_ROOT/apps/DataRouter/dataRouter $MANGOH_ROOT/apps/DataRouter/dataRouter
...@@ -68,12 +71,12 @@ kernelModules: ...@@ -68,12 +71,12 @@ kernelModules:
$MANGOH_ROOT/linux_kernel_modules/bmi160/3-bmi160 $MANGOH_ROOT/linux_kernel_modules/bmi160/3-bmi160
$MANGOH_ROOT/linux_kernel_modules/bmi160/4-bmi160-i2c $MANGOH_ROOT/linux_kernel_modules/bmi160/4-bmi160-i2c
// Don't enable IoT slot driver until failure case testing is complete $MANGOH_ROOT/linux_kernel_modules/iot_slot/0-iot_slot
// $MANGOH_ROOT/linux_kernel_modules/iot_slot/0-iot_slot
$MANGOH_ROOT/linux_kernel_modules/mt7697q/1-mt7697q // Don't enable mt7697 drivers until the appropriate cfg80211 and mac80211 modules are avaialble
$MANGOH_ROOT/linux_kernel_modules/mt7697serial/1-mt7697serial // $MANGOH_ROOT/linux_kernel_modules/mt7697q/1-mt7697q
$MANGOH_ROOT/linux_kernel_modules/mt7697wifi/2-mt7697wifi_core // $MANGOH_ROOT/linux_kernel_modules/mt7697serial/1-mt7697serial
// $MANGOH_ROOT/linux_kernel_modules/mt7697wifi/2-mt7697wifi_core
// spisvc creates a spidev device which will appear as /dev/spidev0.0 once the spidev module is // spisvc creates a spidev device which will appear as /dev/spidev0.0 once the spidev module is
// loaded. // loaded.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment