Felix Fietkau
b3b797076e
bcm53xx: simplify image building code
...
Use append-ubi template for ubinize, remove mkfs override
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-14 10:27:45 +02:00
Felix Fietkau
dbc416b6ec
bcm53xx: remove duplicate template data from the image makefile
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-14 10:27:30 +02:00
Ben Whitten
b7baaaf782
kernel: Move append-dtb to common image-commands
...
This build step is used by various targets, move it to a common section.
Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
2016-06-22 19:32:06 +02:00
Rafał Miłecki
2be5203055
bcm53xx: bump maximum TRX size for devices with serial flash
...
It was already increased for NAND devices so do the same for the ones
with serial memory.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49207
2016-04-20 18:14:01 +00:00
Rafał Miłecki
997a3cb41c
bcm53xx: add basic support for Netgear R7900
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49122
2016-04-09 09:59:21 +00:00
Rafał Miłecki
3b76c7cf0b
bcm53xx: start working on Netgear R8500
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48625
2016-02-03 22:32:07 +00:00
Rafał Miłecki
8095667532
bcm53xx: build D-Link DIR-885L image
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48606
2016-02-01 12:43:04 +00:00
Felix Fietkau
2499a57d92
targets: add kernel image dependencies on device tree files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48146
2016-01-06 18:39:06 +00:00
Rafał Miłecki
c6401c6d61
bcm53xx: add early support for Linksys EA6300 V1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47052
2015-09-26 22:57:33 +00:00
Jonas Gorski
4ecae78c16
image.mk: replace all Build/netgear-chk with a generic implementation
...
Instead of letting each target define it themselves, create on in
include/image.mk and let the targets use it.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46596
2015-08-14 13:05:14 +00:00
Jonas Gorski
b6abb59975
bcm53xx: prefix netgear specific device variables with NETGEAR_
...
Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46593
2015-08-14 13:03:36 +00:00
Rafał Miłecki
cf93a8f227
bcm53xx: add early support for Netgear R7000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46363
2015-07-14 10:25:46 +00:00
Rafał Miłecki
9845d729a9
bcm53xx: build images for Asus devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45790
2015-05-27 16:20:06 +00:00
Rafał Miłecki
3dd9274332
bcm53xx: add support for SmartRG SR400ac
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45686
2015-05-13 20:01:15 +00:00
Rafał Miłecki
5b9d70c888
bcm53xx: image: prepare for generating serial flash images
...
There are some rare devices without NAND, like Netgear EX6200 or
TP-LINK Archer C8.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45545
2015-04-21 08:42:41 +00:00
Rafał Miłecki
92875dbd3d
bcm53xx: append only 1 block (with erasing mark) to UBI
...
This is needed as prepare_generic_squashfs generates more data (in our
case 0x40004 B) and it's complex for sysupgrade to extract UBI image out
of TRX.
Signed-off-by: Dan Haab <dhaab@luxul.com>
SVN-Revision: 45541
2015-04-21 08:20:00 +00:00
Rafał Miłecki
ac6879caaa
bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades
...
Signed-off-by: Dan Haab <dhaab@luxul.com>
SVN-Revision: 45540
2015-04-21 08:19:53 +00:00
Felix Fietkau
d51420eedc
bcm53xx: increate trx maxlen to prevent build failures with bigger images
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45461
2015-04-16 20:09:15 +00:00
Felix Fietkau
24e9f52106
bcm53xx: add support for the Buffalo WXR-1900DHP
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45419
2015-04-13 17:32:25 +00:00
Rafał Miłecki
9d6e04a4f1
bcm53xx: build image for ASUS RT-AC56U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45353
2015-04-10 09:58:00 +00:00
Felix Fietkau
414e8ba634
bcm53xx: use the correct kernel image
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45003
2015-03-26 10:42:36 +00:00
Felix Fietkau
48c69e3022
bcm53xx: convert to new image building code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44996
2015-03-25 17:57:44 +00:00
Rafał Miłecki
e0155ad7b0
bcm53xx: add support for Asus RT-AC68U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44934
2015-03-22 01:57:15 +00:00
Rafał Miłecki
79c152b56b
bcm53xx: fix Asus RT-AC87U magic (even if not used yet)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44933
2015-03-22 01:57:10 +00:00
Rafał Miłecki
251b42d491
bcm53xx: early support for Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44186
2015-01-28 21:55:43 +00:00
Rafał Miłecki
78b0da393b
bcm53xx: add support/firmware for Asus RT-AC87U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44051
2015-01-19 11:05:22 +00:00
Rafał Miłecki
a20fa1cb48
bcm53xx: add early support for Buffalo WZR-900DHP
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43533
2014-12-07 10:55:44 +00:00
Rafał Miłecki
4669d08e83
bcm53xx: switch RT-N18U firmware to the UBI
...
According to the ticket #18152 it also uses NAND with 0x20000 erase size
and 0x800 page size.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43008
2014-10-20 22:09:40 +00:00
Rafał Miłecki
4fce5d1951
bcm53xx: image: switch Netgear and Buffalo devices to UBI
...
We still don't have a smart sysupgrade method, but at least we can use
UBI which provides some protection for rootfs (SquashFS).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42941
2014-10-16 21:33:34 +00:00
Rafał Miłecki
aa5b5153f9
bcm53xx: image: build UBI partition image
...
This could be used on NAND devices once we get UBI working.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42938
2014-10-16 20:48:56 +00:00
Rafał Miłecki
241c098fa1
bcm53xx: image: specify flash type for all devices
...
This will allow us to add proper support for NAND one day.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42937
2014-10-16 20:44:44 +00:00
Rafał Miłecki
579b0d9c5b
bcm53xx: add support for Buffalo WZR-600DHP2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42925
2014-10-15 07:14:13 +00:00
Rafał Miłecki
78be7225c3
bcm53xx: prepare to support Asus RT-N18U
...
DT file doesn't include any GPIOs yet, but let's add it as we got some
interest in this device on IRC.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42864
2014-10-09 16:36:51 +00:00
Rafał Miłecki
9473673ae3
bcm53xx: add support for Buffalo WZR-1750DHP
...
Let's generate a simple TRX file as we can't get encrypted one.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42863
2014-10-09 16:36:05 +00:00
Rafał Miłecki
7436b17075
bcm53xx: build R6250 firmware with "Other Regions" region
...
This prevents vendor firmware from warning about incompatible region.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42754
2014-10-03 10:40:12 +00:00
Rafał Miłecki
66922082ed
bcm53xx: early support for Netgear R6300 V2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42743
2014-10-02 19:30:08 +00:00
Rafał Miłecki
f036f5801f
bcm53xx: image: use IMG_PREFIX for chk images
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42649
2014-09-22 18:11:09 +00:00
Rafał Miłecki
23a07c6d18
bcm53xx: image: make filesystem a suffix for TRX files
...
This makes TRX files more /compatible/ with firmware files (e.g. CHK).
This will allow us to put some TRX files in BIN_DIR if we need to.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42646
2014-09-22 09:16:20 +00:00
Rafał Miłecki
fd515112db
bcm53xx: image: document arguments of various functions
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42645
2014-09-22 08:37:18 +00:00
Rafał Miłecki
5f7be0ebf4
bcm53xx: image: rework Makefile and merge some functions
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42644
2014-09-22 08:04:26 +00:00
John Crispin
7d8f187201
target/linux/*/image/Makefile: use new dts path variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41791
2014-07-21 18:42:06 +00:00
Hauke Mehrtens
e0027ed4ab
bcm53xx: make the l2x0 L2 cache controller work
...
This fixes the DMA problems with the Ethernet driver.
This also updates some other parts of the patches.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39203
2014-01-04 23:46:44 +00:00
Hauke Mehrtens
9e9261a718
bcm53xx: add initial support for ARM based BCM47XX and BCM53XX SoCs
...
This was only tested on a Netgear R6250, but it could also work on
other devices when the correct images are generated.
It is only possible to boot into a ram disk, no Ethernet, Wifi, flash,
USB is supported.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37268
2013-07-12 13:46:27 +00:00