diff --git a/cmd/compile/main.go b/cmd/compile/main.go index a906b8a..628d301 100644 --- a/cmd/compile/main.go +++ b/cmd/compile/main.go @@ -94,6 +94,11 @@ func run() error { "--set-val", "BT_BCM", "m", "--set-val", "BT_HCIUART", "m", "--set-val", "BT_HCIUART_BCM", "y", + + // OneWire + "--set-val", "W1", "m", + "--set-val", "W1_MASTER_GPIO", "m", + "--set-val", "W1_SLAVE_THERM", "m", } if err := dockerRun(args...); err != nil { diff --git a/dist/lib/modules/6.1.21/kernel/drivers/w1/masters/w1-gpio.ko b/dist/lib/modules/6.1.21/kernel/drivers/w1/masters/w1-gpio.ko new file mode 100644 index 0000000..40e7cf8 Binary files /dev/null and b/dist/lib/modules/6.1.21/kernel/drivers/w1/masters/w1-gpio.ko differ diff --git a/dist/lib/modules/6.1.21/kernel/drivers/w1/slaves/w1_therm.ko b/dist/lib/modules/6.1.21/kernel/drivers/w1/slaves/w1_therm.ko new file mode 100644 index 0000000..9a3246d Binary files /dev/null and b/dist/lib/modules/6.1.21/kernel/drivers/w1/slaves/w1_therm.ko differ diff --git a/dist/lib/modules/6.1.21/kernel/drivers/w1/wire.ko b/dist/lib/modules/6.1.21/kernel/drivers/w1/wire.ko new file mode 100644 index 0000000..9aa7bfd Binary files /dev/null and b/dist/lib/modules/6.1.21/kernel/drivers/w1/wire.ko differ diff --git a/dist/lib/modules/6.1.21/modules.alias b/dist/lib/modules/6.1.21/modules.alias index 3bed053..322bce1 100644 --- a/dist/lib/modules/6.1.21/modules.alias +++ b/dist/lib/modules/6.1.21/modules.alias @@ -66,6 +66,13 @@ alias sdio:c*v02D0d4330* brcmfmac alias sdio:c*v02D0d4329* brcmfmac alias sdio:c*v02D0d4324* brcmfmac alias sdio:c*v02D0dA887* brcmfmac +alias of:N*T*Cw1-gpioC* w1_gpio +alias of:N*T*Cw1-gpio w1_gpio +alias w1-family-0x42 w1_therm +alias w1-family-0x3B w1_therm +alias w1-family-0x28 w1_therm +alias w1-family-0x22 w1_therm +alias w1-family-0x10 w1_therm alias tty-ldisc-15 hci_uart alias of:N*T*Cinfineon,cyw55572-btC* hci_uart alias of:N*T*Cinfineon,cyw55572-bt hci_uart diff --git a/dist/lib/modules/6.1.21/modules.alias.bin b/dist/lib/modules/6.1.21/modules.alias.bin index 3db5399..a7e2771 100644 Binary files a/dist/lib/modules/6.1.21/modules.alias.bin and b/dist/lib/modules/6.1.21/modules.alias.bin differ diff --git a/dist/lib/modules/6.1.21/modules.dep b/dist/lib/modules/6.1.21/modules.dep index 9f1cc76..9f75312 100644 --- a/dist/lib/modules/6.1.21/modules.dep +++ b/dist/lib/modules/6.1.21/modules.dep @@ -9,6 +9,9 @@ kernel/crypto/ecdh_generic.ko: kernel/crypto/ecc.ko kernel/lib/crypto/libaes.ko: kernel/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko: kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko: kernel/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko +kernel/drivers/w1/masters/w1-gpio.ko: kernel/drivers/w1/wire.ko +kernel/drivers/w1/slaves/w1_therm.ko: kernel/drivers/w1/wire.ko +kernel/drivers/w1/wire.ko: kernel/drivers/bluetooth/hci_uart.ko: kernel/drivers/bluetooth/btbcm.ko kernel/net/bluetooth/bluetooth.ko kernel/lib/crypto/libaes.ko kernel/crypto/ecdh_generic.ko kernel/crypto/ecc.ko kernel/drivers/bluetooth/btbcm.ko: kernel/net/bluetooth/bluetooth.ko kernel/lib/crypto/libaes.ko kernel/crypto/ecdh_generic.ko kernel/crypto/ecc.ko kernel/net/bluetooth/bluetooth.ko: kernel/lib/crypto/libaes.ko kernel/crypto/ecdh_generic.ko kernel/crypto/ecc.ko diff --git a/dist/lib/modules/6.1.21/modules.dep.bin b/dist/lib/modules/6.1.21/modules.dep.bin index a8cf9ac..86fcb38 100644 Binary files a/dist/lib/modules/6.1.21/modules.dep.bin and b/dist/lib/modules/6.1.21/modules.dep.bin differ diff --git a/dist/lib/modules/6.1.21/modules.order b/dist/lib/modules/6.1.21/modules.order index 90cc85f..2e80857 100644 --- a/dist/lib/modules/6.1.21/modules.order +++ b/dist/lib/modules/6.1.21/modules.order @@ -9,6 +9,9 @@ kernel/crypto/ecdh_generic.ko kernel/lib/crypto/libaes.ko kernel/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko +kernel/drivers/w1/masters/w1-gpio.ko +kernel/drivers/w1/slaves/w1_therm.ko +kernel/drivers/w1/wire.ko kernel/drivers/bluetooth/hci_uart.ko kernel/drivers/bluetooth/btbcm.ko kernel/net/bluetooth/bluetooth.ko diff --git a/dist/lib/modules/6.1.21/modules.symbols b/dist/lib/modules/6.1.21/modules.symbols index 24c303f..bbbcc81 100644 --- a/dist/lib/modules/6.1.21/modules.symbols +++ b/dist/lib/modules/6.1.21/modules.symbols @@ -1,16 +1,23 @@ # Aliases for symbols, used by symbol_request(). alias symbol:ecc_point_mult_shamir ecc +alias symbol:w1_read_block wire alias symbol:__hci_cmd_sync_status bluetooth alias symbol:hci_conn_check_secure bluetooth +alias symbol:w1_add_master_device wire alias symbol:crypto_sha512_update sha512_generic +alias symbol:w1_remove_master_device wire alias symbol:brcmu_dbg_hex_dump brcmutil alias symbol:l2cap_unregister_user bluetooth alias symbol:crypto_ecdh_decode_key ecdh_generic alias symbol:hci_recv_frame bluetooth +alias symbol:w1_triplet wire +alias symbol:w1_touch_bit wire alias symbol:l2cap_chan_put bluetooth alias symbol:crypto_aes_sbox libaes alias symbol:bt_procfs_cleanup bluetooth alias symbol:ecc_get_curve25519 ecc +alias symbol:w1_next_pullup wire +alias symbol:w1_reset_resume_command wire alias symbol:__hci_cmd_sync_sk bluetooth alias symbol:brcmu_pktq_pflush brcmutil alias symbol:bt_err_ratelimited bluetooth @@ -43,25 +50,30 @@ alias symbol:sha384_zero_message_hash sha512_generic alias symbol:vli_is_zero ecc alias symbol:hci_set_fw_info bluetooth alias symbol:brcmu_dotrev_str brcmutil +alias symbol:w1_unregister_family wire alias symbol:l2cap_add_psm bluetooth alias symbol:ecc_free_point ecc alias symbol:aes_decrypt libaes alias symbol:h4_recv_buf hci_uart alias symbol:brcmu_pktq_penq_head brcmutil +alias symbol:w1_read_8 wire alias symbol:l2cap_chan_send bluetooth alias symbol:vli_sub ecc alias symbol:brcmu_pktq_pdeq brcmutil alias symbol:l2cap_chan_set_defaults bluetooth alias symbol:baswap bluetooth +alias symbol:w1_touch_block wire alias symbol:hci_conn_switch_role bluetooth alias symbol:hci_resume_dev bluetooth alias symbol:bt_sock_stream_recvmsg bluetooth +alias symbol:w1_register_family wire alias symbol:bt_status bluetooth alias symbol:brcmu_pktq_penq brcmutil alias symbol:brcmu_boardrev_str brcmutil alias symbol:ecc_is_pubkey_valid_partial ecc alias symbol:hci_set_hw_info bluetooth alias symbol:btbcm_setup_apple btbcm +alias symbol:w1_write_block wire alias symbol:l2cap_chan_create bluetooth alias symbol:brcmu_prpkt brcmutil alias symbol:brcmu_pktq_mdeq brcmutil @@ -72,6 +84,7 @@ alias symbol:brcmu_pktq_flush brcmutil alias symbol:vli_cmp ecc alias symbol:bt_to_errno bluetooth alias symbol:ecc_alloc_point ecc +alias symbol:w1_write_8 wire alias symbol:btbcm_set_bdaddr btbcm alias symbol:l2cap_chan_close bluetooth alias symbol:bt_accept_dequeue bluetooth @@ -86,6 +99,7 @@ alias symbol:aes_encrypt libaes alias symbol:hci_get_route bluetooth alias symbol:btbcm_write_pcm_int_params btbcm alias symbol:l2cap_chan_list bluetooth +alias symbol:w1_calc_crc8 wire alias symbol:btbcm_initialize btbcm alias symbol:ecc_gen_privkey ecc alias symbol:vli_from_le64 ecc @@ -93,6 +107,7 @@ alias symbol:brcmu_pktq_pdeq_tail brcmutil alias symbol:l2cap_conn_get bluetooth alias symbol:bt_warn bluetooth alias symbol:hci_cmd_sync_cancel bluetooth +alias symbol:w1_reset_select_slave wire alias symbol:hci_register_dev bluetooth alias symbol:ecc_is_key_valid ecc alias symbol:__hci_cmd_sync bluetooth @@ -106,6 +121,7 @@ alias symbol:crypto_ecdh_key_len ecdh_generic alias symbol:__hci_cmd_send bluetooth alias symbol:crypto_ecdh_shared_secret ecc alias symbol:bt_sock_wait_state bluetooth +alias symbol:w1_reset_bus wire alias symbol:ecc_make_pub_key ecc alias symbol:ecc_point_is_zero ecc alias symbol:bt_sock_unlink bluetooth diff --git a/dist/lib/modules/6.1.21/modules.symbols.bin b/dist/lib/modules/6.1.21/modules.symbols.bin index 93afa4e..5e8afb9 100644 Binary files a/dist/lib/modules/6.1.21/modules.symbols.bin and b/dist/lib/modules/6.1.21/modules.symbols.bin differ diff --git a/dist/vmlinuz b/dist/vmlinuz index ea84a79..091ef0b 100755 Binary files a/dist/vmlinuz and b/dist/vmlinuz differ diff --git a/go.mod b/go.mod index 71f924b..bfb3d24 100644 --- a/go.mod +++ b/go.mod @@ -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