Commit Graph

23 Commits (4d998f98f0d1b22ab34c532fb2aadbb100ae52a1)

Author SHA1 Message Date
John Crispin b2d847f4c0 ipq806x: add 2 missing symbols that broke a full build
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:02:52 +00:00
John Crispin ee74764811 ipq806x: rename patches in patches-3.18
This will allow ipq806x to support multiple kernel version more easily.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:58 +00:00
John Crispin 63a4e80380 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:47 +00:00
John Crispin a585342d28 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:34 +00:00
John Crispin a739348da2 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:08 +00:00
John Crispin 23193222d4 ipq806x: add ahci to default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:22 +00:00
John Crispin 9ef5d85054 ipq806x: add default package selection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:09 +00:00
John Crispin 5b71c599e2 ipq806x: initialize the network on AP148
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:04 +00:00
John Crispin ab28cee016 ipq806x: enable GMAC support in DTS
This adds the GMAC entries in the ipq806x dtsi file as well as in the
ap148 specific dts file.

This also adds the MDIO change as well.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:51 +00:00
John Crispin 1457cdbf2c ipq806x: enable ar8xxx switch family support
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:47 +00:00
John Crispin b36096edfb ipq806x: fix spi read issues observed with SMP enabled
This change is fixing the issues observed when booting from NOR flash
with SMP enabled.

Error logs below:
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
m25p80 spi32766.0: SPI transfer failed: -110
spi_master spi32766: failed to transfer one message from queue
jffs2: Write of 873 bytes at 0x019001e8 failed. returned 0, retlen 792

Patch is cherry-picked from here:
https://www.codeaurora.org/cgit/quic/qsdk/oss/kernel/linux-msm/commit/drivers/spi/spi-qup.c?h=coconut_20140924&id=4faba89e3ffbb1c5f6232651375b9b3212b50f02

More details in the patch file.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:41 +00:00
John Crispin a913b333ad ipq806x: delete config-3.14 file
ipq806x target has been upgraded to 3.14. There is no need to maintain
this file anymore.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:18 +00:00
John Crispin f597b456c7 ipq806x: fix "reboot" command
The watchdog driver already registers a restart notifier, we just have
to enable it in the config and in the DT to fix the "reboot" command.

This is done by integratin the following patch-set:
https://lkml.org/lkml/2015/2/20/610

I'm copy-pasting the description below:
qcom-wdt is currently assuming the presence of a dedicated node in DT
to gets its configuration. However, on msm architecture, the watchdog is
usually part of the timer block. So this patch-set is changing the driver
and slightly enhancing the timer DT bindings to provide the relevant clocks
and interrupts.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:14 +00:00
John Crispin c2a0f4325c ipq806x: enable watchdog kernel option
Some bootloaders seem to trigger the watchdog during the boot process,
therefore the lack of watchdog driver trigger a reboot a few seconds
after boot. So we'll enable it here to avoid it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:07 +00:00
John Crispin 74dc0649ff ipq806x: update target to v3.18
Patches in the ipq806x/patches folder were out of tree in v3.14. The
newest patch at the time was from June, so we can safely assume that
either the patches have been merged, or they have been rejected for
a good reason. If patches are seen missing, we'll cherry-pick them
on a per-needed basis.

This new kernel have been tested on AP148, which seems to works fine.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:09:23 +00:00
Jo-Philipp Wich 29d0143fd6 ipq806x: declare missing config symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:52:50 +00:00
Hauke Mehrtens 6766b3e8c1 ipq806x: refresh patches
This makes the patchs apply again.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-28 19:31:40 +00:00
Felix Fietkau 31b1aae3d8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 19:34:02 +00:00
Felix Fietkau 0a602b2b72 targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 20:17:19 +00:00
Luka Perkov e5441232a8 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 21:40:19 +00:00
John Crispin 3651b3452d ipx806x: bump to 3.14.16
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:59:30 +00:00
John Crispin 50bbe0d6ba target: set myself as maintainer
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:59:18 +00:00
John Crispin a297ec8e13 ipq806x: Add support for IPQ806x chip family
Patches are generated using the "format-patch" command from the
following location:
*https://www.codeaurora.org/cgit/quic/kernel/galak-msm/log/?h=apq_ipq_base
*rev=0771849495b4128cac2faf7d49c85c729fc48b20
Patches numbered 76/77/102/103 have already been integrated in 3.14.12,
so they're not in this list.

All these patches are either integrated are pending integration into
kernel.org, therefore these patches should go away once the kernel
gets upgraded to 3.16.

Support is currently limited to AP148 board but can be extended to other
platforms in the future.

These changes do not cover ethernet connectivity.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:32:58 +00:00