Felix Fietkau
5b6b0aa267
rb532: convert to new loopback based overlay support
...
Disable block2mtd support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-07 17:50:57 +01:00
Florian Fainelli
db553ffb34
rb532: Fix initramfs kernel images
...
The generic lzma-loader uses vmlinux.lzma as an input to compress so we
need to provide a lzma compressed version of the initramfs kernel.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-24 12:02:10 +01:00
John Crispin
4be7901962
rb532: increase kernel partition
...
4.1 got little bit larger than 4MB and I couldn't get lzma loader
working on this platform
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47970
2015-12-23 14:42:59 +00:00
Felix Fietkau
2daa34da02
rb532: align partitions to 128KB
...
because block2mtd wants "erasesize must be a divisor of device size" since 3.15
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45072
2015-03-27 21:22:17 +00:00
Felix Fietkau
9a4ba281f6
rb532: fix jffs2 images
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41542
2014-07-07 08:51:59 +00:00
Felix Fietkau
d4158338c9
rb532: really fix squashfs images
...
The previous attempt (r40717) to fix squashfx made the system bootable but
overlayfs remained broken.
This enables block2mtd again using the right partition number and naming
and adds MTD_ROOTFS_SPLIT option.
However onboard rootfs partition name had to be renamed to place overlay on
CF instead of onboard NAND.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41541
2014-07-07 08:51:55 +00:00
Florian Fainelli
21b14da88f
rb532: Fix ext4 and squashfs images
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 40717
2014-05-07 01:16:14 +00:00
Florian Fainelli
6bbb5272ad
rb532: fix initramfs image creation ( #14215 )
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 38219
2013-09-26 19:16:19 +00:00
Gabor Juhos
13ec78c18f
rb532: image: fix broken ifneq statement
...
Fixes the following build error:
/devel/openwrt/staging_dir/host/bin/patch-cmdline \
/devel/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/linux-rb532/vmlinux-initramfs \
'root=/dev/mtdblock1 rootfstype=yaffs2 '
Could not open kernel imagemake[5]: *** [install] Error 255
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38157
2013-09-24 13:17:39 +00:00
Gabor Juhos
91e1fa6d70
rb532: remove trailing whitespaces from image/Makefile
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38156
2013-09-24 13:17:38 +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
Alexandros C. Couloumbis
67339c1329
linux/rb532: use kernel and initramfs tags on image generation
...
SVN-Revision: 26817
2011-05-04 08:47:00 +00:00
Nicolas Thill
898a6bc93d
target/rb532: use -combined suffix for kernel+rootfs images
...
SVN-Revision: 21363
2010-05-05 01:59:43 +00:00
Nicolas Thill
5403c59f57
images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
...
SVN-Revision: 21362
2010-05-05 01:52:54 +00:00
Nicolas Thill
e2b57ecf5f
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Imre Kaloz
a9c958c2de
make kernels use /etc/preinit by default
...
SVN-Revision: 15840
2009-05-14 10:20:53 +00:00
Felix Fietkau
e8a39ef677
rb532: preserve commandline-patched kernel images for faster kernel testing via netboot
...
SVN-Revision: 15766
2009-05-11 00:45:28 +00:00
Felix Fietkau
3846834c85
rb532: add missing drivers and adjust the kernel command line for the right device name
...
SVN-Revision: 15725
2009-05-08 23:27:49 +00:00
Felix Fietkau
1bca0cc517
make the image filenames a bit shorter
...
SVN-Revision: 9533
2007-11-10 23:08:11 +00:00
Felix Fietkau
56231056ea
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00