Rafał Miłecki
2c38b6e076
bcm53xx: specify brcmfmac firmware for every device
...
This will allow us to include required firmwares only and save some
rootfs space.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-13 11:03:43 +02:00
Felix Fietkau
d27bce8d28
build: drop UBI EOF marker from images by default
...
Only add them where they are actually required.
Should help with compatibility issues with stock U-Boot images that
access UBI
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-09-12 18:21:52 +02:00
Mathias Kresin
e7ec7a08aa
image: use k as unit suffix for blocksize
...
Use k as unit suffix for kilobyte to have a the same unit regardless of
the used filesystem.
Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-09-04 08:56:05 +02:00
Rafał Miłecki
1bef5050ef
bcm53xx: build Tenda AC9 image
...
We finally got kernel booting on this device and LAN ports are working,
so it won't "brick" the device. One more big missing thing is WAN port
support. It requires fix for BCM53125 to get switch port 5 working.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 11:38:44 +02:00
Rafał Miłecki
dd7eddcb08
bcm53xx: prepare for building Tenda AC9 TRX image
...
It'll be enabled when we complete basic support.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-15 09:33:04 +02:00
Rafał Miłecki
fa350d5aba
bcm53xx: add profiles for Buffalo devices
...
This generates proper images when using CONFIG_TARGET_MULTI_PROFILE and
CONFIG_TARGET_PER_DEVICE_ROOTFS.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 12:17:06 +02:00
Rafał Miłecki
b835d7e811
bcm53xx: include USB modules in images for devices with USB ports
...
This allows using USB out of the box.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 11:59:28 +02:00
Rafał Miłecki
0b9de8daa7
bcm53xx: add profiles for all other (SoftMAC) devices
...
Thanks to this images for SoftMAC devices don't get brcmfmac anymore and
b43 is added for devices with (quite poor) support only.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 11:31:46 +02:00
Rafał Miłecki
d378a7c4f7
bcm53xx: convert (disabled) Netgear R8500 image to own profile
...
It should be the last device with FullMAC chipset to convert.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 08:28:41 +02:00
Rafał Miłecki
931d309203
bcm53xx: add profile with brcmfmac for Netgear R7900
...
It's one more device with FullMAC that got forgotten in the previous
commit.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-11 07:46:17 +02:00
Rafał Miłecki
c769c1b584
bcm53xx: add profiles for devices with FullMAC chipsets
...
This allows building images for selected devices with brcmfmac only
(without b43 which is for SoftMAC devices).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
2016-08-10 20:41:53 +02:00
Felix Fietkau
63b525dd6b
image: add a helper variable for getting kernel/rootfs from within image Build/* templates
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-31 12:25:25 +02:00
Felix Fietkau
8e2764ce9b
image.mk: clean up redundant code related to DEVICE_DTS
...
It is used by a core build template, so the variable should be
initialized and added to DEVICE_VARS in the core.
Same for DEVICE_DTS_DIR
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-15 14:14:11 +02:00
Rafał Miłecki
c940ccedd8
bcm53xx: image: don't suppress "mv" command echoing
...
We call all commands normally, with standard echoing. It's useful for
debugging with V=s. Don't make lzma compression an exception, it's a bit
confusing this way.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-07-14 11:31:26 +02:00
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