summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/image/legacy-devices.mk
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Netgear WNR2000v4: do not include USB packages [17.01]Stijn Segers2018-01-131-1/+0
| | | | | | | | | The Netgear WNR2000v4 does not have a USB port. Hence, including USB packages into the default images is useless. It looks like the WNR2000v4 definition in master is OK. v2 fixes the silly typo in the patch title (WNR2000v4 instead of WNR200v4) Signed-off-by: Stijn Segers <foss@volatilesystems.org>
* ar71xx: Add missing device package om-watchdog for MR1750Sven Eckelmann2017-02-151-1/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add OpenMesh A40 to OpenMesh A60 profileSven Eckelmann2017-02-151-1/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: create profile and build image for the OpenMesh A60 boardSven Eckelmann2017-02-151-0/+7
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Remove the v2/v3 from the OpenMesh profile namesSven Eckelmann2017-02-151-4/+4
| | | | | | | The list of v2/v3 devices is getting longer and makes reading the names of the profiles unnecessary hard. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Add support for Netgear WNR2000v1Huan Truong2016-12-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds supports for the WNR2000v1 board with 4MB flash, and produces device-specific factory, rootfs, and sysupgrade files for the WNR2000v1. This board is errorneously claimed as supported on the OpenWRT wiki as AP81, but AP81 image would not work because of APT81 image requiring having 8MB of flash, while WNR2000v1 has only 4MB. The image requires the u-boot bootloader to be modified to fuhry's bootloader first. Short specification: - CPU: Atheros AR9132 - 4x 10/100 Mbps Ethernet, 1x WAN 10/100 Mbps - 4 MB of Flash - 32 MB of RAM - UART header (J1) on board - 1x button Factory/Initial flash instructions: - Set up a TFTP server on your local machine. - Download the uImage for ar71xx-generic and the rootfs image for ar71xx-generic-wnr2000 and save in the tftp server root. - Gain serial access to the router via the UART port (telnetenable over the network only won't work!). - Upgrade the u-boot bootloader to fuhry's version by running the script: http://fuhry.com/b/wnr2000/install-repart.sh - When the router restarts, interrupt u-boot and gain access to u-boot command line. - Repartititon the board and flash initial uImage and rootfs as follow. Commands to type in u-boot: # tells u-boot that we have a tftp server on 192.168.1.10 setenv serverip 192.168.1.10 # tells u-boot that the router should take the address 192.168.1.1 setenv ipaddr 192.168.1.1 # erase the region from 0x050000-0x3f0000 erase 0xbf050000 +0x3A0000 # loads sqfs.bin on TFTP server, and put it to memory address 0x81000000 tftpboot 0x81000000 sqfs.bin # it will tell you the length of sqfs.bin in hex, let's say ZZZZZZ # copy bit by bit 0xZZZZZZ bytes from offset 0x050000 cp.b 0x81000000 0xbf050000 0xZZZZZZ # same to the uImage.bin, write it right next to sqfs.bin # again, 0xYYYYYY is the length that tftpboot reports tftpboot 0x81000000 uImage.bin cp.b 0x81000000 0xbf2a0000 0xYYYYYY # We need to tell the kernel what board it is booting into, and where to find the partitions setenv bootargs "board=WNR2000 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,3712k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd" # Tell u-boot where to find the uImage setenv bootcmd "bootm 0xbf2a0000" # Tell u-boot to save parameters to the u-boot-env partitions saveenv # Reset the board reset Tested on: - WNR2000v1 board. - Initial flash works. Known bugs: - I don't know why factory image doesn't work on initial flash on stock firmware in u-boot recovery mode while it should. - Sysupgrade does not yet work, if you do -f it will mess up your installation (requiring a reinstall of sqfs and uImage). Signed-off-by: Huan Truong <htruong@tnhh.net>
* ar71xx: remove AP81 reference design board supportFelix Fietkau2016-12-121-6/+0
| | | | | | This board is very old and unlikely to still be relevant today. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove AP83 reference design board supportFelix Fietkau2016-12-121-7/+0
| | | | | | | | This board is very old and unlikely to still be relevant today. Support for it contains a significant amount of device specific baggage which is worth getting rid of. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove 2MB flash variant of WP543Felix Fietkau2016-11-291-6/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove legacy devices that cannot be supported due to kernel ↵Felix Fietkau2016-11-291-29/+0
| | | | | | partition size limits Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Move MR12 & MR16 from legacy to genericChris Blake2016-10-261-12/+0
| | | | | | | | | | | This moves the Meraki MR12 and Meraki MR16 to the new generic target. Tested and verified working on both devices. Note that kernel/rootfs images are still generated. This is because they are used for the inital flashing process due to the fun pace at which UBoot erases/writes to SPI. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* switch to the new usbport LED triggerRafał Miłecki2016-10-191-21/+21
| | | | | | | This makes init.d script handle existing UCI entries using the new trigger. It also switches all targets to use its package. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ar71xx: move dragino2 from legacy to genericKarl Palsson2016-10-131-6/+0
| | | | | | Tested on real hardware with r1804. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ar71xx: clean up DEVICE_PACKAGES of legacy devicesMatthias Schiffer2016-09-261-43/+22
| | | | | | Remove arbitrary or redundant packages from DEVICE_PACKAGES. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add support for Zbtlink ZBT-WE1526Piotr Dymacz2016-08-181-0/+6
| | | | | | | | | | | | | | | | | | | | | Zbtlink ZBT-WE1526 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 650/400/200 MHz (CPU/DDR/AHB) - 5x 10/100 Mbps Ethernet - 1x USB 2.0 - 128 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - two external, non-detachable antennas - 8x LED, 1x button - UART header (pinout: VCC, RX, TX, GND) Flash instruction: Use sysupgrade in vendor firmare which is based on OpenWrt. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: clean up legacy-devices.mkMatthias Schiffer2016-07-271-316/+407
| | | | | | | | | Several legacy images were not buildable because of missing profile definitions in legacy-devices.mk since MultiProfile was removed. Update legacy-devices.mk to provide all necessary profiles, and change ordering to match legacy.mk. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add ath10k firmware to profile defaults where ath10k is usedFelix Fietkau2016-07-221-24/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix tab vs whitespace issue in image building codeFelix Fietkau2016-07-211-180/+180
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix nand device profileJohn Crispin2016-07-051-18/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: seama: fix making factory imagesYousong Zhou2016-06-301-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | rootfs part needs to be aligned to erase block size which is passed as the 6th argument to Image/Build/Seama and is now 65536 since commit commit 5119ee9 "ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)", but $(($(6) - 64)) still assumes that the argument is a limit on kernel partition size, i.e. 1310720, so the generated factory image is wrong in that the kernel will fail to find the rootfs (FlySpray link at [1]) This patch will workaround it with the following steps 1. Calculate the required space for seama header and META data in step 5 2. Pre-padding 64 bytes to lzma-compressed loader 3. Generate correctly padded image-$(2).tmp 4. Strip out the padding 5. Seal it with seama utility While at it convert seama to new build method [1] FS#35 - mynet-n750 factory images don't find root partition, https://bugs.lede-project.org/index.php?do=details&task_id=35 Reported-by: Steven Haigh <netwiz@crc.id.au> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: hiwifi-hc6361: move packages selection to generic.mkYousong Zhou2016-06-301-8/+0
| | | | | | | Remove kmod-crypto-deflate and kmod-ledtrig-gpio as the device works the same by default without them Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: merge profiles into image building codeJo-Philipp Wich2016-06-271-0/+675
| | | | | | | | | | | - Remove old style device profiles and convert them to device definitions within the image building code - Fix the legacy build macros for the changed eval depth in the legacy image build wrapper Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "ar71xx: fix legacy image building"John Crispin2016-06-231-665/+0
| | | | | | | | | | | | | | This reverts commit 59e98b27c93d282edb62fad756fd1c1e587c067f. and Revert "ar71xx: merge profiles into image building code" This reverts commit 636089ead6864364798ac988299429d171051c0e. these are still causing issues Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: merge profiles into image building codeJohn Crispin2016-06-221-0/+665
Signed-off-by: John Crispin <john@phrozen.org>