Commit Graph

30522 Commits (6c434d5f06d22a5cb3bb94735803e746a88e553b)
 

Author SHA1 Message Date
Lars-Peter Clausen 464e7a7f10 xburst: Remove n516, n526 and id800wt subtargets
The driver code for supporting these subtargets was already removed a while ago,
so
the current images wont actually boot.

It is also quite unlikely that there are any users of them at this point, so
remove them.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 44586
9 years ago
Jo-Philipp Wich c20e46f792 lldpd: fix passing multiple ifnames to the daemon
Instead of multiple -I arguments, lldpd expects a comma separated list.

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

SVN-Revision: 44585
9 years ago
Jonas Gorski 3069934e37 brcm47xx, brcm63xx: disable CONFIG_MIPS_O32_FP64_SUPPORT
The flag is experimental and requires toolchain support, which we don't
provide. Also neither target has an FPU so it becomes meaningless
without the FPU emulator enabled.

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

SVN-Revision: 44584
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
Jonas Gorski 18322746de brcm63xx: prefer gpio-button-hotplug over button-hotplug
Saves us pulling in the input system, shaving off a few kb from image
sizes.

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

SVN-Revision: 44582
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
Rafał Miłecki 0e7e585752 ep93xx: add 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44579
9 years ago
Rafał Miłecki 578b5ed2b0 mpc52xx: add 3.18 config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44578
9 years ago
Jonas Gorski dd618e499f brcm63xx: fix DTS LEDs and buttons
- A4001N/A4001N1: fix swapped green and red LEDs
- CVG834G: add missing LED
- RTA1320: reorder LEDs by GPIO#
- V2500V: add missing LEDs and buttons
- WAP-5813n: fix WPS button (GPIO 35)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44577
9 years ago
Jonas Gorski 40e6eae61f brcm63xx: fix ethernet breakage in 3.18
Linux commit d75b1ade567ffab ("net: less interrupt masking in NAPI")
chose the samantics of the napi poll return value, which caused napi to
not resume interrups/polling anymore.

Fix the return value to restore expected behaviour.

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

SVN-Revision: 44576
9 years ago
Jonas Gorski 6df9324642 brcm63xx: fix BCM63268 interrupt register locations for legacy probe
Legacy probe passed the IRQSTAT registers instead of the IRQMASK
registers causing all register accesses to be offset by 16 bytes.

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

SVN-Revision: 44575
9 years ago
Jonas Gorski c2a89871c2 brcm63xx: fix gpio register usage
The driver expected data then dir, but both dts and legacy code passed
dir then data. Fix this by making the driver expect the registers in
ascending order, i.e. dir then data.

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

SVN-Revision: 44574
9 years ago
Rafał Miłecki 15fb17791a mpc83xx: start work on 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44573
9 years ago
Rafał Miłecki 151b6b3432 omap: complete 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44572
9 years ago
Rafał Miłecki dccefe7b53 omap: start working on 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44571
9 years ago
Jonas Gorski b694c45d33 brcm63xx: backport and enable DT spi-gpio no CS support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44570
9 years ago
Jonas Gorski b6ad4b7332 brcm63xx: fix image generation and broken patch
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44569
9 years ago
Jonas Gorski d75cd5be37 b53: fix mmap register read/writes > 32 bit
For bcm63xx integrated switches, broadcom changed the data endianess
to match the system endianess. But this only applies to within one word,
which causes 48/64 bit values to be still split into their "litte endian"
groups.

E.g. 48 bit values (with 5 being the most significant byte) aligned

0x00 ..01  or   0123
0x04 2345       45..

will become

0x00 ..10 resp. 3210
0x04 5432       54..

Likewise for 64 bit values.

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

SVN-Revision: 44568
9 years ago
Jonas Gorski 8ff23c60e2 brcm63xx: remove gpio base workaround
Now that all gpio users without named gpios use DT, we do not need
to fix the gpio controller bases anymore.

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

SVN-Revision: 44567
9 years ago
Jonas Gorski b82cb155fc brcm63xx: move buttons and leds to dts files
Register buttons and leds through DT for all available dts,
and remove them from the board files.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: remove leds/buttons from board files
       fix wrong led polarities for dsl-274xb-c2, cpva642, p870hw
       comment out spi-gpio and associated leds]

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

SVN-Revision: 44566
9 years ago
Jonas Gorski eea227c60d brcm63xx: probe gpio controllers through DT
Add a generic mmio gpio controller based driver and probe it
through device tree.

Use aliases for base calculation until we converted all users to
device tree or named gpios.

Convert bcm63xx_enet's ephy-reset gpio to use a named gpio.

While at it, remove the duplicate reset gpio defintion for livebox.

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

SVN-Revision: 44565
9 years ago
Jonas Gorski 1efb7398e1 brcm63xx: convert BTV2500V to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44564
9 years ago
Jonas Gorski 90c15beee6 brcm63xx: convert RTA1320 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44563
9 years ago
Jonas Gorski 5a9b7c28c3 brcm63xx: convert RTA1025 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44562
9 years ago
Jonas Gorski 9a65e1a570 brcm63xx: use dtb for cvg834g
Add a dtsi for bcm3368, add a dts and profile for cvg834g, and convert
it to use ImageDTB. Since HCS requires more arguments, enhance the max
arguments of the call.
The image name is intentionally left blank to prevent non-initramfs
images to be built, as they currently contain no rootfs and consequently
won't work.

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

SVN-Revision: 44561
9 years ago
Jonas Gorski 69b327247c brcm63xx: image: move image argument to front in *DTB calls
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44560
9 years ago
Jonas Gorski f3c071b376 brcm63xx: add dts and profile for Livebox
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44559
9 years ago
Jonas Gorski dd7625ef15 brcm63xx: allow lzma to use 32MB RAM
Most 16 MiB RAM devices don't even load elf kernels, so it's safe to
assume we have at least 32 MB RAM. This fixes tftp booting with the
default package set as this already produces an uncompressed
kernel > 8 MiB.

New limit is 8 MiB compressed / 24 MiB compressed.

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

SVN-Revision: 44558
9 years ago
Jonas Gorski 92eb27f56d package: mtd: move bcm963xx_tag definition into source code
Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.

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

SVN-Revision: 44557
9 years ago
Jonas Gorski bb54859543 brcm63xx: do not align squashfs rootfs start
We do not need to align the start of read only rootfs's to erase blocks.
This allows us to write the squashfs rootfs directly behind the kernel,
potentially freeing up one erase block.

We still need to align for jffs2, so add a flag for imagetag to
optionally align the rootfs start.

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

SVN-Revision: 44556
9 years ago
Jonas Gorski d4652e817a brcm63xx: drop call to prepare_generic_squashfs
We do not use the result, so no need to call it.

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

SVN-Revision: 44555
9 years ago
Jonas Gorski 56fd5df368 firmware-utils: imagetag: use cyg_crc32 instead of duplicating code
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44554
9 years ago
Felix Fietkau b64ca483ef kernel: fix 3.18+ if_bridge.h header conflict with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44553
9 years ago
Felix Fietkau 1a3028b2fc procd: update to the latest version, fixes musl compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44552
9 years ago
Felix Fietkau 379dc5c11f build: move tmp/.prereq-build to staging_dir/host to gracefully handle staging_dir deletion
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44551
9 years ago
Jo-Philipp Wich 03db988eaa ubox: fix segmentation fault in insmod
Fix segfault in kmodloader insmod mode due to uninitialized module
directory list.

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

SVN-Revision: 44549
9 years ago
Jo-Philipp Wich b977134dc7 uhttpd: relay stderr to syslog
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44548
9 years ago
Jo-Philipp Wich fd670d2756 procd: add support for relaying daemon stdio to syslog
Procd enabled init scripts can now specify:

  procd_set_param stdout 1
  procd_set_param stderr 1

... to relay their respective standard IO streams to the system log.

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

SVN-Revision: 44547
9 years ago
Jo-Philipp Wich e0f48f8d30 libubox: implement ulog_close() and call it on ulog_open()
This is required to properly update syslog idents when switching between
log modes.

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

SVN-Revision: 44546
9 years ago
Jo-Philipp Wich 46432b13b6 fstools: switch to ulog api
Update to git head in order to switch the block, mount_root etc. logging to
the common ulog() api for putting early boot messages into dmesg.

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

SVN-Revision: 44545
9 years ago
Jo-Philipp Wich cf6c1e5d26 ubox: switch to ulog api
Update to git head in order to switch the kmodloader logging to the common
ulog() api for putting early boot messages into dmesg.

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

SVN-Revision: 44544
9 years ago
Jo-Philipp Wich 9e28fe285b procd: switch to ulog api
Update to git head in order to switch the procd logging to the common ulog()
api for putting early boot messages into dmesg.

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

SVN-Revision: 44543
9 years ago
Jo-Philipp Wich 948483f93c libubox: introduce generic logging api
Update to git head in order to introduce the new ulog() logging api which
supports early boot logging to dmesg.

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

SVN-Revision: 44542
9 years ago
Steven Barth 547ac60813 6rd: honor tunlink in host dependency
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44541
9 years ago
Steven Barth 0f365e4cb9 firewall: fix some more null-pointer accesses
thanks to Hans Dedecker

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

SVN-Revision: 44540
9 years ago
Jo-Philipp Wich ff009fb74c fstools: fix build with enabled ubifs extroot support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44538
9 years ago
Jo-Philipp Wich b2eb77089b fstools: fix multiple extroot problems
- Support external overlays on non-MTD systems again
- Account for new directory structure of overlayfs partitions (additional upper/ component)
- Support executing block from either overlay or rom
- Support loading fstab from either overlay or rom
- Log extroot failures to dmesg

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

SVN-Revision: 44535
9 years ago
John Crispin 2f0b826b81 modules: make ahci-platform depend on TARGET_ipq806x
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44534
9 years ago
Jo-Philipp Wich 979e6ca857 ubox: kmodloader: support loading kmods from multiple directories
This is required during early boot in the extroot setup phase to support
loading kmods from the overlay that depend on kmods on the rom partition.

The subsequent mount_root updates will use the LD_LIBRARY_PATH env
variable to pass kmod directories to kmodloader.

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

SVN-Revision: 44533
9 years ago