Commit Graph

196 Commits (d3c0a944059bb0d45c3b56278249100258378b0c)

Author SHA1 Message Date
Felix Fietkau 77b16bacb1 octeon: drop unsupported jffs2 feature flag
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 2192a029d3 octeon: fix sysupgrade images
Signed-off-by: Felix Fietkau <nbd@nbd.name>
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
Jo-Philipp Wich fccc4298df octeon: clean up image build code
Use the generic "sysupgrade-nand" build step to pack the sysupgrade file,
it performs the same steps as the inline "tar-file" macro.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich 3bb2b46bc3 octeon: fix image build
After b47f438 "build: remove image prefix from kernel files in KDIR", the
kernel image in $(KDIR) has a different name and could not be found by the
tar-file build step anymore, leading to the following error on the build
servers:

  cp: cannot stat `.../linux-octeon/lede-octeon-generic-kernel.bin': No such file or directory
  make[4]: *** [.../linux-octeon/tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1

Adjust the path to the source kernel image in order to fix the problem.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Hauke Mehrtens 84d489f64f kernel: update to version 4.4.14
Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14

Some manual changes to target/linux/generic/patches-4.4/610-
netfilter_match_bypass_default_checks.patch were needed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Jo-Philipp Wich ff4a804669 octeon: fix image build
The generic sysupgrade image attempted to use the wrong filesystem type due
to premature variable interpolation leading to the following error on the
buildbot system:

    cp: cannot stat `.../root.squashfs': No such file or directory
    make[4]: *** [.../tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
John Crispin f77a56d18a octeon: export the FILESYSTEMS variable during image generation
squashfs will be used for all images if this is not done

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 7992633e63 octeon: Ignore MEM boot param when too small
Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least
4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so
if mem < 4M - ignore it and set default value

Signed-off-by: Michał Osowiecki <michal.osowiecki@gmail.com>
8 years ago
John Crispin e030c31e35 octeon: convert to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin b8ab6af1a9 global: change my email address
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Felix Fietkau beda11255b octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
Fixes sysupgrade

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48558
8 years ago
Felix Fietkau f32de94e0a octeon: update to linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48557
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
Hauke Mehrtens cdb83aaf5f kernel/4.3: update to version 4.3.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de

SVN-Revision: 48224
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 21ea086bd3 octeon: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47734
9 years ago
Felix Fietkau acd0e4b8dd octeon: remove 3.18 support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47474
9 years ago
Felix Fietkau 3cb722b875 octeon: switch to 4.3
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47473
9 years ago
Felix Fietkau 33305b56a2 octeon: add support for 4.3
Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47472
9 years ago
John Crispin 9927a9a5f8 octeon: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45821
9 years ago
John Crispin ab84e2d704 octeon: build squashfs image for UBNT ERLITE
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 45732
9 years ago
Jonas Gorski 76d079204d kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

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

SVN-Revision: 45711
9 years ago
John Crispin 1773aa5163 octeon: add er8 sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44902
9 years ago
John Crispin e9b6602a84 octeon: Add MMC support for EdgeRouter ER8
this is a backport of a series posted on the lmo mailing list

Signed-off-by: Jonathan Thibault <jonathan@navigue.com>

SVN-Revision: 44901
9 years ago
John Crispin cc8b6c6d5b octeon: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44820
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 7886cced18 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

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

SVN-Revision: 44611
9 years ago
Jonas Gorski 3139140339 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs
Most MIPS targets have it disabled, so move the symbol to the generic
configs to keep target configs small.

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

SVN-Revision: 44583
9 years ago
John Crispin 983f902177 octeon: switch to 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44350
9 years ago
Felix Fietkau 36fa8e4ce2 octeon: enable VLAN support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43840
10 years ago
Felix Fietkau 1d21ebab99 octeon: remove config-default
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43839
10 years ago
Felix Fietkau 3cc3c0a518 octeon: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43635
10 years ago
Felix Fietkau 9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
10 years ago
John Crispin c79ddb3773 octeon: sysupgrade: support config restore on ERL
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43524
10 years ago
John Crispin 1731d5520e octeon: sysupgrade: rename old kernel after mounting /boot
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43523
10 years ago
John Crispin 52f1d8ecdc octeon: sysupgrade: fix test for rootfs device
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43522
10 years ago
John Crispin dcc8a8ca9e octeon: add support for 3.18 kernel
Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43519
10 years ago
John Crispin 6f665ea7b8 octeon: sysupgrade: support config restore
SVN-Revision: 43518
10 years ago
John Crispin 28a9d9853b octeon: sysupgrade: get rootfsdev from kernel cmdline
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43517
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
John Crispin 619de2faf2 octeon: add patches which are not upstreamed yet
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42811
10 years ago
John Crispin 7350373657 octeon: remove kmod-ath9k from default packages
Looks like the targets are Ubiquiti routers which don't come with any wireless cards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42810
10 years ago
John Crispin 90cbc9a04f octeon: prepare elf kernel image and md5sum for usb copying
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42809
10 years ago
John Crispin 3ff9c76e9e octeon: fix serial console for 3.14 kernel
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42808
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
John Crispin 860e01d7c4 octeon: update to 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42187
10 years ago
John Crispin d8833ce163 octeon: add missing gpio_to_irq()
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42028
10 years ago
John Crispin 8c57e2d888 octeon: enable usb and gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41846
10 years ago
John Crispin 43ee42bd05 octeon: add gpio driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41845
10 years ago
John Crispin 13445d2576 octeon: add detection for edgerouter and edgerouter-pro
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41844
10 years ago
John Crispin 694295e7be octeon: fix usb support on edge router pro
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41842
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
Felix Fietkau f083ca9743 octeon: fix edgerouter pro ethernet device probe order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41575
10 years ago
Felix Fietkau 1b6dece9ea octeon: add basic board detection for UBNT EdgeRouter PRO
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41572
10 years ago
Felix Fietkau 7b0ec8a5db octeon: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41568
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
John Crispin a8d532abf2 octeon: add sysupgrade support for the erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41286
10 years ago
John Crispin fe79b06e6b octeon: build a sysupgrade image for erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41285
10 years ago
John Crispin e0d57509ad octeon: enable the ext4 feature
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41275
10 years ago
John Crispin e6e024f155 octeon: add basic board detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41274
10 years ago
John Crispin 5aeb5c1cbc octeon: fix up the cpu flags
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

SVN-Revision: 41253
10 years ago
John Crispin 312fca5455 octeon: add 3 upstream patches that fix issues on the esr-lite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41252
10 years ago
Zoltan Herpai 96446df6a6 octeon/mpc83xx: remove CONFIG_NETWORK_FILESYSTEMS override
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

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

SVN-Revision: 39399
11 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
Gabor Juhos 35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
11 years ago
Gabor Juhos b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
11 years ago
Hauke Mehrtens 81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
11 years ago
Felix Fietkau 3e2aa6105c octeon: remove CONFIG_FW_LOADER override to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38244
11 years ago
Gabor Juhos 9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
11 years ago
Felix Fietkau a30681dff0 build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38210
11 years ago
Gabor Juhos 554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
11 years ago
Gabor Juhos d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
11 years ago
Gabor Juhos 043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37832
11 years ago
John Crispin c83e665a2c octeon: add a few missing symbols to the kernel config file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37705
11 years ago
John Crispin 3a2040ffee octeon: add support for the octeon mips64 SoC
This is the SoC used be the ESR Lite made by ubnt.com

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

SVN-Revision: 37684
11 years ago
Gabor Juhos e7dee4ea87 octeon: R.I.P.
It is broken since ~8 months and nobody takes care of that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35486
12 years ago
Florian Fainelli a282e37c09 move i2c driver to target modules.mk
SVN-Revision: 32855
12 years ago
Gabor Juhos 39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
12 years ago
Gabor Juhos c8cede6aa7 linux: add broken flag to remaining targets which are using 2.6.37
SVN-Revision: 31686
12 years ago
Gabor Juhos 884a4d47f0 octeon: remove 2.6.30 support
SVN-Revision: 31419
12 years ago
Jo-Philipp Wich a9e64493d8 target: globally disable BSD process accounting
SVN-Revision: 28584
13 years ago
Florian Fainelli de02a2795b fill maintainer infos for a couple of targets
SVN-Revision: 26836
13 years ago
Hauke Mehrtens 50c743e79e kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch

SVN-Revision: 26441
13 years ago
Felix Fietkau 335877a2b3 global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
SVN-Revision: 26300
13 years ago
Imre Kaloz 4ef09dc5f8 upgrade to 2.6.37.4
SVN-Revision: 26227
13 years ago
Jo-Philipp Wich 867ac59ff9 enable SYSRQ for all targets, remove overrides from brcm63xx, octeon and omap35xx
SVN-Revision: 22846
14 years ago
Florian Fainelli 2df3583611 add 2.6.34 support
SVN-Revision: 22452
14 years ago
Claudio Mignanti 2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
14 years ago
Nicolas Thill 484051d055 package/kernel: move target specific modules to their own target files
SVN-Revision: 21132
14 years ago
Florian Fainelli 43311d7182 remove simulator profile
SVN-Revision: 21084
14 years ago