diff --git a/README.md b/README.md index 3c5355b..1c6ae92 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ It will compile the kernel located in `linux-sources` using a [crossbuild docker It uses default kernel config (`make bcmrpi_defconfig`), as recommended by the [official documentation](https://www.raspberrypi.com/documentation/computers/linux_kernel.html#cross-compiling-the-kernel), with the addition of the SquashFS module (`CONFIG_SQUASHFS`, which is required for gokrazy) and `CONFIG_IPV6`. +Further additions include the `CONFIG_W1`, `W1_MASTER_GPIO`, `W1_SLAVE_THERM` and `GPIOLIB`. + ## Update check ``` diff --git a/cmd/compile/main.go b/cmd/compile/main.go index a906b8a..a37441c 100644 --- a/cmd/compile/main.go +++ b/cmd/compile/main.go @@ -94,6 +94,16 @@ func run() error { "--set-val", "BT_BCM", "m", "--set-val", "BT_HCIUART", "m", "--set-val", "BT_HCIUART_BCM", "y", + "--set-val", "BT_HCIUART_RTL", "y", + + // OneWire + "--set-val", "W1", "m", + "--set-val", "W1_MASTER_GPIO", "m", + "--set-val", "W1_SLAVE_THERM", "m", + "--set-val", "GPIOLIB", "y", + + // I2C + "--set-val", "I2C_CHARDEV", "y", } if err := dockerRun(args...); err != nil { diff --git a/dist/lib/modules/6.1.21/kernel/drivers/bluetooth/btrtl.ko b/dist/lib/modules/6.1.21/kernel/drivers/bluetooth/btrtl.ko new file mode 100644 index 0000000..456d788 Binary files /dev/null and b/dist/lib/modules/6.1.21/kernel/drivers/bluetooth/btrtl.ko differ diff --git a/dist/lib/modules/6.1.21/kernel/drivers/bluetooth/hci_uart.ko b/dist/lib/modules/6.1.21/kernel/drivers/bluetooth/hci_uart.ko index 7bac5e9..2ddca45 100644 Binary files a/dist/lib/modules/6.1.21/kernel/drivers/bluetooth/hci_uart.ko and b/dist/lib/modules/6.1.21/kernel/drivers/bluetooth/hci_uart.ko differ 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..d6c80a6 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 @@ -93,4 +100,10 @@ alias of:N*T*Cbrcm,bcm4329-btC* hci_uart alias of:N*T*Cbrcm,bcm4329-bt hci_uart alias of:N*T*Cbrcm,bcm20702a1C* hci_uart alias of:N*T*Cbrcm,bcm20702a1 hci_uart +alias of:N*T*Crealtek,rtl8723ds-btC* hci_uart +alias of:N*T*Crealtek,rtl8723ds-bt hci_uart +alias of:N*T*Crealtek,rtl8723bs-btC* hci_uart +alias of:N*T*Crealtek,rtl8723bs-bt hci_uart +alias of:N*T*Crealtek,rtl8822cs-btC* hci_uart +alias of:N*T*Crealtek,rtl8822cs-bt hci_uart alias net-pf-31 bluetooth diff --git a/dist/lib/modules/6.1.21/modules.alias.bin b/dist/lib/modules/6.1.21/modules.alias.bin index 3db5399..7557bf7 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.builtin b/dist/lib/modules/6.1.21/modules.builtin index 0ecd36f..9ac51dd 100644 --- a/dist/lib/modules/6.1.21/modules.builtin +++ b/dist/lib/modules/6.1.21/modules.builtin @@ -166,6 +166,7 @@ kernel/drivers/input/input-leds.ko kernel/drivers/input/mousedev.ko kernel/drivers/input/evdev.ko kernel/drivers/i2c/i2c-core.ko +kernel/drivers/i2c/i2c-dev.ko kernel/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.ko kernel/drivers/media/rc/keymaps/rc-alink-dtu-m.ko kernel/drivers/media/rc/keymaps/rc-anysee.ko diff --git a/dist/lib/modules/6.1.21/modules.builtin.alias.bin b/dist/lib/modules/6.1.21/modules.builtin.alias.bin index 9862f4d..a064f23 100644 Binary files a/dist/lib/modules/6.1.21/modules.builtin.alias.bin and b/dist/lib/modules/6.1.21/modules.builtin.alias.bin differ diff --git a/dist/lib/modules/6.1.21/modules.builtin.bin b/dist/lib/modules/6.1.21/modules.builtin.bin index ab22990..eabf8f8 100644 Binary files a/dist/lib/modules/6.1.21/modules.builtin.bin and b/dist/lib/modules/6.1.21/modules.builtin.bin differ diff --git a/dist/lib/modules/6.1.21/modules.builtin.modinfo b/dist/lib/modules/6.1.21/modules.builtin.modinfo index dd90673..b4c3078 100644 Binary files a/dist/lib/modules/6.1.21/modules.builtin.modinfo and b/dist/lib/modules/6.1.21/modules.builtin.modinfo differ diff --git a/dist/lib/modules/6.1.21/modules.dep b/dist/lib/modules/6.1.21/modules.dep index 9f1cc76..fe71471 100644 --- a/dist/lib/modules/6.1.21/modules.dep +++ b/dist/lib/modules/6.1.21/modules.dep @@ -9,6 +9,10 @@ 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/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/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/btrtl.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/btrtl.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..717f149 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..5a08ec7 100644 --- a/dist/lib/modules/6.1.21/modules.order +++ b/dist/lib/modules/6.1.21/modules.order @@ -9,6 +9,10 @@ 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/drivers/bluetooth/btrtl.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..eb3f8de 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,32 @@ 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:btrtl_shutdown_realtek btrtl alias symbol:vli_sub ecc +alias symbol:btrtl_set_quirks btrtl 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 @@ -69,9 +83,11 @@ alias symbol:brcmu_pkt_buf_free_skb brcmutil alias symbol:hci_mgmt_chan_unregister bluetooth alias symbol:brcmu_pkt_buf_get_skb brcmutil alias symbol:brcmu_pktq_flush brcmutil +alias symbol:btrtl_download_firmware btrtl 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 +102,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,7 +110,10 @@ 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:btrtl_free btrtl +alias symbol:w1_reset_select_slave wire alias symbol:hci_register_dev bluetooth +alias symbol:btrtl_initialize btrtl alias symbol:ecc_is_key_valid ecc alias symbol:__hci_cmd_sync bluetooth alias symbol:hci_unregister_dev bluetooth @@ -106,6 +126,9 @@ 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:btrtl_get_uart_settings btrtl +alias symbol:btrtl_setup_realtek btrtl 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..288e528 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..b5656cb 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