Commit Graph

478 Commits (5a8e9846af689be7bc3b1fb4a356c3e3c711b94a)

Author SHA1 Message Date
Mathias Kresin ac3e05c5d7 treewide: populate boardname and model earlier
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Felix Fietkau 21591a3361 adm5120: mark the rb1xx subtarget as broken
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Rafał Miłecki d0b50c2770 kernel: drop usbdev LED trigger
It was LEDE's trigger that was replaced by upstream usbport one.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Felix Fietkau 577f873daf kernel: remove unused morse led trigger driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jo-Philipp Wich 82768561c4 adm5120: remove target specific /etc/config/system
Now that deviations to the default /etc/config/system are registered via
board.d we can drop the target specific copy.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich 4f65b6f567 adm5120: convert LED setup to board.d
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
John Crispin dc92917409 image / basefiles: make console password configurable
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Jo-Philipp Wich e885286834 target: globally remove ARCH_PACKAGES overrides
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Gabor Juhos 7d8d26272b adm5120: lzma-loader: fix cache invalidation
The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Compile tested only.

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

SVN-Revision: 49058
8 years ago
Gabor Juhos ae8f6f1a28 adm5120: lzma-loader: remove trailing whitespaces from head.S
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 49057
8 years ago
Jonas Gorski 900b87e96c adm5120: disable the openwrt commandline hack
We don't make use of it, so no need to have it enabled.

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

SVN-Revision: 46754
9 years ago
Jonas Gorski 548630d74e adm5120: make patches apply again
Fix patches not applying anymore since r46654.

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

SVN-Revision: 46714
9 years ago
Hauke Mehrtens e06f6ae640 adm5120: do not config something as module
All modules should be build by a package and only selected by such a
package. Remove all the config options selected as module and also
refresh the config.

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

SVN-Revision: 46372
9 years ago
John Crispin 096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
9 years ago
Felix Fietkau 21e16964bf adm5120: fix subtarget dependency for kmod-pata-rb153-cf
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45798
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 eb396d6569 adm5120: drop 3.8 and 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44823
9 years ago
Rafał Miłecki fac0ad0827 adm5120: switch kernel to 3.18
Tested by Jonas on WP54g, thank you!

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

SVN-Revision: 44588
9 years ago
Rafał Miłecki c9035566d5 adm5120: enable low_mem
Most devices have only 16 MiB of RAM, this will allow them to boot
without OOM.

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

SVN-Revision: 44587
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
Rafał Miłecki 999c59482f adm5120: use subtarget configs for all kernels
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44581
9 years ago
Rafał Miłecki 780d6939b2 adm5120: add 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44580
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
Florian Fainelli 3b21b2ae00 adm5120: add experimental 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43915
9 years ago
Florian Fainelli c119814b2b adm5120: move files to files-3.8
In preparation for adding new kernel support

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

SVN-Revision: 43914
9 years ago
Felix Fietkau 7cc5b6f9e9 all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43842
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
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
Steven Barth c118e5edf4 network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42848
10 years ago
John Crispin 32e93efc73 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41571
10 years ago
John Crispin f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

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

SVN-Revision: 40915
10 years ago
Gabor Juhos f1eabfb23b kernel: remove obsolete yaffs options from target configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39085
11 years ago
Florian Fainelli 8ea5e19823 targets: fix remaining targets for initramfs builds
Fix some bugs that slipped through while making initramfs non exclusive.

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

SVN-Revision: 37079
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
11 years ago
John Crispin 67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
11 years ago
John Crispin e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
11 years ago
Jonas Gorski 1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
11 years ago
Gabor Juhos 46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
11 years ago
Jonas Gorski 526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
11 years ago
Gabor Juhos e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
11 years ago
Gabor Juhos 8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
11 years ago
Gabor Juhos f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
11 years ago
Gabor Juhos 36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
11 years ago
Steven Barth 4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
11 years ago
Gabor Juhos 151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
11 years ago
Gabor Juhos 604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
11 years ago
Steven Barth ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
11 years ago
Gabor Juhos f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
11 years ago
Gabor Juhos 07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

SVN-Revision: 36039
11 years ago
Gabor Juhos f25c050aa9 adm5120: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35930
11 years ago