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
10 years ago
Felix Fietkau
9a4ba281f6
rb532: fix jffs2 images
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41542
10 years ago
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
10 years ago
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
11 years ago
Florian Fainelli
6bbb5272ad
rb532: fix initramfs image creation ( #14215 )
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 38219
11 years ago
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
11 years ago
Gabor Juhos
91e1fa6d70
rb532: remove trailing whitespaces from image/Makefile
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38156
11 years ago
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
12 years ago
Alexandros C. Couloumbis
67339c1329
linux/rb532: use kernel and initramfs tags on image generation
...
SVN-Revision: 26817
14 years ago
Nicolas Thill
898a6bc93d
target/rb532: use -combined suffix for kernel+rootfs images
...
SVN-Revision: 21363
15 years ago
Nicolas Thill
5403c59f57
images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
...
SVN-Revision: 21362
15 years ago
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
15 years ago
Imre Kaloz
a9c958c2de
make kernels use /etc/preinit by default
...
SVN-Revision: 15840
16 years ago
Felix Fietkau
e8a39ef677
rb532: preserve commandline-patched kernel images for faster kernel testing via netboot
...
SVN-Revision: 15766
16 years ago
Felix Fietkau
3846834c85
rb532: add missing drivers and adjust the kernel command line for the right device name
...
SVN-Revision: 15725
16 years ago
Felix Fietkau
1bca0cc517
make the image filenames a bit shorter
...
SVN-Revision: 9533
17 years ago
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
17 years ago
Felix Fietkau
c6bc77ea36
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
SVN-Revision: 8362
18 years ago
Florian Fainelli
56d235dfb7
compress the kernel that resides on the nand memory
...
SVN-Revision: 8073
18 years ago
Florian Fainelli
28a4b28ce1
Remove tgz hacks
...
SVN-Revision: 8066
18 years ago
Florian Fainelli
cfddec3e1d
Convert the NAND driver to platform_driver, allow tgz image to be built correctly
...
SVN-Revision: 8058
18 years ago
Florian Fainelli
114632438a
Remove patch-cmdline from the packages and move it tools tools/. adm5120 and rb532 do use it for procuding ready-to-use kernels ( #1631 )
...
SVN-Revision: 7820
18 years ago
Felix Fietkau
7e0b07575e
fix the squashfs kernel command line for rb532
...
SVN-Revision: 7687
18 years ago
Felix Fietkau
71ca530e8a
fix rb532 squashfs support (patch by Jens Muecke)
...
SVN-Revision: 7577
18 years ago
Felix Fietkau
12fc04238e
enable preinit in a few other platforms
...
SVN-Revision: 6482
18 years ago
Felix Fietkau
91e5dba2c7
kernel build cleanup
...
SVN-Revision: 6464
18 years ago
Felix Fietkau
295d0a7e82
allow the user to change the rb532 rootfs size in menuconfig ( fixes #1374 )
...
SVN-Revision: 6417
18 years ago
Felix Fietkau
f206cee9db
fix rb532 image build
...
SVN-Revision: 6233
18 years ago
Felix Fietkau
7a6a646497
Add initial version of the new Image Builder It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.
...
SVN-Revision: 6071
18 years ago
Felix Fietkau
dc6794b88c
some platform support path name cleanup
...
SVN-Revision: 5846
18 years ago
Felix Fietkau
cf52f51b85
remove custom partition table hack, add ptgen utility for generating partition tables
...
SVN-Revision: 5704
18 years ago
Felix Fietkau
63994b8f50
replace the ugly rb532 cmdline hack with a cleaner one that does not depend on magic offsets
...
SVN-Revision: 5699
18 years ago
Felix Fietkau
e1dc2f086d
fix path to lzma-loader
...
SVN-Revision: 5698
18 years ago
Mike Baker
c3c4dfb57b
move target/image/platform to target/linux/platform/image platform directories are now self contained
...
SVN-Revision: 5669
18 years ago
Felix Fietkau
1a94b0d4a0
Add NAND flash/YAFFS2 patches for RB532 by David Goodenough Read the kernel command line from an otherwise unused area of the kernel image (will be used for changing the command line on the fly when copying the system from CF to NAND)
...
SVN-Revision: 5296
18 years ago