ath79-mikrotik: add support for Mikrotik RB951Ui-2nD (#2377)

Re-add mikrotik target

Note that previous images were generic ones and as such no migration
path is provided other than manually flashing the image via config-mode.
This commit is contained in:
Maciej Krüger 2022-05-22 11:45:28 +02:00 committed by GitHub
parent 1ef3edbe58
commit a0df96eb97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 0 deletions

10
.github/filters.yml vendored
View File

@ -17,6 +17,16 @@
"targets/generic",
"targets/targets.mk"
],
"ath79-mikrotik": [
"targets/ath79-mikrotik",
"modules",
"Makefile",
"patches/**",
"scripts/**",
"targets/generic",
"targets/targets.mk",
"targets/mikrotik.inc"
],
"bcm27xx-bcm2708": [
"targets/bcm27xx-bcm2708",
"modules",

View File

@ -118,6 +118,13 @@ ath79-nand
- GL-AR300M
- GL-AR750S
ath79-mikrotik
--------------
* Mikrotik
- RB951Ui-2nD (hAP)
brcm2708-bcm2708
----------------

3
targets/ath79-mikrotik Normal file
View File

@ -0,0 +1,3 @@
include 'mikrotik.inc'
device('mikrotik-routerboard-951ui-2nd-hap', 'mikrotik_routerboard-951ui-2nd')

7
targets/mikrotik.inc Normal file
View File

@ -0,0 +1,7 @@
-- Mikrotik images are netbooted via TFTP, then persisted with sysupgrade
defaults {
factory = '-initramfs-kernel'
}
config('TARGET_ROOTFS_INITRAMFS', true)
config('TARGET_INITRAMFS_COMPRESSION_LZMA', true)

View File

@ -1,5 +1,6 @@
$(eval $(call GluonTarget,ath79,generic))
$(eval $(call GluonTarget,ath79,nand))
$(eval $(call GluonTarget,ath79,mikrotik))
$(eval $(call GluonTarget,bcm27xx,bcm2708))
$(eval $(call GluonTarget,bcm27xx,bcm2709))
$(eval $(call GluonTarget,ipq40xx,generic))