2020-03-10 06:41:09 +00:00
|
|
|
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
|
|
|
|
|
2020-06-07 13:07:28 +00:00
|
|
|
define Device/dsa-migration
|
|
|
|
DEVICE_COMPAT_VERSION := 1.1
|
|
|
|
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
|
|
|
|
endef
|
|
|
|
|
2019-12-15 21:58:34 +00:00
|
|
|
define Device/arcadyan_arv7519rw22
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_VENDOR := Arcadyan
|
|
|
|
DEVICE_MODEL := ARV7519RW22
|
|
|
|
DEVICE_ALT0_VENDOR := Orange
|
|
|
|
DEVICE_ALT0_MODEL := Livebox
|
|
|
|
DEVICE_ALT0_VARIANT := 2.1
|
|
|
|
DEVICE_ALT1_VENDOR := Astoria Networks
|
|
|
|
DEVICE_ALT1_MODEL := ARV7519RW22
|
2021-03-03 21:46:50 +00:00
|
|
|
KERNEL_SIZE := 2048k
|
2019-12-15 21:58:34 +00:00
|
|
|
IMAGE_SIZE := 31232k
|
|
|
|
DEVICE_PACKAGES := kmod-usb-dwc2
|
|
|
|
SUPPORTED_DEVICES += ARV7519RW22
|
2021-03-03 21:46:50 +00:00
|
|
|
DEFAULT := n
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += arcadyan_arv7519rw22
|
|
|
|
|
|
|
|
define Device/arcadyan_vgv7510kw22-brn
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/lantiqBrnImage)
|
|
|
|
DEVICE_VENDOR := Arcadyan
|
|
|
|
DEVICE_MODEL := VGV7510KW22
|
|
|
|
DEVICE_VARIANT := BRN
|
|
|
|
DEVICE_ALT0_VENDOR := o2
|
|
|
|
DEVICE_ALT0_MODEL := Box 6431
|
|
|
|
DEVICE_ALT0_VARIANT := BRN
|
|
|
|
IMAGE_SIZE := 7168k
|
|
|
|
SIGNATURE := BRNDA6431
|
|
|
|
MAGIC := 0x12345678
|
|
|
|
CRC32_POLY := 0x04c11db7
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += VGV7510KW22BRN
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += arcadyan_vgv7510kw22-brn
|
|
|
|
|
|
|
|
define Device/arcadyan_vgv7510kw22-nor
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_VENDOR := Arcadyan
|
|
|
|
DEVICE_MODEL := VGV7510KW22
|
|
|
|
DEVICE_VARIANT := NOR
|
|
|
|
DEVICE_ALT0_VENDOR := o2
|
|
|
|
DEVICE_ALT0_MODEL := Box 6431
|
|
|
|
DEVICE_ALT0_VARIANT := NOR
|
|
|
|
IMAGE_SIZE := 15232k
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += VGV7510KW22NOR
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += arcadyan_vgv7510kw22-nor
|
|
|
|
|
|
|
|
define Device/arcadyan_vgv7519-brn
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/lantiqBrnImage)
|
|
|
|
DEVICE_VENDOR := Arcadyan
|
|
|
|
DEVICE_MODEL := VGV7519
|
|
|
|
DEVICE_VARIANT := BRN
|
|
|
|
DEVICE_ALT0_VENDOR := KPN
|
|
|
|
DEVICE_ALT0_MODEL := Experiabox 8
|
|
|
|
DEVICE_ALT0_VARIANT := BRN
|
|
|
|
IMAGE_SIZE := 7168k
|
|
|
|
SIGNATURE := 5D00008000
|
|
|
|
MAGIC := 0x12345678
|
|
|
|
CRC32_POLY := 0x2083b8ed
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += VGV7519BRN
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += arcadyan_vgv7519-brn
|
|
|
|
|
|
|
|
define Device/arcadyan_vgv7519-nor
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_VENDOR := Arcadyan
|
|
|
|
DEVICE_MODEL := VGV7519
|
|
|
|
DEVICE_VARIANT := NOR
|
|
|
|
DEVICE_ALT0_VENDOR := KPN
|
|
|
|
DEVICE_ALT0_MODEL := Experiabox 8
|
|
|
|
DEVICE_ALT0_VARIANT := NOR
|
|
|
|
IMAGE_SIZE := 15360k
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += VGV7519NOR
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += arcadyan_vgv7519-nor
|
|
|
|
|
2024-02-04 22:59:48 +00:00
|
|
|
define Device/arcadyan_vrv9510kwac23
|
|
|
|
$(Device/dsa-migration)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_VENDOR := Arcadyan
|
|
|
|
DEVICE_MODEL := VRV9510KWAC23
|
|
|
|
DEVICE_ALT0_VENDOR := Livebox
|
|
|
|
DEVICE_ALT0_MODEL := Next
|
|
|
|
BOARD_NAME := VRV9510KWAC23
|
|
|
|
DEVICE_PACKAGES := kmod-b43 wpad-basic-mbedtls broadcom-43222-sprom \
|
|
|
|
broadcom-4360-sprom kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
SUPPORTED_DEVICES += arcadyan_vrv9510kwac23
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += arcadyan_vrv9510kwac23
|
|
|
|
|
2019-12-15 21:58:34 +00:00
|
|
|
define Device/avm_fritz3370
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 3370
|
|
|
|
DEVICE_VARIANT := Rev. 2
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
UBINIZE_OPTS := -E 5
|
|
|
|
IMAGES += eva-kernel.bin eva-filesystem.bin
|
|
|
|
IMAGE/eva-kernel.bin := append-kernel
|
|
|
|
IMAGE/eva-filesystem.bin := append-ubi
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k wpad-basic-mbedtls kmod-usb-dwc2 fritz-tffs
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/avm_fritz3370-rev2-hynix
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/avm_fritz3370)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 3370
|
|
|
|
DEVICE_VARIANT := Rev. 2 (Hynix NAND)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz3370-rev2-hynix
|
|
|
|
|
|
|
|
define Device/avm_fritz3370-rev2-micron
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/avm_fritz3370)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 3370
|
|
|
|
DEVICE_VARIANT := Rev. 2 (Micron NAND)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz3370-rev2-micron
|
|
|
|
|
2020-01-23 20:20:38 +00:00
|
|
|
define Device/avm_fritz3390
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2020-01-23 20:20:38 +00:00
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 3390
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
|
2020-01-23 20:20:38 +00:00
|
|
|
kmod-usb-dwc2 fritz-tffs
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz3390
|
|
|
|
|
lantiq: add support for AVM Fritzbox 3490
This adds support for the Fritzbox 3490 device. It contains two
SoCs, one Lantiq with a 5GHz WiFi and one QCA9558 with 2.4GHz
and 5 GHz WiFi. Only the Lantiq has access to the flash memory,
the Atheros runs fully from RAM and is booted by using a remoteproc
kernel module which is not supported with this commit.
The devices were manufactured with varying NAND chips which
requires Micron and non-Micron versions of the images.
Specifications:
- SoC: Lantiq 500 MHz
- RAM: 256 MB
- Storage: 512 MB NAND, 1MB FLASH
- Wireless, separate SOC QCA9558 with 128MB RAM (not supported yet):
· Qualcomm-QCA9558 w/ 3×3 MIMO for 2.4GHz 802.11b/g/n
· Qualcomm-QCA9880 w/ 3×3 MIMO for 5GHz 802.11a/ac
· AG71xx ethernet
- Ethernet: Built-in AR 803x, 7 port 4 phy switch,
4x 1000/100/10 port, Port 5 is fixed and connected to the WASP SOC
- Renesas µPD720202 USB3 PCIe, requires firmware binary on the device
- VDSL2 modem
- Without telephony or ISDN
Installation:
Check which NAND the device has by using the following procedure with
stock firmware:
Go to to http://<fritzbox_ip>/support.lua, download the support data
file and search for string "NAND device" to get the manufacturer kernel
output.
Use Micron image if Micron is displayed otherwise the non-Micron image.
Use the eva_ramboot.py script to boot the initramfs image. Follow the
procedure to interrupt booting by ftp into 192.168.178.1 within
5 seconds after poweron.
Then transfer the sysupgrade image to the device and run sysupgrade to
flash it to the NAND.
For making USB work, an renesas xhci firmware file (e.g. v2026) is
needed and it should be copied to /lib/firmware/ (file name
renesas_usb_fw.mem).
Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
2023-05-03 13:05:49 +00:00
|
|
|
define Device/avm_fritz3490
|
|
|
|
$(Device/dsa-migration)
|
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 3490
|
|
|
|
DEVICE_VARIANT := Other NAND
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
|
|
|
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz3490
|
|
|
|
|
|
|
|
define Device/avm_fritz3490-micron
|
|
|
|
$(Device/dsa-migration)
|
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 3490
|
|
|
|
DEVICE_VARIANT := Micron NAND
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
|
|
|
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz3490-micron
|
|
|
|
|
lantiq: add support for AVM Fritzbox 5490/5491
This adds support for the Fritzbox 5490/5491 devices. They contain
two SoCs, one Lantiq without WiFi and one QCA9558 with 2.4GHz
and 5 GHz WiFi. Only the Lantiq has access to the flash memory,
the Atheros runs fully from RAM and is booted by using a remoteproc
kernel module which is not supported with this commit.
Both devices have fiber WAN ports.
The devices were manufactured with varying NAND chips which
requires Micron and non-Micron versions of the images.
Specifications:
- SoC: Lantiq 500 MHz
- RAM: 256 MB
- Storage: 512 MB NAND, 1MB FLASH
- Wireless, separate SOC QCA9558 with 128MB RAM (not supported yet):
· Qualcomm-QCA9558 w/ 3×3 MIMO for 2.4GHz 802.11b/g/n
· Qualcomm-QCA9880 w/ 3×3 MIMO for 5GHz 802.11a/ac
· AG71xx ethernet
- Ethernet: Built-in AR 803x, 7 port Lantiq gswip switch,
4x 1000/100/10 port (additional qca8334 switch for 2 ports), Port 5 is
fixed and connected to the Wireless SOC
- Renesas µPD720202 USB3 PCIe, requires firmware binary on the device
- AT 8033 based AON fiber port (5490) or GPON fiber port (5491)
Unsupported:
- DECT and ISDN telephony
- Two ethernet ports (on extra switch) and fiber port not working
Installation:
Check which NAND the device has by using the following procedure with
stock firmware:
Go to to http://<fritzbox_ip>/support.lua, download the support data
file and search for string "NAND device" to get the manufacturer kernel
output.
Use Micron image if Micron is displayed otherwise the non-Micron image.
Use the eva_ramboot.py script to boot the initramfs image. Follow the
procedure to interrupt booting by ftp into 192.168.178.1 within
5 seconds after poweron.
Then transfer the sysupgrade image to the device and run sysupgrade to
flash it to the NAND.
For making USB work, an renesas xhci firmware file (e.g. v2026) is
needed and it should be copied to /lib/firmware/ (file name
renesas_usb_fw.mem).
Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
2022-02-14 20:55:19 +00:00
|
|
|
define Device/avm_fritz5490
|
|
|
|
$(Device/dsa-migration)
|
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 5490
|
|
|
|
DEVICE_ALT0_VENDOR := AVM
|
|
|
|
DEVICE_ALT0_MODEL := FRITZ!Box 5491
|
|
|
|
DEVICE_VARIANT := Other NAND
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
|
|
|
DEVICE_PACKAGES := kmod-usb3 fritz-tffs \
|
|
|
|
-ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \
|
|
|
|
-kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \
|
|
|
|
-ltq-vdsl-vr9-app -kmod-owl-loader \
|
|
|
|
-dsl-vrx200-firmware-xdsl-a -dsl-vrx200-firmware-xdsl-b-patch
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz5490
|
|
|
|
|
|
|
|
define Device/avm_fritz5490-micron
|
|
|
|
$(Device/dsa-migration)
|
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 5490
|
|
|
|
DEVICE_ALT0_VENDOR := AVM
|
|
|
|
DEVICE_ALT0_MODEL := FRITZ!Box 5491
|
|
|
|
DEVICE_VARIANT := Micron NAND
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
|
|
|
DEVICE_PACKAGES := kmod-usb3 fritz-tffs \
|
|
|
|
-ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \
|
|
|
|
-kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \
|
|
|
|
-ltq-vdsl-vr9-app -kmod-owl-loader \
|
|
|
|
-dsl-vrx200-firmware-xdsl-a -dsl-vrx200-firmware-xdsl-b-patch
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz5490-micron
|
|
|
|
|
2019-12-15 21:58:34 +00:00
|
|
|
define Device/avm_fritz7360sl
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/AVM)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 7360 SL
|
|
|
|
IMAGE_SIZE := 15744k
|
2023-01-29 19:25:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
|
|
|
|
kmod-usb-dwc2 fritz-tffs
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += FRITZ7360SL
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz7360sl
|
|
|
|
|
2020-05-18 07:45:31 +00:00
|
|
|
define Device/avm_fritz7360-v2
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2020-04-03 17:21:06 +00:00
|
|
|
$(Device/AVM)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 7360
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
IMAGE_SIZE := 32128k
|
2023-01-29 19:25:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
|
|
|
|
kmod-usb-dwc2 fritz-tffs
|
2020-04-03 17:21:06 +00:00
|
|
|
endef
|
2020-05-18 07:45:31 +00:00
|
|
|
TARGET_DEVICES += avm_fritz7360-v2
|
2020-04-03 17:21:06 +00:00
|
|
|
|
2019-12-15 21:58:34 +00:00
|
|
|
define Device/avm_fritz7362sl
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 7362 SL
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
2023-01-29 19:25:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
|
|
|
|
kmod-usb-dwc2 fritz-tffs
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz7362sl
|
|
|
|
|
|
|
|
define Device/avm_fritz7412
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 7412
|
|
|
|
BOARD_NAME := FRITZ7412
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
2023-01-29 19:25:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
|
|
|
|
fritz-tffs-nand fritz-caldata
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz7412
|
|
|
|
|
lantiq: add support for AVM FRITZ!Box 7430
Hardware:
- SoC: Lantiq VRX 220
- CPU: 2x MIPS 34Kc 500 MHz
- RAM: 128 MiB 250 MHz
- Flash: 128 MiB NAND
- Ethernet: Built-in Fast Ethernet switch, 4 ports used
- Wifi: Atheros AR9381-AL1A b/g/n with 2 pcb/internal and 1 external antennas
- USB: 1x USB 2.0
- DSL: Built-in A/VDSL2 modem
- DECT: Dialog SC14441
- LEDs: 1 two-color, 4 one-color
- Buttons: 1x DECT, 1x WIFI
- Telephone connectors: 1 FXS port via TAE or RJ11 connector
With the exception of FXS/DECT everything works
(there are no drivers for AVM's FXS or DECT implementation),
DSL is yet untested.
Installation:
Boot up the device and wait a few seconds. Run the eva_ramboot.py script
in scripts/flashing/ to load the initramfs image on the device:
$ ./scripts/flashing/eva_ramboot.py 192.168.178.1 <path to your initramfs image>
If the script fails to reach the device, maybe try 169.254.120.1.
Wait until booting is complete. You should now be able to reach your device
under the default ip address 192.168.1.1.
Before flashing, check if linux_fs_start is not set to 1 in the tffs partition:
$ fritz_tffs_nand -d /dev/mtd1 -n linux_fs_start
If linux_fs_start is 1, you will need to reset it to 0, either by FTP,
upgrading FritzOS or doing a recovery.
Now you should be able to flash the device using sysupgrade.
Signed-off-by: Leon Maurice Adam <leon.adam@aol.de>
Acked-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
[drop BOARD_NAME, use wpad-basic-wolfssl, drop 4.19, drop dts-v1,
remove model prefix from LED names]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-03 10:44:24 +00:00
|
|
|
define Device/avm_fritz7430
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
lantiq: add support for AVM FRITZ!Box 7430
Hardware:
- SoC: Lantiq VRX 220
- CPU: 2x MIPS 34Kc 500 MHz
- RAM: 128 MiB 250 MHz
- Flash: 128 MiB NAND
- Ethernet: Built-in Fast Ethernet switch, 4 ports used
- Wifi: Atheros AR9381-AL1A b/g/n with 2 pcb/internal and 1 external antennas
- USB: 1x USB 2.0
- DSL: Built-in A/VDSL2 modem
- DECT: Dialog SC14441
- LEDs: 1 two-color, 4 one-color
- Buttons: 1x DECT, 1x WIFI
- Telephone connectors: 1 FXS port via TAE or RJ11 connector
With the exception of FXS/DECT everything works
(there are no drivers for AVM's FXS or DECT implementation),
DSL is yet untested.
Installation:
Boot up the device and wait a few seconds. Run the eva_ramboot.py script
in scripts/flashing/ to load the initramfs image on the device:
$ ./scripts/flashing/eva_ramboot.py 192.168.178.1 <path to your initramfs image>
If the script fails to reach the device, maybe try 169.254.120.1.
Wait until booting is complete. You should now be able to reach your device
under the default ip address 192.168.1.1.
Before flashing, check if linux_fs_start is not set to 1 in the tffs partition:
$ fritz_tffs_nand -d /dev/mtd1 -n linux_fs_start
If linux_fs_start is 1, you will need to reset it to 0, either by FTP,
upgrading FritzOS or doing a recovery.
Now you should be able to flash the device using sysupgrade.
Signed-off-by: Leon Maurice Adam <leon.adam@aol.de>
Acked-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
[drop BOARD_NAME, use wpad-basic-wolfssl, drop 4.19, drop dts-v1,
remove model prefix from LED names]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-03 10:44:24 +00:00
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 7430
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
2023-01-29 19:25:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
|
|
|
|
kmod-usb-dwc2 fritz-tffs-nand fritz-caldata
|
lantiq: add support for AVM FRITZ!Box 7430
Hardware:
- SoC: Lantiq VRX 220
- CPU: 2x MIPS 34Kc 500 MHz
- RAM: 128 MiB 250 MHz
- Flash: 128 MiB NAND
- Ethernet: Built-in Fast Ethernet switch, 4 ports used
- Wifi: Atheros AR9381-AL1A b/g/n with 2 pcb/internal and 1 external antennas
- USB: 1x USB 2.0
- DSL: Built-in A/VDSL2 modem
- DECT: Dialog SC14441
- LEDs: 1 two-color, 4 one-color
- Buttons: 1x DECT, 1x WIFI
- Telephone connectors: 1 FXS port via TAE or RJ11 connector
With the exception of FXS/DECT everything works
(there are no drivers for AVM's FXS or DECT implementation),
DSL is yet untested.
Installation:
Boot up the device and wait a few seconds. Run the eva_ramboot.py script
in scripts/flashing/ to load the initramfs image on the device:
$ ./scripts/flashing/eva_ramboot.py 192.168.178.1 <path to your initramfs image>
If the script fails to reach the device, maybe try 169.254.120.1.
Wait until booting is complete. You should now be able to reach your device
under the default ip address 192.168.1.1.
Before flashing, check if linux_fs_start is not set to 1 in the tffs partition:
$ fritz_tffs_nand -d /dev/mtd1 -n linux_fs_start
If linux_fs_start is 1, you will need to reset it to 0, either by FTP,
upgrading FritzOS or doing a recovery.
Now you should be able to flash the device using sysupgrade.
Signed-off-by: Leon Maurice Adam <leon.adam@aol.de>
Acked-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
[drop BOARD_NAME, use wpad-basic-wolfssl, drop 4.19, drop dts-v1,
remove model prefix from LED names]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-03 10:44:24 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz7430
|
|
|
|
|
lantiq: add support for AVM Fritzbox 7490
This adds support for the Fritzbox 7490 device. It contains two
SoCs, one Lantiq without WiFi and one QCA9558 with 2.4GHz
and 5 GHz WiFi. Only the Lantiq has access to the flash memory,
the Atheros runs fully from RAM and is booted by using a remoteproc
kernel module and is not supported with this commit.
The devices were manufactured with varying NAND chips which
requires Micron and non-Micron versions of the images.
Specifications:
- SoC: Lantiq 500 MHz
- RAM: 256 MB
- Storage: 512 MB NAND, 1MB FLASH
- Wireless, separate SOC QCA9558 with 128MB RAM (not supported yet):
· Qualcomm-QCA9558 w/ 3×3 MIMO for 2.4GHz 802.11b/g/n
· Qualcomm-QCA9880 w/ 3×3 MIMO for 5GHz 802.11a/ac
· AG71xx ethernet
- Ethernet: Built-in AR 803x, 7 port 4 phy switch,
4x 1000/100/10 port, Port 5 is fixed and connected to the WASP SOC
- Renesas µPD720202 USB3 PCIe, requires firmware binary on the device
- VDSL2 modem
Unsupported:
- DECT and ISDN telephony
Installation:
Check which NAND the device has by using the following procedure with
stock firmware:
Go to to http://<fritzbox_ip>/support.lua, download the support data
file and search for string "NAND device" to get the manufacturer kernel
output.
Use Micron image if Micron is displayed otherwise the non-Micron image.
Use the eva_ramboot.py script to boot the initramfs image. Follow the
procedure to interrupt booting by ftp into 192.168.178.1 within
5 seconds after poweron.
Then transfer the sysupgrade image to the device and run sysupgrade to
flash it to the NAND.
For making USB work, an renesas xhci firmware file (e.g. v2026) is
needed and it should be copied to /lib/firmware/ (file name
renesas_usb_fw.mem).
Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
2022-02-14 20:50:06 +00:00
|
|
|
define Device/avm_fritz7490
|
|
|
|
$(Device/dsa-migration)
|
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 7490
|
|
|
|
DEVICE_VARIANT := Other NAND
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
|
|
|
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz7490
|
|
|
|
|
|
|
|
define Device/avm_fritz7490-micron
|
|
|
|
$(Device/dsa-migration)
|
|
|
|
$(Device/AVM)
|
|
|
|
$(Device/NAND)
|
|
|
|
DEVICE_MODEL := FRITZ!Box 7490
|
|
|
|
DEVICE_VARIANT := Micron NAND
|
|
|
|
KERNEL_SIZE := 4096k
|
|
|
|
IMAGE_SIZE := 49152k
|
|
|
|
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += avm_fritz7490-micron
|
|
|
|
|
2019-12-15 21:58:34 +00:00
|
|
|
define Device/bt_homehub-v5a
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/NAND)
|
2021-12-11 08:33:46 +00:00
|
|
|
DEVICE_VENDOR := British Telecom (BT)
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_MODEL := Home Hub 5
|
|
|
|
DEVICE_VARIANT := Type A
|
|
|
|
BOARD_NAME := BTHOMEHUBV5A
|
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader \
|
2022-12-28 04:44:11 +00:00
|
|
|
kmod-ath10k-ct ath10k-firmware-qca988x-ct wpad-basic-mbedtls kmod-usb-dwc2
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += BTHOMEHUBV5A
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += bt_homehub-v5a
|
|
|
|
|
|
|
|
define Device/buffalo_wbmr-300hpd
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_VENDOR := Buffalo
|
|
|
|
DEVICE_MODEL := WBMR-300HPD
|
|
|
|
IMAGE_SIZE := 15616k
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt7603 wpad-basic-mbedtls kmod-usb-dwc2
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += WBMR300
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += buffalo_wbmr-300hpd
|
|
|
|
|
|
|
|
define Device/lantiq_easy80920-nand
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/lantiqFullImage)
|
|
|
|
DEVICE_VENDOR := Lantiq
|
|
|
|
DEVICE_MODEL := VR9 EASY80920
|
|
|
|
DEVICE_VARIANT := NAND
|
|
|
|
IMAGE_SIZE := 64512k
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += lantiq_easy80920-nand
|
|
|
|
|
|
|
|
define Device/lantiq_easy80920-nor
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_VENDOR := Lantiq
|
|
|
|
DEVICE_MODEL := VR9 EASY80920
|
|
|
|
DEVICE_VARIANT := NOR
|
|
|
|
IMAGE_SIZE := 7936k
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += lantiq_easy80920-nor
|
|
|
|
|
|
|
|
define Device/zyxel_p-2812hnu-f1
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/NAND)
|
2024-06-07 12:42:32 +00:00
|
|
|
DEVICE_VENDOR := Zyxel
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_MODEL := P-2812HNU
|
|
|
|
DEVICE_VARIANT := F1
|
|
|
|
BOARD_NAME := P2812HNUF1
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2019-12-15 21:58:34 +00:00
|
|
|
KERNEL_SIZE := 3072k
|
|
|
|
SUPPORTED_DEVICES += P2812HNUF1
|
2024-05-28 06:06:10 +00:00
|
|
|
DEFAULT := n
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zyxel_p-2812hnu-f1
|
|
|
|
|
|
|
|
define Device/zyxel_p-2812hnu-f3
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2019-12-15 21:58:34 +00:00
|
|
|
$(Device/NAND)
|
2024-06-07 12:42:32 +00:00
|
|
|
DEVICE_VENDOR := Zyxel
|
2019-12-15 21:58:34 +00:00
|
|
|
DEVICE_MODEL := P-2812HNU
|
|
|
|
DEVICE_VARIANT := F3
|
|
|
|
BOARD_NAME := P2812HNUF3
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2
|
2021-11-27 16:28:19 +00:00
|
|
|
KERNEL_SIZE := 2048k
|
2019-12-15 21:58:34 +00:00
|
|
|
SUPPORTED_DEVICES += P2812HNUF3
|
2021-11-27 16:28:19 +00:00
|
|
|
DEFAULT := n
|
2019-12-15 21:58:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zyxel_p-2812hnu-f3
|