Enable W1 with GPIO and therm as kernel modules
This commit is contained in:
parent
0e882297f9
commit
019a4bd39f
13 changed files with 35 additions and 1 deletions
|
@ -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", "m",
|
||||||
|
"--set-val", "W1_MASTER_GPIO", "m",
|
||||||
|
"--set-val", "W1_SLAVE_THERM", "m",
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := dockerRun(args...); err != nil {
|
if err := dockerRun(args...); err != nil {
|
||||||
|
|
BIN
dist/lib/modules/6.1.21/kernel/drivers/w1/masters/w1-gpio.ko
vendored
Normal file
BIN
dist/lib/modules/6.1.21/kernel/drivers/w1/masters/w1-gpio.ko
vendored
Normal file
Binary file not shown.
BIN
dist/lib/modules/6.1.21/kernel/drivers/w1/slaves/w1_therm.ko
vendored
Normal file
BIN
dist/lib/modules/6.1.21/kernel/drivers/w1/slaves/w1_therm.ko
vendored
Normal file
Binary file not shown.
BIN
dist/lib/modules/6.1.21/kernel/drivers/w1/wire.ko
vendored
Normal file
BIN
dist/lib/modules/6.1.21/kernel/drivers/w1/wire.ko
vendored
Normal file
Binary file not shown.
7
dist/lib/modules/6.1.21/modules.alias
vendored
7
dist/lib/modules/6.1.21/modules.alias
vendored
|
@ -66,6 +66,13 @@ alias sdio:c*v02D0d4330* brcmfmac
|
||||||
alias sdio:c*v02D0d4329* brcmfmac
|
alias sdio:c*v02D0d4329* brcmfmac
|
||||||
alias sdio:c*v02D0d4324* brcmfmac
|
alias sdio:c*v02D0d4324* brcmfmac
|
||||||
alias sdio:c*v02D0dA887* 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 tty-ldisc-15 hci_uart
|
||||||
alias of:N*T*Cinfineon,cyw55572-btC* hci_uart
|
alias of:N*T*Cinfineon,cyw55572-btC* hci_uart
|
||||||
alias of:N*T*Cinfineon,cyw55572-bt hci_uart
|
alias of:N*T*Cinfineon,cyw55572-bt hci_uart
|
||||||
|
|
BIN
dist/lib/modules/6.1.21/modules.alias.bin
vendored
BIN
dist/lib/modules/6.1.21/modules.alias.bin
vendored
Binary file not shown.
3
dist/lib/modules/6.1.21/modules.dep
vendored
3
dist/lib/modules/6.1.21/modules.dep
vendored
|
@ -9,6 +9,9 @@ kernel/crypto/ecdh_generic.ko: kernel/crypto/ecc.ko
|
||||||
kernel/lib/crypto/libaes.ko:
|
kernel/lib/crypto/libaes.ko:
|
||||||
kernel/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.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/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/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/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
|
kernel/net/bluetooth/bluetooth.ko: kernel/lib/crypto/libaes.ko kernel/crypto/ecdh_generic.ko kernel/crypto/ecc.ko
|
||||||
|
|
BIN
dist/lib/modules/6.1.21/modules.dep.bin
vendored
BIN
dist/lib/modules/6.1.21/modules.dep.bin
vendored
Binary file not shown.
3
dist/lib/modules/6.1.21/modules.order
vendored
3
dist/lib/modules/6.1.21/modules.order
vendored
|
@ -9,6 +9,9 @@ kernel/crypto/ecdh_generic.ko
|
||||||
kernel/lib/crypto/libaes.ko
|
kernel/lib/crypto/libaes.ko
|
||||||
kernel/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.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/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/hci_uart.ko
|
||||||
kernel/drivers/bluetooth/btbcm.ko
|
kernel/drivers/bluetooth/btbcm.ko
|
||||||
kernel/net/bluetooth/bluetooth.ko
|
kernel/net/bluetooth/bluetooth.ko
|
||||||
|
|
16
dist/lib/modules/6.1.21/modules.symbols
vendored
16
dist/lib/modules/6.1.21/modules.symbols
vendored
|
@ -1,16 +1,23 @@
|
||||||
# Aliases for symbols, used by symbol_request().
|
# Aliases for symbols, used by symbol_request().
|
||||||
alias symbol:ecc_point_mult_shamir ecc
|
alias symbol:ecc_point_mult_shamir ecc
|
||||||
|
alias symbol:w1_read_block wire
|
||||||
alias symbol:__hci_cmd_sync_status bluetooth
|
alias symbol:__hci_cmd_sync_status bluetooth
|
||||||
alias symbol:hci_conn_check_secure bluetooth
|
alias symbol:hci_conn_check_secure bluetooth
|
||||||
|
alias symbol:w1_add_master_device wire
|
||||||
alias symbol:crypto_sha512_update sha512_generic
|
alias symbol:crypto_sha512_update sha512_generic
|
||||||
|
alias symbol:w1_remove_master_device wire
|
||||||
alias symbol:brcmu_dbg_hex_dump brcmutil
|
alias symbol:brcmu_dbg_hex_dump brcmutil
|
||||||
alias symbol:l2cap_unregister_user bluetooth
|
alias symbol:l2cap_unregister_user bluetooth
|
||||||
alias symbol:crypto_ecdh_decode_key ecdh_generic
|
alias symbol:crypto_ecdh_decode_key ecdh_generic
|
||||||
alias symbol:hci_recv_frame bluetooth
|
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:l2cap_chan_put bluetooth
|
||||||
alias symbol:crypto_aes_sbox libaes
|
alias symbol:crypto_aes_sbox libaes
|
||||||
alias symbol:bt_procfs_cleanup bluetooth
|
alias symbol:bt_procfs_cleanup bluetooth
|
||||||
alias symbol:ecc_get_curve25519 ecc
|
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:__hci_cmd_sync_sk bluetooth
|
||||||
alias symbol:brcmu_pktq_pflush brcmutil
|
alias symbol:brcmu_pktq_pflush brcmutil
|
||||||
alias symbol:bt_err_ratelimited bluetooth
|
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:vli_is_zero ecc
|
||||||
alias symbol:hci_set_fw_info bluetooth
|
alias symbol:hci_set_fw_info bluetooth
|
||||||
alias symbol:brcmu_dotrev_str brcmutil
|
alias symbol:brcmu_dotrev_str brcmutil
|
||||||
|
alias symbol:w1_unregister_family wire
|
||||||
alias symbol:l2cap_add_psm bluetooth
|
alias symbol:l2cap_add_psm bluetooth
|
||||||
alias symbol:ecc_free_point ecc
|
alias symbol:ecc_free_point ecc
|
||||||
alias symbol:aes_decrypt libaes
|
alias symbol:aes_decrypt libaes
|
||||||
alias symbol:h4_recv_buf hci_uart
|
alias symbol:h4_recv_buf hci_uart
|
||||||
alias symbol:brcmu_pktq_penq_head brcmutil
|
alias symbol:brcmu_pktq_penq_head brcmutil
|
||||||
|
alias symbol:w1_read_8 wire
|
||||||
alias symbol:l2cap_chan_send bluetooth
|
alias symbol:l2cap_chan_send bluetooth
|
||||||
alias symbol:vli_sub ecc
|
alias symbol:vli_sub ecc
|
||||||
alias symbol:brcmu_pktq_pdeq brcmutil
|
alias symbol:brcmu_pktq_pdeq brcmutil
|
||||||
alias symbol:l2cap_chan_set_defaults bluetooth
|
alias symbol:l2cap_chan_set_defaults bluetooth
|
||||||
alias symbol:baswap bluetooth
|
alias symbol:baswap bluetooth
|
||||||
|
alias symbol:w1_touch_block wire
|
||||||
alias symbol:hci_conn_switch_role bluetooth
|
alias symbol:hci_conn_switch_role bluetooth
|
||||||
alias symbol:hci_resume_dev bluetooth
|
alias symbol:hci_resume_dev bluetooth
|
||||||
alias symbol:bt_sock_stream_recvmsg bluetooth
|
alias symbol:bt_sock_stream_recvmsg bluetooth
|
||||||
|
alias symbol:w1_register_family wire
|
||||||
alias symbol:bt_status bluetooth
|
alias symbol:bt_status bluetooth
|
||||||
alias symbol:brcmu_pktq_penq brcmutil
|
alias symbol:brcmu_pktq_penq brcmutil
|
||||||
alias symbol:brcmu_boardrev_str brcmutil
|
alias symbol:brcmu_boardrev_str brcmutil
|
||||||
alias symbol:ecc_is_pubkey_valid_partial ecc
|
alias symbol:ecc_is_pubkey_valid_partial ecc
|
||||||
alias symbol:hci_set_hw_info bluetooth
|
alias symbol:hci_set_hw_info bluetooth
|
||||||
alias symbol:btbcm_setup_apple btbcm
|
alias symbol:btbcm_setup_apple btbcm
|
||||||
|
alias symbol:w1_write_block wire
|
||||||
alias symbol:l2cap_chan_create bluetooth
|
alias symbol:l2cap_chan_create bluetooth
|
||||||
alias symbol:brcmu_prpkt brcmutil
|
alias symbol:brcmu_prpkt brcmutil
|
||||||
alias symbol:brcmu_pktq_mdeq brcmutil
|
alias symbol:brcmu_pktq_mdeq brcmutil
|
||||||
|
@ -72,6 +84,7 @@ alias symbol:brcmu_pktq_flush brcmutil
|
||||||
alias symbol:vli_cmp ecc
|
alias symbol:vli_cmp ecc
|
||||||
alias symbol:bt_to_errno bluetooth
|
alias symbol:bt_to_errno bluetooth
|
||||||
alias symbol:ecc_alloc_point ecc
|
alias symbol:ecc_alloc_point ecc
|
||||||
|
alias symbol:w1_write_8 wire
|
||||||
alias symbol:btbcm_set_bdaddr btbcm
|
alias symbol:btbcm_set_bdaddr btbcm
|
||||||
alias symbol:l2cap_chan_close bluetooth
|
alias symbol:l2cap_chan_close bluetooth
|
||||||
alias symbol:bt_accept_dequeue bluetooth
|
alias symbol:bt_accept_dequeue bluetooth
|
||||||
|
@ -86,6 +99,7 @@ alias symbol:aes_encrypt libaes
|
||||||
alias symbol:hci_get_route bluetooth
|
alias symbol:hci_get_route bluetooth
|
||||||
alias symbol:btbcm_write_pcm_int_params btbcm
|
alias symbol:btbcm_write_pcm_int_params btbcm
|
||||||
alias symbol:l2cap_chan_list bluetooth
|
alias symbol:l2cap_chan_list bluetooth
|
||||||
|
alias symbol:w1_calc_crc8 wire
|
||||||
alias symbol:btbcm_initialize btbcm
|
alias symbol:btbcm_initialize btbcm
|
||||||
alias symbol:ecc_gen_privkey ecc
|
alias symbol:ecc_gen_privkey ecc
|
||||||
alias symbol:vli_from_le64 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:l2cap_conn_get bluetooth
|
||||||
alias symbol:bt_warn bluetooth
|
alias symbol:bt_warn bluetooth
|
||||||
alias symbol:hci_cmd_sync_cancel bluetooth
|
alias symbol:hci_cmd_sync_cancel bluetooth
|
||||||
|
alias symbol:w1_reset_select_slave wire
|
||||||
alias symbol:hci_register_dev bluetooth
|
alias symbol:hci_register_dev bluetooth
|
||||||
alias symbol:ecc_is_key_valid ecc
|
alias symbol:ecc_is_key_valid ecc
|
||||||
alias symbol:__hci_cmd_sync bluetooth
|
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:__hci_cmd_send bluetooth
|
||||||
alias symbol:crypto_ecdh_shared_secret ecc
|
alias symbol:crypto_ecdh_shared_secret ecc
|
||||||
alias symbol:bt_sock_wait_state bluetooth
|
alias symbol:bt_sock_wait_state bluetooth
|
||||||
|
alias symbol:w1_reset_bus wire
|
||||||
alias symbol:ecc_make_pub_key ecc
|
alias symbol:ecc_make_pub_key ecc
|
||||||
alias symbol:ecc_point_is_zero ecc
|
alias symbol:ecc_point_is_zero ecc
|
||||||
alias symbol:bt_sock_unlink bluetooth
|
alias symbol:bt_sock_unlink bluetooth
|
||||||
|
|
BIN
dist/lib/modules/6.1.21/modules.symbols.bin
vendored
BIN
dist/lib/modules/6.1.21/modules.symbols.bin
vendored
Binary file not shown.
BIN
dist/vmlinuz
vendored
BIN
dist/vmlinuz
vendored
Binary file not shown.
2
go.mod
2
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
|
go 1.18
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue