aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi
Commit message (Collapse)AuthorAgeFilesLines
* sunxi: sysupgrade: sync with x86Matthias Schiffer2017-05-292-50/+72
| | | | | | | | | | | | 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>
* sunxi: sysupgrade: don't write partitions twiceMatthias Schiffer2017-05-291-1/+1
| | | | | | | | | | | | | | 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>
* kernel: update kernel 4.4 to version 4.4.69Kevin Darbyshire-Bryant2017-05-213-4/+4
| | | | | | | | | | | | | | | | | | | 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>
* sunxi: clean up modules definitionsMatthias Schiffer2017-05-043-45/+5
| | | | | | | | | | | | | | | | | | 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>
* kernel: remove out of tree direct-io disable hackFelix Fietkau2017-04-261-1/+0
| | | | | | | 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>
* build: get rid of host.mkFelix Fietkau2017-02-261-1/+0
| | | | | | Defined required host related variables in toplevel.mk instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-2/+2
| | | | | | | | | | | | 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>
* uboot-sunxi: clean up, switch to u-boot.mkFelix Fietkau2017-01-242-33/+17
| | | | | | | | 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>
* sunxi: use fwtool for checking sdcard imagesYousong Zhou2017-01-055-153/+19
| | | | | | | | | | | | | | 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>
* sunxi: add sysupgrade supportYousong Zhou2017-01-053-0/+91
| | | | | | | 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>
* sunxi: make sdcard image with squashfs as rootfsYousong Zhou2017-01-051-1/+2
| | | | | | | | | | | | | 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>
* sunxi: convert to new image generation methodYousong Zhou2017-01-0518-363/+171
| | | | | | | | | | | 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>
* sunxi: enable loopback device and f2fs supportYousong Zhou2017-01-051-0/+14
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* sunxi: fix dts name for Mele M9Yousong Zhou2017-01-051-1/+1
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* sunxi: enable CONFIG_VHOST_NET like on x86Felix Fietkau2016-11-241-2/+1
| | | | | | | Other virtualization options are already enabled, so this is only a small addition Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target: sunxi: enable builtin crypto-hw module sun4i-ssYousong Zhou2016-11-241-0/+5
| | | | | | | 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>
* target: sunxi: enable kvm supportYousong Zhou2016-11-241-16/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* tools: remove old mkdosfs symlink from dosfstoolsÁlvaro Fernández Rojas2016-10-121-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* sunxi: add rtl8xxxu into pcduino v3 profileÁlvaro Fernández Rojas2016-09-151-1/+1
| | | | | | Now that RTL8188EU is supported in rtl8xxu select it for pcDuino v3 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* sunxi/pcduino3: Remove selection of absent rtl8188euAlexey Brodkin2016-07-231-1/+1
| | | | | | | | | Since commit 217a64375547 "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>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-06-201-5/+5
| | | | | | | | | 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>
* sunxi: remove NAMESPACES config symbolsDirk Neukirchen2016-06-061-4/+0
| | | | | | they are available in config/Config-kernel.in Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* sunxi: remove XFRM_ config symbolsDirk Neukirchen2016-06-061-2/+0
| | | | | | they are part of packages Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* kernel: remove bogus CONFIG_LOG_BUF_SHIFT overridesFelix Fietkau2016-05-211-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: delete old kernel versionsFelix Fietkau2016-05-1283-18234/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image / basefiles: make console password configurableJohn Crispin2016-04-181-3/+3
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-011-1/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48874
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-251-37/+0
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48783
* sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac ↵Zoltan Herpai2016-02-243-1/+110
| | | | | | | | to bananapro profile Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48757
* sunxi: update orangepi-plus profile to reflect the real uboot packageZoltan Herpai2016-02-031-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48626
* sunxi: bump to 4.4Zoltan Herpai2016-02-031-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48620
* sunxi: add support for Orange Pi Plus (H3)Zoltan Herpai2016-02-023-2/+24
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48618
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48493
* kernel: clean up redundant SLUB/SLAB related defines for 4.4Felix Fietkau2016-01-211-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48443
* kernel: refresh patches for kernel 4.4Hauke Mehrtens2016-01-1228-169/+70
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48222
* sunxi: initial 4.4 supportZoltan Herpai2016-01-0929-0/+4391
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48161
* sunxi: prep module support options for 4.4Zoltan Herpai2016-01-091-8/+14
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48160
* sunxi: fix Lamobo R1 board detectionZoltan Herpai2016-01-041-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48130
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | 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
* sunxi: fix Lamobo Banana Pi R1 detectionJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | 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
* sunxi: fix board.d permissionsJo-Philipp Wich2015-12-041-0/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47760
* sunxi: switch from uci-defaults to board.dJo-Philipp Wich2015-12-042-32/+26
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47758
* kernel: update 4.1 to 4.1.13Hauke Mehrtens2015-12-021-11/+0
| | | | | | | | | | | - 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
* kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-011-1/+1
| | | | | | | | | | 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
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-256-75/+53
| | | | | | | | 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
* kernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4Felix Fietkau2015-09-082-6/+0
| | | | | | | | | 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
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-231-41/+0
| | | | | | | | | 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
* sunxi: bump to 4.1Zoltan Herpai2015-08-211-1/+3
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46705
* sunxi: add audio module for 4.1Zoltan Herpai2015-08-211-0/+17
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46704
* sunxi: update ahci package list for a couple board profilesZoltan Herpai2015-08-218-9/+16
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46703