Commit Graph

146 Commits (75ed56a08a4ce978323259a59a8f45ceed511584)

Author SHA1 Message Date
Linus Walleij 1f56417e6b gemini: Augment DIR-685 device tree for RTL8366RB
This makes the ethernet and RTL8366RB come up on the
D-Link DIR-685.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
6 years ago
Linus Walleij 3b48111df9 gemini: create zImage for DIR-685
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
6 years ago
Linus Walleij 6cd2e1f947 gemini: Add ethernet to DNS-313 and Wiliboard
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>
6 years ago
Roman Yeryomin ce93b05bf1 gemini: fix hard disk boot on D-Link devices
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>
6 years ago
Roman Yeryomin 2c35bcffd0 gemini: add rtl8366rb to dir-685 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>
6 years ago
Roman Yeryomin af069fbd24 gemini: cleanup kernel config
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>
6 years ago
Roman Yeryomin 91930c0f99 gemini: remove 4.4 support
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
6 years ago
Roman Yeryomin 6409b159e8 gemini: switch to 4.14
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>
6 years ago
Roman Yeryomin 4f74957584 gemini: add 4.14 support
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>
6 years ago
Roman Yeryomin 55c9aa27be gemini: rename files directory (preparation for 4.14)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
6 years ago
Rosen Penev 7a318bc1a1 kernel: Update kernel 4.4 to 4.4.100
Run-tested on ramips

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 years ago
Jonas Gorski 6f528dfbd9 treewide: do not use IMG_PREFIX in Image/Prepare
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>
7 years ago
Stijn Tintel d18f76f762 kernel: use .patch extension for all patches
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Stijn Tintel 4cc2d159bc gemini: rename config-default to config-4.4
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years ago
Stijn Tintel df04723478 gemini: rename patches directory to patches-4.4
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years ago
Jo-Philipp Wich 58df34b5e1 gemini: drop Linux 4.1 support
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Roman Yeryomin f046737e92 gemini: add Linux 4.4 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>
[Jo-Philipp Wich: change commit title]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau 30cd012860 gemini: delete 3.18 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jonas Gorski cc42b1049b kernel: refresh patches for 4.1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46441
9 years ago
John Crispin 16fb050055 gemini: switch to 4.1
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46354
9 years ago
John Crispin d5d3b5e49c gemini: add 4.1 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46353
9 years ago
John Crispin 023b0e0b38 gemini: add NAS packages to Raidsonic profile
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46352
9 years ago
John Crispin ea5b09bda3 gemini: copy kernel image to BIN_DIR
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46351
9 years ago
John Crispin 1985e88b35 gemini: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45822
9 years ago
Jo-Philipp Wich e814e946a6 gemini: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45782
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
Felix Fietkau c6a29d2528 gemini: fix usb driver compilation on 3.18
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45065
9 years ago
Felix Fietkau 65708f749a gemini: make dd commands more portable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45039
9 years ago
Felix Fietkau 6cda886f60 gemini: switch mantainer to myself
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45038
9 years ago
Felix Fietkau 17532417c7 gemini: nuke 3.10 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45037
9 years ago
Felix Fietkau b953a14036 gemini: remove broken flag
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45036
9 years ago
Felix Fietkau dc622768a7 gemini: switch to 3.18
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45035
9 years ago
Felix Fietkau 44b3e3af17 gemini: don't build jffs2 image for Raidsonic board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45034
9 years ago
Felix Fietkau a304f3d2b6 gemini: add 3.18 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45033
9 years ago
Rafał Miłecki a4d7571367 mark 3.10 targets as broken
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44968
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 5789169b1d gemini: add ata driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43885
10 years ago
John Crispin 5a5d558d0f gemini: add rtc-gemini driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43884
10 years ago
John Crispin 374ab9decc gemini: update usb driver and merge registers into one patch
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43703
10 years ago
John Crispin fef7b4241f gemini: merge register ethernet patches into one
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43702
10 years ago
John Crispin 8a9979e57a gemini: update ethernet driver, register ethernet on nas4220 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43501
10 years ago
John Crispin da5001475c gemini: add basic nas4220 board support
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
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
Felix Fietkau f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
10 years ago
Hauke Mehrtens eea3a89a6a gemini: drop kernel 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42451
10 years ago
Hauke Mehrtens d0d537a039 gemini: switch to kernel 3.10
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
10 years ago
Hauke Mehrtens e63318d6d5 kernel: do not build kernel modules by default
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
10 years ago
Hauke Mehrtens 3f78cadedd gemini: add support for kernel 3.10
This is compile tested only, please run test and report back.

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

SVN-Revision: 41531
10 years ago
Felix Fietkau c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
11 years ago