Commit Graph

368 Commits (1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e)

Author SHA1 Message Date
Felix Fietkau 018d80007e kernel: remove ubifs xz decompression support
It has been unused, and less useful than squashfs for cases where flash
space usage matters.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Hauke Mehrtens 88ca6390ea kernel: bump to 4.4.40
Refresh patches on all 4.4 supported platforms.
Compile & run tested: lantiq/xrx200

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Felix Fietkau 4731f02fa2 kirkwood: fix ubi partition name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 83d59453c0 kirkwood: fix sysupgrade for non-dockstar NAND devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 9c402d03e6 kirkwood: enable initramfs images by default
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 49e81f9fe4 kirkwood: clean up profiles, move to image makefile
Adds support for per-device rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 9a1f441ac8 kirkwood: enable SoC drivers in the kernel config
Clean up packaged modules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 44447f6882 kirkwood: clean up FEATURES
Remove dt: it is implicitly enabled based on the kernel config
Remove tar.gz and jffs2_nand: Legacy build code has been removed,
NAND devices are only supported with UBI now.
Remove ubifs: deprecated, use squashfs images instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 2eb1cc3dfc kirkwood: remove legacy image build code
This has been mostly non-functional for a while now

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau c9e4cf2299 kirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build code
Update the correspoding u-boot configs to stop relying on
kernel-in-rootfs, which was removed a while back

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Paul Wassi d2606107ab kirkwood: fix pogo_e02 LED name
The pogo_e02's dts file has its LEDs named "pogo_e02:(...)"
Fix the status-LED's name for this device.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years ago
Paul Wassi f6b5df44d9 kirkwood: remove redundant code in etc/board.d/02_network
Remove redundant code: merge boards/cases that share
the same network configuration.
Also fix the alphabetical ordering of the cases.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years ago
Paul Wassi 5528573039 kirkwood: Add RTC driver to kernel for working hctosys
Build the RTC driver into the kernel, (and remove the optional module), in order
to make hctosys working. (Currently the module is loaded after hctosys has failed previously)

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years ago
bobafetthotmail b9a55277d5 kirkwood: fix uimage creation for some kirkwood devices
because with the current system I'm getting fake uImages that are actually a
renamed zImage, and that's plain wrong.
This fixes bug https://bugs.lede-project.org/index.php?do=details&task_id=131
and https://bugs.lede-project.org/index.php?do=details&task_id=139

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
8 years ago
Mathias Kresin 61c2a7339a image: remove padding parameter from append-kernel/append-rootfs
Using pad-to instead of passing the optional padding to append-kernel
or append-rootfs. It could be that the value of a variable is passed.
In case the variable is empty no error is thrown.

Furthermore the purpose of the extra parameter is hard to get without
reading the code.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 1cd0a4c688 image: add KERNEL_SIZE to the default device vars
This reverts commit ec37a56587 and fixes
the underlying issue.
8 years ago
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>
8 years ago
Mathias Kresin c1578d4fc9 cleanup ucidef_set_interface* usage
- quote the interface name
- remove call of not existing function
- remove the proto if it's the default proto

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
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>
8 years ago
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>
8 years ago
Felix Fietkau 33c8d35375 image: remove shell calls from legacy ubi/ubifs image code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 064bcdc259 kirkwood: fix UBIFS_OPTS variable in image build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 650afe412b kirkwood: remove obsolete code for including kernel/dtb in rootfs
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 0538bbdc4d kirkwood: remove obsolete ubinize.cfg file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 5d4b044955 kirkwood: clean up redundant variables in the image building code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau cfd1ef4b90 kirkwood: get rid of useless ubifs/ubi option variables
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
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>
8 years ago
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>
8 years ago
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>
8 years ago
Felix Fietkau 6036768d46 kirkwood: install kernel binaries into bin/ for use with external storage
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jo-Philipp Wich 52836866c9 kirkwood: add missing kernel symbol
The query for ARMADA_THERMAL is stalling the kconfig process and as long as we
do not package it, simply disable the symbol.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau 934daa7b50 kirkwood: move ubi/ubifs options to the image makefile
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Luka Perkov 5a864190f0 kirkwood: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 49022
8 years ago
Luka Perkov b5bcd4cf36 kirkwood: drop 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 49021
8 years ago
Luka Perkov 3ffb5cec14 kirkwood: switch to 4.4
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 49020
8 years ago
Luka Perkov 5c457db8e5 kirkwood: add 4.4 support
Dropped patches because they applied upstream:

- 120-iomega_ix2_200.patch
- 150-pogoplug_e02.patch

Tested on dockstar and goflexnet.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 49019
8 years ago
Luka Perkov 76c2c676ec kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb
Previous the uboot was overwriting the device-tree's mtd layout to use
the last 3 mb.

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

SVN-Revision: 49015
8 years ago
Luka Perkov ab13a001dd kirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume "ubi"
The kernel will automatic attach mtd partitions named 'ubi' to ubi0.
Renaming the "root" partition into "ubi" will safe arguments
from the kernel cmdline.

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

SVN-Revision: 49014
8 years ago
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
8 years ago
Luka Perkov e9e16bef08 kirkwood/dockstar: rename partition into ubi to use auto detection of target mtd
the kernel tries to use "ubi" or "data" labeled partition to find it's root filesystem.
dockstar don't need anymore mtdparts= nor root= bootarguments

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

SVN-Revision: 49011
8 years ago
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
8 years ago
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
8 years ago
Luka Perkov ef75442989 kirkwood: add feature devicetree
this platform already uses devicetree

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

SVN-Revision: 49008
8 years ago
Luka Perkov 6bc24292ab kirkwood: drop 4.3 support
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>

SVN-Revision: 48499
8 years ago
Felix Fietkau 57776e68ce base-files: remove default /etc/config/network, generate it via board.d instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48493
8 years ago
Felix Fietkau 2499a57d92 targets: add kernel image dependencies on device tree files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48146
9 years ago
Jo-Philipp Wich 67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47867
9 years ago
Jo-Philipp Wich 08848936dd all: remove redundant board.d/00_model files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47753
9 years ago
Jo-Philipp Wich 296212c301 kirkwood: add missing board_config_flush(), remove dead code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47745
9 years ago
Jo-Philipp Wich 80a3e65a9d kirkwood, ipq806x: fix board.d script permissions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47735
9 years ago
Jo-Philipp Wich 7514b6d73b kirkwood: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47733
9 years ago
Luka Perkov 84c7a31535 kirkwood: nsa310s: fix partition size
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47504
9 years ago
Luka Perkov 4e239d9fdb kirkwood: add Linksys routers to default profile
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47458
9 years ago
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
9 years ago
Luka Perkov 31c7de0313 kirkwood: add diag LED on Linksys EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47435
9 years ago
Luka Perkov b0e7ca4f8f kirkwood: support sysupgrade on Linksys EA[34]500
This automatically writes to the alternate firmware partition
(on Linksys's dual firmware layout) using code borrowed from
the WRT1900AC port.

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

SVN-Revision: 47434
9 years ago
Luka Perkov ea8ac0999c kirkwood: support Linksys boot counter on EA[34]500
This is done with existing code from the WRT1900AC port.
It makes sure the "auto_recovery" bootloader option is set,
and resets the s_env boot counter after a successful boot.

This gives users without a serial console connection some
measure of safety.

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

SVN-Revision: 47433
9 years ago
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
9 years ago
Luka Perkov 5d4bbb5f5b kirkwood: find active Linksys root partition
This is imported verbatim from the mvebu WRT1900AC port.

It picks up the current boot partition from the kernel command line,
then renames that partition "ubi" so that it auto-mounts.

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

SVN-Revision: 47431
9 years ago
Luka Perkov ad8f6370de kirkwood: consistently use engineering board names
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47430
9 years ago
Luka Perkov 3ef14d0c3d kirkwood: rework Linksys EA[34]500 DTS
- Use board engineering names rather than marketing names

- Linksys uses a dual firmware layout, where the bootloader
  will switch to the other stored image when one fails to
  boot three consecutive times.

  In order to make this firmware compatible with the factory
  images and the stock bootloader we must match this layout.

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

SVN-Revision: 47429
9 years ago
Luka Perkov 49db4924d7 kirkwood: enable squashfs-on-ubiblock support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47428
9 years ago
Luka Perkov 47668ffd8e kirkwood: add support for 4.3
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47386
9 years ago
Luka Perkov 805492bda9 kirkwood: pogo_e02: use mainline led definitions
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47385
9 years ago
Hauke Mehrtens 55a912f43e kernel: update kernel 3.18 to version 3.18.23
Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47334
9 years ago
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
9 years ago
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
9 years ago
Felix Fietkau 8a237d1f03 kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47309
9 years ago
Jonas Gorski c853db24e0 kirkwood: add wpad-mini to router profiles
Without it the wifi isn't really usable.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46565
9 years ago
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
9 years ago
Felix Fietkau 564fdae968 kirkwood: disable TSO on the ethernet device by default, fixes data corruption issues (#19735)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45776
9 years ago
Felix Fietkau 9f0ffef86a kirkwood: disable the bogus CONFIG_IP_ADVANCED_ROUTER override (#19722)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45753
9 years ago
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
9 years ago
Jonas Gorski 954004eccc kernel: disable INET_LRO by default
INET_LRO deprecated and there are exactly two drivers using it, neither
being included in any of the targets enabling INET_LRO. At the same time
both drivers needing it select it.

So just disable it for everyone.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45584
9 years ago
Luka Perkov cc8628a6a3 kirkwood: put uboot-envtools in DEFAULT_PACKAGES
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45477
9 years ago
John Crispin 6d0ad03fac kernel: remove references to kmod-of-i2c
these break the IB since the module is part of i2c-core now

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45363
9 years ago
John Crispin cacc152a37 kirkwood: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44641
9 years ago
John Crispin d15ac306fa kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44615
9 years ago
John Crispin f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
9 years ago
John Crispin fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
9 years ago
John Crispin 6617845711 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44612
9 years ago
Luka Perkov f40e7946ce kirkwood: drop support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44610
9 years ago
Luka Perkov 37cef98844 kirkwood: switch to 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44609
9 years ago
Luka Perkov 5cce8f9a0f kirkwood: Seagate GoFlex Net
Add GoFlex Net "Board Name" , set and cleanup network default and LEDs.
Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC.

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

SVN-Revision: 44422
9 years ago
Luka Perkov 7294b892dc kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44319
9 years ago
Luka Perkov 81db848656 targets: base-files: diag.sh does not need to be executable
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44305
9 years ago
Luka Perkov a46bb6ec6a kirkwood: add wpad-mini to guruplug profile
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44125
9 years ago
Luka Perkov c8e9b5d13e kirkwood: enable swconfig by default on EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44124
9 years ago
Luka Perkov 2907ad2363 kirkwood: fix EA3500 ubi options
Previous options resulted in a nonfunctional image.

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

SVN-Revision: 44123
9 years ago
Luka Perkov 86f1a60549 kirkwood: drop port-based VLAN setup
Using port-based VLANs depends on a non-standard
swconfig parameter, which compilcates things like
LuCI that don't know about it. This patch changes
the default to use 802.1q VLANs internally in the
switch, but without tagging packets since we have
two Ethernet ports.

iperf3 tests indicate no difference in performance
versus port-based VLANs when the CPU port is not
using tags.

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

SVN-Revision: 44122
9 years ago
Luka Perkov 34f6c6fc38 kirkwood: enable switch on Linksys EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44036
9 years ago
John Crispin 8698398a6e target: kirkwood: fix leds defaults config
Fix missing parameters in 01_leds

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 44007
9 years ago
Luka Perkov a1872182bb mvsw6171: rename to 'mvsw61xx'
In preparation for properly supporting switches
beyond the 88E6171.

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

SVN-Revision: 43935
10 years ago
Imre Kaloz 5744500ab6 we've changed places with Luka, reflect that :)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43774
10 years ago
Luka Perkov 873202fc0b kirkwood: add *plugs to uci-defaults
Set defaults health led to a timer heartbeet (200/800)
and populate network for:

- GuruplugServerPlus
- SheevaPlug
- SheevaPlug with eSATA

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 43752
10 years ago
Luka Perkov 39743e45f8 kikwood: populate kirkwood.sh with new boards
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 43751
10 years ago
Luka Perkov ec9a0f898a kirkwood: set default EA4500 switch config
This maps the LAN ports to eth0 and WAN port to eth1.
Since there are two interfaces the 802.1q VLAN mode
is unnecessary and left disabled. Port-based VLANs
are used instead.

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

SVN-Revision: 43750
10 years ago
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
10 years ago
John Crispin 019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43715
10 years ago
John Crispin 2db6da5532 kirkwood: enable EA4500 switch on 3.18
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43704
10 years ago
John Crispin d7b4bf8966 kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43670
10 years ago
Luka Perkov a2a6077fd0 kirkwood: sort 110-nas profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43642
10 years ago
Luka Perkov 9a74026206 kirkwood: add 3.18 support
Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43613
10 years ago
Luka Perkov 3b17625394 kirkwood: Iomega ix2-200: use all remaining MTD space for rootfs
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43590
10 years ago
John Crispin 7a65768ddc kirkwood: add a diag script
Currently only Linksys EA4500 is supported.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 43543
10 years ago
John Crispin b5675ad92a kirkwood: enable mvsw6171 switch driver on EA4500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43487
10 years ago
Luka Perkov 7974f29558 kirkwood: change CRC32 implementation to CRC32_SLICEBY8
At least on my Iomega ix2-200 system, this makes btrfs writes about 30% faster.

Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43434
10 years ago
Luka Perkov 5c4f9198bb kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43432
10 years ago
John Crispin 8dfb87bebc kirkwood: Add support for Iomega StorCenter ix2-200
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43391
10 years ago
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
10 years ago
Felix Fietkau c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
10 years ago
Felix Fietkau 275cef6363 image.mk: clean up and parallelize mkfs calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42878
10 years ago
Felix Fietkau f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
10 years ago
Luka Perkov 02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

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

SVN-Revision: 42463
10 years ago
Florian Fainelli a5a309142c kirkwood: fix typos on DEBUG_LL_UART_*
We were prompted for which DEBUG_LL_UART implementation we want, fix the
typos such that the build continues.

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

SVN-Revision: 42332
10 years ago
Luka Perkov 0d165a244d kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42314
10 years ago
Luka Perkov 7116b091eb kirkwood: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42077
10 years ago
Luka Perkov f767d83b67 kirkwood: switch to 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42076
10 years ago
John Crispin 7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
10 years ago
John Crispin ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
10 years ago
Gabor Juhos d0ad8c00b6 kernel: sort Kconfig options in kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41614
10 years ago
John Crispin 994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41351
10 years ago
Luka Perkov a54f4320f9 kirkwood: move kirkwood.sh to /lib/ for consistency
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41338
10 years ago
Luka Perkov 8416523dba kirkwood: base-files: use /lib/functions/kirkwood.sh
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41336
10 years ago
Luka Perkov e6aea925d3 kirkwood: base-files: add script to detect board name and populate /tmp/sysinfo
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41335
10 years ago
Luka Perkov 70a27a518e kernel: update 3.14 to 3.14.8
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41309
10 years ago
John Crispin e9f664c879 kernel: make sure the new UBIBLOCK symbol does not break builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41134
10 years ago
John Crispin ac5d5cbc79 kernel: add a NAND_SUPPORT symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41122
10 years ago
Luka Perkov dfabb76883 kirkwood: cosmetic: move POGOE02 profile to different file
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40873
10 years ago
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:
10 years ago
Luka Perkov 3bb20dedcd kirkwood: add Pogoplug E02 kernel support for 3.14
This also fixes a typo in the UBIFS_OPTS

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

SVN-Revision: 40827
10 years ago
Luka Perkov 55131c5f42 kirkwood: add support for 3.14
* support for pogoplug_e02 is missing

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

SVN-Revision: 40808
10 years ago
Gabor Juhos d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
10 years ago
Gabor Juhos 627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
10 years ago
Gabor Juhos f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
10 years ago
Luka Perkov 30c39f99a7 kirkwood: dockstar: remove sata from packages
The dockstar doesn't have any sata ports.

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

SVN-Revision: 39596
10 years ago
Luka Perkov 9ba7cbafe4 kirkwood: add support for Seagate GoFlexNet
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39595
10 years ago
Luka Perkov 58fa3f8fdf kirkwood: update support for dockstar
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 0xfe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-dockstar-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by: Alexander Couzens <lynxis@fe80.eu>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39593
10 years ago
Luka Perkov 0b0357b50e kirkwood: update support for ib62x0
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 0xfe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-ib62x0-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

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

SVN-Revision: 39592
10 years ago
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
10 years ago
Gabor Juhos a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
10 years ago
Gabor Juhos 0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
11 years ago
Hauke Mehrtens 952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
11 years ago
Gabor Juhos f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
11 years ago
Luka Perkov 6cbad59ead kirkwood: include ext4 support by default
Several users reported that they would like this feature.

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

SVN-Revision: 38901
11 years ago
Luka Perkov a48520f0f3 kirkwood: kernel: add missing config option
Buildbot found missing config option for target kirkwood.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 38900
11 years ago
Luka Perkov 770a285ee3 kirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
The '-U' aka '--squash-uids' is already used in Image/mkfs/ubifs function.

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

SVN-Revision: 38898
11 years ago
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
11 years ago
Hauke Mehrtens 6d4132b7a4 kirkwood: add missing kernel config CONFIG_REGMAP=y
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 38837
11 years ago
Luka Perkov b294319215 kirkwood: add support for dockstar
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38664
11 years ago