mentation" back). But with
"ignore-df" packets with DF=1 will be fragmented.
Signed-off-by: Denis Kalashnikov
---
system-linux.c | 5 +
system.c | 1 +
system.h | 1 +
3 files changed, 7 insertions(+)
diff --git a/system-linux.c b/system-linux.c
index e4041fb..43974
From: Denis Kalashnikov
ar71xx mach-rb91x.c and others set SSR init value through
platform data (this ability is added to upstream
drivers/gpio/gpio-74x164.c by
451-gpio-74x164-improve-platform-device-support.patch).
When we ported RB912UAG-2HPnD to ath79, we used DTS gpio-exports
instead
t an error and occurs when the gpio-latch probe
function is called before the rb91x-key probe.
We fix these related things here too.
Signed-off-by: Denis Kalashnikov
---
Changelog:
v1 --> v2:
* Remove support for kernel 5.4,
* gpio-latch and rb91x-nand don't report about -EPROBE_DEFER.
---
the init/exit routines can now be called outside of the kernel
normal init/exit calls, they cannot be jettisoned and must always be
available: the __init and __exit qualifiers are thus removed.
Reported-by: Denis Kalashnikov
Signed-off-by: Denis Kalashnikov
Signed-off-by: Thibaut VARĂˆNE
---
v2
sleep" suffix to several gpiolib calls in gpio-latch.
Signed-off-by: Denis Kalashnikov
---
Changes in v2:
* Fix identations of switch statements.
target/linux/ath79/config-5.10| 1 +
target/linux/ath79/config-5.4 | 1 +
...9342_mikrotik_routerbo
-2HPnD. Tested kernels 5.4 and 5.10.
Changes in v2:
* In mikrotik routerboot module use MTD notifier instead of late_initcall. This
is approved by the module author.
Denis Kalashnikov (2):
ath79: add support for reset key on MikroTik RB912UAG-2HPnD
generic: platform/mikrotik: use MTD notifier
sleep" suffix to several gpiolib calls in gpio-latch.
Signed-off-by: Denis Kalashnikov
---
target/linux/ath79/config-5.10| 1 +
target/linux/ath79/config-5.4 | 1 +
...9342_mikrotik_routerboard-912uag-2hpnd.dts | 23 +-
.../ath79/files/drivers/gpio/gp
-2HPnD. Tested kernels 5.4 and 5.10.
Denis Kalashnikov (2):
ath79: add support for reset key on MikroTik RB912UAG-2HPnD
ath79: mikrotik: Change the moment of routerboot partition parser init
target/linux/ath79/config-5.10| 1 +
target/linux/ath79/config-5.4
x
type managed
txpower 20.00 dBm
Signed-off-by: Denis Kalashnikov
---
.../linux/generic/files/drivers/platform/mikrotik/routerboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/generic/files/drivers/platform/mikrotik/routerboot.c
From: Denis Kalashnikov
This board has been supported in the ar71xx.
Links:
* https://mikrotik.com/product/RB912UAG-2HPnD
* https://openwrt.org/toh/hwdata/mikrotik/mikrotik_rb912uag-2hpnd
Hardware:
* SoC: Atheros AR9342,
* RAM: DDR 64MB,
* SPI NOR: 64KB,
* NAND: 128MB,
* Ethernet: x1 10/100
From: Denis Kalashnikov
Main part is copied from ar71xx original driver rb91x_nand
written by Gabor Juhos .
What is done:
* Support of kernel 5.4 and 5.10,
* DTS support,
* New gpio API (gpiod_*) support.
Signed-off-by: Denis Kalashnikov
---
Changelog:
RFC v1 --> RFC v2
- Do not use
From: Denis Kalashnikov
This is a slighty modified version of ar71xx gpio-latch driver
written by Gabor Juhos .
Changes:
* DTS support,
* New gpio API (gpiod_*).
Signed-off-by: Denis Kalashnikov
---
Changelog:
RFC v1 --> RFC v2
- Don't use MFD driver API anymore,
- Use the new gpio
From: Denis Kalashnikov
RB912 needs two ad hoc drivers: gpio-latch and rb91x_nand. So I've ported them
from ar71xx and added DTS.
In RFC v1 I added a MFD driver that provided API for manipulating shared gpio
lines to gpio-latch and nand drivers. In RFC v2 I just ported gpio-latch and
rb91x_nand
Main part is copied from ar71xx original driver rb91x_nand
written by Gabor Juhos .
What is done:
* Support of kernel 5.4 and 5.10,
* DTS support,
* New gpio API (gpiod_*) support.
Signed-off-by: Denis Kalashnikov
---
Changelog:
v1-->v2:
- Do not use MFD driver API anymore.
---
.../fi
with sysfs led trigger timer). But kmod-gpio-beeper
doesn't work -- we left this as is for now.
You can flash image by sysupgrade utility or load it by net
(by DHCP/TFTP, hold the button while booting).
Co-Developed-by: Koen Vandeputte
Signed-off-by: Denis Kalashnikov
---
Changelog:
v1->
This is a slighty modified version of ar71xx gpio-latch driver
written by Gabor Juhos .
Changes:
* DTS support,
* New gpio API (gpiod_*).
Signed-off-by: Denis Kalashnikov
---
Changelog:
v1-->v2:
- Don't use MFD driver API anymore.
---
.../ath79/files/drivers/gpio/gpio-latch.c |
. Or may be there is a more general solution for this problem.
Nevertheless all other seems to be working.
Denis Kalashnikov (3):
ath79: add gpio-latch driver for Mikrotik RouterBoards
ath79: add NAND driver for Mikrotik RB91xG series
ath79: add support for Mikrotik RouterBoard 912G
.../dts
* 2.4 GHz Wi-Fi ('iw dev wlan0 scan' is working),
* LEDs,
What is not working:
* USB port and mPCIe slot,
* Beeper,
* Button,
You can flash image by sysupgrade utility or load it by net
(by DHCP/TFTP, hold the button while booting).
Signed-off-by: Denis Kalashnikov
--
and a serial register nCS.
So, we need a MFD driver that control access to these shared
lines.
Signed-off-by: Denis Kalashnikov
---
.../files/drivers/mtd/nand/raw/nand_rb91x.c | 432 ++
target/linux/ath79/mikrotik/config-default| 1 +
.../patches-5.4/939-mikrotik-rb91x.patch
provides API for separate
NAND driver and latch-GPIO driver.
This driver is used in place of the ar71xx gpio-latch driver.
Signed-off-by: Denis Kalashnikov
---
.../linux/ath79/files/drivers/mfd/rb91x-ngl.c | 331 ++
.../linux/ath79/files/include/mfd/rb91x-ngl.h | 59
target
-by: Denis Kalashnikov
---
.../files/drivers/gpio/gpio-latch-rb91x.c | 127 ++
target/linux/ath79/mikrotik/config-default| 1 +
.../patches-5.4/939-mikrotik-rb91x.patch | 23
3 files changed, 151 insertions(+)
create mode 100644 target/linux/ath79/files/drivers/gpio
RB912UAG-2HPnD.
Gigabit Ethernet, 2.4GHz Wi-Fi, sysupgrade and LEDs:) are working for me.
Not working: beeper, button and USB port/mPCIe (has not tested yet).
Denis Kalashnikov (4):
ath79: add MFD driver (NAND and GPIO) for Mikrotik RB91xG
ath79: add GPIO-latch driver for Mikrotik RB91xG
ath79
RB912UAG-2HPnD.
Gigabit Ethernet, 2.4GHz Wi-Fi, sysupgrade and LEDs:) are working for me.
Not working: beeper, button and USB port/mPCIe (has not tested yet).
Denis Kalashnikov (4):
ath79: add MFD driver (NAND and GPIO) for Mikrotik RB91xG
ath79: add GPIO-latch driver for Mikrotik RB91xG
ath79
It is needed to reuse qmi code, e.g. in a modem manager util
which is useful on routers with several cell modems.
Signed-off-by: Denis Kalashnikov
---
package/network/utils/uqmi/Makefile | 25 +-
.../utils/uqmi/patches/1-libuqmi.patch| 46 +++
2 files
24 matches
Mail list logo