Commit Graph

11952 Commits (4f03c52dd8469834fc02db6032045001a5a4477b)

Author SHA1 Message Date
Steven Barth 285af2ff08 Update UML target to 3.10 and various improvements
Updated target to 3.10.36.
Added mconsole exec patch.
Added pseudo-random MAC patch (from NetKit).

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
Reviewed-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41172
10 years ago
Luka Perkov f45b1a671a kernel: update 3.14 to 3.14.7
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41150
10 years ago
Felix Fietkau 231f15c9db ramips: fix rt2x00 handling of default packages for subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41145
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 4096a110fb ar71xx: activate the nand sutarget
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41133
10 years ago
John Crispin fe6e2f8e1b ar71xx: fix up kernel config for the nand subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41132
10 years ago
John Crispin c973fb031e ar71xx: add sysupgrade support for wndr4300
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41131
10 years ago
John Crispin 9a0b4ab4ed ar71xx: remove the explicit ubi.mtd- paramaters and rename ubiroot to ubi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41130
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
John Crispin c8d472c37f kernel: backport the ubiblock patches from 3.14->3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41120
10 years ago
John Crispin acbcd5f5b5 kernel: rootfs auto-mount on ubi
Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

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

SVN-Revision: 41119
10 years ago
John Crispin d494983d02 kernel: backport ubiblock support from 3.15
Backport ubiblock support from kernel 3.15 as well as all follow-up
fixes related to ubiblock.

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

 create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch
 create mode 100644 target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch
 create mode 100644 target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch
 create mode 100644 target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch
 create mode 100644 target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch
 create mode 100644 target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch
 create mode 100644 target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch
 create mode 100644 target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch

SVN-Revision: 41118
10 years ago
Felix Fietkau 75b4c400c7 atheros: fix too short msleep
Use msleep(20) instead of msleep(10) to make code closer to reality
since msleep can sleep for up to 20ms even we request shorter delay.
All updated calls are located in PCI initialization routine which is
called only once upon device boot. So there should be no performance
issues caused by more longer delay.

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

SVN-Revision: 41096
10 years ago
Felix Fietkau e49636472d atheros: shorten lines
Wrap lines over 80 chars or make them shorter by other ways.

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

SVN-Revision: 41095
10 years ago
Felix Fietkau a6cf23b76c atheros: constify some static structures
Constify some static structures as suggested by checkpatch.

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

SVN-Revision: 41094
10 years ago
Felix Fietkau f363db0094 atheros: avoid __FUNCTION__ usage
Use __func__ instead of gcc specific __FUNCTION__ as suggested by
checkpatch.

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

SVN-Revision: 41093
10 years ago
Felix Fietkau 70b2a81a2e atheros: trailing statements fixes
Move trailing statements to next line with indentation as suggested by
checkpatch.

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

SVN-Revision: 41092
10 years ago
Felix Fietkau 0bca3f9547 atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch.

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

SVN-Revision: 41091
10 years ago
Felix Fietkau dd31da467f atheros: indent fixes
Various indent fixes suggested by checkpatch: use tabs, use same level
of indentation for switch and case, correct indentation levels.

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

SVN-Revision: 41090
10 years ago
Felix Fietkau 66c64834f8 atheros: fix includes
Remove some unnecessary includes and use <linux/foo.h> instead of
<asm/foo.h> when it possible as suggested by checkpatch.

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

SVN-Revision: 41089
10 years ago
Felix Fietkau 90ca9a582d atheros: various printk(...) fixes
Use more particular functions dev_<level> or pr_<level>(...) insead of
direct printk(...) call. Add KERN_LEVEL to calls what missed it.

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

SVN-Revision: 41088
10 years ago
Felix Fietkau 15a2ebbc38 atheros: various braces fixes
Fix braces location, remove unnecessary empty lines before or after code
block, remove useless braces. All cases are detected by checkpatch.

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

SVN-Revision: 41087
10 years ago
Felix Fietkau 58d70ff9b3 atheros: do not initialize statics to 0 or false
as suggested by checkpatch.

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

SVN-Revision: 41086
10 years ago
Felix Fietkau 8b4323ad31 atheros: remove trailing whitespace
as suggested by checkpatch.

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

SVN-Revision: 41085
10 years ago
Felix Fietkau 3406e402ef atheros: do not assignment in if condition
Remove assignments from if conditions as suggested by checkpatch.

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

SVN-Revision: 41084
10 years ago
Felix Fietkau 5427e47e59 atheros: remove parentheses around return values
Remove parentheses around return values since return is no a function,
as suggested by checkpatch.

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

SVN-Revision: 41083
10 years ago
Felix Fietkau 630eac6638 atheros: parenthesis around complex macroses value
Use parenthesis around complex macroses value as suggested by
checkpatch.

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

SVN-Revision: 41082
10 years ago
Felix Fietkau cb50efa835 atheros: various comments fixes
Fix comment issues detected by checkpatch. Convert C99 // comments to
ordinary /* ... */ comments. Correct block comments style or convert
them to single line comments.

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

SVN-Revision: 41081
10 years ago
Felix Fietkau ea9360a5c6 atheros: avoid CamelCase
Change fooBar variables names to foo_bar as suggested by checkpatch,
write few tables names in lower case and correctly place __initdata
keyword.

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

SVN-Revision: 41080
10 years ago
Felix Fietkau ad97acf46a brcm47xx: merge FEATURES lines in the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41053
10 years ago
Felix Fietkau c48140efb8 brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41052
10 years ago
Hauke Mehrtens ed7c73fbef brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized
compiler options to generated smaller and faster code. This currently
breaks broadcom-wl, because the binary blob is only compiled with
mipsr1 support.

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

SVN-Revision: 41050
10 years ago
Felix Fietkau 4b953aa267 brcm47xx: move the low_mem feature flag to the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41049
10 years ago
Hauke Mehrtens 717e8b6f3c brcm47xx: remove old gpio and nvram interfaces
These were only used by broadcom-diag any more.

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

SVN-Revision: 41048
10 years ago
Hauke Mehrtens cfa350ca39 brcm47xx: mips74k: optimize kernel config
This saves abount 15 kB of compressed kernel size.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41043
10 years ago
Hauke Mehrtens 9dc5fb9103 bcm47xx: use eth0 for switch name
This fixes some strange problems with tg3. I assume that the Ethernet
driver was not brought up if the switch was named switch0.

This was reported and tested by ernesto (Faulp3lz).

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

SVN-Revision: 41042
10 years ago
Felix Fietkau dec0d7f025 brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41041
10 years ago
Hauke Mehrtens bffd80e3e1 brcm47xx: add mips74k subtarget for newer devices
All new devices (with MIPS 74K CPU) are based on BCMA SoC and have
Ethernet core supported by bgmac. Create a new subtarget to generate
optimized builds.
This is just a beginning, further tweaks (like kernel configuration)
are still possible. This decreases default root.squashfs by ~128 kB.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41025
10 years ago
Hauke Mehrtens b5d42bc111 brcm47xx: move current target to "generic" subtarget
This allows creating more subtargets and optimize builds per family.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41024
10 years ago
John Crispin 7a03f41940 lantiq: fix eep handling patch
0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch

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

SVN-Revision: 41005
10 years ago
Luka Perkov 284a07f748 imx6: kernel: update 3.14 pcie patches
Remove old irq map patch and replace it with the propper upstream patches
allowing IMX6 PCIe devices behind PCIe switches to work properly.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 41004
10 years ago
John Crispin f09ac641d6 lantiq: ath5k fix in wifi and ethernet eeprom handling patch.
ath5k fix in wifi and ethernet eeprom handling patch.

Without the line that adds the patch of_ath5k_eeprom_probe cause a
kernel panic, at least with the ARV4518PW.
Tested only in the modem-router mentioned above.

This patch is based in Bruno's hack present in patch #5454.

Signed off by: Bruno Rodríguez <bruno.rodriguez.1980@gmail.com>
Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 40999
10 years ago
Luka Perkov cdd9e952e5 imx6: ventana: remove non-trunk packages from defaults
The canutils package is in the packages repo and not part of trunk, so we
should not enable them by default.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40991
10 years ago
Luka Perkov be7396bad7 imx6: ventana: add default kernel modules
Add the following kernel modules by default (which are present on most Ventana
baseboards):
 - kmod-leds-gpio (user leds)
 - kmod-sound-core (required as a dependency of the other sound modules)
 - kmod-pps-gpio (Pulse-Per-Second)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40990
10 years ago
Luka Perkov f637a1e562 imx6: update board names per device-tree updates
The Gateworks Ventana board names have been adjusted per upstream patches
to include all IMX6 SoC variants.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40989
10 years ago
Luka Perkov b87016722c imx6: update 3.14 ventana dts with upstream fixes
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common and
   not baseboard specific.
 - removed obsolete crts
 - fix include typo: The imx6q-gw51xx needs to include imx6qdl-gw51xx.dtsi
 - fix gw52xx clock for sgtl5000 ananlog audio codec
 - fix LVDS mapping for Ventana GW52xx/GW53xx/GW54xx
 - add LVDS backlight for Ventana
 - update model descriptions for all processor variants

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40988
10 years ago
Luka Perkov f689e3cf8b imx6: update 3.10 ventana dts
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common an
   not baseboard specific.
 - update model descriptions for all processor variants

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40987
10 years ago
Luka Perkov b6c0aca054 kernel: add another new config symbol for kernel 3.14
It was augmented by CONFIG_USB_GADGET...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40986
10 years ago
Felix Fietkau ae2c9a815a brcm47xx: enable the low-memory feature flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40982
10 years ago
Felix Fietkau b24897ee5c build: add a feature flag for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40980
10 years ago