code refactoring of rb5009upr+s+in support#1
Open
carlo2007 wants to merge 5202 commits intoprudy:rb5009upr+s+infrom
Open
code refactoring of rb5009upr+s+in support#1carlo2007 wants to merge 5202 commits intoprudy:rb5009upr+s+infrom
carlo2007 wants to merge 5202 commits intoprudy:rb5009upr+s+infrom
Conversation
3808263 to
c2b180e
Compare
c172f51 to
6a31886
Compare
6a31886 to
d0066a4
Compare
278d455 to
81c09ce
Compare
1e404cf to
4935d74
Compare
4935d74 to
d772fe4
Compare
carlo2007
referenced
this pull request
in carlo2007/openwrt
Jun 20, 2025
Add missing function reference for the l2_hash_seed call in rtl931x_reg in the rtl83xx DSA driver part. While at it, rename the referenced function to proper naming convention and simplify its content. The missing reference causes a hard crash after a short time (on MS510TXM) because the driver assumes the reference always exists. [ 111.785559] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 805469a0 [ 111.800991] Oops[#1]: [ 111.801026] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G O 6.12.33 #0 [ 111.801046] Workqueue: dsa_ordered dsa_slave_switchdev_event_work ... [ 111.880600] epc : 00000000 0x0 [ 111.884219] ra : 805469a0 rtl83xx_port_fdb_add+0x7c/0x204 [ 111.890570] Status: 11000403 KERNEL EXL IE [ 111.895263] Cause : 50800008 (ExcCode 02) [ 111.899731] BadVA : 00000000 [ 111.902946] PrId : 0001a120 (MIPS interAptiv (multi)) [ 111.956086] Process kworker/u8:0 (pid: 11, threadinfo=0b107c25, task=265aeb31, tls=00000000) ... [ 112.015167] Call Trace: [ 112.019549] [<80170b04>] load_balance+0x494/0x708 [ 112.025022] [<807bb368>] dsa_port_do_fdb_add+0x24c/0x340 [ 112.031048] [<807bc868>] dsa_switch_event+0xd44/0x13cc [ 112.036845] [<8015867c>] raw_notifier_call_chain+0x48/0x88 [ 112.043031] [<807bcf3c>] dsa_tree_notify+0x10/0x3c [ 112.048395] [<807b2a64>] dsa_port_bridge_host_fdb_add+0x15c/0x190 [ 112.055459] [<807b4e40>] dsa_slave_switchdev_event_work+0x164/0x1cc ... Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: openwrt#19170 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
78ccebe to
f8fa2d5
Compare
f8fa2d5 to
9176a50
Compare
carlo2007
referenced
this pull request
in carlo2007/openwrt
Jan 25, 2026
Fix kernel panic caused by downstream PHY_DETACH_NO_HW_RESET patch. [ 20.994001] airoha_eth 1fb50000.ethernet wan: validation of usxgmii with support 00,00000000,00000000,00006000 and advertisement 00,00000000,00000000,00006000 failed: -EINVAL [ 21.058106] Unable to handle kernel access to user memory outside uaccess routines at virtual address 00000000000000b8 [ 21.068879] Mem abort info: [ 21.071684] ESR = 0x0000000096000005 [ 21.075436] EC = 0x25: DABT (current EL), IL = 32 bits [ 21.080790] SET = 0, FnV = 0 [ 21.083854] EA = 0, S1PTW = 0 [ 21.086997] FSC = 0x05: level 1 translation fault [ 21.091931] Data abort info: [ 21.094829] ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 [ 21.100359] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 21.105419] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 21.110762] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000091bc8000 [ 21.117218] [00000000000000b8] pgd=0800000084ee9003, p4d=0800000084ee9003, pud=0800000084ee9003, pmd=0000000000000000 [ 21.127892] Internal error: Oops: 0000000096000005 [#1] SMP [ 21.133483] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_inet pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nfte [ 21.191941] CPU: 3 UID: 0 PID: 1882 Comm: netifd Tainted: G O 6.12.57 #0 [ 21.200046] Tainted: [O]=OOT_MODULE [ 21.203534] Hardware name: Gemtek W1700K (DT) [ 21.207892] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 21.214861] pc : phy_detach+0xe8/0x194 [ 21.218628] lr : phy_detach+0xe4/0x194 [ 21.222387] sp : ffffffc0823ebae0 [ 21.225702] x29: ffffffc0823ebae0 x28: ffffff8005451c00 x27: 0000000000000000 [ 21.232846] x26: 0000000000000000 x25: 0000000000001003 x24: ffffffc080cf8240 [ 21.239990] x23: 0000000000001002 x22: ffffff807fc527f8 x21: ffffffc080c93318 [ 21.247125] x20: ffffff8001cfc000 x19: ffffff80036f7000 x18: ffffff8012cde323 [ 21.254269] x17: 303a302d30333537 x16: 000000000000000e x15: 0000005139b64de4 [ 21.261413] x14: 0000000000000001 x13: ffffff80020b46c0 x12: 0000000000000001 [ 21.268550] x11: ffffff80020b46c0 x10: ffffff8005451cc0 x9 : ffffff807dbf5200 [ 21.275694] x8 : ffffff80020b46c0 x7 : ffffff80010a8ed0 x6 : 0000000000000000 [ 21.282838] x5 : 00000000000013f8 x4 : 0000000000000000 x3 : ffffff8005451c00 [ 21.289983] x2 : 0000000000000000 x1 : ffffff8005451c00 x0 : 0000000000000000 [ 21.297128] Call trace: [ 21.299575] phy_detach+0xe8/0x194 [ 21.302988] phylink_fwnode_phy_connect+0x194/0x1c0 [ 21.307874] phylink_of_phy_connect+0x18/0x20 [ 21.312248] airoha_dev_open+0x44/0x2b0 [ 21.316094] __dev_open+0xe8/0x15c [ 21.319505] __dev_change_flags+0x154/0x1c0 [ 21.323698] dev_change_flags+0x20/0x64 [ 21.327541] dev_ifsioc+0x28c/0x444 [ 21.331032] dev_ioctl+0x290/0x4b8 [ 21.334434] sock_ioctl+0x31c/0x444 [ 21.337923] __arm64_sys_ioctl+0x354/0xe60 [ 21.342020] invoke_syscall.constprop.0+0x58/0xec [ 21.346725] do_el0_svc+0x3c/0xd4 [ 21.350041] el0_svc+0x18/0x60 [ 21.353097] el0t_64_sync_handler+0x118/0x124 [ 21.357455] el0t_64_sync+0x150/0x154 Make sure the phydev have a driver before asserting a signal or we would dereference a NULL address. Signed-off-by: Balázs Triszka <info@balika011.hu> [ improve commit description ] Link: openwrt#20740 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9176a50 to
68b197c
Compare
602a605 to
44e0bed
Compare
PineCube is a low-powered, open source IP camera with OV5640. Specifications: SoC: Allwinner S3 Cortex-A7 DRAM: 128MB DDR3 integrated Power: microUSB Storage: microSD / 16MByte SPI flash USB: 1x 2.0 Network: 10/100Mbit ethernet with passive PoE (4-18V) Wireless: RTL8189ES (unsupported) Debug: Serial UART on 26-pin GPIO Features: 5 mpx OV5640 camera, microphone, IR LEDs Flashing instructions: Standard sunxi SD card installation procedure - copy image to SD card, insert into SD card slot on the device and boot. Link: openwrt#22422 Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Add missing wpabuf_free calls to the hostapd_rrm_nr_set and hostapd_rrm_beacon_req functions. Signed-off-by: Vladimir Palevich <palevichva@gmail.com> Link: openwrt#22538 Signed-off-by: Nick Hainke <vincent@systemli.org>
Remove upstreamed patch: - 001-PASN-Fix-the-compilation-errors-without-CONFIG_PASN.patch Add patch: - 001-RSN-Fix-pmksa_cache_flush-prototype-mismatch-in-non-.patch Link: openwrt#22517 Signed-off-by: Nick Hainke <vincent@systemli.org>
NN6000v1 Specifications:
SoC: Qualcomm IPQ6000 1.2GHz
RAM: K4B4G1646E-BCMA 512MiB x2 = 1 GiB
Flash: FORESEE 256GB eMMC
ETH: QCA8075 (2x LAN, 1x WAN)
WLAN1: QCN5022 2.4GHz AX 2x2
WLAN2: QCN5052 5GHz AX 2x2
Power: DC 12V
Button: Reset, Wps
USB: 1x 3.0
NN6000v2 Specifications:
SoC: Qualcomm IPQ6000 1.2GHz
RAM: MT41K512M16VRN-107 IT:P 1GiB x2 = 2 GiB
Flash: FORESEE 256GB eMMC
ETH: QCA8075 (4x LAN, 1x WAN)
WLAN1: QCN5022 2.4GHz AX 2x2
WLAN2: QCN5052 5GHz AX 2x2
Power: DC 12V
Button: Reset, Wps
USB: 1x 3.0
Install via UART:
1. Download the initramfs image, rename it to
initramfs.itb, host it with the tftp server.
2. Interrupt U-Boot and run these commands:
tftpboot initramfs.itb
bootm
3. After openwrt boots up, use scp or luci web
to upload sysupgrade.bin to upgrade.
Install via Uboot WebUI:
- Only work when you flash a custom uboot with webui
- Push the reset button for 5 seconds, then use broswer to
access http://192.168.1.1/, then upload factory.bin.
Signed-off-by: Fire Chen <firedevel@icloud.com>
Link: openwrt#21787
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Add uboot-envtools support for JDCloud RE-CS-02 RE-CS-07 and RE-SS-01 Signed-off-by: Fire Chen <firedevel@icloud.com> Link: openwrt#21787 Signed-off-by: Robert Marko <robert.marko@sartura.hr>
The Zyxel XGS1x10 DTS overzealously tries to avoid redundancies. For this the phy24/phy25 definitions were split into a common and a device specific part. Understanding how these phys are defined is therefore a little bit tricky. Add a little bit of redundancy to make the definitions easier to read and understand in a single location. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: openwrt#22236 Signed-off-by: Robert Marko <robert.marko@sartura.hr>
The switch node is currently located outside of the switchcore@1b000000 tree. This makes it hard to find when referencing from other nodes in this tree. Make it a subnode of switchcore and "retype" it to ethernet-switch like upstream does. This is not perfectly aligned as upstream just mixes the switchcore and the ethernet-switch node into one. But this will be future work for downstream. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: openwrt#22236 Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Refresh qualcommax/ipq60xx config. Signed-off-by: Robert Marko <robimarko@gmail.com>
Hardware specification
----------------------
* RTL9301 SoC, 1 MIPS 34KEc core @ 800MHz
* 512MB DRAM
* 64MB NAND Flash
* 24 x 10/100/1000BASE-T ports
* 4 x 10G SFP+ ports
* Power LED, Console LED, Fan Fault LED
* Reset button on front panel
* LM75 temperature sensor
* Atmel AT24C02 2kb eeprom
* fan (controllable via gpio for on/off and LM75 for low/high speed)
* UART (115200 8N1) via RJ45
Installation using serial interface
-----------------------------------
1. Prepare TFTP server & connect to serial port.
2. Connect DGS-1250 to your computer or network with one of the
1G ports. All of them will be fine.
3. Power on DGS-1250 and interrupt autoboot with "&".
4. Change U-Boot startup sequence
> setenv silent
> setenv bootcmd 'cp.l 0xb4200000 0x84000000 0x300000; bootm 0x84000000'
> saveenv
5. Enable networking within U-Boot.
> rtk network on
6. Set switch IP and TFTP server IP (optional, adjust to your setup).
> setenv ipaddr <ip>
> setenv serverip <ip>
7. Download initramfs image from TFTP server.
> tftpboot 0x84000000 <image name>
8. Boot with the downloaded image.
> bootm 0x84000000
9. With rambooted OpenWrt, backup the stock firmware.
THIS IS CRITICAL! /dev/mtd3 contains data that is not provided
in the downloadable vendor firmware images.
10. Copy sysupgrade image to the device.
11. Perform sysupgrade with the sysupgrade image.
12. After reboot, you should have functional OpenWrt.
Installation using OEM webinterface
-----------------------------------
This is not possible because the vendor image uses a ubifs based
loading technique with encrypted images. To be precise the boot
sequence basically runs as follows.
1. U-Boot starts
2. U-Boot mounts 62MB ubifs from mtd3
3. U-Boot reads Linux kernel from file uImage inside ubifs
4. Linux starts (this is a initramfs image)
5. Linux mounts ubifs
6. Linux calls a loader binary
7. Depending on current configuration first (file Image1) or
second firmware image (file Image2) is loaded and decrypted
8. Inside the decrpyted firmware image there is a executable
named “switch”
9. "switch" executable is run and the switch comes alive
Reverting to stock firmware
---------------------------
1. Boot OpenWrt from initramfs (like in installation section above)
2. Restore partition /dev/mtd3 from backup
3. Erase Openwrt special U-Boot env
# mtd erase mtd1
4. reboot
Further information
-------------------
Wiki: https://openwrt.org/toh/d-link/dgs-1250
Forum: https://forum.openwrt.org/t/support-for-d-link-dgs-1250-switches
Partition dumps: https://github.com/plappermaul/realtek-doc/tree/main/DGS-1250
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: openwrt#22530
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Refresh qualcommax/ipq50xx config. Signed-off-by: Robert Marko <robimarko@gmail.com>
The code in 800-gpio-regmap-Bypass-cache-for-shadowed-outputs.patch
was accepted upstream as commit 897396b418d1 ("gpio: regmap: Bypass
cache for aliased inputs"). Update the filename to reflect the first
release containing this change.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
The loop scanning the available toggle rates would stop when the requested interval exceeded the tested interval. Since the intervals are searched from small to large, this would always trigger on the shortest interval, or skip to the largest interval for small requested values. To correctly clamp (ceil) the toggle rate, the loop needs to continue until the condition is met, instead of breaking the loop. Fixes: 6ef6014 ("realtek: Add pinctrl support for RTL8231") Signed-off-by: Sander Vanheule <sander@svanheule.net>
The allocated regmap_field object is not stored as a const reference, so the helper function allocating the object should not return it as such. Drop 'const' so the build doesn't complain about discarding the qualifier. Fixes: 6ef6014 ("realtek: Add pinctrl support for RTL8231") Signed-off-by: Sander Vanheule <sander@svanheule.net>
It may be possible that the bootloader has left an RTL8231 expander configured for synchronous operation, which requires the user to signal that the new GPIO/LED states should be latched. As drivers typically perform one operation at a time for the higher level kernel framework, this would require a latch on every update, which is not very useful. Disable synchronous operation to keeps things simple. Signed-off-by: Sander Vanheule <sander@svanheule.net>
Add a pinctrl-single node to the switch GPIO/LED control register that disables the port LED peripheral when selected. When an RTL8231 is instantiated, this is required to prevent the user config from being overwritten by the peripheral. As this is technically not a pin mux operation, but rather a peripheral disable, using pinctrl-single for this purpose is bit of a hack, but it does the job. Signed-off-by: Sander Vanheule <sander@svanheule.net>
To enable the use of the RTL8231 to control (port) LEDs, the driver needs to be enabled in the build. Incorporate it into the kernel, so any LED consumers also work in failsafe mode. Signed-off-by: Sander Vanheule <sander@svanheule.net>
Add the RTL8231 controlling the port LEDs to the devicetree, so users can enable them. Using the appropriate link name, the netdev trigger can be used to reflect the port status. As no hardware port status offloading is supported, blinking on traffic could result in increased load due to the numerous LED updates. Signed-off-by: Sander Vanheule <sander@svanheule.net>
Refresh qualcommax patches, this one seems to have slipped in after kernel bump. Signed-off-by: Robert Marko <robimarko@gmail.com>
Use ascii-env driver for reading mac addresses directly from devinfo partition for: - Linksys MX5300 - Linksys HomeWRK Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: openwrt#22592 Signed-off-by: Robert Marko <robimarko@gmail.com>
Remove unnecessary properties as there is no reg property in child node. Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: openwrt#22592 Signed-off-by: Robert Marko <robimarko@gmail.com>
Introduce fix which prevents the kernel from crashing in case the mxl862xx driver fails to probe due to outdated firmware running on the switch. Cancel all pending work and prevent rescheduling of counter polling in case the driver errors out during probe. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
All targets using ar8327 use OF. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: openwrt#22069 Signed-off-by: Robert Marko <robimarko@gmail.com>
This code seems to predate OF. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: openwrt#22069 Signed-off-by: Robert Marko <robimarko@gmail.com>
Simplifies allocation. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: openwrt#22069 Signed-off-by: Robert Marko <robimarko@gmail.com>
Switch the common DTS for Zyxel XGS1250-12 variants to the recently added SWITCH_PORT_LED macro to reduce boilerplate and make the DTS cleaner. As a side effect, this also assign labels to the port nodes so they can be referenced by the variant-specific device tree sources. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: openwrt#22690 Signed-off-by: Robert Marko <robimarko@gmail.com>
In kernel 6.18, upstream added a change to the Aquantia PHY driver which reports autoneg and inband capabilities as the PHY supports it, and configures it accordingly in the PHY [1]. Due to how phylink works, it then decides to turn off in-band signalling and prefer outband signalling via MDIO. We do not fully support running a USXGMII link with disabled autonegotiation which leads to a non-working link between RTL93xx switch and Aquantia PHYs running on USXGMII. To workaround this issue until this support is added (if it is properly supported by the hardware), force the Aquantia PHYs on affected devices to use inband signalling instead of outband signalling. To achieve this, one can add > managed = "in-band-status"; to the port definition in the DTS. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d59109d47c00e3e98aba612529b3871e69efb9d Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: openwrt#22690 Signed-off-by: Robert Marko <robimarko@gmail.com>
The dsa driver currently has different attributes to denote what hardware is around a port: - phy_is_integrated: true if phy is not driven by a serdes - phy: the type of the attached phy (e.g. 0=NONE, 2=RTL8218B, ....) - pcs: link to a serdes pcs instance This is somehow redundant and especially the phy type should be only part of the phy driver and is not needed by the dsa driver at all. Remove the redundancy by simply keeping a boolean attribute "phy" that flags a phy driven port and can be used similar to the pcs (pointer) attribute. With that the driver can check phy/pcs as follows: - if (ports[i].pcs) -> port has a dedicated serdes - if (ports[i].phy) -> port has a dedicated phy That implemented, the "phy-is-integrated" attribute of a phy can be removed from the dts. This will be a separate commit. As a side effect the following (annoying) boot message for kernel 6.18 gets fixed. OF: /switchcore@1b000000/mdio-controller/mdio-bus@0/ethernet-phy@24: Read of boolean property 'sfp' with a value. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: openwrt#22698 Signed-off-by: Robert Marko <robimarko@gmail.com>
The Realtek target currently uses two phy macros to simplify the device dts. - EXTERNAL_PHY() to denote a phy attached to the SoC - INTERNAL_PHY() to denote an internal PHY (inside the SoC) There is no benefit doing this. The topology around a port/phy is well defined by the port macros. They link port, phy, pcs and even leds. The only consumer of the attribute "phy-is-integrated" is inside the dsa driver and that is being refactored. As a first step define a new more meaningful PHY_C22() macro that describes a c22 capable phy. This does not need to care about the external/internal relation. To make it even more useful for the RTL93xx targets with multiple mdio busses give it two parameters PHY_C22(port_number, bus_address) where - port_number is the absolute overall unique phy number - bus_address is the location of the phy on the bus For RTL83xx these two parameters will usually be the same. Instead of three steps (inventing the macro, converting the consumers and removeing the old macor) do a one-step conversion for the existing EXTERNAL_PHY() macro. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: openwrt#22698 Signed-off-by: Robert Marko <robimarko@gmail.com>
Make use of the newly invented PHY_C22() macro for the RTL93xx Linksys LGS3xxC NAND devices. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: openwrt#22698 Signed-off-by: Robert Marko <robimarko@gmail.com>
Correct u-boot env size to fix ethernet driver probe defer. Fixes: openwrt#22692 Fixes: 75b9fae ("lantiq: dgn3500: use nvmem to load calibration") Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: openwrt#22695 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Correct WAN LED GPIO and its pinctrl group. Fixes: openwrt#18578 Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: openwrt#22696 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
The board is exactly identical to the ASUS RT-AX52, I've literally not changed a single thing. Only AX52 is AX1800, PRO is AX3000. SOC: MediaTek MT7981b RAM: 256MB DDR3 FLASH: 128MB SPI-NAND (Winbond W25N01GV) WIFI: Mediatek MT7981b DBDC 802.11ax 2.4/5 GHz ETH: MediaTek MT7531 Switch UART: 3V3 115200 8N1 (Pinout silkscreened / Do not ocnnect VCC) Use the compiled asus_rt-ax52-pro-initramfs.trx file from the this repo. Connect the PC via LAN to one of the yellow router ports and wait until your PC to get a DHCP lease. Browse to http://192.168.50.1 or http://www.asusrouter.com/ If your router is brand new, finish the setup process and log into the Web-UI. Navigate to Administration → Firmware Upgrade or use this link http://www.asusrouter.com/Advanced_FirmwareUpgrade_Content.asp. Upload the .trx file to router Wait for it to reboot trx image is initramfs version. You must upgrade to squashfs version. Browse to http://192.168.1.1/cgi-bin/luci/admin/system/flash Upload asus_rt-ax52-pro-squashfs-sysupgrade.bin and use sysupgrade -n Wait for it to reboot SSH to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 -------Revert to stock asus firmware ---------: 1: Download the rt-ax52 firmware from ASUS official website. Save the firmware to tftp server directory and rename to RT-AX52.trx 2: Connect the PC with TFTP server to the RT-AX52. Set a static ip on the ethernet interface of your PC. (ip address: 192.168.1.70, subnet mask:255.255.255.0) 3: Conect to the serial console, power on again, interrupt the autoboot process by pressing '4' when prompted. $ ubi remove linux $ ubi remove jffs2 $ ubi remove rootfs $ ubi remove rootfs_data $ ubi create linux 0x45fe000 $ reset then the dut will reboot,interrupt the autoboot process by pressing '2' when prompted. 2: Load System code then write to Flash via TFTP. Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) $: enter y you will see the follow, type enter directly: Input device IP (192.168.1.1) ==: Input server IP (192.168.1.70) ==: Input Linux Kernel filename (RT-AX52.trx) ==: 4: wait for the device run up Signed-off-by: Emre Yavuzalp <emreyavuzalp2@gmail.com> Link: openwrt#21905 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
…_ENABLED() We patch DMA_BUF to make it tristate, so once ALL_KMODS is selected it will be built as a module even if previously disabled in the config. So, since IO_URING_ZCRX does not depend on DMA_BUF linking will fail with: aarch64-openwrt-linux-musl-ld: Unexpected GOT/PLT entries detected! aarch64-openwrt-linux-musl-ld: Unexpected run-time procedure linkages detected! aarch64-openwrt-linux-musl-ld: io_uring/zcrx.o: in function `io_release_dmabuf': io_uring/zcrx.c:94:(.text+0x20): undefined reference to `dma_buf_unmap_attachment_unlocked' aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:97:(.text+0x30): undefined reference to `dma_buf_detach' aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:99:(.text+0x3c): undefined reference to `dma_buf_put' aarch64-openwrt-linux-musl-ld: io_uring/zcrx.o: in function `io_import_dmabuf': io_uring/zcrx.c:125:(.text+0x1b20): undefined reference to `dma_buf_get' aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:132:(.text+0x1b34): undefined reference to `dma_buf_attach' aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:139:(.text+0x1b48): undefined reference to `dma_buf_map_attachment_unlocked' make[6]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1 So, lets use IS_REACHABLE() to check for CONFIG_DMA_SHARED_BUFFER instead to avoid adding a dependency to CONFIG_DMA_SHARED_BUFFER. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
daaa1f9 to
5f735e7
Compare
Specialize RB5009UG model from generic RB5009. Signed-off-by: Przemek Rudy <prudy@protonmail.com> [carlo@common-net.org: fixed model name and backward compatibility ] Signed-off-by: Carlo Filippi <carlo@common-net.org>
Specification: * new menu entry RB5009UPr+S+IN * support for PoE device availability in dts * interchangeable sysupgrade with RB5009UG Signed-off-by: Przemek Rudy <prudy@protonmail.com> [carlo@common-net.org: refactor RB5009UPr+S+IN support and fix sysupgrade path] Signed-off-by: Carlo Filippi <carlo@common-net.org>
5f735e7 to
1af1e08
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It fixes indentation with width 8 to match standard Linux style.
It removes commented pin setting not called anywhere.
It changes patch to full git am appliable.