Re: [PATCH 21.02] ramips: mt7621: do memory detection on KSEG1

2022-02-22 Thread Chuanhong Guo
Hi! On Mon, Feb 21, 2022 at 10:22 AM Szabolcs Hubai wrote: > > From: Chuanhong Guo > > It's reported that current memory detection code occasionally detects > larger memory under some bootloaders. > Current memory detection code tests whether address space wraps arou

Re: Add swig/host build dependency [Was: Re: [PATCH] uboot-mediatek: clean up build dependencies]

2022-11-25 Thread Chuanhong Guo
is. You can't test u-boot-spl from memory though, because you can't initialize ram when the code itself is in ram. -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: BCM53xx on D-Link DIR-890L - 2MB max problem

2023-01-07 Thread Chuanhong Guo
loader which extracts the actual kernel code to the memory. The compressed kernel is linked as a part of the lzma-loader so it doesn't need any flash access. -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.or

Re: [PATCH] ramips: do not use GPIO function on switch pins on certain devices

2023-01-07 Thread Chuanhong Guo
and there's no bridge offloading between the "wan" interface and > other interfaces. > > mt7621_yuncore_ax820.dts: There's no bridge offloading between the "wan" > and "lan" interfaces. > > Signed-off-by: Arınç ÜNAL Applied to master. Than

Re: [OpenWrt-Devel] Migration in ath79 for swapped ethernet

2020-01-29 Thread Chuanhong Guo
rty and fill the corresponding name field in netdev structure. This has no chance to be accepted upstream and can only be our local hack forever. Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] ath79: add new ar934x spi driver

2020-02-05 Thread Chuanhong Guo
ck in dts anymore. Remove them. Signed-off-by: Chuanhong Guo --- The new shift mode in ar934x doesn't need all the bit-bang code in the old ath79-spi driver at all and there isn't much code that can be shared between two modes, so I decided to write a new driver for it. With

Re: [OpenWrt-Devel] [PATCH] ath79: add new ar934x spi driver

2020-02-06 Thread Chuanhong Guo
done flash reading and sysupgrade tests on ar933x/ar934x/qca955x including cs1 test on ar9344. But I agree that I'm too impatient this time. Sorry. Regards, Chuanhong Guo [0] https://patchwork.kernel.org/patch/11367973/ ___ openwrt-deve

Re: [OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-06 Thread Chuanhong Guo
kernel | pad-to (BLOCKSIZE) |\ Do we need this "pad-to (BLOCKSIZE)" in factory.bin/sysupgrade.bin? kernel/rootfs can be split anywhere and we may squeeze out several kilobytes by removing this image padding. Also I'm wondering whether "tplink-v1-image sysupgrade" recipe could replace "append-kernel | append-rootfs | pad-rootfs" here. ("tplink-v1-header" needs to be removed from KERNEL or there'll be duplicated headers) > + append-rootfs | pad-rootfs | append-metadata |\ > + check-size (IMAGE_SIZE) > +endef > +TARGET_DEVICES += teltonika_rut955 > + > define Device/trendnet_tew-823dru >SOC := qca9558 >DEVICE_VENDOR := Trendnet > -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH/RFC] ath79: ar933x_uart: set UART_CS_{RX, TX}_READY_ORIDE

2020-02-06 Thread Chuanhong Guo
ave AR933x here to test, it'd be great if > someone with that hardware can test if applying this patch breaks the > serial console or not. Tested on ar9331 (pisen,ts-d084) and uart console works fine. Tested-by: Chuanhong Guo ___ openwrt-deve

Re: [OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-02-06 Thread Chuanhong Guo
spi-ath79-add-fast-flash-read.patch also breaks ath79/4.14? Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ath79: ag71xx: use netif_receive_skb_list on 4.19

2020-02-06 Thread Chuanhong Guo
On Tue, Jan 7, 2020 at 8:12 AM Rosen Penev wrote: > > From: Chuanhong Guo > > This new function make batch processing of network packets possible, > which slightly improves performance. > > Signed-off-by: Chuanhong Guo > Tested-by: Rosen Penev > --- > around a

Re: [OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-02-08 Thread Chuanhong Guo
> m25p,fast-read; > > But I guess all those name variations will, in the end, mean just the same. > "m25p,fast-read" does not fix the issue as well. Correct. You could take a look at spi-nor driver and you'll find that these compatible strings aren't really used.

Re: [OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-02-10 Thread Chuanhong Guo
spi-mem-op matches 0x0b + 3-byte address + 1-byte dummy before executing the operation. You'll need to set m25p,fast-read for spi-nor code to generate this matching operation. Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.

Re: [OpenWrt-Devel] SPI 104 MHz on ar7240/Spansion S25FL032P

2020-02-10 Thread Chuanhong Guo
This high spi clock needs to be tested with my commit: ebf0d8dade ("ath79: add new ar934x spi driver") and I think all existing ar93xx/qca95xx devices with spi-max-frequency higher than 50MHz needs to be reduced below 50MHz or it needs to a

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Ubiquiti UniFi nanoHD

2020-03-09 Thread Chuanhong Guo
match the one > configured to the hardware. > Are you aware if this has already been fixed in Kernel 4.14? This is fixed by the following commits: ramips: fix cpu clock of mt7621 and add dt clk devices: https://git.openwrt.org/c7ca224299 ramips: fix some clocks in mt7621.dtsi: https://

[OpenWrt-Devel] [PATCH 2/2] kernel: rtl8367b: add configuration for extif2

2020-03-16 Thread Chuanhong Guo
d-off-by: Serge Vasilugin [fix indent, replace magic value, alter commit message] Signed-off-by: Chuanhong Guo --- .../generic/files/drivers/net/phy/rtl8367b.c | 44 +-- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367b.c

[OpenWrt-Devel] [PATCH 1/2] generic: rtl8367b: add definition of debug reg

2020-03-16 Thread Chuanhong Guo
This commit adds definition of DEBUG0 and DEBUG1 registers and replace magic values with proper register modifying. Signed-off-by: Chuanhong Guo --- .../generic/files/drivers/net/phy/rtl8367b.c | 35 --- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/target

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: rtl8367b: add configuration for extif2

2020-03-16 Thread Chuanhong Guo
On Mon, Mar 16, 2020 at 6:37 PM Chuanhong Guo wrote: > +#define RTL8367B_DIS2_RGMII_SHIFT0 > +#define RTL8367B_DIS2_RGMII_MASK 0xf > + > +#define RTL8367B_EXT_RGMXF_REG(_x) \ > + ((_x) == 2 ? 0x13c5 : 0x1306 + (

Re: [OpenWrt-Devel] [RFC PATCH] ath79: clarify purpose of factory image

2020-03-27 Thread Chuanhong Guo
to it. I think it doesn't worth to mark these factory images as 'tftp capable'. BTW I have no idea about how tplink-safeloader stuff works. -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] generic: spi-nor: rework broken-flash-reset

2020-04-06 Thread Chuanhong Guo
warning. We are not dealing with vendors and it's unpleasant for users to see that unnecessary and long WARN_ON print. Signed-off-by: Chuanhong Guo --- This patch is inspired by previous work from: target/linux/ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch I was init

[OpenWrt-Devel] [PATCH][RFC] Revert "ramips: mt7621: disable image for mikrotik_rbm11g"

2020-04-06 Thread Chuanhong Guo
complains. Signed-off-by: Chuanhong Guo --- RFC: Should I do this? If I don't do so, users will complain about missing image; But if I do and brick users devices, users may also complain. That may not be a big deal as users can recover their devices easily. I have no idea what I should do at thi

Re: [OpenWrt-Devel] ramips/mt7621 after 5.4 switch

2020-04-07 Thread Chuanhong Guo
eprecated so there's no need to do so. In fact, this driver under mediatek target also works for mt7621: target/linux/mediatek/files-5.4/drivers/net/phy/mtk/mt753x -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] generic: spi-nor: rework broken-flash-reset

2020-04-08 Thread Chuanhong Guo
th it. I also think this way so I didn't do any measurement beforehand :) -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH 1/1] ramips: mt7621: use higher SPI clock speed on Mikrotik rbm11g and rbm33g

2020-04-09 Thread Chuanhong Guo
quency = <3300>; m25p,fast-read isn't needed until spi frequency is higher than 50MHz and it affects performance a bit. It can be removed here and below. -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH RFT] ramips: mt7621: use lzma-loader for all devices

2020-04-13 Thread Chuanhong Guo
default kernel template. Signed-off-by: Chuanhong Guo --- D-Link DIR-860L B1 needs a different loader implementation and isn't covered by this patch. Please help testing this patch on top of current master: 75f19deb3a ramips: define image recipe for uncompressed uimage with loader 1. If your d

Re: [OpenWrt-Devel] [PATCH RFT] ramips: mt7621: use lzma-loader for all devices

2020-04-14 Thread Chuanhong Guo
EXT_START. We don't really need to test a change of LZMA_TEXT_START on every boards as its our own code doing the same thing. So I'd like to leave this untouched and change it later if needed. -- Regards, Chuanhong Guo ___ openwrt-devel m

Re: [OpenWrt-Devel] [PATCH RFT] ramips: mt7621: use lzma-loader for all devices

2020-04-14 Thread Chuanhong Guo
t lzma-loader and hangs up: Oops. I can't debug further on this issue so I'll abandon this patch and use it only for devices affected by the kernel bump. Thanks for testing! -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt

Re: [OpenWrt-Devel] [PATCH RFT] ramips: mt7621: use lzma-loader for all devices

2020-04-14 Thread Chuanhong Guo
Hi! On Wed, Apr 15, 2020 at 5:47 AM David Bauer wrote: > > Hi Guo, > > On 4/14/20 8:44 AM, Chuanhong Guo wrote: > > D-Link DIR-860L B1 needs a different loader implementation and isn't > > covered by this patch. > > Please help testing this patch on top of cu

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for Asus RT-N10P V3 / RT-N11P B1 / RT-N12 VP B1

2020-04-14 Thread Chuanhong Guo
T_DEVICES += asus_rt-n10p_v3 > + > +define Device/asus_rt-n11p_b1 > + IMAGE_SIZE := 7872k > + DEVICE_VENDOR := Asus > + DEVICE_MODEL := RT-N11P B1 > + SUPPORTED_DEVICES += rt-n11p_b1 > +endef > +TARGET_DEVICES += asus_rt-n11p_b1 > + > +define Device/asus_rt-n12_vp_b1 > +

Re: [OpenWrt-Devel] [PATCH 2/2] ramips: mt7621: use lzma-loader for D-Link DIR-860L

2020-04-19 Thread Chuanhong Guo
urrent solution too. but I prefer to drop patch 1/2 and write the complete kernel recipe for dir-860l only. It's a bit confusing to use "KERNEL +=" -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] ramips: remove default switch setup in 02_network

2020-04-28 Thread Chuanhong Guo
ramips images now relies on explicit switch setup for proper failsafe functionality. Remove default cases where it relies on vlan setup in dts and add switch setup for devices affected. Signed-off-by: Chuanhong Guo --- .../mt7620/base-files/etc/board.d/02_network | 20 +-- .../mt76x8/base

Re: [OpenWrt-Devel] Issues backporting 4-byte opcode support for w25q256 fix to 4.14 kernel and Lima board

2020-05-01 Thread Chuanhong Guo
d_flash_data and return -ENOTSUPP on SFDP reading request. [0] https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ath79/patches-4.14/461-spi-ath79-add-fast-flash-read.patch;h=7c24fc5e14e593e8945789c2ac3e37bd14ad92be;hb=33732f4a9c17921b782167a0dcaba9703d4e6753 -- Regards,

Re: [OpenWrt-Devel] Proposal: Differentiating "skinny" platforms from others... (resending)

2020-05-02 Thread Chuanhong Guo
ls mediatek tp1900ac (a stripped-down mt7629 armv7 soc with a tp-link badge :P) routers with 4M flash and 32M ram. This kind of "fat packages" separation has to be a per-target one like current SMALL_FLASH property, and we either need some clever package feed setup

Re: [OpenWrt-Devel] Multicast issue in 19.07.x release and master, fix it in 19.07.3 (?)

2020-05-05 Thread Chuanhong Guo
Hi! On Wed, May 6, 2020 at 1:36 AM pedrowrt wrote: > > I tested it using Staging tree of Chuanhong Guo [1], and it worked. Good > job. What are the next steps related to this? > > I understand to not be included in future release (no problem, we can > inject the patch on our

Re: Buildbot problems mediatek mt7629

2020-06-27 Thread Chuanhong Guo
*** > [package/boot/uboot-mediatek/compile] Error 2 > make[1]: *** Waiting for unfinished jobs > > Maybe somebody with more knowledge of the buildbot setup can help here. upstream u-boot with spl uses binman which needs python-devel in host system. u-boot

[PATCH 1/3] ramips: lzma-loader: make FLASH_START configurable

2020-09-01 Thread Chuanhong Guo
his commit makes FLASH_START a configurable value to handle both cases. Signed-off-by: Chuanhong Guo --- target/linux/ramips/image/lzma-loader/Makefile | 2 ++ target/linux/ramips/image/lzma-loader/src/Makefile | 5 + target/linux/ramips/image/lzma-loader/src/loader.c | 5 + 3 files

[PATCH 3/3] ramips: image: example usage of OKLI loader

2020-09-01 Thread Chuanhong Guo
This is an example of using OKLI loader and will not be part of final commits. First uImage header covers loader + kernel so that the original firmware mtdsplit can be used. --- target/linux/ramips/image/Makefile | 10 ++ target/linux/ramips/image/mt7620.mk | 1 + target/linux/ramips/ima

[PATCH 0/3] ramips: fix OKLI lzma-loader

2020-09-01 Thread Chuanhong Guo
OKLI mode of our lzma-loader in ramips still contains left-over bits from ar71xx and isn't used before. This patchset fixes it so that it can be used in future devices. (e.g. https://github.com/openwrt/openwrt/pull/2645) Chuanhong Guo (3): ramips: lzma-loader: make FLASH_START configu

[PATCH 2/3] ramips: image: add recipe for OKLI loader

2020-09-01 Thread Chuanhong Guo
Signed-off-by: Chuanhong Guo --- target/linux/ramips/image/Makefile | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index f5166f8ae1..10e9edd3bb 100644 --- a/target/linux/ramips/image

Re: [PATCH 1/3] ramips: lzma-loader: make FLASH_START configurable

2020-09-02 Thread Chuanhong Guo
t; unsigned long kernel_ofs; > > unsigned long kernel_size; > > > > - flash_base = (unsigned char *) KSEG1ADDR(AR71XX_FLASH_START); > > + flash_base = (unsigned char *) KSEG1ADDR(CONFIG_FLASH_START); ...here. It'll fail if CONFIG_FLASH_START isn&#x

Re: [PATCH 0/3] ramips: fix OKLI lzma-loader

2020-09-02 Thread Chuanhong Guo
> > Those are tested by the author now. > > Depending on what you prefer, I'd either wait for you to merge your two > commits and then push the final one, or just merge all three myself. Feel free to merge all 3 patches :) -- Regards, Chuanhong Guo _

[PATCH] ath79: ar8216: make switch register access atomic

2020-09-21 Thread Chuanhong Guo
other platform. Limit it to ath79-only as a target patch. Fixes: FS#2216 Fixes: FS#3226 Signed-off-by: Chuanhong Guo --- .../930-ar8216-make-reg-access-atomic.patch | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 target/linux/ath79/patches-5.4/930-ar8216-make-reg-a

Re: mac80211: Fixed a bug: STA disconnects frequently

2020-09-21 Thread Chuanhong Guo
take your time to read OpenWrt contribution guidelines [0] and fix all the formal issues first. [0] https://openwrt.org/submitting-patches -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openw

Re: [PATCH] ath79: ar8216: make switch register access atomic

2020-09-21 Thread Chuanhong Guo
e) no extra background tasks are running. swconfig led trigger is used so the kernel is constantly polling port status from switch in the background. -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] ath79: ar8216: make switch register access atomic

2020-09-23 Thread Chuanhong Guo
below mutex_lock and send a v2 or do you have other suggestions? -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH v4 1/4] ipq806x: add support for Linksys E8350 v1

2020-10-03 Thread Chuanhong Guo
factory.bin sysupgrade.ubi > +IMAGE/sysupgrade.ubi := append-ubi | check-size 0x0400 | > append-metadata Could you try the tar sysupgrade package instead? Replace this line with: IMAGE/sysupgrade.bin = sysupgrade-tar | append-metadata The resulting sysupgrade.bin should work withou

Re: [PATCH] ath79: ar8216: make switch register access atomic

2020-10-10 Thread Chuanhong Guo
Hi! On Sun, Oct 4, 2020 at 12:33 PM Baptiste Jonglez wrote: > > Hi, > > Thanks a lot for fixing this! > > Can you backport it to openwrt-19.07? ath79 is also affected there. backport pushed. -- Regards, Chuanhong Guo ___ openwrt-

[PATCH] ramips: add support for TOTOLINK X5000R

2020-10-20 Thread Chuanhong Guo
Other info: MT7915 seems to have two PCIEs connected to MT7621. Card detected on PCIE0 has an ID of 14c3:7916 and the other one on PCIE1 has 14c3:7915. Signed-off-by: Chuanhong Guo --- .../ramips/dts/mt7621_totolink_x5000r.dts | 139 ++ target/linux/ramips/image/mt76

Re: MT7621 NAND OOB misdetect

2023-02-10 Thread Chuanhong Guo
K+128 flash layout, so it's the old driver which is incorrectly detecting OOB size. > Suffice to that accessing the device (nanddump) does not go well. Could you describe what exactly goes wrong? -- Regards, Chuanhong Guo ___ openwrt-devel mailing

Re: MT7621 NAND OOB misdetect

2023-02-11 Thread Chuanhong Guo
Hi! On Sat, Feb 11, 2023 at 8:41 PM Peter Naulls wrote: > > On 2/10/23 22:41, Chuanhong Guo wrote: > > Hi! > > > 16.163318] 8 fixed-partitions partitions found on MTD device mt7621-nand > > > > From the datasheet here: > > https://www.mxic.com.tw/Lists/

Re: MT7621 NAND OOB misdetect

2023-02-15 Thread Chuanhong Guo
Hi! On Tue, Feb 14, 2023 at 4:01 AM Peter Naulls wrote: > > On 2/11/23 08:10, Chuanhong Guo wrote: > > Hi! > > > > >> > >> # nanddump -a /dev/mtd2 > >> ECC failed: 8 > >> ECC corrected: 0 > >> Number of bad blocks: 0 > >&g

Re: [PATCH 1/2] ath79: correct switch PHYs for GMAC0 in ar934x

2023-10-11 Thread Chuanhong Guo
les switch MDIO (many vendor u-boot do so), PHYs defined in GMAC MDIO won't be discovered until a switch reset. Also, I vaguely remembered that the AR934X GMAC0 MDIO is always the external one and the built-in switch is on MDIO1. Have you tested this on existing devices? -- Re

Re: [PATCH 1/2] kernel: usb: Autoprobe g_serial

2023-11-19 Thread Chuanhong Guo
ault to prevent that when users decided to install multiple of them. I made an init script to setup USB gadget using the "modern" configfs approach: https://github.com/openwrt/openwrt/pull/14005 Maybe you can make use of this one instead? :) -- Regards, Chuanhong Guo __

Re: [PATCH] ipq95xx: Add support for IPQ9574 RDP433

2023-12-07 Thread Chuanhong Guo
l. It would be better to submit a complete patchset for a working target instead. Is there any plan for upstreaming support for basic functionalities like ethernet and/or WiFi? -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] build: enable thumb compile flag for 32bit architecture.

2024-01-03 Thread Chuanhong Guo
= 1 > PKG_FORTIFY_SOURCE ?= 1 > PKG_RELRO ?= 1 > > +ifeq ($(ARCH),arm) > +TARGET_CFLAGS += -mthumb > +endif > + This isn't a hardening option, so it doesn't belong here. This should probably be part of package.mk instead. -- Regards, Chuanhong Guo

Re: [PATCH] base-files: update min_free_kbytes configuration

2024-01-03 Thread Chuanhong Guo
f from the original author Zhuo Fu here. [1] https://git.openwrt.org/5c9cc7b7f8920944a413644e1c2ea23bfe655bcb -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] valgrind: fix config missing in menuconfig.

2024-01-05 Thread Chuanhong Guo
in aarch32 mode? If that's the case you should make CONFIG_CPU_V7 available in your kernel config. -- Regards, Chuanhong Guo ___ 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-09 Thread Chuanhong Guo
loader to unbrick the device. Here's one with USB2.0 Hi-speed interface: https://github.com/cherry-embedded/CherryDAP The Sipeed M0S module used costs 20CNY on Taobao (or 2.81 USD according to google) -- Regards, Chuanhong Guo ___ ope

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-09 Thread Chuanhong Guo
Hi! On Tue, Jan 9, 2024 at 10:34 PM John Crispin wrote: > > > On 09.01.24 14:51, Chuanhong Guo wrote: > > Hi! > > > > On Tue, Jan 9, 2024 at 6:52 PM John Crispin wrote: > >> [...] > >> FAQ > >> > >> * Why are there are 2 diffe

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-18 Thread Chuanhong Guo
ost-down MT7986 I would imagine this particular feature is the same between them: HW NAT − Etherent/WiFi − Wired speed − IPv4 routing, NAT, NAPT − IPv6 routing, DS-Lite, 6RD -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@

Re: [VOTE] New member proposal: Robimarko (Robert Marko)

2024-01-30 Thread Chuanhong Guo
ert is a good addition to our team and would massively help > me (Ansuel) in maintaining each IPQ target and review all the related > PR on github and patchwork. > I would like to add Robert to the OpenWrt committers team. > +1. -- Regards, Chuanhong Guo __

Re: Purpose of openwrt-devel?

2024-03-12 Thread Chuanhong Guo
ver get into the main repository. There are a lot of GitHub pull requests that nobody feels like merging, too. Patches are piling up at both places and I don't think this is a mailing-list specific problem. -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: Purpose of openwrt-devel?

2024-03-15 Thread Chuanhong Guo
. Maybe we should just drop all the git magic for the history of old versions, and make the kernel_bump script do a commit for git mv and another one for copying it back. > > Given the number of pulls which already miss the use, doing all boards at > the same time really does seem the way to

Re: Purpose of openwrt-devel?

2024-03-15 Thread Chuanhong Guo
citly NACKing your patch or saying it's worse than the bash version just because it's written in perl. Maintainers who don't understand perl simply don't have the knowledge to judge the script, so the patch is left for others. If such a maintainer doesn't show up, your patch won't be taken. It doesn't matter if your script is superior or not. -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [VOTE] OpenWrt Two

2025-02-14 Thread Chuanhong Guo
the 250$ region with yet again a portion of > that being donated to the project. > > expected availability is late '25. > > John > +1! -- Regards, Chuanhong Guo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH 1/2] kernel: usb: Autoprobe g_serial

2025-03-31 Thread Chuanhong Guo
Hi! On Mon, Mar 31, 2025 at 4:52 PM Linus Walleij wrote: > > Hi Chuanhong, > > sorry for extreme slowness on my part, replying to an over one year old > question... > > On Sun, Nov 19, 2023 at 2:27 PM Chuanhong Guo wrote: > > > The g_*.ko gadget modules conflict w

Re: [PATCH v2 2/4] package: usbgadget: Define conffile

2025-04-03 Thread Chuanhong Guo
On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij wrote: > > The /etc/config/usbgadget file is a conffile, so specify > it as such. > > Cc: Chuanhong Guo > Signed-off-by: Linus Walleij Thanks for the fixes! > --- > package/utils/usbgadget/Makefile | 4 > 1

Re: [PATCH v2 3/4] package: usbgadget: Fix subpackage dependencies

2025-04-03 Thread Chuanhong Guo
get > all dependencies satisfied. > > Adding a dependency using usbgadget+ fixes this. > > Cc: Chuanhong Guo > Signed-off-by: Linus Walleij > --- > package/utils/usbgadget/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/packa

Re: [PATCH v2 1/4] package: usbgadget: Require kmod-fs-configfs

2025-04-03 Thread Chuanhong Guo
Hi! On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij wrote: > > The usbgadget package tries to mount and use configfs so it > needs to require the kernel module instead of implying it. > > There should be a newline at the end of the file as well. > > Cc: Chuanhong Guo > Sign

Re: [PATCH v2 2/4] package: usbgadget: Define conffile

2025-04-03 Thread Chuanhong Guo
Hi! On Fri, Apr 4, 2025 at 9:51 AM Chuanhong Guo wrote: > > On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij wrote: > > > > The /etc/config/usbgadget file is a conffile, so specify > > it as such. > > > > Cc: Chuanhong Guo > > Signed-off-by: Linus Walle

<    1   2