[LEDE-DEV] [RFC 1/1] x86: Add support for the PC Engines APU2 Board

Stijn Tintel stijn at linux-ipv6.be
Sat Oct 15 07:41:12 PDT 2016


On 14-10-16 20:19, Chris Blake wrote:
> The following patch adds support for the PC Engines APU2 Embedded Board
> as a profile under the X86_64 target. More information on this board can
> be found at www.pcengines.ch/apu2c4.htm
>
> Note that this patch is a part of an RFC, and should not be merged yet.
>
> Signed-off-by: Chris Blake <chrisrblake93 at gmail.com>
> ---
>  target/linux/x86/64/config-default                 |  12 +
>  target/linux/x86/64/profiles/001-PCEngines.mk      |  20 +
>  target/linux/x86/base-files/etc/board.d/01_leds    |  22 ++
>  target/linux/x86/base-files/etc/board.d/02_network |  26 ++
>  target/linux/x86/base-files/etc/diag.sh            |  37 ++
>  target/linux/x86/base-files/lib/x86.sh             |  13 +
>  target/linux/x86/config-4.4                        |   1 +
>  .../linux/x86/files/drivers/gpio/gpio-nct5104d.c   | 432 +++++++++++++++++++++
>  target/linux/x86/files/drivers/leds/leds-apu2.c    | 371 ++++++++++++++++++
>  target/linux/x86/modules.mk                        |  36 ++
>  .../x86/patches-4.4/800-add-apu2-led-driver.patch  |  29 ++
>  .../801-sp5100_tco-add-apu2-support.patch          |  91 +++++
>  .../patches-4.4/802-add-nct5104d-gpio-driver.patch |  27 ++
>  13 files changed, 1117 insertions(+)
>  create mode 100644 target/linux/x86/64/profiles/001-PCEngines.mk
>  create mode 100755 target/linux/x86/base-files/etc/board.d/01_leds
>  create mode 100755 target/linux/x86/base-files/etc/board.d/02_network
>  create mode 100755 target/linux/x86/base-files/etc/diag.sh
>  create mode 100755 target/linux/x86/base-files/lib/x86.sh
>  create mode 100644 target/linux/x86/files/drivers/gpio/gpio-nct5104d.c
>  create mode 100644 target/linux/x86/files/drivers/leds/leds-apu2.c
>  create mode 100644 target/linux/x86/modules.mk
>  create mode 100644 target/linux/x86/patches-4.4/800-add-apu2-led-driver.patch
>  create mode 100644 target/linux/x86/patches-4.4/801-sp5100_tco-add-apu2-support.patch
>  create mode 100644 target/linux/x86/patches-4.4/802-add-nct5104d-gpio-driver.patch
Please use the correct prefix for patches, see
https://git.lede-project.org/?p=source.git;a=blob;f=target/linux/generic/PATCHES
I would add the watchdog patches like this instead of squashing them,
created with git format-patch:
target/linux/generic/patches-4.4/097-0001-sp5100_tco-Add-AMD-Mullins-platform-support.patch
target/linux/generic/patches-4.4/097-0002-sp5100_tco-Add-AMD-Mullins-platform-support.patch
target/linux/generic/patches-4.4/097-0003-sp5100_tco-fix-the-device-check-for-SB800-and-later-chipsets.patch
target/linux/generic/patches-4.4/097-0004-watchdog-sp5100_tco-properly-check-for-new-register-.patch

Thanks,
Stijn



More information about the Lede-dev mailing list