Commit graph

12 commits

Author SHA1 Message Date
Jonas Gorski
dbe4173b20 image: fix jffs2(_nand) image generation
Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used
for template generation, so need to be present before inclusion of
image.mk in target image Makefiles.
So move all declarations to before any includes.

Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46564
2015-08-05 13:55:52 +00:00
Felix Fietkau
6512aa4553 mcs814x: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44106
2015-01-24 20:01:33 +00:00
Florian Fainelli
3b523f6780 mcs814x: account for dtb output directory differences
3.3 produced *.dtb files in arch/arm/boot/ while 3.14 will produce those
in arch/arm/boot/dts/, adjust the image makefile accordingly.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43925
2015-01-10 20:11:18 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
Florian Fainelli
19cbe80501 pad squashfs image
SVN-Revision: 33314
2012-09-03 20:25:46 +00:00
Florian Fainelli
1964753c22 add Generic and dLAN USB Extender profiles
SVN-Revision: 33313
2012-09-03 20:25:40 +00:00
Florian Fainelli
2cf28cff7d only support 128KiB erase block sizes
SVN-Revision: 33131
2012-08-11 12:56:09 +00:00
Florian Fainelli
911a83dffc generate upgrade files suffixed with filesystem type
SVN-Revision: 33126
2012-08-11 12:55:15 +00:00
Florian Fainelli
798cc28d73 build a Devolo dLAN USB Extender specific image
The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

SVN-Revision: 33066
2012-08-08 21:51:00 +00:00
Florian Fainelli
f8386ecbc6 cleanup image generation
SVN-Revision: 33065
2012-08-08 21:50:55 +00:00
Florian Fainelli
3cd753408d properly generate squashfs, jffs2 and initramfs images and kernels
SVN-Revision: 32927
2012-07-31 23:09:50 +00:00
Florian Fainelli
f4afa00862 add Moschip MSC814x support
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

SVN-Revision: 32462
2012-06-19 14:48:56 +00:00