aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini
Commit message (Collapse)AuthorAgeFilesLines
...
* gemini: Add ethernet to DNS-313 and WiliboardLinus Walleij2018-05-051-0/+123
| | | | | | | | This adds an interrim patch for v4.14 based on an upstream commit to get ethernet working on D-Link DNS-313 (probably also on the Wiliboards) Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* gemini: fix hard disk boot on D-Link devicesRoman Yeryomin2018-05-053-8/+49
| | | | | | | | | | | | | | | | | | | | | | | Since the D-Link devices boot from hard disk we need to add the following changes to Gemini: - Supply a bootarg in the device tree so we can boot from the right partition (/dev/sda4 on DNS-313) - Disable forced command line in config so the kernel picks up the right bootargs from the device tree - Enable EXT4 in the config as this is used for rootfs else we get nowhere, we cannot load this as a module because, well, it is supposed to be loaded from the root partition (chicken and egg problem). - Enable jbd2 and mbcache (needed by ext4) Also clean out the premature attempts to dynamically modify the command line in the Image makefile: we should pass this with the device tree bootargs instead, it works much better. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Roman Yeryomin <roman@advem.lv>
* gemini: add rtl8366rb to dir-685 boardRoman Yeryomin2018-05-052-1/+17
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* gemini: cleanup kernel configRoman Yeryomin2018-05-052-129/+7
| | | | | | | | | Disable video and input drivers - they are needed only for one board and can be enabled via modules if/when UI will be available. Use LED drivers from packages. Cleanup other things unnecessarily overriding defaults. Signed-off-by: Roman Yeryomin <roman@advem.lv>
* gemini: remove 4.4 supportRoman Yeryomin2018-05-0523-6215/+0
| | | | | Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Roman Yeryomin <roman@advem.lv>
* gemini: switch to 4.14Roman Yeryomin2018-05-056-103/+132
| | | | | | | | | | | | | This introduces Device/ infrastructure and images for all boards available upstream. Changes from Linus submitted version: - fix Raidsonic image generation - remove redundant (old) image generation - remove redundant header tool for dns313 board Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Roman Yeryomin <roman@advem.lv>
* gemini: add 4.14 supportRoman Yeryomin2018-05-0538-0/+7754
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the patches to get fairly complete Gemini support using kernel v4.14. It is mainly a backport of patches from kernel v4.16 with omissions of things like graphics that require substantial changes and will be better handled once we move to the v4.16 kernel proper. On top of this are some WIP patches for USB support. Tested on Raidsonic NAS4220B and D-link DNS-313. ChangeLog v4->v5: - Fix ethernet single gmac usecase - Fix USB reset (patch from Hans) - Fix Raidsonic ethernet skew delay - Fix kernel config (bridge, squashfs, jffs2, usb) - Disable second usb port on Raidsonic board until fotg210_hcd is fixed ChangeLog v3->v4: - Make sure to use tabs rather than spaces in base-files. - Use the dns313 image tool from the firmware-utils. - Break out the addition of the v4.14 patches and the removal of the v4.4 patches to separate (big) patches. ChangeLog v2->v3: - Update the kernel config as indicated by Hauke Martens: - Regenerate again after rebasing using kernel_oldconfig dropping a few optimization settings that are now generic - Drop CFG80211 stuff (module) - Drop CIFS stuff (module) - Drop MAC80211 (module) - Drop wireless drivers (module) - Enabled OverlayFS - Added proper DNS-313 boot image generation with the special file header tool. - Disable CMA in the kernel - Enable LZMA compression of the kernel - Consequently name the nas4220b images nas4220b - Update preinit MAC detection script to handle also DNS-313 - Add board.d/03_hdparm to set the disk to spin down after 1 minute by default, if we have the hdparm tool installed ChangeLog v1->v2: - Processed config through kernel_oldconfig - Processed patches through make target/linux/{clean,refresh} V=99 Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Roman Yeryomin <roman@advem.lv>
* gemini: rename files directory (preparation for 4.14)Roman Yeryomin2018-05-059-0/+0
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* kernel: Update kernel 4.4 to 4.4.100Rosen Penev2017-11-251-1/+1
| | | | | | Run-tested on ramips Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: do not use IMG_PREFIX in Image/PrepareJonas Gorski2017-10-261-9/+9
| | | | | | | | | | | | | | IMG_PREFIX can be modified in ImageBuilder by passing EXTRA_IMAGE_NAME on command line, but Image/Prepare is not run in ImageBuilder. This causes missing files when IMG_PREFIX is used for target file names in Image/Prepare, then as source file names in Image/BuildKernel or Image/Build. Fix this by using a fixed output file name in Image/Prepare, and copy to the expected file name in Image/BuildKernel instead, which is run by ImageBuilder. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: use .patch extension for all patchesStijn Tintel2017-06-271-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: rename patches directory to patches-4.4Stijn Tintel2016-08-2413-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: drop Linux 4.1 supportJo-Philipp Wich2016-08-2342-6743/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* gemini: add Linux 4.4 supportRoman Yeryomin2016-08-2324-0/+6220
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> [Jo-Philipp Wich: change commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* gemini: delete 3.18 supportFelix Fietkau2016-05-1215-6045/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: refresh patches for 4.1Jonas Gorski2015-07-222-6/+5
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46441
* gemini: switch to 4.1John Crispin2015-07-141-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46354
* gemini: add 4.1 supportJohn Crispin2015-07-1415-0/+6026
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46353
* gemini: add NAS packages to Raidsonic profileJohn Crispin2015-07-141-0/+7
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46352
* gemini: copy kernel image to BIN_DIRJohn Crispin2015-07-141-1/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46351
* gemini: fix imagebuilderJohn Crispin2015-05-291-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45822
* gemini: use common image prefixJo-Philipp Wich2015-05-271-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45782
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-2110-72/+67
| | | | | | | | | | | | | | 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
* gemini: fix usb driver compilation on 3.18Felix Fietkau2015-03-271-2/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45065
* gemini: make dd commands more portableFelix Fietkau2015-03-261-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45039
* gemini: switch mantainer to myselfFelix Fietkau2015-03-261-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45038
* gemini: nuke 3.10 supportFelix Fietkau2015-03-2612-5727/+0
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45037
* gemini: remove broken flagFelix Fietkau2015-03-261-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45036
* gemini: switch to 3.18Felix Fietkau2015-03-261-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45035
* gemini: don't build jffs2 image for Raidsonic boardFelix Fietkau2015-03-261-1/+0
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45034
* gemini: add 3.18 supportFelix Fietkau2015-03-2616-0/+6055
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45033
* mark 3.10 targets as brokenRafał Miłecki2015-03-241-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44968
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-061-1/+0
| | | | | | | | | 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
* kernel: disbale HAMRADIO in generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | | | | | | | | 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
* gemini: add ata driverJohn Crispin2015-01-083-0/+428
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43885
* gemini: add rtc-gemini driverJohn Crispin2015-01-085-24/+274
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43884
* gemini: update usb driver and merge registers into one patchJohn Crispin2014-12-149-741/+546
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43703
* gemini: merge register ethernet patches into oneJohn Crispin2014-12-145-210/+210
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43702
* gemini: update ethernet driver, register ethernet on nas4220 boardJohn Crispin2014-12-025-1619/+2660
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43501
* gemini: add basic nas4220 board supportJohn Crispin2014-11-196-2/+76
| | | | | | | | | | | | Few notes: - redboot partitions are unusable - redboot declares only 16M of RAM, hence the mem arg in cmdline and separate kernel config - boots fine but only ethernet works for now - split wiliboard and raidsonic boards into different subtargets Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43319
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | 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
* targets: remove useless quotes around KERNELNAMEFelix Fietkau2014-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42780
* gemini: drop kernel 3.9 supportHauke Mehrtens2014-09-0818-5269/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42451
* gemini: switch to kernel 3.10Hauke Mehrtens2014-09-081-1/+1
| | | | | | | | | | | | | | This switches to kernel 3.10 that was prepared by Hauke in r41531 : gemini: add support for kernel 3.10 This is compile tested only, please run test and report back. I've simply checked if it still compiles, unfortunately we didn't get any feedback for this target. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42450
* kernel: do not build kernel modules by defaultHauke Mehrtens2014-07-061-18/+2
| | | | | | | | | | | No config option should be set to m in the default config, because there is also some script needed which picks the module up into the image and that is missing this way. Always create a kmod when building a module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41539
* gemini: add support for kernel 3.10Hauke Mehrtens2014-07-0617-0/+4928
| | | | | | | | This is compile tested only, please run test and report back. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41531
* build: unify arm target cflagsFelix Fietkau2013-09-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38211
* build: unify target independent optimization optionsFelix Fietkau2013-07-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37600
* kernel: update 3.9 to 3.9.11Gabor Juhos2013-07-221-1/+1
| | | | | | | | Also refresh 3.9 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37501