summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/generic.mk
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: mark U-Boot and radio calibration data partitions as read-onlyPiotr Dymacz2016-09-191-6/+6
| | | | | | | General convention is to keep U-Boot and radio calibration data (ART) mtd partitions marked as read-only. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* image: remove padding parameter from append-kernel/append-rootfsMathias Kresin2016-09-131-3/+3
| | | | | | | | | | | Using pad-to instead of passing the optional padding to append-kernel or append-rootfs. It could be that the value of a variable is passed. In case the variable is empty no error is thrown. Furthermore the purpose of the extra parameter is hard to get without reading the code. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-131-2/+2
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* ar71xx: fix typo in image build codeMathias Kresin2016-09-111-2/+2
| | | | | | | | | The kernel size isn't passed to the append-kernel build step and the resulting image bricks the device. Fixes FS#168. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-6/+6
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for gl-mifiZhao Gang2016-07-241-0/+10
| | | | | | | This add initial support for gl-mifi. Product page: http://www.gl-inet.com/mifi/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ar71xx: add ath10k firmware to profile defaults where ath10k is usedFelix Fietkau2016-07-221-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for gl-ar300mZhao Gang2016-07-201-0/+10
| | | | | | | This add initial support for gl-ar300m router. Product page: http://www.gl-inet.com/ar300m/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ar71xx: add support for jjPlus JWAP230Piotr Dymacz2016-07-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jjPlus JWAP230 is based on Qualcomm Atheros QCA9558 + QCA8337. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 2x 10/100/1000 Mbps Ethernet - 128 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz with external PA (SST12LP15A), up to 28 dBm - 3x MMCX connectors - power input: 802.3at PoE or wide range DC (36-57 V) - optional 802.3af PSE - 1x mini-PCIe connector with PCIe, USB buses and SIM slot - 1x mini-PCIe connector with PCIe bus - 1x USB type-A connector - 6x LED, 1x button (hardware reset) - RS232 (MAX3223) and (E)JTAG headers Default configuration: - WAN on eth1 (RJ45 near LEDs with PoE input) - LAN on eth0 (RJ45 near DC jack) - left top LED set to be status LED - all LEDs configurable form user space Flash instruction (do it under U-Boot, using RS232): 1. tftp 0x80060000 lede-ar71xx-generic-jwap230-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for Wallys DR531Piotr Dymacz2016-07-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wallys DR531 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 550/400/200 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet - 64 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz with external PA (SE2576L), up to 30 dBm - 2x MMCX connectors - mini-PCIe connector with PCIe/USB buses and SIM slot - 7x LED, 1x button, 1x optional buzzer - UART, (E)JTAG and LED headers Default configuration: - WAN on eth1 (RJ45 near DC jack) - LAN on eth0 (RJ45 near button) - S4 LED set to be status LED - all LEDs configurable form user space - button configured for reset Flash instruction (do it under U-Boot, using UART): 1. tftp 0x80060000 lede-ar71xx-generic-dr531-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: Fix PowerCloud CAP324 No Cloud titleDaniel Dickinson2016-07-111-1/+1
| | | | | | CAP324 nocloud was missing (No-Cloud) in description Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* ar71xx: image: fix typo in MTDPARTS def for qihoo-c301Yousong Zhou2016-07-111-1/+1
| | | | | Reported-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: seama: fix making factory and sysupgrade imageYousong Zhou2016-07-111-11/+12
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: seama: fix making factory imagesYousong Zhou2016-06-301-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: image: unify indentation with 2 whitespacesYousong Zhou2016-06-301-112/+112
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: hiwifi-hc6361: move packages selection to generic.mkYousong Zhou2016-06-301-6/+9
| | | | | | | 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-34/+101
| | | | | | | | | | | - 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-101/+34
| | | | | | | | | | | | | | 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-34/+101
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: hiwifi-hc6361: lift size limit on kernel and rootfs partsYousong Zhou2016-06-221-0/+20
| | | | | | | | | | | | | | | | | | | | | | The patch has been run-tested and the relevant dmsg logs are as the following [ 0.762447] Creating 5 MTD partitions on "spi0.0": [ 0.767217] 0x000000000000-0x000000010000 : "u-boot" [ 0.775139] 0x000000010000-0x000000020000 : "bdinfo" [ 0.781014] 0x000000020000-0x000000fe0000 : "firmware" [ 0.810558] 2 uimage-fw partitions found on MTD device firmware [ 0.815043] 0x000000020000-0x000000170000 : "kernel" [ 0.821925] 0x000000170000-0x000000fe0000 : "rootfs" [ 0.827587] mtd: device 4 (rootfs) set to be root filesystem [ 0.831937] 1 squashfs-split partitions found on MTD device rootfs [ 0.837983] 0x0000005c0000-0x000000fe0000 : "rootfs_data" [ 0.845621] 0x000000fe0000-0x000000ff0000 : "backup" [ 0.851445] 0x000000ff0000-0x000001000000 : "art" While at it, convert to new build method Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: add support for OpenEmbed SOM9331Allan Nick Pedrana2016-06-071-0/+9
| | | | | | | | This patch adds the target profile SOM9331 and configures hardware functionality for the 3x Eth Ports & corresponding LED's, the USB Host, the USART to USB bridge and the System LED. Signed-off-by: Allan Nick Pedrana <nik9993@gmail.com>
* ar71xx: move generic device image definitions to a separate fileFelix Fietkau2016-05-231-0/+335
Signed-off-by: Felix Fietkau <nbd@nbd.name>