All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/1] Added linux drivers backports project
@ 2015-04-15 21:55 Petr Vorel
  2015-04-15 21:55 ` [Buildroot] [PATCH 1/1] " Petr Vorel
  0 siblings, 1 reply; 13+ messages in thread
From: Petr Vorel @ 2015-04-15 21:55 UTC (permalink / raw)
  To: buildroot

Hi there,

this is a patch adding [1] to buildroot. Backports provide drivers released on
newer kernels backported for usage on older kernels. This is very handy, for
those which have to use and old kernel (some SoC requires this).

This project was discussed more than one year ago [2], but nothing was actually
implemented.

I plan further improvements:

* Allow to use different versions
There are stable releases, snapshot based on current linux-next and some
archived versions based on linux-next. Although it's recommended to use the
latest stable version, some people prefer / need different version.

* Version check
For kernel versions older than 3.0 version backports-3.14 is needed,
kernels < 2.6.26 aren't supported.

* Custom patches
Ekvivalent of BR2_LINUX_KERNEL_PATCH.

* Custom repository version
Ekvivalent of BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION.

Credits: I got inspired by implementation in gfiber project (but rewrited).

Kind regards,
Petr


[1] https://backports.wiki.kernel.org
[2] http://lists.busybox.net/pipermail/buildroot/2013-December/084663.html
[3] https://gfiber.googlesource.com/buildroot/+/gfiber-openbox-2/package/backports/backports.mk

Petr Vorel (1):
  Added linux drivers backports project

 package/Config.in                            |  1 +
 package/linux-backports/Config.in            | 36 ++++++++++++++
 package/linux-backports/linux-backports.hash |  2 +
 package/linux-backports/linux-backports.mk   | 73 ++++++++++++++++++++++++++++
 4 files changed, 112 insertions(+)
 create mode 100644 package/linux-backports/Config.in
 create mode 100644 package/linux-backports/linux-backports.hash
 create mode 100644 package/linux-backports/linux-backports.mk

-- 
1.8.0

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [Buildroot]  [PATCH 1/1] Added linux drivers backports project
@ 2015-04-17  9:33 Petr Vorel
  2015-04-17  9:33 ` Petr Vorel
  2015-04-17 19:44 ` Arnout Vandecappelle
  0 siblings, 2 replies; 13+ messages in thread
From: Petr Vorel @ 2015-04-17  9:33 UTC (permalink / raw)
  To: buildroot

From: Petr Vorel <petr.vorel@gmail.com>

I fixed things which were reported and keep it as a package. This is for first start.

> # FOO_KCONFIG_FILE is required
> ifndef $(2)_KCONFIG_FILE
> $$(error Internal error: no value specified for $(2)_KCONFIG_FILE)
> endif

>  Oh, now I see that Yann's patch to convert this to ifeq hasn't been applied
> yet... So yes in that case the custom check should stay.
Ok. Could you send me a link to the patch?

>  Anyway, if it does become a Linux extension, the package will stay. One of the
> Kconfig options (the package or the linux extension) will be a blind option, and
> at that time we can still choose which one will be blind.
It's up to you folks to decide, if there could be both versions (package and extension).

> I plan further improvements:
> * Allow to use different versions
> There are stable releases, snapshot based on current linux-next and some
> archived versions based on linux-next. Although it's recommended to use the
> latest stable version, some people prefer / need different version.

> * Version check
> For kernel versions older than 3.0 version backports-3.14 is needed,
> kernels < 2.6.26 aren't supported.

> * Custom patches
> Ekvivalent of BR2_LINUX_KERNEL_PATCH.

> * Custom repository version
> Ekvivalent of BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION.
Any comments?

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] Added linux drivers backports project
@ 2015-04-17  9:40 Petr Vorel
  2015-04-17  9:40 ` Petr Vorel
  0 siblings, 1 reply; 13+ messages in thread
From: Petr Vorel @ 2015-04-17  9:40 UTC (permalink / raw)
  To: buildroot

From: Petr Vorel <petr.vorel@gmail.com>

Just added missing custom checks.

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-04-17 23:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 21:55 [Buildroot] [PATCH 0/1] Added linux drivers backports project Petr Vorel
2015-04-15 21:55 ` [Buildroot] [PATCH 1/1] " Petr Vorel
2015-04-16 20:29   ` Arnout Vandecappelle
2015-04-17  8:01     ` Thomas Petazzoni
2015-04-17  9:03     ` Petr Vorel
2015-04-17  9:14       ` Arnout Vandecappelle
2015-04-17  9:33 Petr Vorel
2015-04-17  9:33 ` Petr Vorel
2015-04-17 19:44 ` Arnout Vandecappelle
2015-04-17  9:40 Petr Vorel
2015-04-17  9:40 ` Petr Vorel
2015-04-17 19:35   ` Arnout Vandecappelle
2015-04-17 23:02     ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.