Commit graph

54 commits

Author SHA1 Message Date
Jo-Philipp Wich
db49dd894e build: rename sysupgrade-nand to sysupgrade-tar
Now that the "sysupgrade-nand" step is used by non-NAND targets as well,
rename it to "sysupgrade-tar" to make it more generic.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-29 16:53:03 +02:00
Felix Fietkau
33c8d35375 image: remove shell calls from legacy ubi/ubifs image code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-25 12:37:50 +02:00
Felix Fietkau
064bcdc259 kirkwood: fix UBIFS_OPTS variable in image build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-25 12:30:19 +02:00
Felix Fietkau
650afe412b kirkwood: remove obsolete code for including kernel/dtb in rootfs
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-20 10:13:50 +02:00
Felix Fietkau
0538bbdc4d kirkwood: remove obsolete ubinize.cfg file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-20 10:13:50 +02:00
Felix Fietkau
5d4b044955 kirkwood: clean up redundant variables in the image building code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-20 10:13:50 +02:00
Felix Fietkau
cfd1ef4b90 kirkwood: get rid of useless ubifs/ubi option variables
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-20 10:13:50 +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
Felix Fietkau
e0ed6ec667 image: clean up UBI related device variable definitions
Move UBI related variable export to core, since the variables are used
by a core Build/ template

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
Felix Fietkau
6036768d46 kirkwood: install kernel binaries into bin/ for use with external storage
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:41 +02:00
Felix Fietkau
934daa7b50 kirkwood: move ubi/ubifs options to the image makefile
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-19 15:18:12 +02:00
Luka Perkov
33f76a486d linux/kirkwood: migrate goflexhome/goflexnet to new ubi style
Also using the new image build step format

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 49013
2016-03-14 17:06:12 +00:00
Luka Perkov
afa1c47e71 kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images
The new image requires `bootz` because of devicetree appending.
To flash a new image boot initramfs:

  tftpboot 0x800000 openwrt-kirkwood-dockstar-initramfs-kernel.bin
  bootz 0x800000

  # detach if already attached
  ubidetach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')
  # scp openwrt-kirkwood-dockstar-squashfs-factory.bin /tmp
  ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin
  # attach is important to resize rootfs_data otherwise it wont boot
  ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 49010
2016-03-14 17:06:09 +00:00
Luka Perkov
1b9c171f88 kirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi images
depending on KERNEL_IN_UBI, the image.mk will create a ubi volume for the kernel

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 49009
2016-03-14 17:06:08 +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
Luka Perkov
4e239d9fdb kirkwood: add Linksys routers to default profile
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47458
2015-11-11 12:48:30 +00:00
Luka Perkov
ba26e9f60f kirkwood: rename EA3500/EA4500 profiles
Match the engineering board names now used elsewhere.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47436
2015-11-10 00:17:01 +00:00
Luka Perkov
6acb552eee kirkwood: generate factory images for Linksys EA[34]500
This is done with the new image generation system and board names.
It also generates a sysupgrade.tar image.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47432
2015-11-10 00:16:35 +00:00
Luka Perkov
6a18146206 kirkwood: add initial support for NSA310s
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47330
2015-11-01 01:13:16 +00:00
Felix Fietkau
2e7df6312d kirkwood: image: Remove custom mkfs targz override as base should be fine now
It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47313
2015-10-31 09:28:34 +00:00
Felix Fietkau
8a237d1f03 kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47309
2015-10-31 09:27:56 +00:00
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
Luka Perkov
7437be53ba kirkwood: add support for the Seagate GoflexHome
Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome>

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 45647
2015-05-08 20:12:39 +00:00
Luka Perkov
309e74b86d kirkwood: add sheevaplug and derivatives
Add kirkwood FDT:
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus
- Topkick1281P2

Signed-off-by: Gérald Kerma <drEagle@doukki.net>

SVN-Revision: 43735
2014-12-17 08:33:55 +00:00
Luka Perkov
a2a6077fd0 kirkwood: sort 110-nas profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43642
2014-12-11 23:29:04 +00:00
John Crispin
8dfb87bebc kirkwood: Add support for Iomega StorCenter ix2-200
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43391
2014-11-26 09:00:48 +00:00
Luka Perkov
4f1a9470f0 kirkwood: add support for Linksys EA3500
http://wiki.openwrt.org/toh/linksys/ea3500

Signed-off-by: Dan Walters <dan@walters.io>

SVN-Revision: 43230
2014-11-10 23:55:10 +00:00
Felix Fietkau
275cef6363 image.mk: clean up and parallelize mkfs calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42878
2014-10-12 15:00:49 +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
Luka Perkov
4122af10f9 kirkwood: add support for Linksys EA4500
Support is added only for kernel 3.14 - do not show it until
the switch is made.

Following uboot env changes are needed to make it work on stock uboot:
2014-05-28 21:43:39 +00:00
Luka Perkov
9ba7cbafe4 kirkwood: add support for Seagate GoFlexNet
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39595
2014-02-16 00:14:27 +00:00
Luka Perkov
0c25f159fd kirkwood: update support for iconnect
Previous patch was pushed due to false user report. While at it fix alphabetic
ordering.

The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot
environment if OpenWrt's uboot package is used. In order to flash the image run
following commands in uboot shell:

nand erase 0x200000 0x1fe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-iconnect-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39591
2014-02-15 23:53:08 +00:00
Luka Perkov
746ace4baf kirkwood: add support for iomega iconnect
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net>

SVN-Revision: 38897
2013-11-23 15:55:10 +00:00
Luka Perkov
b294319215 kirkwood: add support for dockstar
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38664
2013-11-06 19:24:32 +00:00
Luka Perkov
e00bc81a56 kirkwood: add userland support for Pogoplug E02
This patch adds the userland support for the Pogoplug E02 by Cloud
Engines, Inc.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 38631
2013-10-31 12:04:04 +00:00
Luka Perkov
6f26ef8b5d kirkwood: extend image/Makefile
* use lower case letters in generated images
* extend support for boot/ directory
* fix some typos

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 38629
2013-10-31 11:44:28 +00:00
Luka Perkov
7938d16451 build: make MkuImage more generic
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38516
2013-10-23 22:16:09 +00:00
Luka Perkov
73246d2f64 kirkwood: upgrade to 3.10.15
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38402
2013-10-14 19:46:40 +00:00
Luka Perkov
c808a4a7ef ubifs: enable building modular images
Now it is possible to build ubi/ubifs images for only selected boards inside
single target.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38375
2013-10-12 21:44:48 +00:00
Luka Perkov
fa3ab0c237 kirkwood: add support for UBI (3.10.x)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38301
2013-10-04 03:45:52 +00:00
Luka Perkov
5617993e10 kirkwood: enable dts compilation
In 3.10 we might build those, so for now just add this functionality.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38297
2013-10-03 02:50:03 +00:00
Luka Perkov
a30df8987d kirkwood: fix initramfs images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38296
2013-10-03 02:50:02 +00:00
Luka Perkov
0eb732c659 kirkwood: drop PROFILE from image names
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 38281
2013-10-02 00:33:48 +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
Jonas Gorski
e7b504ce8e kirkwood: convert to use the new jffs2_nand
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36861
2013-06-05 20:58:53 +00:00
Lars-Peter Clausen
dc116b1887 Add different profiles for Sheevaplug and Dockstar
Thanks to Gerrit Visser

SVN-Revision: 22838
2010-08-29 21:16:00 +00:00
Lars-Peter Clausen
014765e77c Align jffs2 to pagesize and fix mkfs2.jffs2 opts
SVN-Revision: 22836
2010-08-29 21:08:55 +00:00
Lars-Peter Clausen
28d7de48b8 Cleanup image generation
SVN-Revision: 22829
2010-08-28 22:01:21 +00:00
Lars-Peter Clausen
0e974c50ed Add Seagate Dockstar support
SVN-Revision: 22765
2010-08-22 17:03:25 +00:00