Commit Graph

75 Commits (0edf22694e1449c4db3a8ad64e8cac138472675e)

Author SHA1 Message Date
Felix Fietkau c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
11 years ago
Florian Fainelli 33e7337d97 mcs814x: dlan-usb-extender: fix usbdev trigger
Every device I connect to the USB port is detected as 2-1, not 1-1.
So adjust the default setting accordingly.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37882
11 years ago
Florian Fainelli 007bd290ea mcs814x: enable POSIX file locking
opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37745
11 years ago
Felix Fietkau 73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
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
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
Steven Barth 4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
11 years ago
Steven Barth ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
11 years ago
Florian Fainelli 9cef30a519 mcs814x: use devm_request_and_ioremap in mcs814x-rng driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36063
11 years ago
Florian Fainelli 8ed2299646 mcs814x: use devm_request_and_ioremap helper for nuport_mac driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36062
11 years ago
Florian Fainelli 8bc84bac31 mcs814x: remove PCI code
None of the boards we support are using it nor have it wired out of the
SoC, just remove it.

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

SVN-Revision: 36061
11 years ago
Florian Fainelli a9ef927cce mcs814x: implement MULTI_IRQ_HANDLER
Allows us to get rid of the IRQ entry point assembly

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

SVN-Revision: 36060
11 years ago
Florian Fainelli 18908139f3 mcs814x: use the standard device tree binding to represent a PHY node
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36059
11 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
Florian Fainelli 1e103b2ecc target: enable XZ BCJ decompressor code after r35097
Required to actually be able to mount squashfs xz compressed
filesystems.

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

SVN-Revision: 35156
12 years ago
Florian Fainelli d59ba20030 do not call clk_put() on the timer clock
We don't support disabling the clock, but this is actually what it would do.

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

SVN-Revision: 34394
12 years ago
Florian Fainelli 5d6208f34d do not list specific board compatible strings
The general practice is to use the general SoC compatible string in both the
DTS and the board specific .c file.

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

SVN-Revision: 34393
12 years ago
Florian Fainelli 94b7be6dd7 remove unused variables from Makefile.boot
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34392
12 years ago
Florian Fainelli 254d851d8a nuport-mac: various fixes
- properly check for the link up condition in the phylib adjust callback
- do not assign skb->dev, eth_type_trans() already does it
- handle skb allocation failures in the refill path

SVN-Revision: 33780
12 years ago
Florian Fainelli d504b6251c more convertions to {read,write}_relaxed I/O accessors
SVN-Revision: 33604
12 years ago
Florian Fainelli c27c0d1ff0 add wmbus-repeater to the dLAN USB Extender profile
SVN-Revision: 33556
12 years ago
Florian Fainelli c7cf4def64 enable multicast and advanced ip routers configs
SVN-Revision: 33555
12 years ago
Florian Fainelli d95f612340 add kmod-usb-serial-ftdi to the dLAN USB Extender profile
SVN-Revision: 33554
12 years ago
Gabor Juhos 43147ffec5 generic: move GENERIC_PWM symbol into the generic config
SVN-Revision: 33383
12 years ago
Florian Fainelli 6771d63284 use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

SVN-Revision: 33330
12 years ago
Florian Fainelli 3730e6c794 add some ohci workarounds to make ohci work
SVN-Revision: 33323
12 years ago
Florian Fainelli 94a45be66b enable CFI command set 0002 FORCE_WORD_WRITE
SVN-Revision: 33315
12 years ago
Florian Fainelli 19cbe80501 pad squashfs image
SVN-Revision: 33314
12 years ago
Florian Fainelli 1964753c22 add Generic and dLAN USB Extender profiles
SVN-Revision: 33313
12 years ago
Florian Fainelli e88e20d975 nuport-mac: disable MAC RX and TX during interface close
Fixes sporadic crashes while reconfiguring the network interface.

SVN-Revision: 33312
12 years ago
Florian Fainelli a183ced08e MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

SVN-Revision: 33188
12 years ago
Florian Fainelli 2cf28cff7d only support 128KiB erase block sizes
SVN-Revision: 33131
12 years ago
Florian Fainelli 035b41bafb disable PCI support
None of the boards we support have PCI connectors

SVN-Revision: 33130
12 years ago
Florian Fainelli 639112f0d5 strip a bit more the kernel config
SVN-Revision: 33129
12 years ago
Florian Fainelli 0f91df4de6 properly advertise OHCI and EHCI capabilities
SVN-Revision: 33128
12 years ago
Florian Fainelli 43ddb1d7af change partition names to be more in line with other OpenWrt devices
SVN-Revision: 33127
12 years ago
Florian Fainelli 911a83dffc generate upgrade files suffixed with filesystem type
SVN-Revision: 33126
12 years ago
Florian Fainelli c16bf519f1 nuport-mac: delay call to napi_start() until fully able to process RX
SVN-Revision: 33079
12 years ago
Florian Fainelli 0028429dfa set a compatible command-line to boot from flash
SVN-Revision: 33078
12 years ago
Florian Fainelli 47380a4388 nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

SVN-Revision: 33071
12 years ago
Florian Fainelli 7f9bfa3fcd nuport-mac: rework PHY interrupt configuration to avoid races
SVN-Revision: 33070
12 years ago
Florian Fainelli 5e877f02b4 nuport-mac: close possible race condition during start
SVN-Revision: 33069
12 years ago
Florian Fainelli 35351a28b9 nuport-mac: unmap the DMA buffer when closing device
SVN-Revision: 33068
12 years ago
Florian Fainelli b77494fa2f nuport-mac: check dma_map_single address return values
SVN-Revision: 33067
12 years ago
Florian Fainelli 798cc28d73 build a Devolo dLAN USB Extender specific image
The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

SVN-Revision: 33066
12 years ago
Florian Fainelli f8386ecbc6 cleanup image generation
SVN-Revision: 33065
12 years ago
Florian Fainelli 162e272b4b nuport-mac: properly protect the phy interrupt handler
SVN-Revision: 32951
12 years ago
Florian Fainelli 9f011e7225 add missing netmask to the network config
SVN-Revision: 32941
12 years ago
Florian Fainelli 5133a44785 assume the link is up and full-duplex by default
SVN-Revision: 32940
12 years ago
Florian Fainelli 56aac45139 add a default and suitable network config file
SVN-Revision: 32939
12 years ago