Enable W1 and built statically into kernel

This commit is contained in:
Søren Rasmussen 2024-06-16 11:49:21 +02:00
parent 0e882297f9
commit 439cabb721
7 changed files with 9 additions and 1 deletions

View file

@ -94,6 +94,11 @@ func run() error {
"--set-val", "BT_BCM", "m", "--set-val", "BT_BCM", "m",
"--set-val", "BT_HCIUART", "m", "--set-val", "BT_HCIUART", "m",
"--set-val", "BT_HCIUART_BCM", "y", "--set-val", "BT_HCIUART_BCM", "y",
// OneWire
"--set-val", "W1", "y",
"--set-val", "W1_MASTER_GPIO", "y",
"--set-val", "W1_SLAVE_THERM", "y",
} }
if err := dockerRun(args...); err != nil { if err := dockerRun(args...); err != nil {

View file

@ -303,6 +303,9 @@ kernel/drivers/media/rc/keymaps/rc-zx-irdec.ko
kernel/drivers/media/rc/rc-core.ko kernel/drivers/media/rc/rc-core.ko
kernel/drivers/pps/pps_core.ko kernel/drivers/pps/pps_core.ko
kernel/drivers/ptp/ptp.ko kernel/drivers/ptp/ptp.ko
kernel/drivers/w1/wire.ko
kernel/drivers/w1/masters/w1-gpio.ko
kernel/drivers/w1/slaves/w1_therm.ko
kernel/drivers/power/reset/gpio-poweroff.ko kernel/drivers/power/reset/gpio-poweroff.ko
kernel/drivers/power/supply/power_supply.ko kernel/drivers/power/supply/power_supply.ko
kernel/drivers/hwmon/hwmon.ko kernel/drivers/hwmon/hwmon.ko

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/vmlinuz vendored

Binary file not shown.

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/gokrazy-community/kernel-rpi-os-32 module git.joco.dk/snr/kernel-rpi-os-32
go 1.18 go 1.18