From 2c9deb0806a1fd508a3850fb51395ede00fe7296 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 7 May 2017 19:58:53 +0300 Subject: [PATCH 1/2] raspberrypi(all): automatically load i2c modules at boot --- board/common/overlay/etc/init.d/rcS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/common/overlay/etc/init.d/rcS b/board/common/overlay/etc/init.d/rcS index c4079c65d0..a7061a2b14 100755 --- a/board/common/overlay/etc/init.d/rcS +++ b/board/common/overlay/etc/init.d/rcS @@ -6,7 +6,7 @@ pid_file=/tmp/rc.pid source /etc/init.d/base -echo "---- booting $os_name $os_version----" >> $tmp_boot_log +echo "---- booting $os_name $os_version ----" >> $tmp_boot_log # start all init scripts in /etc/init.d, # executing them in numerical order. From e012a475d8ab53d8626832ba0f1b828c0deea2be Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 7 May 2017 19:59:02 +0300 Subject: [PATCH 2/2] raspberrypi(all): automatically load i2c modules at boot --- board/raspberrypi/overlay/etc/modules | 3 +++ board/raspberrypi2/overlay/etc/modules | 3 +++ board/raspberrypi3/overlay/etc/modules | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 board/raspberrypi/overlay/etc/modules create mode 100644 board/raspberrypi2/overlay/etc/modules create mode 100644 board/raspberrypi3/overlay/etc/modules diff --git a/board/raspberrypi/overlay/etc/modules b/board/raspberrypi/overlay/etc/modules new file mode 100644 index 0000000000..d5499e6362 --- /dev/null +++ b/board/raspberrypi/overlay/etc/modules @@ -0,0 +1,3 @@ +i2c-bcm2708 +i2c-dev + diff --git a/board/raspberrypi2/overlay/etc/modules b/board/raspberrypi2/overlay/etc/modules new file mode 100644 index 0000000000..d5499e6362 --- /dev/null +++ b/board/raspberrypi2/overlay/etc/modules @@ -0,0 +1,3 @@ +i2c-bcm2708 +i2c-dev + diff --git a/board/raspberrypi3/overlay/etc/modules b/board/raspberrypi3/overlay/etc/modules new file mode 100644 index 0000000000..d5499e6362 --- /dev/null +++ b/board/raspberrypi3/overlay/etc/modules @@ -0,0 +1,3 @@ +i2c-bcm2708 +i2c-dev +