凌云实验室推出的ARM Linux物联网网关开发板IGKBoard(IoT Gateway Kit Board)项目源码
guowenxue
2022-10-06 e77618540841b570ae6688e5f9469c77c0619112
bsp/kernel/patch/linux-imx-lf-5.10.52-2.1.0.patch
@@ -1900,7 +1900,7 @@
@@ -136,12 +136,12 @@
      .fw_name  = "rtl_bt/rtl8761a_fw.bin",
      .cfg_name = "rtl_bt/rtl8761a_config" },
-   /* 8761B */
+   /* 8761BU */
    { IC_INFO(RTL_ROM_LMP_8761A, 0xb),
@@ -1910,7 +1910,7 @@
-     .cfg_name = "rtl_bt/rtl8761b_config" },
+     .fw_name  = "rtl_bt/rtl8761bu_fw.bin",
+     .cfg_name = "rtl_bt/rtl8761bu_config" },
    /* 8822C with UART interface */
    { .match_flags = IC_MATCH_FL_LMPSUBV | IC_MATCH_FL_HCIREV |
diff -Nuar --no-dereference -x logo_linux_clut224.ppm linux-imx/drivers/bluetooth/btusb.c linux-imx-lf-5.10.52-2.1.0/drivers/bluetooth/btusb.c
@@ -1919,7 +1919,7 @@
@@ -419,6 +419,9 @@
    { USB_DEVICE(0x0bda, 0xb009), .driver_info = BTUSB_REALTEK },
    { USB_DEVICE(0x2ff8, 0xb011), .driver_info = BTUSB_REALTEK },
+   /*  Additional Realtek 8761B Bluetooth devices */
+   { USB_DEVICE(0x2357, 0x0604), .driver_info = BTUSB_REALTEK },
+
@@ -1932,7 +1932,7 @@
@@ -558,6 +558,7 @@
    if (!state.period && (data->pwm_period_ns > 0))
       state.period = data->pwm_period_ns;
+   state.enabled = true; /* Add by guowenxue to enalbe backlight as default */
    ret = pwm_apply_state(pb->pwm, &state);
    if (ret) {
@@ -1947,7 +1947,7 @@
-ARCH      ?= $(SUBARCH)
+ARCH      ?= arm
+CROSS_COMPILE?=/opt/buildroot/cortexA7/bin/arm-linux-
 # Architecture as present in compile.h
 UTS_MACHINE    := $(ARCH)
@@ -1833,6 +1834,7 @@
@@ -1964,7 +1964,7 @@
@@ -325,6 +325,16 @@
 $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE
    $(call if_changed_dep,dtc)
+quiet_cmd_dtco = DTCO     $@
+cmd_dtco = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
+   $(DTC) -O dtb -o $@ -b 0 \
@@ -1984,7 +1984,7 @@
@@ -1349,7 +1349,7 @@
       sai->bus_clk = NULL;
    }
-   for (i = 0; i < FSL_SAI_MCLK_MAX; i++) {
+   for (i = 1; i < FSL_SAI_MCLK_MAX; i++) {
       sprintf(tmp, "mclk%d", i);