This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/board/stmicroelectronics/stm32mp1/linux-dts/stm32mp135f-dk-mx.dts b/board/stmicroelectronics/stm32mp1/linux-dts/stm32mp135f-dk-mx.dts | |
index a5c7e2e..5a92360 100644 | |
--- a/board/stmicroelectronics/stm32mp1/linux-dts/stm32mp135f-dk-mx.dts | |
+++ b/board/stmicroelectronics/stm32mp1/linux-dts/stm32mp135f-dk-mx.dts | |
@@ -804,7 +804,7 @@ | |
mipid02_0:endpoint{ | |
data-lanes = <1 2>; | |
lane-polarities = <0 0 0>; | |
- remote-endpoint = <&gc2145_ep>; | |
+ remote-endpoint = <&ov5640_0>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- v1, September 10, 2019, https://lore.kernel.org/dri-devel/20190910153409.111901-1-paul.kocialkowski@bootlin.com/ | |
- v2, September 25, 2019, https://lore.kernel.org/dri-devel/20190925084932.147971-1-paul.kocialkowski@bootlin.com/ | |
- v3, September 27, 2019, https://lore.kernel.org/dri-devel/20190927100738.1863563-1-paul.kocialkowski@bootlin.com/ | |
- v4, December 3, 2019, https://lore.kernel.org/dri-devel/20191203150606.317062-1-paul.kocialkowski@bootlin.com/ | |
- v5, April 3, 2020, https://lore.kernel.org/dri-devel/20200403093617.760278-1-paul.kocialkowski@bootlin.com/ | |
- v6, April 6, 2020, https://lore.kernel.org/dri-devel/20200430192746.1866325-1-paul.kocialkowski@bootlin.com/ | |
- v7, November 2, 2020, https://lore.kernel.org/dri-devel/20201102155308.142691-1-paul.kocialkowski@bootlin.com/ | |
- v8, December 23, 2020, https://lore.kernel.org/dri-devel/20201223212947.160565-1-paul.kocialkowski@bootlin.com/ | |
- v9, September 14, 2021, https://lore.kernel.org/dri-devel/20210914200539.732093-1-paul.kocialkowski@bootlin.com/ | |
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0 | |
#include <linux/init.h> | |
#include <linux/module.h> | |
#include <linux/i2c.h> | |
#include <linux/delay.h> | |
static void nunchuk_read_regs(struct i2c_client *client, | |
u8 *buf) | |
{ | |
char zero = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0 | |
#include <linux/init.h> | |
#include <linux/module.h> | |
#include <linux/i2c.h> | |
static int nunchuk_probe(struct i2c_client *client, | |
const struct i2c_device_id *id) | |
{ | |
pr_info("Coucou from %s\n", __func__); | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "am335x-boneblack-wireless.dts" | |
&am33xx_pinmux { | |
i2c1_pins: pinmux_i2c1_pins { | |
pinctrl-single,pins = < | |
AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_d1.i2c1_sda */ | |
AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_cs0.i2c1_scl */ | |
>; | |
}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import distutils.version | |
>>> a = distutils.version.LooseVersion("2-3-15") | |
>>> hasattr(a, 'version') | |
True | |
>>> b = distutils.version.LooseVersion("2.3.1") | |
>>> hasattr(b, 'version') | |
True | |
>>> a < b | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Mon merveilleux script | |
thomas@readynas:~$ cat setup-ns.sh | |
#!/bin/bash | |
ip netns add vpn | |
# lo in namespace | |
ip netns exec vpn ip addr add 127.0.0.1/8 dev lo | |
ip netns exec vpn ip link set lo up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### En dehors du ns: l'interface tun0 a une IP | |
root@readynas:/home/thomas# ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020.05 | |
-rc1 released May 7th 2020 | |
-rc2 released ... | |
-rc3 released ... | |
final released ... | |
Addition of ... | |
New packages: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <termios.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <assert.h> | |
#include <time.h> | |
#include <string.h> |
NewerOlder