[PATCH] mtdsplit_uimage: Split also after offsetted uImage

2024-01-23 Thread Linus Walleij
The uImage splitter recognizes a rootfs either:

1. Right after the uImage if it comes first in the
   partition or
2. Before the uImage if it is located at an offset
   inside the partition.

Add a third case:

3. After the uImage also at an offset inside the
   partition, if and only if 1 and 2 fails.

The reason why this is needed is because on the
BCM6328-based Inteno XG6846 we need to put a small
U-Boot binary first in the partition, then the uImage,
then the rootfs.

The U-Boot binary that comes first cannot be split off
into its own partition in this case because it needs
to be part of the bigger "firmware" partition. Which
we use for installation and upgrades.

Signed-off-by: Linus Walleij 
---
 .../files/drivers/mtd/mtdsplit/mtdsplit_uimage.c  | 19 +++
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c 
b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
index a3e55fb1fe38..de043fb9f702 100644
--- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
+++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
@@ -217,11 +217,22 @@ static int __mtdsplit_parse_uimage(struct mtd_info 
*master,
if (ret) {
pr_debug("no rootfs before uImage in \"%s\"\n",
 master->name);
-   goto err_free_buf;
-   }
 
-   rootfs_offset = 0;
-   rootfs_size = uimage_offset;
+   /* Try after the uImage */
+   ret = mtd_find_rootfs_from(master, uimage_offset + 
uimage_size,
+  master->size, 
_offset, );
+   if (ret) {
+   pr_debug("no rootfs after uImage either in 
\"%s\"\n",
+master->name);
+   goto err_free_buf;
+   }
+
+   rootfs_size = master->size - rootfs_offset;
+   uimage_size = rootfs_offset - uimage_offset;
+   } else {
+   rootfs_offset = 0;
+   rootfs_size = uimage_offset;
+   }
}
 
if (rootfs_size == 0) {

---
base-commit: 1b7e62b20b1735fcdc498a35e005afcd775abcf4
change-id: 20240123-offsetted-uimage-splitter-f5b65f0df2ed

Best regards,
-- 
Linus Walleij 


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: kernel config files and subtarget config-default files

2024-01-23 Thread Jonas Gorski
Hi,

On Mon, 22 Jan 2024 at 21:27, Tim Harvey  wrote:
>
> Greetings,
>
> What is the best known method to add items to config-$KVER when you
> have subtargets with individual config-default files - specifically
> how are the items in this file ordered properly? Maybe the norm is to
> put them alphabetically (even though the kernel doesn't always do
> this) or to put them at the bottom? When using config-default and even
> config-$KVER config fragments they don't compare well to a full linux
> .config file in order to know where they should be placed.

The original intended way is via kernel's menuconfig:

make kernel_menuconfig CONFIG_TARGET=subtarget_target

which will sort them for you and drop any duplicated configs with the
same value as the generic/subtarget config.

this may produce a lot of changes though through if this hasn't been
done for a while.

Likewise to modify the subtarget config you would use CONFIG_TARGET=subtarget

You could also use kernel_oldconfig to refresh the configs after
adding the option manually.

Best Regards,
Jonas

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH 1/2] ath12k: enable compilation

2024-01-23 Thread Janusz Dziedzic
Signed-off-by: Janusz Dziedzic 
---
 package/kernel/mac80211/Makefile  |  2 ++
 package/kernel/mac80211/ath.mk| 22 +--
 ...2k-fix-compilation-with-older-kernel.patch | 28 +++
 3 files changed, 50 insertions(+), 2 deletions(-)
 create mode 100644 
package/kernel/mac80211/patches/ath12k/0001-wifi-ath12k-fix-compilation-with-older-kernel.patch

diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 17e0d9451e..f980d1deb6 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -341,6 +341,7 @@ define Build/Patch
$(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath9k,ath9k/)
$(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath10k,ath10k/)
$(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath11k,ath11k/)
+   $(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath12k,ath12k/)
$(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/rt2x00,rt2x00/)
$(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/mt7601u,mt7601u/)
$(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/mwl,mwl/)
@@ -357,6 +358,7 @@ define Quilt/Refresh/Package
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath9k,ath9k/)
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath10k,ath10k/)
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath11k,ath11k/)
+   $(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/ath12k,ath12k/)
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/rt2x00,rt2x00/)
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/mt7601u,mt7601u/)
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)/mwl,mwl/)
diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk
index 881c89db25..beb1b2ae4f 100644
--- a/package/kernel/mac80211/ath.mk
+++ b/package/kernel/mac80211/ath.mk
@@ -1,6 +1,6 @@
 PKG_DRIVERS += \
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc 
ath10k ath10k-smallbuffers \
-   ath11k ath11k-ahb ath11k-pci carl9170 owl-loader ar5523 wil6210
+   ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210
 
 PKG_CONFIG_DEPENDS += \
CONFIG_PACKAGE_ATH_DEBUG \
@@ -21,6 +21,7 @@ ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
ATH9K_HTC_DEBUGFS \
ATH10K_DEBUGFS \
ATH11K_DEBUGFS \
+   ATH12K_DEBUGFS \
CARL9170_DEBUGFS \
ATH5K_DEBUG \
ATH6KL_DEBUG \
@@ -31,6 +32,7 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING
   config-y += \
ATH10K_TRACING \
ATH11K_TRACING \
+   ATH12K_TRACING \
ATH6KL_TRACING \
ATH_TRACEPOINTS \
ATH5K_TRACER \
@@ -38,7 +40,7 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING
 endif
 
 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
-config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG 
ATH9K_STATION_STATISTICS
+config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG 
ATH12K_DEBUG ATH9K_STATION_STATISTICS
 config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
 config-$(CONFIG_PACKAGE_ATH_SPECTRAL) += ATH9K_COMMON_SPECTRAL ATH10K_SPECTRAL 
ATH11K_SPECTRAL
 config-$(CONFIG_PACKAGE_ATH_DYNACK) += ATH9K_DYNACK
@@ -63,6 +65,7 @@ config-$(call config_package,ath10k-smallbuffers) += ATH10K 
ATH10K_PCI ATH10K_SM
 config-$(call config_package,ath11k) += ATH11K
 config-$(call config_package,ath11k-ahb) += ATH11K_AHB
 config-$(call config_package,ath11k-pci) += ATH11K_PCI
+config-$(call config_package,ath12k) += ATH12K
 
 config-$(call config_package,ath5k) += ATH5K
 ifdef CONFIG_TARGET_ath25
@@ -349,6 +352,21 @@ This module adds support for Qualcomm Technologies 
802.11ax family of
 chipsets with PCI bus.
 endef
 
+define KernelPackage/ath12k
+  $(call KernelPackage/mac80211/Default)
+  TITLE:=Qualcomm 802.11be wireless chipset support
+  URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath12k
+  DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
+  +@DRIVER_11BE_SUPPORT +kmod-crypto-michael-mic +kmod-qrtr-mhi
+  FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko \
+  $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath12k/ath12k.ko
+endef
+
+define KernelPackage/ath12k/description
+This module adds support for Qualcomm Technologies 802.11be family of
+chipsets with PCI bus.
+endef
+
 define KernelPackage/carl9170
   $(call KernelPackage/mac80211/Default)
   TITLE:=Driver for Atheros AR9170 USB sticks
diff --git 
a/package/kernel/mac80211/patches/ath12k/0001-wifi-ath12k-fix-compilation-with-older-kernel.patch
 
b/package/kernel/mac80211/patches/ath12k/0001-wifi-ath12k-fix-compilation-with-older-kernel.patch
new file mode 100644
index 00..d51e5f8e9c
--- /dev/null
+++ 
b/package/kernel/mac80211/patches/ath12k/0001-wifi-ath12k-fix-compilation-with-older-kernel.patch
@@ -0,0 +1,28 @@
+--- a/drivers/net/wireless/ath/ath12k/core.c
 b/drivers/net/wireless/ath/ath12k/core.c
+@@ -886,7 

[PATCH 2/2] ath11k/ath12k: fix when build together

2024-01-23 Thread Janusz Dziedzic
Signed-off-by: Janusz Dziedzic 
---
 package/kernel/mac80211/ath.mk | 22 +++---
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk
index beb1b2ae4f..b66049b18a 100644
--- a/package/kernel/mac80211/ath.mk
+++ b/package/kernel/mac80211/ath.mk
@@ -1,6 +1,6 @@
 PKG_DRIVERS += \
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc 
ath10k ath10k-smallbuffers \
-   ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210
+   ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210 
qcom-qmi-helpers
 
 PKG_CONFIG_DEPENDS += \
CONFIG_PACKAGE_ATH_DEBUG \
@@ -59,6 +59,7 @@ config-$(CONFIG_ATH10K_LEDS) += ATH10K_LEDS
 config-$(CONFIG_ATH10K_THERMAL) += ATH10K_THERMAL
 config-$(CONFIG_ATH11K_THERMAL) += ATH11K_THERMAL
 
+config-$(call config_package,qcom-qmi-helpers) += QCOM_QMI_HELPERS
 config-$(call config_package,ath9k-htc) += ATH9K_HTC
 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
 config-$(call config_package,ath10k-smallbuffers) += ATH10K ATH10K_PCI 
ATH10K_SMALLBUFFERS
@@ -300,14 +301,21 @@ define KernelPackage/ath10k-smallbuffers
   VARIANT:=smallbuffers
 endef
 
+define KernelPackage/qcom-qmi-helpers
+  $(call KernelPackage/mac80211/Default)
+  TITLE:=Qualcomm QMI backports helpers
+  FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko
+  AUTOLOAD:=$(call AutoProbe,qmi_helpers)
+endef
+
 define KernelPackage/ath11k
   $(call KernelPackage/mac80211/Default)
   TITLE:=Qualcomm 802.11ax wireless chipset support (common code)
   URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
   DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
-  +kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core 
+ATH11K_THERMAL:kmod-thermal
-  FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko \
-  $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko
+  +kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core 
+ATH11K_THERMAL:kmod-thermal \
+  +kmod-qcom-qmi-helpers
+  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko
 endef
 
 define KernelPackage/ath11k/description
@@ -357,9 +365,9 @@ define KernelPackage/ath12k
   TITLE:=Qualcomm 802.11be wireless chipset support
   URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath12k
   DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
-  +@DRIVER_11BE_SUPPORT +kmod-crypto-michael-mic +kmod-qrtr-mhi
-  FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko \
-  $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath12k/ath12k.ko
+  +@DRIVER_11BE_SUPPORT +kmod-crypto-michael-mic +kmod-qrtr-mhi \
+  +kmod-qcom-qmi-helpers
+  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath12k/ath12k.ko
 endef
 
 define KernelPackage/ath12k/description
-- 
2.25.1


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Radios for LibreRouter 2

2024-01-23 Thread Felix Fietkau

Hi,

On 23.01.24 10:54, G10h4ck wrote:

Hi all!

At Altermundi we have been (mostly silently) advancing with LibreRouter
2 project, we have now some prototype at hand and started testing also
radios, we need that the radio works good with OpenWrt and that at least
have good 802.11s support in the meanwhile we develop the
"promiscuous-AP" mode for hostapd, of which I have presented some
preliminary work at last wireless community weekend.


Nice!


So far we started testing:

- MediaTek 7921k

- Wallys DR 7915


We don'e have conclusive results yet but we needed M.2 adapters for the
first model which we would prefer to avoid, and both seems to produce
too much heat to fit two of those into a router enclosure

I stress again on the fact that we need them to work good on OpenWrt,
the usage is mostly for medium to long range outdoor links, preferably
cheap.


You're not going to get decent mesh/AP mode support out of MT7921, since 
that chipset is primarily made for mobile devices.

Please stick with MT7915 (or MT7916 if you can get it).

- Felix

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Radios for LibreRouter 2

2024-01-23 Thread G10h4ck

Hi all!

At Altermundi we have been (mostly silently) advancing with LibreRouter 
2 project, we have now some prototype at hand and started testing also 
radios, we need that the radio works good with OpenWrt and that at least 
have good 802.11s support in the meanwhile we develop the 
"promiscuous-AP" mode for hostapd, of which I have presented some 
preliminary work at last wireless community weekend.


So far we started testing:

- MediaTek 7921k

- Wallys DR 7915


We don'e have conclusive results yet but we needed M.2 adapters for the 
first model which we would prefer to avoid, and both seems to produce 
too much heat to fit two of those into a router enclosure


I stress again on the fact that we need them to work good on OpenWrt, 
the usage is mostly for medium to long range outdoor links, preferably 
cheap.


Any suggestions on what to test next?


Thanks for suggestions, and congrats for OpenWrt One advances :-)


Cheers!

Gio




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH v2] gemini: Backport upstream TSO disable patch

2024-01-23 Thread Linus Walleij
This patch is needed for ethernet to work on most Gemini
devices so backport it.

Signed-off-by: Linus Walleij 
---
Changes in v2:
- Also send the patch to openwrt-devel :/
- Link to v1: 
https://lore.kernel.org/r/20240123-gemini-ethernet-fix-v1-1-0bbe0b272...@linaro.org
---
 ...6.8-net-ethernet-cortina-Drop-TSO-support.patch | 78 ++
 1 file changed, 78 insertions(+)

diff --git 
a/target/linux/gemini/patches-6.1/0030-v6.8-net-ethernet-cortina-Drop-TSO-support.patch
 
b/target/linux/gemini/patches-6.1/0030-v6.8-net-ethernet-cortina-Drop-TSO-support.patch
new file mode 100644
index ..41364804f845
--- /dev/null
+++ 
b/target/linux/gemini/patches-6.1/0030-v6.8-net-ethernet-cortina-Drop-TSO-support.patch
@@ -0,0 +1,78 @@
+From ac631873c9e7a50d2a8de457cfc4b9f8403e Mon Sep 17 00:00:00 2001
+From: Linus Walleij 
+Date: Sat, 6 Jan 2024 01:12:22 +0100
+Subject: [PATCH] net: ethernet: cortina: Drop TSO support
+
+The recent change to allow large frames without hardware checksumming
+slotted in software checksumming in the driver if hardware could not
+do it.
+
+This will however upset TSO (TCP Segment Offloading). Typical
+error dumps includes this:
+
+skb len=2961 headroom=222 headlen=66 tailroom=0
+(...)
+WARNING: CPU: 0 PID: 956 at net/core/dev.c:3259 skb_warn_bad_offload+0x7c/0x108
+gemini-ethernet-port: caps=(0x01154813, 0x2007ffdd7889)
+
+And the packets do not go through.
+
+The TSO implementation is bogus: a TSO enabled driver must propagate
+the skb_shinfo(skb)->gso_size value to the TSO engine on the NIC.
+
+Drop the size check and TSO offloading features for now: this
+needs to be fixed up properly.
+
+After this ethernet works fine on Gemini devices with a direct connected
+PHY such as D-Link DNS-313.
+
+Also tested to still be working with a DSA switch using the Gemini
+ethernet as conduit interface.
+
+Link: 
https://lore.kernel.org/netdev/cann89ijlfxng1syl5zk0mknxpyyqpcp83m3kgd2kj2_hkcp...@mail.gmail.com/
+Suggested-by: Eric Dumazet 
+Fixes: d4d0c5b4d279 ("net: ethernet: cortina: Handle large frames")
+Signed-off-by: Linus Walleij 
+Reviewed-by: Eric Dumazet 
+Signed-off-by: David S. Miller 
+---
+ drivers/net/ethernet/cortina/gemini.c | 15 ++-
+ 1 file changed, 2 insertions(+), 13 deletions(-)
+
+--- a/drivers/net/ethernet/cortina/gemini.c
 b/drivers/net/ethernet/cortina/gemini.c
+@@ -79,8 +79,7 @@ MODULE_PARM_DESC(debug, "Debug level (0=
+ #define GMAC0_IRQ4_8 (GMAC0_MIB_INT_BIT | GMAC0_RX_OVERRUN_INT_BIT)
+ 
+ #define GMAC_OFFLOAD_FEATURES (NETIF_F_SG | NETIF_F_IP_CSUM | \
+-  NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM | \
+-  NETIF_F_TSO | NETIF_F_TSO_ECN | NETIF_F_TSO6)
++ NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM)
+ 
+ /**
+  * struct gmac_queue_page - page buffer per-page info
+@@ -1143,23 +1142,13 @@ static int gmac_map_tx_bufs(struct net_d
+   struct gmac_txdesc *txd;
+   skb_frag_t *skb_frag;
+   dma_addr_t mapping;
+-  unsigned short mtu;
+   void *buffer;
+   int ret;
+ 
+-  mtu  = ETH_HLEN;
+-  mtu += netdev->mtu;
+-  if (skb->protocol == htons(ETH_P_8021Q))
+-  mtu += VLAN_HLEN;
+-
++  /* TODO: implement proper TSO using MTU in word3 */
+   word1 = skb->len;
+   word3 = SOF_BIT;
+ 
+-  if (word1 > mtu) {
+-  word1 |= TSS_MTU_ENABLE_BIT;
+-  word3 |= mtu;
+-  }
+-
+   if (skb->len >= ETH_FRAME_LEN) {
+   /* Hardware offloaded checksumming isn't working on frames
+* bigger than 1514 bytes. A hypothesis about this is that the

---
base-commit: 65fb97b4507bcff3f98739975e9cc7df53137b12
change-id: 20240123-gemini-ethernet-fix-d161681eeb45

Best regards,
-- 
Linus Walleij 


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-23 Thread Andrey Jr. Melnikov
John Crispin  wrote:
> tl;dr

> In 2024 the OpenWrt project turns 20 years! Let's celebrate this 
> anniversary by launching our own first and fully upstream supported 
> hardware design.

> If the community likes the idea outlined below in greater details, we 
> would like to start a vote.

> ---

> The idea

[]

> Hardwarespecifications:

> * SOC: MediaTek MT7981B
> * Wi-Fi: MediaTek MT7976C (2x2 2.4 GHz + 3x3/2x2 + zero-wait DFS 5Ghz)
> * DRAM: 1 GiB DDR4
> * Flash: 128 MiB SPI NAND+ 4 MiB SPI NOR
> * Ethernet: 2x RJ45 (2.5 GbE + 1 GbE)
> * USB (host): USB 2.0 (Type-A port)
> * USB (device, console): Holtek HT42B534-2 UART to USB (USB-C port)
> * Storage: M.2 2042 for NVMe SSD (PCIe gen 2 x1)
> * Buttons: 2x (reset + user)
> * Mechanical switch: 1x for boot selection (recovery, regular)
> * LEDs: 2x (PWM driven), 2x ETH Led (GPIO driven)
> * External hardware watchdog: EM Microelectronic EM6324 (GPIO driven)
> * RTC: NXP PCF8563TS (I2C) with battery backup holder(CR1220)
> * Power: USB-PD-12V on USB-C port (optional802.3at/afPoE via RT5040 module)
Why this slow-switching-power-when-enable yet antoher USB crap? optionally -
may be, but standart barrel plug 5.5/2.1 + (optional internal JST HX 2.54mm 2P
connector) is better.

> * Expansion slots: mikroBUS
> * Certification: FCC/EC/RoHS compliance
> * Case: PCB size is compatible to BPi-R4 and the case design can be re-used
> * JTAG for main SOC: 10-pin 1.27 mm pitch (ARM JTAG/SWD)
> * Antenna connectors: 3x MMCX for easy usage, assembly and durability
> * Schematics: these will be publicly available (license TBD)
> * GPL compliance: 3b. "Accompany it with a written offer ... to give any 
> third party ... a complete machine-readable copy of the corresponding 
> source code"
> * Price: aiming for below 100$

[]


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: ath11k (QCA6390) on master in bpi-r64 - some issues

2024-01-23 Thread Janusz Dziedzic
Sorry for the noise, it was physical connection issue. Now I see it
works correctly:

[8.360566] mhi mhi0: Wait for device to enter SBL or Mission mode
[8.475137] kmodloader: done loading kernel modules from /etc/modules.d/*
[8.482058] ath11k_pci :01:00.0: chip_id 0x0 chip_family 0xb
board_id 0xff soc_id 0x
[8.490929] ath11k_pci :01:00.0: fw_version 0x10121492
fw_build_timestamp 2021-11-04 11:23 fw_build_id
[8.586184] ath11k_pci :01:00.0: leaving PCI ASPM disabled to
avoid MHI M2 problems


BR
Janusz

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel