Commit Graph

295 Commits (d3c0a944059bb0d45c3b56278249100258378b0c)

Author SHA1 Message Date
Kevin Darbyshire-Bryant 886d66abcd kernel: bump 4.9 to 4.9.57
Refresh patches.
Compile-tested for ar71xx - Archer C7 v2
Runtime-tested on  ar71xx - Archer C7 v2

Fixes the following CVEs:

- CVE-2017-7518
- CVE-2017-0786
- CVE-2017-1000255
- CVE-2017-12188
- CVE-2017-15265

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
7 years ago
Lucian Cristian b4fefe7b6e sunxi: backport support for Allwinner Security System PRNG
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
7 years ago
Daniel Golle 34b153d7ad sunxi: build image for the NanoPi NEO
The NanoPi NEO is a small Allwinner H3 based board available with
different DRAM configurations.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years ago
Daniel Golle 333f90347e sunxi: kernel: add patches for NanoPi NEO
Enable dwmac-sun8i Ethernet core to use the built-in FastEthernet port.
Enable exposed UART, USB and I2C pins.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years ago
Stijn Tintel 239dff6697 kernel: update and refresh patches
The lantiq patch 0028-NET-lantiq-various-etop-fixes.patch and sunxi
patch 0051-stmmac-form-4-11.patch no longer applied after applying the
the "generalize napi_complete_done()" patch.
Update them so they apply, and refresh patches while at it.

Fixes: 9aeb7ce8dc ("generic: net: generalize napi_complete_done")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Hauke Mehrtens 5508510e74 sunxi: add Orange Pi R1 support
The following features are working and tested:
* both Ethernet ports
* MMC
* LED

The following features are not working:
* Wifi (There is a crappy driver we could port)
* SPI flash (I haven't looked into this)

I haven't tried out the rest.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 25abd71efb sunxi: H3: add device tree changes for H3 Ethernet
This adds the device tree changes needed to make the GMAC stmmac driver
working for the Allwinner H3 SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens cf039cf7ff sunxi: A64: add device tree changes for A64 Ethernet
This adds the device tree changes needed to make the GMAC stmmac driver
working for the Allwinner A64 SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens ed43a4d4ac sunxi: backport the stmmac driver from kernel 4.13
This adds support for the GMAC which is use in the A64 and other
Allwinner chips by backporting the changes from the kernel versions
4.13.

Some commits are not backported which are adding support for newly
introduced APIs which are not available in kernel 4.9.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Lucian Cristian a7465f375a sunxi: add Olimex A20-OLinuXino-LIME2-eMMC
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
[replaced u-boot patch with original version from u-boot git]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Lucian Cristian f295db6e46 sunxi: add Olimex A20-OlinuXino-LIME2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
7 years ago
Hauke Mehrtens 24c2f5125e sunxi: Add A64 support with cortex53 subtarget
This adds initial support for the A64 Allwinner SoC to LEDE.
It will be build in the new cortexa53 subtarget.

Currently it only supports the pine64 and the image is able to boot on
this SoC.

Camera, Ethernet, HDMI and other parts are currently not working.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 3b88f74bbe sunxi: Backport patches from kernel 4.11 for A64
This backports some more patches from kernel 4.11 adding more devices
to the device tree of the A64 SoC.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 34a422794d sunxi: Backport patches needed for A64
This backports multiple patches from kernel 4.10 which are adding
missing support for the A64 and the pine64 board. These are the device
tree files, the pinctlk and the clock driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 41e7d2e2e8 sunxi: split into cortex A8 and A7 subtarget
Now we can activate some compiler optimizations for the cortex A7.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 4b81bb13f4 sunxi: fix build of rtc package when module not available
If the Kconfig option CONFIG_RTC_DRV_SUNXI is not selected this package
should be be build.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens ea9fab904b sunxi: add support for kernel 4.9
Most of the patches were backpoprts from the mainline kernel and are
integrated upstream now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Mathias Kresin e0b9ec8e96 treewide: drop target board_name functions
They are not used any longer.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin f12a32630f treewide: use the generic board_name function
Use the generic function instead ot the target specific ones.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin ced05ca9e0 sunix: run b53_hack later
The script relies on the board name but runs prior the generic sysinfo
script which sets the board name.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Stijn Tintel 880f73c327 kernel: cleanup CONFIG_SCHED_HRTICK
Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the
generic config in b47fd76563.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Matthias Schiffer ce06d2bd01
sunxi: sysupgrade: sync with x86
sunxi sysupgrade was based on the x86 implementation; sync fixes and other
changes from the current x86 version:

x86: fix sysupgrades on disks with 4k block size
x86: sysupgrade: move partition table change check to platform_check_image
x86: sysupgrade: refactor platform_do_upgrade
x86: sysupgrade: explicitly rescan disk after writing partition table

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years ago
Matthias Schiffer 6bb7b87315
sunxi: sysupgrade: don't write partitions twice
When existing partitions are retained, the dd call writing the uboot image
in the space before the first partition was accidentally writing the whole
image, making the code for individual partitions redundant. Limit the copy
to 1016KiB (the first 8KiB are skipped, and the first partition starts at
1024KiB).

In addition, conv=notrunc is replaced with conv=fsync. It seems this was an
oversight, as notrunc doesn't make sense for block devices and all other dd
commands use conv=fsync.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years ago
Kevin Darbyshire-Bryant 088e28772c kernel: update kernel 4.4 to version 4.4.69
Refresh patches. A number of patches have landed upstream & hence are no
longer required locally:

062-[1-6]-MIPS-* series
042-0004-mtd-bcm47xxpart-fix-parsing-first-block

Reintroduced lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup
as it was incorrectly included upstream thus dropped from LEDE.
As it has now been reverted upstream it needs to be included again for
LEDE.

Run tested ar71xx Archer C7 v2 and lantiq.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
[update from 4.4.68 to 4.4.69]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Matthias Schiffer be40d0a144
sunxi: clean up modules definitions
Module definitions for kmod-wdt-sunxi and kmod-eeprom-sunxi are removed
(wdt-sunxi was builtin anyways; nvmem-sunxi, which is the new name of
eeprom-sunxi is changed to builtin). As kmod-eeprom-sunxi was specified
in DEFAULT_PACKAGES, but not available on kernel 4.4, it was breaking the
image builder.

Support for kmod-sunxi-ir is added for kernel 4.4 (it is unclear why it
was disable before, it builds fine with with kernel 4.4).

Condtionals only relevant for pre-4.4 kernels are removed from modules.mk,
as sunxi does't support older kernels anymore.

Fixes FS#755.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years ago
Felix Fietkau 0b7ed65cec kernel: remove out of tree direct-io disable hack
Direct-IO support has to be enabled for the release build anyway, so
this hack is not worth keeping

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 9467ce42da build: get rid of host.mk
Defined required host related variables in toplevel.mk instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Jo-Philipp Wich cf3d1b61bf sunxi: put u-boot images into image staging directory
Do not put the u-boot images into the kernel build directory as this directory
might get removed after kernel updates while the u-boot packages InstallDev
recipe is not getting re-executed because it is still considered current,
leading to image build failures later on due to missing images.

To ensure that built bootloader images persist over kernel version updates in
the buildroot, put them into the new STAGING_DIR_IMAGE directory.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years ago
Felix Fietkau e018c4d7ab uboot-sunxi: clean up, switch to u-boot.mk
Instead of referencing u-boot packages from device profiles and having a
-all metapackage, make the u-boot packages hidden (they don't install to
bin/ anyway), and name the files in KERNEL_BUILD_DIR appropriately

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Yousong Zhou 0ac00c931c sunxi: use fwtool for checking sdcard images
To achieve this, device tree compatible string was used as boardname and
the value of it will be checked against supported_devices list.

It should be noted that we do not distinguish between
sun5i-a13-olimex-som and sun5i-a13-olinuxino as they share the same dts
file.

The other thing is that we need to gunzip the generated firmware to do
fwtool check.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou 5ece16fd23 sunxi: add sysupgrade support
Enalbe builtin support for FAT filesystem as we need to mount boot
partition to store sysupgrade.tgz there

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou 8a2c56ca03 sunxi: make sdcard image with squashfs as rootfs
Two things that need to be noted

 - There is no partition type id allocated for squashfs yet.  In the
   case of sunxi, any non-zero value should work and we keep it 83 (the
   value for ext4)
 - Remaining spare space within the rootfs partition, not the entire
   sdcard space will be formated as either f2fs or ext4 and mounted as
   overlay to serve the role of rootfs_data.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou 4eb0fd8283 sunxi: convert to new image generation method
The new Device/xxx were transformed automatically from old profiles.

Most device names are now taken from basename of the corresponding
kernel device tree file.  Device/sun5i-a13-olimex-som is an exception
because it is not explicitly supported in the kernel yet and shares the
same dts file with Device/sun5i-a13-olinuxino

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou d53fcdefbf sunxi: enable loopback device and f2fs support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou 76ee28ce9d sunxi: fix dts name for Mele M9
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Felix Fietkau f3096e6322 sunxi: enable CONFIG_VHOST_NET like on x86
Other virtualization options are already enabled, so this is only a
small addition

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Yousong Zhou 715fd8c5bc target: sunxi: enable builtin crypto-hw module sun4i-ss
CONFIG_CRYPTO_DEV_SUN4I_SS was previously set to y but did not take
effect because of the absence of CONFIG_CRYPTO_HW=y

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou 468735c3a2 target: sunxi: enable kvm support
Unlike x86, kvm for arm has to be built into the kernel.  The kernel
config was prepared with the following command

    make kernel_menuconfig CONFIG_TARGET=platform

Then enable ARM_LPAE, VIRTUALIZATION, KVM in that order

Other config changes are done by the build system.  The following text
tries to explain some of them, for archive purposes probably...

 - BUILD_BIN2C.  It was dropped probably because the prompt is empty and
   no other config option selects it.  bin2c is a host executable for
   converting binary content to a piece of c code for inclusion
 - CRYPTO_DEV_SUN4I_SS.  It was dropped because the dependency CRYPTO_HW
   was not enabled.  Setting that aside, packaging it as a loadbable
   module in lieu of other sunxi specific modules seems more appropriate
 - PGTABLE_LEVELS.  It was changed from 2 to 3 because 3 is the default
   when ARM_LPAE is enabled
 - HAVE_KERNEL_GZIP, etc..  These are enabled in generic config
 - SCHED_INFO, ZLIB_INFLATE.  These were dropped probably for the same
   reason as for BUILD_BIN2C

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Álvaro Fernández Rojas 87b2b89959 tools: remove old mkdosfs symlink from dosfstools
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas a530196f8d sunxi: add rtl8xxxu into pcduino v3 profile
Now that RTL8188EU is supported in rtl8xxu select it for pcDuino v3

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Alexey Brodkin 84a1a0edf0 sunxi/pcduino3: Remove selection of absent rtl8188eu
Since commit 217a643755 "wireless: remove rtl8188eu (staging)"
there's no point in selection of the missing module.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: John Crispin <john@openwrt.org>
Cc: Zoltan Herpai <wigyori@uid0.hu>
8 years ago
Rafał Miłecki cf6d9d97fb kernel: rename B53 symbols to avoid upstream kernel conflict
In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same
symbols as our b53 does. Change our symbols so both drivers can coexist
in kernel tree.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years ago
Dirk Neukirchen bf89f5404b sunxi: remove NAMESPACES config symbols
they are available in config/Config-kernel.in

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Dirk Neukirchen 8f6df9465e sunxi: remove XFRM_ config symbols
they are part of packages

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Felix Fietkau 638a5682e1 kernel: remove bogus CONFIG_LOG_BUF_SHIFT overrides
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau be83f982a7 sunxi: delete old kernel versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
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
Hauke Mehrtens 7768735873 kernel: update kernel 3.18 to version 3.18.27
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48874
8 years ago
Hauke Mehrtens cb04b8d582 kernel: update kernel 4.4 to version 4.4.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48783
8 years ago
Zoltan Herpai 9c0d3fcf82 sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to bananapro profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48757
8 years ago
Zoltan Herpai 42cd31a777 sunxi: update orangepi-plus profile to reflect the real uboot package
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48626
8 years ago
Zoltan Herpai 8ebc9e7539 sunxi: bump to 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48620
8 years ago
Zoltan Herpai a9c21dd395 sunxi: add support for Orange Pi Plus (H3)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48618
8 years ago
Felix Fietkau 57776e68ce base-files: remove default /etc/config/network, generate it via board.d instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48493
8 years ago
Felix Fietkau 57690041fa kernel: clean up redundant SLUB/SLAB related defines for 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48443
8 years ago
Hauke Mehrtens ba3a749f9b kernel: refresh patches for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48222
9 years ago
Zoltan Herpai a6611a92d5 sunxi: initial 4.4 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48161
9 years ago
Zoltan Herpai 24894e52bc sunxi: prep module support options for 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48160
9 years ago
Zoltan Herpai de4145c102 sunxi: fix Lamobo R1 board detection
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48130
9 years ago
Jo-Philipp Wich 67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

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

SVN-Revision: 47867
9 years ago
Jo-Philipp Wich f906975e2d sunxi: fix Lamobo Banana Pi R1 detection
Change the case switch to reflect the value used in the corresponding
device tree file.

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

SVN-Revision: 47833
9 years ago
Jo-Philipp Wich 8298dfef5c sunxi: fix board.d permissions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47760
9 years ago
Jo-Philipp Wich b6a9c5c400 sunxi: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47758
9 years ago
Hauke Mehrtens f0a5f24217 kernel: update 4.1 to 4.1.13
- two upstreamed patches removed
- compile tested all targets using 4.1
- run tested ar71xx

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47694
9 years ago
Hauke Mehrtens 55a912f43e kernel: update kernel 3.18 to version 3.18.23
Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

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

SVN-Revision: 47334
9 years ago
Hauke Mehrtens da94b00df5 kernel: update kernel 4.1 to version 4.1.11
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11

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

SVN-Revision: 47252
9 years ago
Felix Fietkau e29efa2fb7 kernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4
Everything except for blkcipher was already built-in, so make blkcipher
built-in as well.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46820
9 years ago
Jonas Gorski 2d379e796f kernel: update 4.1 to 4.1.6
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6

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

SVN-Revision: 46713
9 years ago
Zoltan Herpai e0d332cdbe sunxi: bump to 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46705
9 years ago
Zoltan Herpai 79e1aa2ac3 sunxi: add audio module for 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46704
9 years ago
Zoltan Herpai ed1a7a2deb sunxi: update ahci package list for a couple board profiles
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46703
9 years ago
Zoltan Herpai c00198216a sunxi: reorganize kmod-ata-sunxi dependencies
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 46702
9 years ago
Zoltan Herpai 1c66ebcd2d sunxi: respect CONFIG_TARGET_IMAGES_GZIP
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46608
9 years ago
Zoltan Herpai 56533842ce sunxi: create KDIR_TMP, build boot.img in it
It's nice to have a distinction between files which are built during the
normal OpenWrt build process and ones that are created by the ImageBuilder
(like it already exists on some other targets).

This also gives boot.img a profile-specific prefix as it contains profile-
specific data.

KDIR_TMP does not need to be specified since include/image.mk already sets
it.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46607
9 years ago
Zoltan Herpai 58fc927889 sunxi: fix uboot install location
Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix
ImageBuilder. Similar fixes are necessary for many (all?) other uboot
targets.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46605
9 years ago
Zoltan Herpai 1de658c27b sunxi: don't copy DTS files to BIN_DIR
The DTS files aren't useful (other targets don't copy them either) and
clutter BIN_DIR with files unrelated to the chosen profile.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46604
9 years ago
Jonas Gorski 6be2305da8 kernel: update 4.1 to 4.1.5
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5

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

SVN-Revision: 46598
9 years ago
Zoltan Herpai 50018a7527 sunxi: add support for 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46571
9 years ago
Zoltan Herpai 3ec986ab6c sunxi: fix networking on Olimex A20 Micro
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46536
9 years ago
Hauke Mehrtens fde2caf6fd sunxi: enable CONFIG_EXPERT
- only sunxi has this disabled
- unify kernel configuration across platforms

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46307
9 years ago
Jo-Philipp Wich dcd7479a99 sunxi: correct default package selection, fixes imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45839
9 years ago
Jo-Philipp Wich 43b5730c98 sunxi: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45788
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 3bc1f36e2b sunxi: don't enable ARMTHUMB XZ BCJ filter in kernel
Having CONFIG_XZ_DEC_ARMTHUMB enabled breaks squashfs when ARM BCJ
filter was used to create the filesystem (and that's what we do on
all ARM targets). Thus unset CONFIG_XZ_DEC_ARMTHUMB to fix
squashfs on sunxi.

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

SVN-Revision: 45347
9 years ago
John Crispin c0a15a57bd sunxi: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44824
9 years ago
John Crispin d15ac306fa 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>

SVN-Revision: 44615
9 years ago
John Crispin f04a268a04 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>

SVN-Revision: 44614
9 years ago
John Crispin fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

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

SVN-Revision: 44613
9 years ago
John Crispin 6617845711 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>

SVN-Revision: 44612
9 years ago
John Crispin 7886cced18 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

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

SVN-Revision: 44611
9 years ago
Nicolas Thill 02aa882e60 sunxi: A20-OLinuXino-Lime profile rename leftover
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44423
9 years ago
Nicolas Thill ad6f7dffa5 linux/sunxi: rename A20-OLinuXino-Lime profile
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44322
9 years ago
Zoltan Herpai c1f86aa1ad sunxi: disable MMC debugging in kernel config
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44216
9 years ago
Zoltan Herpai 3b83156a38 sunxi: workaround switch being uninitialized on netifd startup
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44215
9 years ago
Zoltan Herpai 7146957461 sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44214
9 years ago
Zoltan Herpai 45e8630a4f sunxi: use sunxi_board_name when generating default network settings
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44213
9 years ago
Zoltan Herpai 7a5ef7b99f sunxi: introduce sunxi_board_name() in /lib/sunxi.sh
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44212
9 years ago
Zoltan Herpai d4f6f169b8 sunxi: implement board_detect for device-tree kernels
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44211
9 years ago
Zoltan Herpai e8ecd9a511 sunxi: update Olimex A13 SOM profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44040
10 years ago
Zoltan Herpai 741e0fd7a1 sunxi: change bananapro DTS to use the already published patch, clean up 3.18 config of generic symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43922
10 years ago
Zoltan Herpai 1e0c22507a sunxi: bump kernel to 3.18 - refresh patches - add bananapro, cubietruck, mele_m9 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43900
10 years ago
Zoltan Herpai 8feb491156 sunxi: fix led on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43661
10 years ago
Luka Perkov a1da38f7b1 kernel: drop CONFIG_PROC_DEVICETREE in 3.18
This option was removed in upstream commit 8357041.

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

SVN-Revision: 43607
10 years ago
Felix Fietkau 9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
10 years ago
Zoltan Herpai 352c7d3cb2 sunxi: add config for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43338
10 years ago
Zoltan Herpai 9c54f7f312 sunxi: add initial 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43337
10 years ago
Nicolas Thill 61a708154d sunxi: fix network config on A20-OLinuXino-LIME
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43190
10 years ago
Nicolas Thill ddb98cb70f sunxi: add support for Olimex A20-OLinuXino-LIME
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43189
10 years ago
Zoltan Herpai 135c8f4b1a sunxi: move cubietruck dts into patches [3.14]
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43183
10 years ago
Zoltan Herpai 1ac401f431 sunxi: move IR patch for bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43182
10 years ago
Zoltan Herpai 5cd9a39573 sunxi: move bananapi dts into patches [3.14]
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43181
10 years ago
Zoltan Herpai 6965eb4600 sunxi: move pcduino3 dts into patches [3.14]
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43180
10 years ago
Zoltan Herpai 7f707a5216 sunxi: update devtree name in network setup for pcduino3 as preparing for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43149
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
John Crispin 20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

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

SVN-Revision: 42911
10 years ago
Felix Fietkau f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
10 years ago
Zoltan Herpai fbbce1c8d8 sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42775
10 years ago
Zoltan Herpai 175aad61d4 sunxi: add profile for Olimex A13 SOM
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42693
10 years ago
Zoltan Herpai 144c9992a2 sunxi: enable GPIO_SYSFS
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42643
10 years ago
Zoltan Herpai 158336df6c sunxi: add AXP209 to pcDuino3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42636
10 years ago
Zoltan Herpai aaa430b434 sunxi: enable AXP209 on BananaPi as well
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42635
10 years ago
Zoltan Herpai 6f3abd92c5 sunxi: enable AXP209 regulator
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42634
10 years ago
Zoltan Herpai aa0848bba2 sunxi: add sunxi-ir module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42631
10 years ago
Zoltan Herpai e6d53c1366 sunxi: add support for infra receiver on A20, along with IR-related backports from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42630
10 years ago
Zoltan Herpai cc60fad010 sunxi: remove 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42628
10 years ago
Zoltan Herpai 3dc7dc9cde sunxi: update gmac with adding correct regulators on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42616
10 years ago
Zoltan Herpai 384ef8ece1 sunxi: backport late clock fixes from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42615
10 years ago
Zoltan Herpai 3a22a37f1a sunxi: update dts for pcduino3 and bananapi with regulators
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42608
10 years ago
Zoltan Herpai 46d7c59487 sunxi: add usb ohci support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42607
10 years ago
Zoltan Herpai 240f04765f sunxi: add default interface for bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42606
10 years ago
Zoltan Herpai 4aafe1bc4d sunxi: add missing symbol for arch timer
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42605
10 years ago
Zoltan Herpai 4bf83f89e0 sunxi: add arm arch timer support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42589
10 years ago
Zoltan Herpai 78726df7bd sunxi: add new watchdog compats to reboot code in 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42558
10 years ago
Zoltan Herpai 8ef9dec08f sunxi: update profile of A13-OLinuXino to match uboot boardname, required for sdcard image
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42557
10 years ago
Zoltan Herpai fb985d741f sunxi: add sdcard image generation support when board profile is selected
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42534
10 years ago
Zoltan Herpai e3cc78e9d8 sunxi: rename pcduino profile to match uboot boardname in prep for the sdcard generator
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42533
10 years ago
Luka Perkov 02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

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

SVN-Revision: 42463
10 years ago
Zoltan Herpai d4a2aa4f92 sunxi: re-add lradc driver in 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42436
10 years ago
Zoltan Herpai 044bf28357 sunxi: bump kernel to 3.14.16
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42425
10 years ago
Zoltan Herpai b217763e41 sunxi: update pcDuino3 profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42424
10 years ago
Zoltan Herpai 6833e90f0c sunxi: update Bananapi profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42423
10 years ago
Zoltan Herpai f10f009609 sunxi: initial 3.14 patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42313
10 years ago
John Crispin 7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
10 years ago
Zoltan Herpai 1bd75f114f sunxi: add support for Lemaker bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40898
10 years ago
Zoltan Herpai bf43c8e717 sunxi: fix typo in uci-defaults network config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40895
10 years ago
Zoltan Herpai 5e47b57e57 sunxi: various a13 changes - add rtl8192cu into A13 Olinuxino profile - make wlan0 the default interface
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40617
10 years ago
Zoltan Herpai 3bcb308b22 sunxi: add rtl8192cu to pcDuino profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40616
10 years ago
Zoltan Herpai c754682724 sunxi: add default network config for missing boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40612
10 years ago
Zoltan Herpai e87a753a10 sunxi: add rtl8188eu into pcduino v3 profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40610
10 years ago
Zoltan Herpai 186b5655d0 sunxi: add board support for LinkSprite pcDuino v3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40606
10 years ago