armadeus-commitlog Mailing List for armadeus (Page 25)
Brought to you by:
sszy
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(43) |
Feb
(8) |
Mar
(7) |
Apr
(8) |
May
(14) |
Jun
(6) |
Jul
(4) |
Aug
(17) |
Sep
(18) |
Oct
(19) |
Nov
(52) |
Dec
(30) |
| 2008 |
Jan
(6) |
Feb
(6) |
Mar
(15) |
Apr
(22) |
May
(13) |
Jun
(11) |
Jul
(41) |
Aug
(10) |
Sep
(14) |
Oct
(21) |
Nov
(4) |
Dec
(66) |
| 2009 |
Jan
(67) |
Feb
(57) |
Mar
(90) |
Apr
(54) |
May
(64) |
Jun
(76) |
Jul
(14) |
Aug
(18) |
Sep
(18) |
Oct
(20) |
Nov
(15) |
Dec
(36) |
| 2010 |
Jan
(28) |
Feb
(25) |
Mar
(32) |
Apr
(23) |
May
(22) |
Jun
(62) |
Jul
(36) |
Aug
(16) |
Sep
(12) |
Oct
(20) |
Nov
(44) |
Dec
(25) |
| 2011 |
Jan
(36) |
Feb
(49) |
Mar
(28) |
Apr
(38) |
May
(26) |
Jun
(52) |
Jul
(33) |
Aug
(32) |
Sep
(19) |
Oct
(26) |
Nov
(13) |
Dec
(32) |
| 2012 |
Jan
(38) |
Feb
(34) |
Mar
(91) |
Apr
(35) |
May
(31) |
Jun
(72) |
Jul
(23) |
Aug
(13) |
Sep
(33) |
Oct
(47) |
Nov
(18) |
Dec
(22) |
| 2013 |
Jan
(31) |
Feb
(22) |
Mar
(26) |
Apr
(11) |
May
(38) |
Jun
(15) |
Jul
(37) |
Aug
(68) |
Sep
(34) |
Oct
(11) |
Nov
(26) |
Dec
(31) |
| 2014 |
Jan
(60) |
Feb
(55) |
Mar
(21) |
Apr
(31) |
May
(17) |
Jun
(35) |
Jul
(24) |
Aug
(17) |
Sep
(11) |
Oct
(23) |
Nov
(10) |
Dec
(23) |
| 2015 |
Jan
(15) |
Feb
(34) |
Mar
(46) |
Apr
(23) |
May
(12) |
Jun
(14) |
Jul
(18) |
Aug
(22) |
Sep
(6) |
Oct
(2) |
Nov
(1) |
Dec
(6) |
| 2016 |
Jan
(5) |
Feb
(7) |
Mar
(10) |
Apr
(10) |
May
(17) |
Jun
(6) |
Jul
(4) |
Aug
(6) |
Sep
(22) |
Oct
(8) |
Nov
(9) |
Dec
(5) |
| 2017 |
Jan
(11) |
Feb
(12) |
Mar
(27) |
Apr
(9) |
May
(1) |
Jun
(5) |
Jul
(11) |
Aug
(10) |
Sep
(6) |
Oct
(10) |
Nov
(4) |
Dec
(6) |
| 2018 |
Jan
(6) |
Feb
(13) |
Mar
(9) |
Apr
(7) |
May
(10) |
Jun
(9) |
Jul
(21) |
Aug
(13) |
Sep
(10) |
Oct
(4) |
Nov
(6) |
Dec
(1) |
| 2019 |
Jan
(6) |
Feb
(2) |
Mar
(5) |
Apr
(6) |
May
(19) |
Jun
(14) |
Jul
(18) |
Aug
(3) |
Sep
(5) |
Oct
(7) |
Nov
(8) |
Dec
(4) |
| 2020 |
Jan
(10) |
Feb
(3) |
Mar
(9) |
Apr
(7) |
May
(2) |
Jun
(18) |
Jul
(3) |
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
(1) |
| 2021 |
Jan
(9) |
Feb
(6) |
Mar
(4) |
Apr
(11) |
May
(7) |
Jun
(5) |
Jul
(2) |
Aug
(4) |
Sep
(10) |
Oct
(9) |
Nov
(5) |
Dec
|
| 2022 |
Jan
(2) |
Feb
(12) |
Mar
(3) |
Apr
(5) |
May
(1) |
Jun
(3) |
Jul
(2) |
Aug
(1) |
Sep
(4) |
Oct
(4) |
Nov
(1) |
Dec
(3) |
| 2023 |
Jan
(5) |
Feb
(3) |
Mar
(3) |
Apr
(2) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
(2) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2024 |
Jan
(2) |
Feb
(3) |
Mar
(8) |
Apr
(4) |
May
(1) |
Jun
(13) |
Jul
(7) |
Aug
(1) |
Sep
(6) |
Oct
(5) |
Nov
(11) |
Dec
(7) |
| 2025 |
Jan
(3) |
Feb
(1) |
Mar
(6) |
Apr
(4) |
May
(4) |
Jun
(1) |
Jul
(1) |
Aug
(7) |
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(1) |
| 2026 |
Jan
(3) |
Feb
(7) |
Mar
(3) |
Apr
(1) |
May
(6) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: jorasse <jo...@us...> - 2017-04-03 08:25:38
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 67a633f54d594586472eb31c97308f7ff0b1c208 (commit)
from 479413962bcc91ff7dd073030379a72660fd9240 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 67a633f54d594586472eb31c97308f7ff0b1c208
Author: Eric Jarrige <eri...@ar...>
Date: Mon Apr 3 10:25:19 2017 +0200
[UBOOT] apf28: add U-Boot config to support mainline linux kernel
-----------------------------------------------------------------------
Summary of changes:
.../apf28/{apf28-u-boot-2017.01.h => apf28mainline-u-boot-2017.01.h} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
copy buildroot/target/device/armadeus/apf28/{apf28-u-boot-2017.01.h => apf28mainline-u-boot-2017.01.h} (99%)
diff --git a/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h b/buildroot/target/device/armadeus/apf28/apf28mainline-u-boot-2017.01.h
similarity index 99%
copy from buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
copy to buildroot/target/device/armadeus/apf28/apf28mainline-u-boot-2017.01.h
index 70b0c98..ad8ed90 100644
--- a/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
+++ b/buildroot/target/device/armadeus/apf28/apf28mainline-u-boot-2017.01.h
@@ -117,7 +117,7 @@
#define CONFIG_KERNEL_OFFSET 0x00500000 /* 8MB */
#define CONFIG_ROOTFS_OFFSET 0x00D00000
-#define CONFIG_MTDMAP "gpmi-nfc-main"
+#define CONFIG_MTDMAP "gpmi-nand"
#define MTDIDS_DEFAULT "nand0=" CONFIG_MTDMAP
#define MTDPARTS_DEFAULT \
"mtdparts=" CONFIG_MTDMAP \
@@ -147,7 +147,7 @@
__stringify(CONFIG_BAUDRATE) " " MTDPARTS_DEFAULT \
" ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs "
-#define ACFG_CONSOLE_DEV ttyAM0
+#define ACFG_CONSOLE_DEV ttyAMA0
#define CONFIG_BOOTCOMMAND "run ubifsboot"
#define CONFIG_SYS_AUTOLOAD "no"
/*
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2017-03-31 13:00:38
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 479413962bcc91ff7dd073030379a72660fd9240 (commit)
from e9af50185e0026d5b01bf351f14a380457a1d933 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 479413962bcc91ff7dd073030379a72660fd9240
Author: Eric Jarrige <eri...@ar...>
Date: Fri Mar 31 15:00:18 2017 +0200
[BUILDROOT] apf9328: bump to U-Boot 2017.01
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf9328_defconfig | 6 +++---
buildroot/configs/apf9328test_defconfig | 6 +++---
buildroot/configs/apf9328xenomai_defconfig | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/buildroot/configs/apf9328_defconfig b/buildroot/configs/apf9328_defconfig
index 4595fef..9c266a9 100644
--- a/buildroot/configs/apf9328_defconfig
+++ b/buildroot/configs/apf9328_defconfig
@@ -62,9 +62,9 @@ BR2_TARGET_ROOTFS_JFFS2_PAD=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf9328test_defconfig b/buildroot/configs/apf9328test_defconfig
index 686c736..9d2ed86 100644
--- a/buildroot/configs/apf9328test_defconfig
+++ b/buildroot/configs/apf9328test_defconfig
@@ -122,9 +122,9 @@ BR2_TARGET_ROOTFS_JFFS2_PAD=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf9328xenomai_defconfig b/buildroot/configs/apf9328xenomai_defconfig
index b8b4091..80d9ef0 100644
--- a/buildroot/configs/apf9328xenomai_defconfig
+++ b/buildroot/configs/apf9328xenomai_defconfig
@@ -67,9 +67,9 @@ BR2_TARGET_ROOTFS_JFFS2_PAD=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2017-03-31 06:01:53
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via e9af50185e0026d5b01bf351f14a380457a1d933 (commit)
via 01ea0a3b8c44f7a0f87f2d7d3cd3620ee59c4f7b (commit)
from 9fd794fd4602a0c2fd15a9dcc72e0dddda7c72c6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e9af50185e0026d5b01bf351f14a380457a1d933
Author: Eric Jarrige <eri...@ar...>
Date: Fri Mar 31 08:01:18 2017 +0200
[BUILDROOT] apf28: bump to U-Boot 2017.01
commit 01ea0a3b8c44f7a0f87f2d7d3cd3620ee59c4f7b
Author: Eric Jarrige <eri...@ar...>
Date: Fri Mar 31 07:56:12 2017 +0200
[UBOOT] apf28: fix compilation by renaming some compilation flag
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf28_defconfig | 6 +++---
buildroot/configs/apf28mainline_defconfig | 6 +++---
buildroot/configs/apf28mainlinetest_defconfig | 6 +++---
buildroot/configs/apf28test_defconfig | 6 +++---
buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h | 6 ++----
5 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/buildroot/configs/apf28_defconfig b/buildroot/configs/apf28_defconfig
index 04bfe5f..04f6069 100644
--- a/buildroot/configs/apf28_defconfig
+++ b/buildroot/configs/apf28_defconfig
@@ -79,9 +79,9 @@ BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_SB=y
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
diff --git a/buildroot/configs/apf28mainline_defconfig b/buildroot/configs/apf28mainline_defconfig
index 5b1e418..bb0f2fe 100644
--- a/buildroot/configs/apf28mainline_defconfig
+++ b/buildroot/configs/apf28mainline_defconfig
@@ -77,9 +77,9 @@ BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2017.01.h"
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_SB=y
BR2_TARGET_UBOOT_ENVIMAGE=y
diff --git a/buildroot/configs/apf28mainlinetest_defconfig b/buildroot/configs/apf28mainlinetest_defconfig
index 5f7eb6d..a50e565 100644
--- a/buildroot/configs/apf28mainlinetest_defconfig
+++ b/buildroot/configs/apf28mainlinetest_defconfig
@@ -152,9 +152,9 @@ BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2017.01.h"
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_SB=y
BR2_TARGET_UBOOT_ENVIMAGE=y
diff --git a/buildroot/configs/apf28test_defconfig b/buildroot/configs/apf28test_defconfig
index fabbe69..9218ae0 100644
--- a/buildroot/configs/apf28test_defconfig
+++ b/buildroot/configs/apf28test_defconfig
@@ -152,9 +152,9 @@ BR2_TARGET_ROOTFS_UBI_SUBSIZE=0
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_SB=y
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
diff --git a/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h b/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
index 343fc15..70b0c98 100644
--- a/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
+++ b/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
@@ -112,7 +112,7 @@
*/
/* First 1 MiB reservered for mx28 NAND BCBÂ tables */
/* last 2 MiB reservered for 2 copies of U-Boot */
-#define CONFIG_SYS_MONITOR_OFFSET 0x00100000 /* offset in NAND */
+#define ACFG_MONITOR_OFFSET 0x00100000 /* offset in NAND */
#define CONFIG_SYS_MONITOR_LEN 0x00100000 /* 2 x 1MB */
#define CONFIG_KERNEL_OFFSET 0x00500000 /* 8MB */
#define CONFIG_ROOTFS_OFFSET 0x00D00000
@@ -142,8 +142,6 @@
/* #define CONFIG_REVISION_TAG */
-#define CONFIG_BOOTDELAY 5
-#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_BOOTFILE __stringify(CONFIG_BOARD_NAME) "-linux.bin"
#define CONFIG_BOOTARGS "console=" __stringify(ACFG_CONSOLE_DEV) "," \
__stringify(CONFIG_BAUDRATE) " " MTDPARTS_DEFAULT \
@@ -167,7 +165,7 @@
"consoledev=" __stringify(ACFG_CONSOLE_DEV) "\0"\
"mtdparts=" MTDPARTS_DEFAULT "\0"\
"partition=nand0,6\0" \
- "u-boot_addr=" __stringify(CONFIG_SYS_MONITOR_OFFSET) "\0"\
+ "u-boot_addr=" __stringify(ACFG_MONITOR_OFFSET) "\0"\
"u-boot_len=" __stringify(CONFIG_SYS_MONITOR_LEN) "\0"\
"env_addr=" __stringify(CONFIG_ENV_OFFSET) "\0"\
"kernel_addr=" __stringify(CONFIG_KERNEL_OFFSET) "\0"\
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-30 16:36:57
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 9fd794fd4602a0c2fd15a9dcc72e0dddda7c72c6 (commit)
from 195a376e6c17ee86af7a60e84713452669f9456e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9fd794fd4602a0c2fd15a9dcc72e0dddda7c72c6
Author: Julien BOIBESSOT <jul...@ar...>
Date: Thu Mar 30 18:34:57 2017 +0200
[BUILD] Improve Makefile help concerning configs
-----------------------------------------------------------------------
Summary of changes:
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index b8c557b..ad80695 100644
--- a/Makefile
+++ b/Makefile
@@ -70,8 +70,9 @@ help:
@echo ' pps51_defconfig - get default config for an APF51+PPS51 system'
@echo ' apf28_defconfig - get default config for an APF28+Dev kit'
@echo ' apf6_defconfig - get default config for an APF6+Dev kit (3.19+ mainline/vanilla kernel)'
- @echo ' apf6legacy_defconfig - get default config for an APF6+Dev kit (3.10 Wandboard kernel)'
- @echo ' opos6ul_defconfig - get default config for an OPOS6UL+Dev kit (4.7+ mainline/vanilla kernel)'
+ @echo ' apf6legacy_defconfig - get default config for an APF6+Dev kit (3.14 Freescale kernel)'
+ @echo ' apf6legacy-4.1_defconfig - get default config for an APF6+Dev kit (4.1 Freescale kernel)'
+ @echo ' opos6ul_defconfig - get default config for an OPOS6UL+Dev kit (4.8+ mainline/vanilla kernel)'
@echo ' opos6ul_legacy_defconfig - get default config for an OPOS6UL+Dev kit (3.14 Freescale kernel)'
@echo ''
@echo 'Build:'
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2017-03-30 16:13:22
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 195a376e6c17ee86af7a60e84713452669f9456e (commit)
from aa5eabc88eda6775837d3424c714c78c96c4ea30 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 195a376e6c17ee86af7a60e84713452669f9456e
Author: Eric Jarrige <eri...@ar...>
Date: Thu Mar 30 18:13:10 2017 +0200
[BUILDROOT] apf51: Bump to U-Boot 2017.01
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf51_defconfig | 6 +++---
buildroot/configs/apf51mainline_defconfig | 6 +++---
buildroot/configs/apf51test_defconfig | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/buildroot/configs/apf51_defconfig b/buildroot/configs/apf51_defconfig
index 1a5ecc7..ed3d4e9 100644
--- a/buildroot/configs/apf51_defconfig
+++ b/buildroot/configs/apf51_defconfig
@@ -84,9 +84,9 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nand-spl.imx"
BR2_TARGET_UBOOT_ENVIMAGE=y
diff --git a/buildroot/configs/apf51mainline_defconfig b/buildroot/configs/apf51mainline_defconfig
index 0e8bb3f..4c1c9dc 100644
--- a/buildroot/configs/apf51mainline_defconfig
+++ b/buildroot/configs/apf51mainline_defconfig
@@ -78,9 +78,9 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nand-spl.imx"
BR2_TARGET_UBOOT_ENVIMAGE=y
diff --git a/buildroot/configs/apf51test_defconfig b/buildroot/configs/apf51test_defconfig
index 96c5d0b..58296ed 100644
--- a/buildroot/configs/apf51test_defconfig
+++ b/buildroot/configs/apf51test_defconfig
@@ -165,9 +165,9 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nand-spl.imx"
BR2_TARGET_UBOOT_ENVIMAGE=y
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-30 13:49:25
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via aa5eabc88eda6775837d3424c714c78c96c4ea30 (commit)
from dd553fac1d9ac8f685ceb02f7a7815371113f255 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit aa5eabc88eda6775837d3424c714c78c96c4ea30
Author: Sébastien Szymanski <seb...@ar...>
Date: Thu Mar 30 15:52:55 2017 +0200
[LINUX] 3.14.mx6_legacy: fix compilation
-----------------------------------------------------------------------
Summary of changes:
...-integrate-the-various-compiler-gcc-345-.patch} | 526 ++++++++-------------
.../0702-gpu-viv-fix-compilation.patch | 27 ++
2 files changed, 212 insertions(+), 341 deletions(-)
copy patches/linux/{3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch => 3.14.mx6_legacy/0701-compiler-gcc-integrate-the-various-compiler-gcc-345-.patch} (52%)
create mode 100644 patches/linux/3.14.mx6_legacy/0702-gpu-viv-fix-compilation.patch
diff --git a/patches/linux/3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch b/patches/linux/3.14.mx6_legacy/0701-compiler-gcc-integrate-the-various-compiler-gcc-345-.patch
similarity index 52%
copy from patches/linux/3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch
copy to patches/linux/3.14.mx6_legacy/0701-compiler-gcc-integrate-the-various-compiler-gcc-345-.patch
index 7148946..34e2d75 100644
--- a/patches/linux/3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch
+++ b/patches/linux/3.14.mx6_legacy/0701-compiler-gcc-integrate-the-various-compiler-gcc-345-.patch
@@ -1,11 +1,176 @@
-Sync include/linux/compiler-gcc* with upstream at:
+From 3711edaf01a01818f2aed9f21efe29b9818134b9 Mon Sep 17 00:00:00 2001
+From: Joe Perches <jo...@pe...>
+Date: Thu, 25 Jun 2015 15:01:02 -0700
+Subject: [PATCH] compiler-gcc: integrate the various compiler-gcc[345].h files
-8e8780a compiler-gcc.h: use "proved" instead of "proofed"
+commit f320793e52aee78f0fbb8bcaf10e6614d2e67bfc upstream.
-Signed-off-by: Sébastien Szymanski <seb...@ar...>
-Index: linux-3.19.8/include/linux/compiler-gcc3.h
-===================================================================
---- linux-3.19.8.orig/include/linux/compiler-gcc3.h
+[ Upstream commit cb984d101b30eb7478d32df56a0023e4603cba7f ]
+
+As gcc major version numbers are going to advance rather rapidly in the
+future, there's no real value in separate files for each compiler
+version.
+
+Deduplicate some of the macros #defined in each file too.
+
+Neaten comments using normal kernel commenting style.
+
+Signed-off-by: Joe Perches <jo...@pe...>
+Cc: Andi Kleen <an...@fi...>
+Cc: Michal Marek <mm...@su...>
+Cc: Segher Boessenkool <se...@ke...>
+Cc: Sasha Levin <lev...@gm...>
+Cc: Anton Blanchard <an...@sa...>
+Cc: Alan Modra <am...@gm...>
+Signed-off-by: Andrew Morton <ak...@li...>
+Signed-off-by: Linus Torvalds <tor...@li...>
+Signed-off-by: Sasha Levin <sas...@or...>
+Signed-off-by: Greg Kroah-Hartman <gr...@li...>
+---
+ include/linux/compiler-gcc.h | 120 ++++++++++++++++++++++++++++++++++++++++--
+ include/linux/compiler-gcc3.h | 23 --------
+ include/linux/compiler-gcc4.h | 88 -------------------------------
+ include/linux/compiler-gcc5.h | 66 -----------------------
+ 4 files changed, 116 insertions(+), 181 deletions(-)
+ delete mode 100644 include/linux/compiler-gcc3.h
+ delete mode 100644 include/linux/compiler-gcc4.h
+ delete mode 100644 include/linux/compiler-gcc5.h
+
+diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
+index 02ae99e..bb2cdcd 100644
+--- a/include/linux/compiler-gcc.h
++++ b/include/linux/compiler-gcc.h
+@@ -100,10 +100,122 @@
+ #define __maybe_unused __attribute__((unused))
+ #define __always_unused __attribute__((unused))
+
+-#define __gcc_header(x) #x
+-#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h)
+-#define gcc_header(x) _gcc_header(x)
+-#include gcc_header(__GNUC__)
++/* gcc version specific checks */
++
++#if GCC_VERSION < 30200
++# error Sorry, your compiler is too old - please upgrade it.
++#endif
++
++#if GCC_VERSION < 30300
++# define __used __attribute__((__unused__))
++#else
++# define __used __attribute__((__used__))
++#endif
++
++#ifdef CONFIG_GCOV_KERNEL
++# if GCC_VERSION < 30400
++# error "GCOV profiling support for gcc versions below 3.4 not included"
++# endif /* __GNUC_MINOR__ */
++#endif /* CONFIG_GCOV_KERNEL */
++
++#if GCC_VERSION >= 30400
++#define __must_check __attribute__((warn_unused_result))
++#endif
++
++#if GCC_VERSION >= 40000
++
++/* GCC 4.1.[01] miscompiles __weak */
++#ifdef __KERNEL__
++# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
++# error Your version of gcc miscompiles the __weak directive
++# endif
++#endif
++
++#define __used __attribute__((__used__))
++#define __compiler_offsetof(a, b) \
++ __builtin_offsetof(a, b)
++
++#if GCC_VERSION >= 40100 && GCC_VERSION < 40600
++# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
++#endif
++
++#if GCC_VERSION >= 40300
++/* Mark functions as cold. gcc will assume any path leading to a call
++ * to them will be unlikely. This means a lot of manual unlikely()s
++ * are unnecessary now for any paths leading to the usual suspects
++ * like BUG(), printk(), panic() etc. [but let's keep them for now for
++ * older compilers]
++ *
++ * Early snapshots of gcc 4.3 don't support this and we can't detect this
++ * in the preprocessor, but we can live with this because they're unreleased.
++ * Maketime probing would be overkill here.
++ *
++ * gcc also has a __attribute__((__hot__)) to move hot functions into
++ * a special section, but I don't see any sense in this right now in
++ * the kernel context
++ */
++#define __cold __attribute__((__cold__))
++
++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
++
++#ifndef __CHECKER__
++# define __compiletime_warning(message) __attribute__((warning(message)))
++# define __compiletime_error(message) __attribute__((error(message)))
++#endif /* __CHECKER__ */
++#endif /* GCC_VERSION >= 40300 */
++
++#if GCC_VERSION >= 40500
++/*
++ * Mark a position in code as unreachable. This can be used to
++ * suppress control flow warnings after asm blocks that transfer
++ * control elsewhere.
++ *
++ * Early snapshots of gcc 4.5 don't support this and we can't detect
++ * this in the preprocessor, but we can live with this because they're
++ * unreleased. Really, we need to have autoconf for the kernel.
++ */
++#define unreachable() __builtin_unreachable()
++
++/* Mark a function definition as prohibited from being cloned. */
++#define __noclone __attribute__((__noclone__))
++
++#endif /* GCC_VERSION >= 40500 */
++
++#if GCC_VERSION >= 40600
++/*
++ * Tell the optimizer that something else uses this function or variable.
++ */
++#define __visible __attribute__((externally_visible))
++#endif
++
++/*
++ * GCC 'asm goto' miscompiles certain code sequences:
++ *
++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
++ *
++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
++ *
++ * (asm goto is automatically volatile - the naming reflects this.)
++ */
++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
++
++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
++#if GCC_VERSION >= 40400
++#define __HAVE_BUILTIN_BSWAP32__
++#define __HAVE_BUILTIN_BSWAP64__
++#endif
++#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600)
++#define __HAVE_BUILTIN_BSWAP16__
++#endif
++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
++
++#if GCC_VERSION >= 50000
++#define KASAN_ABI_VERSION 4
++#elif GCC_VERSION >= 40902
++#define KASAN_ABI_VERSION 3
++#endif
++
++#endif /* gcc version >= 40000 specific checks */
+
+ #if !defined(__noclone)
+ #define __noclone /* not needed */
+diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h
+deleted file mode 100644
+index 7d89feb..0000000
+--- a/include/linux/compiler-gcc3.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __LINUX_COMPILER_H
@@ -31,11 +196,12 @@ Index: linux-3.19.8/include/linux/compiler-gcc3.h
-# error "GCOV profiling support for gcc versions below 3.4 not included"
-# endif /* __GNUC_MINOR__ */
-#endif /* CONFIG_GCOV_KERNEL */
-Index: linux-3.19.8/include/linux/compiler-gcc4.h
-===================================================================
---- linux-3.19.8.orig/include/linux/compiler-gcc4.h
+diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h
+deleted file mode 100644
+index 2507fd2..0000000
+--- a/include/linux/compiler-gcc4.h
+++ /dev/null
-@@ -1,87 +0,0 @@
+@@ -1,88 +0,0 @@
-#ifndef __LINUX_COMPILER_H
-#error "Please don't include <linux/compiler-gcc4.h> directly, include <linux/compiler.h> instead."
-#endif
@@ -109,6 +275,7 @@ Index: linux-3.19.8/include/linux/compiler-gcc4.h
- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
- *
- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
+- * Fixed in GCC 4.8.2 and later versions.
- *
- * (asm goto is automatically volatile - the naming reflects this.)
- */
@@ -123,11 +290,12 @@ Index: linux-3.19.8/include/linux/compiler-gcc4.h
-#define __HAVE_BUILTIN_BSWAP16__
-#endif
-#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
-Index: linux-3.19.8/include/linux/compiler-gcc5.h
-===================================================================
---- linux-3.19.8.orig/include/linux/compiler-gcc5.h
+diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
+deleted file mode 100644
+index cdd1cc2..0000000
+--- a/include/linux/compiler-gcc5.h
+++ /dev/null
-@@ -1,65 +0,0 @@
+@@ -1,66 +0,0 @@
-#ifndef __LINUX_COMPILER_H
-#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead."
-#endif
@@ -183,6 +351,7 @@ Index: linux-3.19.8/include/linux/compiler-gcc5.h
- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
- *
- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
+- * Fixed in GCC 4.8.2 and later versions.
- *
- * (asm goto is automatically volatile - the naming reflects this.)
- */
@@ -193,330 +362,5 @@ Index: linux-3.19.8/include/linux/compiler-gcc5.h
-#define __HAVE_BUILTIN_BSWAP64__
-#define __HAVE_BUILTIN_BSWAP16__
-#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
-Index: linux-3.19.8/include/linux/compiler-gcc.h
-===================================================================
---- linux-3.19.8.orig/include/linux/compiler-gcc.h
-+++ linux-3.19.8/include/linux/compiler-gcc.h
-@@ -5,14 +5,28 @@
- /*
- * Common definitions for all gcc versions go here.
- */
--#define GCC_VERSION (__GNUC__ * 10000 \
-- + __GNUC_MINOR__ * 100 \
-- + __GNUC_PATCHLEVEL__)
--
-+#define GCC_VERSION (__GNUC__ * 10000 \
-+ + __GNUC_MINOR__ * 100 \
-+ + __GNUC_PATCHLEVEL__)
-
- /* Optimization barrier */
-+
- /* The "volatile" is due to gcc bugs */
- #define barrier() __asm__ __volatile__("": : :"memory")
-+/*
-+ * This version is i.e. to prevent dead stores elimination on @ptr
-+ * where gcc and llvm may behave differently when otherwise using
-+ * normal barrier(): while gcc behavior gets along with a normal
-+ * barrier(), llvm needs an explicit input variable to be assumed
-+ * clobbered. The issue is as follows: while the inline asm might
-+ * access any memory it wants, the compiler could have fit all of
-+ * @ptr into memory registers instead, and since @ptr never escaped
-+ * from that, it proved that the inline asm wasn't touching any of
-+ * it. This version works well with both compilers, i.e. we're telling
-+ * the compiler that the inline asm absolutely may see the contents
-+ * of @ptr. See also: https://llvm.org/bugs/show_bug.cgi?id=15495
-+ */
-+#define barrier_data(ptr) __asm__ __volatile__("": :"r"(ptr) :"memory")
-
- /*
- * This macro obfuscates arithmetic on a variable address so that gcc
-@@ -32,54 +46,63 @@
- * the inline assembly constraint from =g to =r, in this particular
- * case either is valid.
- */
--#define RELOC_HIDE(ptr, off) \
-- ({ unsigned long __ptr; \
-- __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
-- (typeof(ptr)) (__ptr + (off)); })
-+#define RELOC_HIDE(ptr, off) \
-+({ \
-+ unsigned long __ptr; \
-+ __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
-+ (typeof(ptr)) (__ptr + (off)); \
-+})
-
- /* Make the optimizer believe the variable can be manipulated arbitrarily. */
--#define OPTIMIZER_HIDE_VAR(var) __asm__ ("" : "=r" (var) : "0" (var))
-+#define OPTIMIZER_HIDE_VAR(var) \
-+ __asm__ ("" : "=r" (var) : "0" (var))
-
- #ifdef __CHECKER__
--#define __must_be_array(arr) 0
-+#define __must_be_array(a) 0
- #else
- /* &a[0] degrades to a pointer: a different type from an array */
--#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
-+#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
- #endif
-
- /*
- * Force always-inline if the user requests it so via the .config,
- * or if gcc is too old:
- */
--#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
-+#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
- !defined(CONFIG_OPTIMIZE_INLINING) || (__GNUC__ < 4)
--# define inline inline __attribute__((always_inline)) notrace
--# define __inline__ __inline__ __attribute__((always_inline)) notrace
--# define __inline __inline __attribute__((always_inline)) notrace
-+#define inline inline __attribute__((always_inline)) notrace
-+#define __inline__ __inline__ __attribute__((always_inline)) notrace
-+#define __inline __inline __attribute__((always_inline)) notrace
- #else
- /* A lot of inline functions can cause havoc with function tracing */
--# define inline inline notrace
--# define __inline__ __inline__ notrace
--# define __inline __inline notrace
-+#define inline inline notrace
-+#define __inline__ __inline__ notrace
-+#define __inline __inline notrace
- #endif
-
--#define __deprecated __attribute__((deprecated))
--#define __packed __attribute__((packed))
--#define __weak __attribute__((weak))
-+#define __always_inline inline __attribute__((always_inline))
-+#define noinline __attribute__((noinline))
-+
-+#define __deprecated __attribute__((deprecated))
-+#define __packed __attribute__((packed))
-+#define __weak __attribute__((weak))
-+#define __alias(symbol) __attribute__((alias(#symbol)))
-
- /*
-- * it doesn't make sense on ARM (currently the only user of __naked) to trace
-- * naked functions because then mcount is called without stack and frame pointer
-- * being set up and there is no chance to restore the lr register to the value
-- * before mcount was called.
-+ * it doesn't make sense on ARM (currently the only user of __naked)
-+ * to trace naked functions because then mcount is called without
-+ * stack and frame pointer being set up and there is no chance to
-+ * restore the lr register to the value before mcount was called.
- *
-- * The asm() bodies of naked functions often depend on standard calling conventions,
-- * therefore they must be noinline and noclone. GCC 4.[56] currently fail to enforce
-- * this, so we must do so ourselves. See GCC PR44290.
-+ * The asm() bodies of naked functions often depend on standard calling
-+ * conventions, therefore they must be noinline and noclone.
-+ *
-+ * GCC 4.[56] currently fail to enforce this, so we must do so ourselves.
-+ * See GCC PR44290.
- */
--#define __naked __attribute__((naked)) noinline __noclone notrace
-+#define __naked __attribute__((naked)) noinline __noclone notrace
-
--#define __noreturn __attribute__((noreturn))
-+#define __noreturn __attribute__((noreturn))
-
- /*
- * From the GCC manual:
-@@ -91,28 +114,184 @@
- * would be.
- * [...]
- */
--#define __pure __attribute__((pure))
--#define __aligned(x) __attribute__((aligned(x)))
--#define __printf(a, b) __attribute__((format(printf, a, b)))
--#define __scanf(a, b) __attribute__((format(scanf, a, b)))
--#define noinline __attribute__((noinline))
--#define __attribute_const__ __attribute__((__const__))
--#define __maybe_unused __attribute__((unused))
--#define __always_unused __attribute__((unused))
--
--#define __gcc_header(x) #x
--#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h)
--#define gcc_header(x) _gcc_header(x)
--#include gcc_header(__GNUC__)
-+#define __pure __attribute__((pure))
-+#define __aligned(x) __attribute__((aligned(x)))
-+#define __printf(a, b) __attribute__((format(printf, a, b)))
-+#define __scanf(a, b) __attribute__((format(scanf, a, b)))
-+#define __attribute_const__ __attribute__((__const__))
-+#define __maybe_unused __attribute__((unused))
-+#define __always_unused __attribute__((unused))
-+
-+/* gcc version specific checks */
-+
-+#if GCC_VERSION < 30200
-+# error Sorry, your compiler is too old - please upgrade it.
-+#endif
-+
-+#if GCC_VERSION < 30300
-+# define __used __attribute__((__unused__))
-+#else
-+# define __used __attribute__((__used__))
-+#endif
-+
-+#ifdef CONFIG_GCOV_KERNEL
-+# if GCC_VERSION < 30400
-+# error "GCOV profiling support for gcc versions below 3.4 not included"
-+# endif /* __GNUC_MINOR__ */
-+#endif /* CONFIG_GCOV_KERNEL */
-+
-+#if GCC_VERSION >= 30400
-+#define __must_check __attribute__((warn_unused_result))
-+#define __malloc __attribute__((__malloc__))
-+#endif
-+
-+#if GCC_VERSION >= 40000
-+
-+/* GCC 4.1.[01] miscompiles __weak */
-+#ifdef __KERNEL__
-+# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
-+# error Your version of gcc miscompiles the __weak directive
-+# endif
-+#endif
-+
-+#define __used __attribute__((__used__))
-+#define __compiler_offsetof(a, b) \
-+ __builtin_offsetof(a, b)
-+
-+#if GCC_VERSION >= 40100
-+# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
-+#endif
-+
-+#if GCC_VERSION >= 40300
-+/* Mark functions as cold. gcc will assume any path leading to a call
-+ * to them will be unlikely. This means a lot of manual unlikely()s
-+ * are unnecessary now for any paths leading to the usual suspects
-+ * like BUG(), printk(), panic() etc. [but let's keep them for now for
-+ * older compilers]
-+ *
-+ * Early snapshots of gcc 4.3 don't support this and we can't detect this
-+ * in the preprocessor, but we can live with this because they're unreleased.
-+ * Maketime probing would be overkill here.
-+ *
-+ * gcc also has a __attribute__((__hot__)) to move hot functions into
-+ * a special section, but I don't see any sense in this right now in
-+ * the kernel context
-+ */
-+#define __cold __attribute__((__cold__))
-+
-+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
-+
-+#ifndef __CHECKER__
-+# define __compiletime_warning(message) __attribute__((warning(message)))
-+# define __compiletime_error(message) __attribute__((error(message)))
-+#endif /* __CHECKER__ */
-+#endif /* GCC_VERSION >= 40300 */
-+
-+#if GCC_VERSION >= 40500
-+
-+#ifndef __CHECKER__
-+#ifdef LATENT_ENTROPY_PLUGIN
-+#define __latent_entropy __attribute__((latent_entropy))
-+#endif
-+#endif
-+
-+/*
-+ * Mark a position in code as unreachable. This can be used to
-+ * suppress control flow warnings after asm blocks that transfer
-+ * control elsewhere.
-+ *
-+ * Early snapshots of gcc 4.5 don't support this and we can't detect
-+ * this in the preprocessor, but we can live with this because they're
-+ * unreleased. Really, we need to have autoconf for the kernel.
-+ */
-+#define unreachable() __builtin_unreachable()
-+
-+/* Mark a function definition as prohibited from being cloned. */
-+#define __noclone __attribute__((__noclone__, __optimize__("no-tracer")))
-+
-+#endif /* GCC_VERSION >= 40500 */
-+
-+#if GCC_VERSION >= 40600
-+/*
-+ * When used with Link Time Optimization, gcc can optimize away C functions or
-+ * variables which are referenced only from assembly code. __visible tells the
-+ * optimizer that something else uses this function or variable, thus preventing
-+ * this.
-+ */
-+#define __visible __attribute__((externally_visible))
-+#endif
-+
-+
-+#if GCC_VERSION >= 40900 && !defined(__CHECKER__)
-+/*
-+ * __assume_aligned(n, k): Tell the optimizer that the returned
-+ * pointer can be assumed to be k modulo n. The second argument is
-+ * optional (default 0), so we use a variadic macro to make the
-+ * shorthand.
-+ *
-+ * Beware: Do not apply this to functions which may return
-+ * ERR_PTRs. Also, it is probably unwise to apply it to functions
-+ * returning extra information in the low bits (but in that case the
-+ * compiler should see some alignment anyway, when the return value is
-+ * massaged by 'flags = ptr & 3; ptr &= ~3;').
-+ */
-+#define __assume_aligned(a, ...) __attribute__((__assume_aligned__(a, ## __VA_ARGS__)))
-+#endif
-+
-+/*
-+ * GCC 'asm goto' miscompiles certain code sequences:
-+ *
-+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
-+ *
-+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
-+ *
-+ * (asm goto is automatically volatile - the naming reflects this.)
-+ */
-+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
-+
-+/*
-+ * sparse (__CHECKER__) pretends to be gcc, but can't do constant
-+ * folding in __builtin_bswap*() (yet), so don't set these for it.
-+ */
-+#if defined(CONFIG_ARCH_USE_BUILTIN_BSWAP) && !defined(__CHECKER__)
-+#if GCC_VERSION >= 40400
-+#define __HAVE_BUILTIN_BSWAP32__
-+#define __HAVE_BUILTIN_BSWAP64__
-+#endif
-+#if GCC_VERSION >= 40800
-+#define __HAVE_BUILTIN_BSWAP16__
-+#endif
-+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP && !__CHECKER__ */
-+
-+#if GCC_VERSION >= 70000
-+#define KASAN_ABI_VERSION 5
-+#elif GCC_VERSION >= 50000
-+#define KASAN_ABI_VERSION 4
-+#elif GCC_VERSION >= 40902
-+#define KASAN_ABI_VERSION 3
-+#endif
-+
-+#if GCC_VERSION >= 40902
-+/*
-+ * Tell the compiler that address safety instrumentation (KASAN)
-+ * should not be applied to that function.
-+ * Conflicts with inlining: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67368
-+ */
-+#define __no_sanitize_address __attribute__((no_sanitize_address))
-+#endif
-+
-+#endif /* gcc version >= 40000 specific checks */
-
- #if !defined(__noclone)
- #define __noclone /* not needed */
- #endif
-
-+#if !defined(__no_sanitize_address)
-+#define __no_sanitize_address
-+#endif
-+
- /*
- * A trick to suppress uninitialized variable warning without generating any
- * code
- */
- #define uninitialized_var(x) x = x
--
--#define __always_inline inline __attribute__((always_inline))
+--
+2.7.3
diff --git a/patches/linux/3.14.mx6_legacy/0702-gpu-viv-fix-compilation.patch b/patches/linux/3.14.mx6_legacy/0702-gpu-viv-fix-compilation.patch
new file mode 100644
index 0000000..abf0f57
--- /dev/null
+++ b/patches/linux/3.14.mx6_legacy/0702-gpu-viv-fix-compilation.patch
@@ -0,0 +1,27 @@
+gc_hal_kernel_platform_imx6q14.c: fix if identation
+
+Otherwise gcc will fail with the following error:
+
+drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c: In function 'gckPLATFORM_AdjustParam':
+drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c:478:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
+ if(Args->physSize == 0)
+ ^~
+ drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c:481:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
+ return gcvSTATUS_OK;
+
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+Index: linux-imx_3.14.52_1.1.0_ga/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
+===================================================================
+--- linux-imx_3.14.52_1.1.0_ga.orig/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
++++ linux-imx_3.14.52_1.1.0_ga/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
+@@ -475,8 +475,8 @@ gckPLATFORM_AdjustParam(
+
+ Args->gpu3DMinClock = initgpu3DMinClock;
+
+- if(Args->physSize == 0)
+- Args->physSize = 0x80000000;
++ if(Args->physSize == 0)
++ Args->physSize = 0x80000000;
+
+ return gcvSTATUS_OK;
+ }
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2017-03-30 12:16:25
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via dd553fac1d9ac8f685ceb02f7a7815371113f255 (commit)
via 9aedf2f1ca41a4d4ae3a23451c797330dd183c03 (commit)
via c390fd660ee05efa882458ccde9a802cfdb74755 (commit)
from cc3257b0aa41a0820459f119cab7132b5fab9c9e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dd553fac1d9ac8f685ceb02f7a7815371113f255
Author: Eric Jarrige <eri...@ar...>
Date: Thu Mar 30 14:15:34 2017 +0200
[BUILDROOT] apf27: Bump to U-Boot 2017.01
commit 9aedf2f1ca41a4d4ae3a23451c797330dd183c03
Author: Eric Jarrige <eri...@ar...>
Date: Thu Mar 30 10:55:03 2017 +0200
[BUILDROOT][UBOOT] apf27: create symlink u-boot-with-spl.bin to support target upgrade from legacy U-Boot release
commit c390fd660ee05efa882458ccde9a802cfdb74755
Author: Eric Jarrige <eri...@ar...>
Date: Thu Mar 30 10:49:38 2017 +0200
[UBOOT] apf27: add U-Boot config to support mainline linux kernel
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf27_defconfig | 8 ++++----
buildroot/configs/apf27_webradio_defconfig | 8 ++++----
buildroot/configs/apf27mainline_defconfig | 8 ++++----
buildroot/configs/apf27preempt-rtmainline_defconfig | 8 ++++----
buildroot/configs/apf27test_defconfig | 8 ++++----
buildroot/configs/apf27xenomai_defconfig | 8 ++++----
buildroot/configs/apf27xenomaimainline_defconfig | 8 ++++----
buildroot/target/device/armadeus/Makefile.in | 4 +++-
.../{apf27-u-boot-2017.01.h => apf27mainline-u-boot-2017.01.h} | 3 ++-
9 files changed, 33 insertions(+), 30 deletions(-)
copy buildroot/target/device/armadeus/apf27/{apf27-u-boot-2017.01.h => apf27mainline-u-boot-2017.01.h} (99%)
diff --git a/buildroot/configs/apf27_defconfig b/buildroot/configs/apf27_defconfig
index 8f640e6..e7e1b98 100644
--- a/buildroot/configs/apf27_defconfig
+++ b/buildroot/configs/apf27_defconfig
@@ -80,11 +80,11 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nohab-spl.bin"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27_webradio_defconfig b/buildroot/configs/apf27_webradio_defconfig
index 830bcad..89f3594 100644
--- a/buildroot/configs/apf27_webradio_defconfig
+++ b/buildroot/configs/apf27_webradio_defconfig
@@ -84,11 +84,11 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nohab-spl.bin"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27mainline_defconfig b/buildroot/configs/apf27mainline_defconfig
index b4c6b50..04612ec 100644
--- a/buildroot/configs/apf27mainline_defconfig
+++ b/buildroot/configs/apf27mainline_defconfig
@@ -84,11 +84,11 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nohab-spl.bin"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27preempt-rtmainline_defconfig b/buildroot/configs/apf27preempt-rtmainline_defconfig
index 0a937ee..f1d7688 100644
--- a/buildroot/configs/apf27preempt-rtmainline_defconfig
+++ b/buildroot/configs/apf27preempt-rtmainline_defconfig
@@ -85,11 +85,11 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nohab-spl.bin"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27test_defconfig b/buildroot/configs/apf27test_defconfig
index 4f31761..21b11e9 100644
--- a/buildroot/configs/apf27test_defconfig
+++ b/buildroot/configs/apf27test_defconfig
@@ -162,11 +162,11 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nohab-spl.bin"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27xenomai_defconfig b/buildroot/configs/apf27xenomai_defconfig
index 7229415..9666f82 100644
--- a/buildroot/configs/apf27xenomai_defconfig
+++ b/buildroot/configs/apf27xenomai_defconfig
@@ -81,11 +81,11 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nohab-spl.bin"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27xenomaimainline_defconfig b/buildroot/configs/apf27xenomaimainline_defconfig
index 7f2c229..cb31585 100644
--- a/buildroot/configs/apf27xenomaimainline_defconfig
+++ b/buildroot/configs/apf27xenomaimainline_defconfig
@@ -82,11 +82,11 @@ BR2_TARGET_ROOTFS_UBI=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.01"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2017.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2017.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-nohab-spl.bin"
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/target/device/armadeus/Makefile.in b/buildroot/target/device/armadeus/Makefile.in
index 8019345..d6c5496 100644
--- a/buildroot/target/device/armadeus/Makefile.in
+++ b/buildroot/target/device/armadeus/Makefile.in
@@ -31,8 +31,10 @@ define UBOOT_POST_INSTALL_IMAGES_ACTION
for bin in $(UBOOT_BINS); do \
rm -f $(BINARIES_DIR)/$(BOARD_NAME)-$$bin; \
mv $(BINARIES_DIR)/$$bin $(BINARIES_DIR)/$(BOARD_NAME)-$$bin; \
- if [ "$$bin" == "u-boot-with-spl.bin" -o "$$bin" == "u-boot.sb" -o "$$bin" == "u-boot-with-nand-spl.imx" ]; then \
+ if [ "$$bin" == "u-boot-with-nohab-spl.bin" -o "$$bin" == "u-boot-with-spl.bin" -o "$$bin" == "u-boot.sb"\
+ -o "$$bin" == "u-boot-with-nand-spl.imx" ]; then \
ln -sf $(BINARIES_DIR)/$(BOARD_NAME)-$$bin $(BINARIES_DIR)/$(BOARD_NAME)-u-boot.bin ; \
+ ln -sf $(BINARIES_DIR)/$(BOARD_NAME)-$$bin $(BINARIES_DIR)/$(BOARD_NAME)-u-boot-with-spl.bin ; \
ln -sf $(BINARIES_DIR)/$(BOARD_NAME)-$$bin $(BINARIES_DIR)/$(BOARD_NAME)-u-boot-nand.bin ; \
fi \
done
diff --git a/buildroot/target/device/armadeus/apf27/apf27-u-boot-2017.01.h b/buildroot/target/device/armadeus/apf27/apf27mainline-u-boot-2017.01.h
similarity index 99%
copy from buildroot/target/device/armadeus/apf27/apf27-u-boot-2017.01.h
copy to buildroot/target/device/armadeus/apf27/apf27mainline-u-boot-2017.01.h
index 0155e6d..71ab847 100644
--- a/buildroot/target/device/armadeus/apf27/apf27-u-boot-2017.01.h
+++ b/buildroot/target/device/armadeus/apf27/apf27mainline-u-boot-2017.01.h
@@ -145,7 +145,7 @@
__stringify(CONFIG_BAUDRATE) " " MTDPARTS_DEFAULT \
" ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs "
-#define ACFG_CONSOLE_DEV ttySMX0
+#define ACFG_CONSOLE_DEV ttymxc0
#define CONFIG_BOOTCOMMAND "run ubifsboot"
#define CONFIG_SYS_AUTOLOAD "no"
/*
@@ -170,6 +170,7 @@
"kernel_addr=" __stringify(CONFIG_KERNEL_OFFSET) "\0" \
"rootfs_addr=" __stringify(CONFIG_ROOTFS_OFFSET) "\0" \
"board_name=" __stringify(CONFIG_BOARD_NAME) "\0" \
+ "fdt_addr_r=A1000000\0" \
"kernel_addr_r=A0000000\0" \
"check_env=if test -n ${flash_env_version}; " \
"then env default env_version; " \
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2017-03-29 09:27:12
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via cc3257b0aa41a0820459f119cab7132b5fab9c9e (commit)
from 59bdb6aaedaf356ceeda6a297bc2a63619f5d068 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cc3257b0aa41a0820459f119cab7132b5fab9c9e
Author: Eric Jarrige <eri...@ar...>
Date: Wed Mar 29 11:25:21 2017 +0200
[UBOOT] port patchwork to U-Boot 2017.01. Also refactor apf27 SPL
-----------------------------------------------------------------------
Summary of changes:
...f27-u-boot-2015.01.h => apf27-u-boot-2017.01.h} | 51 +-
...f28-u-boot-2015.01.h => apf28-u-boot-2017.01.h} | 20 -
...f51-u-boot-2015.01.h => apf51-u-boot-2017.01.h} | 102 +-
.../armadeus/apf9328/apf9328-u-boot-2017.01.h | 1021 ++++++++++++++++++++
...mand-env-param-compatibility-with-legacy-.patch | 11 +-
...-continuous-MMU-memory-mapping-beside-the.patch | 33 +-
...upport-tftp-direct-download-to-NAND-flash.patch | 53 +-
.../0005-arm926ejs-invalidate-icache-all.patch | 24 +
.../0100-apf9328-add-apf9328-in-Kconfig.patch | 14 +-
...ction-get_timer-to-adjust-frequency-accor.patch | 0
...-Add-i2c-registers-for-Freescale-imx1-L-S.patch | 10 +-
...pf9328-Add-Armadeus-Project-board-APF9328.patch | 180 ++--
...-PLL-freq-computation.-Improve-PLL-freq-c.patch | 2 +-
...-a-printf-in-speed.c-to-use-debug-instead.patch | 0
...0-change-some-printf-to-use-debug-instead.patch | 0
.../2017.01/0109-mx1-update-clock-interface.patch | 58 ++
patches/u-boot/2017.01/0110-uboot-mx1-serial.patch | 252 +++++
...ache-is-not-fully-flushed-during-the-boo.patch} | 17 +-
...apf27-refactoring-to-fix-SPL-boot-failure.patch | 361 +++++++
.../0302-mxc_nand.c-Support-nand-lock-unlock.patch | 4 +-
.../0303-spartan3-Fix-minor-issue.patch | 20 +-
.../0304-Add-apf27-imxfuse-command.patch | 10 +-
.../u-boot/{2015.01 => 2017.01}/0400-i.MX51.patch | 79 +-
.../u-boot/{2015.01 => 2017.01}/0401-apf51.patch | 61 +-
.../0402-apf51-add-apf51-in-Kconfig.patch | 12 +-
.../0403-Add-APF51-new-NAND-SPL.patch | 15 +-
.../0500-apf28-add-apf28-in-Kconfig.patch | 10 +-
.../0501-i.MX28-update-and-fix.patch | 15 +-
.../{2015.01 => 2017.01}/0502-add-APF28.patch | 57 +-
...3-APF28-workaround-for-RAM-size-detection.patch | 6 +-
.../{2015.01 => 2017.01}/0600-add-APF6.patch | 10 +-
...0602-APF6-in-bootstrap-don-t-use-env-vars.patch | 0
32 files changed, 2107 insertions(+), 401 deletions(-)
copy buildroot/target/device/armadeus/apf27/{apf27-u-boot-2015.01.h => apf27-u-boot-2017.01.h} (90%)
copy buildroot/target/device/armadeus/apf28/{apf28-u-boot-2015.01.h => apf28-u-boot-2017.01.h} (95%)
copy buildroot/target/device/armadeus/apf51/{apf51-u-boot-2015.01.h => apf51-u-boot-2017.01.h} (89%)
create mode 100644 buildroot/target/device/armadeus/apf9328/apf9328-u-boot-2017.01.h
copy patches/u-boot/{2015.01 => 2017.01}/0001-Restore-command-env-param-compatibility-with-legacy-.patch (71%)
copy patches/u-boot/{2015.01 => 2017.01}/0002-ARM-support-continuous-MMU-memory-mapping-beside-the.patch (80%)
copy patches/u-boot/{2015.01 => 2017.01}/0003-tftp-support-tftp-direct-download-to-NAND-flash.patch (83%)
create mode 100644 patches/u-boot/2017.01/0005-arm926ejs-invalidate-icache-all.patch
copy patches/u-boot/{2015.01 => 2017.01}/0100-apf9328-add-apf9328-in-Kconfig.patch (75%)
copy patches/u-boot/{2015.01 => 2017.01}/0101-mx1-Fix-function-get_timer-to-adjust-frequency-accor.patch (100%)
copy patches/u-boot/{2015.01 => 2017.01}/0102-Add-i2c-registers-for-Freescale-imx1-L-S.patch (81%)
copy patches/u-boot/{2015.01 => 2017.01}/0103-apf9328-Add-Armadeus-Project-board-APF9328.patch (89%)
copy patches/u-boot/{2015.01 => 2017.01}/0106-mx1-improve-PLL-freq-computation.-Improve-PLL-freq-c.patch (97%)
copy patches/u-boot/{2015.01 => 2017.01}/0107-mx1-change-a-printf-in-speed.c-to-use-debug-instead.patch (100%)
copy patches/u-boot/{2015.01 => 2017.01}/0108-DM9000-change-some-printf-to-use-debug-instead.patch (100%)
create mode 100644 patches/u-boot/2017.01/0109-mx1-update-clock-interface.patch
create mode 100644 patches/u-boot/2017.01/0110-uboot-mx1-serial.patch
copy patches/u-boot/{2015.01/0300-imx27-Dcache-is-not-correctly-flushed-during-the-boo.patch => 2017.01/0300-imx27-Dcache-is-not-fully-flushed-during-the-boo.patch} (60%)
create mode 100644 patches/u-boot/2017.01/0301-apf27-refactoring-to-fix-SPL-boot-failure.patch
copy patches/u-boot/{2015.01 => 2017.01}/0302-mxc_nand.c-Support-nand-lock-unlock.patch (96%)
copy patches/u-boot/{2015.01 => 2017.01}/0303-spartan3-Fix-minor-issue.patch (80%)
copy patches/u-boot/{2015.01 => 2017.01}/0304-Add-apf27-imxfuse-command.patch (98%)
copy patches/u-boot/{2015.01 => 2017.01}/0400-i.MX51.patch (92%)
copy patches/u-boot/{2015.01 => 2017.01}/0401-apf51.patch (95%)
copy patches/u-boot/{2015.01 => 2017.01}/0402-apf51-add-apf51-in-Kconfig.patch (77%)
copy patches/u-boot/{2015.01 => 2017.01}/0403-Add-APF51-new-NAND-SPL.patch (96%)
copy patches/u-boot/{2015.01 => 2017.01}/0500-apf28-add-apf28-in-Kconfig.patch (81%)
copy patches/u-boot/{2015.01 => 2017.01}/0501-i.MX28-update-and-fix.patch (84%)
copy patches/u-boot/{2015.01 => 2017.01}/0502-add-APF28.patch (96%)
copy patches/u-boot/{2015.01 => 2017.01}/0503-APF28-workaround-for-RAM-size-detection.patch (84%)
copy patches/u-boot/{2015.01 => 2017.01}/0600-add-APF6.patch (99%)
copy patches/u-boot/{2015.01 => 2017.01}/0602-APF6-in-bootstrap-don-t-use-env-vars.patch (100%)
diff --git a/buildroot/target/device/armadeus/apf27/apf27-u-boot-2015.01.h b/buildroot/target/device/armadeus/apf27/apf27-u-boot-2017.01.h
similarity index 90%
copy from buildroot/target/device/armadeus/apf27/apf27-u-boot-2015.01.h
copy to buildroot/target/device/armadeus/apf27/apf27-u-boot-2017.01.h
index 3e86391..0155e6d 100644
--- a/buildroot/target/device/armadeus/apf27/apf27-u-boot-2015.01.h
+++ b/buildroot/target/device/armadeus/apf27/apf27-u-boot-2017.01.h
@@ -2,7 +2,7 @@
*
* Configuration settings for the Armadeus Project motherboard APF27
*
- * Copyright (C) 2008-2014 Eric Jarrige <eri...@ar...>
+ * Copyright (C) 2008-2016 Eric Jarrige <eri...@ar...>
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -10,39 +10,30 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_VERSION_VARIABLE
#define CONFIG_ENV_VERSION 12
-#define CONFIG_IDENT_STRING " apf27 patch 3.20"
-#define CONFIG_BOARD_NAME apf27
+#define CONFIG_BOARD_NAME apf27
/*
* SoC configurations
*/
#define CONFIG_MX27 /* This is a Freescale i.MX27 Chip */
#define CONFIG_MACH_TYPE 1698 /* APF27 */
-#define CONFIG_SYS_GENERIC_BOARD
/*
* Enable the call to miscellaneous platform dependent initialization.
*/
-#define CONFIG_SYS_NO_FLASH /* to be define before <config_cmd_default.h> */
-
-/*
- * Board display option
- */
-#define CONFIG_DISPLAY_BOARDINFO
-#define CONFIG_DISPLAY_CPUINFO
+#define CONFIG_SYS_NO_FLASH
/*
* SPL
*/
-#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
+#define CONFIG_SPL_TARGET "u-boot-with-nohab-spl.bin"
#define CONFIG_SPL_LDSCRIPT "arch/$(ARCH)/cpu/u-boot-spl.lds"
-#define CONFIG_SPL_MAX_SIZE 2048
-#define CONFIG_SPL_TEXT_BASE 0xA0000000
+#define CONFIG_SPL_MAX_SIZE 0x800
+#define CONFIG_SPL_TEXT_BASE 0xFFFF4C00
+#define CONFIG_SPL_STACK 0xFFFFF800
/* NAND boot config */
-#define CONFIG_SPL_NAND_SUPPORT
#define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x800
#define CONFIG_SYS_NAND_U_BOOT_DST CONFIG_SYS_TEXT_BASE
@@ -65,31 +56,15 @@
/*
* U-Boot Commands
*/
-#include <config_cmd_default.h>
-
-#define CONFIG_CMD_ASKENV /* ask for env variable */
#define CONFIG_CMD_BSP /* Board Specific functions */
-#define CONFIG_CMD_CACHE /* icache, dcache */
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_DHCP /* DHCP Support */
-#define CONFIG_CMD_DNS
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT /* FAT support */
-#define CONFIG_CMD_FPGA
#define CONFIG_CMD_FPGA_LOADMK
#define CONFIG_CMD_IMX_FUSE /* imx iim fuse */
-#define CONFIG_CMD_I2C
-#define CONFIG_CMD_MII /* MII support */
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_MTDPARTS /* MTD partition support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_NAND_LOCK_UNLOCK
#define CONFIG_CMD_NAND_TRIMFFS
-#define CONFIG_CMD_NFS /* NFS support */
-#define CONFIG_CMD_PING /* ping support */
-#define CONFIG_CMD_SETEXPR /* setexpr support */
-#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
/*
@@ -145,7 +120,6 @@
* U-Boot general configurations
*/
#define CONFIG_SYS_LONGHELP
-#define CONFIG_SYS_PROMPT "BIOS> " /* prompt string */
#define CONFIG_SYS_CBSIZE 2048 /* console I/O buffer */
#define CONFIG_SYS_PBSIZE \
(CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
@@ -155,13 +129,10 @@
/* Boot argument buffer size */
#define CONFIG_AUTO_COMPLETE
#define CONFIG_CMDLINE_EDITING
-#define CONFIG_SYS_HUSH_PARSER /* enable the "hush" shell */
-#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " /* secondary prompt string */
#define CONFIG_ENV_VARS_UBOOT_CONFIG
#define CONFIG_PREBOOT "run check_flash checknload_firmware " \
"check_env ;"
-
/*
* Boot Linux
*/
@@ -169,10 +140,6 @@
#define CONFIG_SETUP_MEMORY_TAGS /* send memory definition to kernel */
#define CONFIG_INITRD_TAG /* send initrd params */
-#define CONFIG_OF_LIBFDT
-
-#define CONFIG_BOOTDELAY 5
-#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_BOOTFILE __stringify(CONFIG_BOARD_NAME) "-linux.bin"
#define CONFIG_BOOTARGS "console=" __stringify(ACFG_CONSOLE_DEV) "," \
__stringify(CONFIG_BAUDRATE) " " MTDPARTS_DEFAULT \
@@ -353,7 +320,6 @@
#define CONFIG_SYS_NAND_BAD_BLOCK_POS 11
#define NAND_MAX_CHIPS 1
-
#define CONFIG_SYS_DIRECT_FLASH_TFTP
#define CONFIG_FLASH_SHOW_PROGRESS 45
#define CONFIG_SYS_NAND_QUIET 1
@@ -412,6 +378,8 @@
#ifdef CONFIG_CMD_I2C
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MXC
+#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
+#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
#define CONFIG_SYS_MXC_I2C1_SPEED 100000 /* 100 kHz */
#define CONFIG_SYS_MXC_I2C1_SLAVE 0x7F
#define CONFIG_SYS_MXC_I2C2_SPEED 100000 /* 100 kHz */
@@ -430,7 +398,6 @@
* SD/MMC
*/
#ifdef CONFIG_CMD_MMC
-#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_MXC_MMC
#define CONFIG_MXC_MCI_REGS_BASE 0x10014000
diff --git a/buildroot/target/device/armadeus/apf28/apf28-u-boot-2015.01.h b/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
similarity index 95%
copy from buildroot/target/device/armadeus/apf28/apf28-u-boot-2015.01.h
copy to buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
index 610fb56..343fc15 100644
--- a/buildroot/target/device/armadeus/apf28/apf28-u-boot-2015.01.h
+++ b/buildroot/target/device/armadeus/apf28/apf28-u-boot-2017.01.h
@@ -8,7 +8,6 @@
#define __CONFIG_H
#define CONFIG_ENV_VERSION 11
-#define CONFIG_IDENT_STRING " apf28 patch 1.5"
#define CONFIG_BOARD_NAME apf28
#define CONFIG_SYS_GENERIC_BOARD
@@ -26,7 +25,6 @@
/*
* Board display option
*/
-#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
/*
@@ -76,34 +74,18 @@
/*
* U-Boot Commands
*/
-#include <config_cmd_default.h>
-
#define CONFIG_CMD_ASKENV /* ask for env variable */
#define CONFIG_CMD_BSP /* Board Specific functions */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_DHCP
#define CONFIG_CMD_DNS
#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_GPIO
#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_I2C
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
-#define CONFIG_CMD_NFS
-#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
-#define CONFIG_CMD_SPI
-#define CONFIG_CMD_USB
-#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
-#define CONFIG_REGEX /* Enable regular expression support */
-
/*
* Memory configurations
*/
@@ -150,7 +132,6 @@
/*
* U-Boot general configurations
*/
-#define CONFIG_SYS_PROMPT "BIOS> "
#define CONFIG_ENV_VARS_UBOOT_CONFIG
#define CONFIG_PREBOOT "run check_flash check_env;"
@@ -373,7 +354,6 @@
*/
#ifdef CONFIG_CMD_USB
#define CONFIG_EHCI_MXS_PORT1
-#define CONFIG_USB_STORAGE
#endif
/* The rest of the configuration is shared */
diff --git a/buildroot/target/device/armadeus/apf51/apf51-u-boot-2015.01.h b/buildroot/target/device/armadeus/apf51/apf51-u-boot-2017.01.h
similarity index 89%
copy from buildroot/target/device/armadeus/apf51/apf51-u-boot-2015.01.h
copy to buildroot/target/device/armadeus/apf51/apf51-u-boot-2017.01.h
index 27fffa3..eaa7a3c 100644
--- a/buildroot/target/device/armadeus/apf51/apf51-u-boot-2015.01.h
+++ b/buildroot/target/device/armadeus/apf51/apf51-u-boot-2017.01.h
@@ -7,9 +7,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_VERSION_VARIABLE
#define CONFIG_ENV_VERSION 11
-#define CONFIG_IDENT_STRING " apf51 patch 2.3"
#define CONFIG_BOARD_NAME apf51
/*
@@ -26,18 +24,12 @@
#define CONFIG_BOARD_EARLY_INIT_F
/*
- * Board display option
- */
-#define CONFIG_DISPLAY_BOARDINFO
-#define CONFIG_DISPLAY_CPUINFO
-
-/*
* SPL
*/
#define CONFIG_SPL_FRAMEWORK
#define CONFIG_SPL_BOARD_INIT
#define CONFIG_SPL_TARGET "u-boot-with-nand-spl.imx"
-#define CONFIG_SPL_MAX_SIZE 0x4000 /* can be extended to 128kiB */
+#define CONFIG_SPL_MAX_SIZE 0x8000 /* can be extended to 128kiB */
/* CONFIG_SPL_TEXT_BASE -> IRAM start address available for SPL :
* - 0x1FFE0000 IRAM base address
* - 0x00002000 IRAM space reserved for IPL
@@ -79,30 +71,13 @@
/*
* U-Boot Commands
*/
-#include <config_cmd_default.h>
-
-#define CONFIG_CMD_ASKENV /* ask for env variable */
#define CONFIG_CMD_BSP /* Board Specific functions */
-#define CONFIG_CMD_CACHE /* icache, dcache */
/*#define CONFIG_CMD_DATE*/
-#define CONFIG_CMD_DHCP /* DHCP Support */
-#define CONFIG_CMD_DNS
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT /* FAT support */
-#define CONFIG_CMD_FPGA
#define CONFIG_CMD_FPGA_LOADMK
#define CONFIG_CMD_FUSE
-#define CONFIG_CMD_I2C /* I2C serial bus support */
-#define CONFIG_CMD_MII /* MII support */
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_MTDPARTS /* MTD partition support */
-#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_NAND_LOCK_UNLOCK
#define CONFIG_CMD_NAND_TRIMFFS
-#define CONFIG_CMD_NFS /* NFS support */
-#define CONFIG_CMD_PING /* ping support */
-#define CONFIG_CMD_SETEXPR /* setexpr support */
-#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
/*
@@ -126,12 +101,12 @@
#define CONFIG_SYS_INIT_SP_ADDR \
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
-#define CONFIG_SYS_TEXT_BASE 0x90004040
+#define CONFIG_SYS_TEXT_BASE 0x90008040
/*
* FLASH organization
*/
-#define CONFIG_SYS_MONITOR_OFFSET 0x00000000 /* offset in NAND */
+#define ACFG_SYS_MONITOR_OFFSET 0x00000000 /* offset in NAND */
#define CONFIG_SYS_MONITOR_LEN 0x00100000 /* 1MB */
#define CONFIG_ENV_IS_IN_NAND
#define CONFIG_ENV_OVERWRITE
@@ -162,7 +137,6 @@
* U-Boot general configurations
*/
#define CONFIG_SYS_LONGHELP
-#define CONFIG_SYS_PROMPT "BIOS> " /* prompt string */
#define CONFIG_SYS_CBSIZE 2048 /* console I/O buffer */
#define CONFIG_SYS_PBSIZE \
(CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
@@ -172,8 +146,6 @@
/* Boot argument buffer size */
#define CONFIG_AUTO_COMPLETE
#define CONFIG_CMDLINE_EDITING
-#define CONFIG_SYS_HUSH_PARSER /* enable the "hush" shell */
-#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " /* secondary prompt string */
#define CONFIG_ENV_VARS_UBOOT_CONFIG
#define CONFIG_PREBOOT "run check_flash checknload_firmware " \
"check_env ;"
@@ -186,10 +158,7 @@
#define CONFIG_INITRD_TAG /* send initrd params */
#define CONFIG_REVISION_TAG
-#define CONFIG_OF_LIBFDT
-#define CONFIG_BOOTDELAY 5
-#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_BOOTFILE __stringify(CONFIG_BOARD_NAME) "-linux.bin"
#define CONFIG_BOOTARGS "console=" __stringify(ACFG_CONSOLE_DEV) "," \
__stringify(CONFIG_BAUDRATE) " " MTDPARTS_DEFAULT \
@@ -213,7 +182,7 @@
"consoledev=" __stringify(ACFG_CONSOLE_DEV) "\0" \
"mtdparts=" MTDPARTS_DEFAULT "\0" \
"partition=nand0,7\0" \
- "uboot_addr=" __stringify(CONFIG_SYS_MONITOR_OFFSET) "\0" \
+ "uboot_addr=" __stringify(ACFG_SYS_MONITOR_OFFSET) "\0" \
"env_addr=" __stringify(CONFIG_ENV_OFFSET) "\0" \
"firmware_addr=" __stringify(CONFIG_FIRMWARE_OFFSET) "\0" \
"firmware_size=" __stringify(CONFIG_FIRMWARE_SIZE) "\0" \
@@ -398,7 +367,7 @@
*/
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE FEC_BASE_ADDR
-#define CONFIG_SYS_PHY_RESET_GPIO IMX_GPIO_NR(3, 0)
+#define ACFG_SYS_PHY_RESET_GPIO IMX_GPIO_NR(3, 0)
#define CONFIG_FEC_MXC_PHYADDR 0x02
#define CONFIG_MII
@@ -446,9 +415,9 @@
#ifdef CONFIG_CMD_I2C
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MXC
+#define CONFIG_SYS_I2C_MXC_I2C2
#define CONFIG_SYS_MXC_I2C2_SPEED 400000
#define CONFIG_SYS_MXC_I2C2_SLAVE 0xfe
-#define CONFIG_SYS_SPD_BUS_NUM 1 /* hack to force bus 1 by default */
#endif /* CONFIG_CMD_I2C */
/*
@@ -461,7 +430,7 @@
#ifdef CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR MMC_SDHC1_BASE_ADDR
-#define CONFIG_MMC
+/*#define CONFIG_MMC*/
#define CONFIG_GENERIC_MMC
#endif
@@ -483,7 +452,6 @@
*/
#define CONFIG_SYS_MX5_CLK32 32768
#define CONFIG_SYS_MX5_HCLK 1024*CONFIG_SYS_MX5_CLK32
-#define CONFIG_MX51_PLL_ERRATA
/* external bus frequencies */
#define APF_DDR_CLK 200 /* MHZ DDR frequency from PLL1 */
@@ -765,10 +733,10 @@
/* CCM Configuration */
-#define CONFIG_SYS_PLL_DP_CTL 0x00001332 /* use fpm_clk */
-#define CONFIG_SYS_CLKCTL_CCMR 0x00001FFF
-#define CONFIG_SYS_CLKCTL_CSR 0x0000003E
-#define CONFIG_SYS_CLKCTL_CCSR 0x00000200
+#define ACFG_SYS_PLL_DP_CTL 0x00001332 /* use fpm_clk */
+#define ACFG_SYS_CLKCTL_CCMR 0x00001FFF
+#define ACFG_SYS_CLKCTL_CSR 0x0000003E
+#define ACFG_SYS_CLKCTL_CCSR 0x00000200
#define CCBDR_MASK 0x40000000
@@ -786,11 +754,11 @@
/((ACFG_PLL2_CLK/APF_PERCLK)/8+1))-1)&0x07)<<0)\
)
-#define CONFIG_SYS_CLKTL_CBCMR 0x000020C0
+#define ACFG_SYS_CLKTL_CBCMR 0x000020C0
-#define CONFIG_SYS_CLKTL_CBCMR1 0xA5A2A020
+#define ACFG_SYS_CLKTL_CBCMR1 0xA5A2A020
-#define CONFIG_SYS_CLKTL_CSCDR1\
+#define ACFG_SYS_CLKTL_CSCDR1\
(0x0 \
|((((ACFG_PLL3_CLK/APF_ESDHC_CLK)/8)&0x07)<<19) \
|(((((ACFG_PLL3_CLK/APF_ESDHC_CLK) \
@@ -808,27 +776,27 @@
)
/* clock cycle time with x2 for a 0.5ns accuracy */
-#define CONFIG_SYS_2XDDRCLK_LGTH (2000/APF_DDR_CLK) /* ns */
+#define ACFG_SYS_2XDDRCLK_LGTH (2000/APF_DDR_CLK) /* ns */
#define ACFG_SDRAM_ESDMISC_REGISTER_VAL 0x000a5080
-#if ((2*ACFG_SDRAM_RC_DELAY) > (16*CONFIG_SYS_2XDDRCLK_LGTH))
+#if ((2*ACFG_SDRAM_RC_DELAY) > (16*ACFG_SYS_2XDDRCLK_LGTH))
#define REG_FIELD_RC_VAL 0
#else
#define REG_FIELD_RC_VAL \
- (((2*ACFG_SDRAM_RC_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1) \
- /CONFIG_SYS_2XDDRCLK_LGTH)-1)
+ (((2*ACFG_SDRAM_RC_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1) \
+ /ACFG_SYS_2XDDRCLK_LGTH)-1)
#endif
-#if ((2*ACFG_SDRAM_RFC_DELAY) > (25*CONFIG_SYS_2XDDRCLK_LGTH))
+#if ((2*ACFG_SDRAM_RFC_DELAY) > (25*ACFG_SYS_2XDDRCLK_LGTH))
#define REG_FIELD_RFC_VAL \
- (((2*ACFG_SDRAM_RFC_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1) \
- /CONFIG_SYS_2XDDRCLK_LGTH/2)-10)
+ (((2*ACFG_SDRAM_RFC_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1) \
+ /ACFG_SYS_2XDDRCLK_LGTH/2)-10)
#define REG_FIELD_ESDCTL_PAT 0x80820000
#else
#define REG_FIELD_RFC_VAL \
- (((2*ACFG_SDRAM_RFC_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1) \
- /CONFIG_SYS_2XDDRCLK_LGTH)-10)
+ (((2*ACFG_SDRAM_RFC_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1) \
+ /ACFG_SYS_2XDDRCLK_LGTH)-10)
#define REG_FIELD_ESDCTL_PAT 0x80020000
#endif
@@ -840,21 +808,21 @@
#define ACFG_SDRAM_ESDCFG_REGISTER_VAL (0x00000000\
| ((REG_FIELD_RFC_VAL&0x0F)<<28)\
- | (((((2*ACFG_SDRAM_XSR_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1)\
- /CONFIG_SYS_2XDDRCLK_LGTH)-25)&0x0F)<<24)\
- | (((((2*ACFG_SDRAM_EXIT_PWD+CONFIG_SYS_2XDDRCLK_LGTH-1)\
- /CONFIG_SYS_2XDDRCLK_LGTH)-1)&0x7)<<20)\
+ | (((((2*ACFG_SDRAM_XSR_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1)\
+ /ACFG_SYS_2XDDRCLK_LGTH)-25)&0x0F)<<24)\
+ | (((((2*ACFG_SDRAM_EXIT_PWD+ACFG_SYS_2XDDRCLK_LGTH-1)\
+ /ACFG_SYS_2XDDRCLK_LGTH)-1)&0x7)<<20)\
| ((ACFG_SDRAM_W2R_DELAY)<<20)\
- | (((((2*ACFG_SDRAM_ROW_PRECHARGE_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1)\
- /CONFIG_SYS_2XDDRCLK_LGTH)-2)&0x3)<<18)\
+ | (((((2*ACFG_SDRAM_ROW_PRECHARGE_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1)\
+ /ACFG_SYS_2XDDRCLK_LGTH)-2)&0x3)<<18)\
| (((ACFG_SDRAM_TMRD_DELAY-1)&0x3)<<16)\
- | (((((2*ACFG_SDRAM_RAS_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1)\
- /CONFIG_SYS_2XDDRCLK_LGTH)-1)&0x0F)<<12)\
- | (((((2*ACFG_SDRAM_RRD_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1)\
- /CONFIG_SYS_2XDDRCLK_LGTH)-1)&0x3)<<10)\
+ | (((((2*ACFG_SDRAM_RAS_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1)\
+ /ACFG_SYS_2XDDRCLK_LGTH)-1)&0x0F)<<12)\
+ | (((((2*ACFG_SDRAM_RRD_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1)\
+ /ACFG_SYS_2XDDRCLK_LGTH)-1)&0x3)<<10)\
| (((ACFG_SDRAM_TWR_DELAY)&0x1)<<7)\
- | (((((2*ACFG_SDRAM_RCD_DELAY+CONFIG_SYS_2XDDRCLK_LGTH-1)\
- /CONFIG_SYS_2XDDRCLK_LGTH)-1)&0x7)<<4)\
+ | (((((2*ACFG_SDRAM_RCD_DELAY+ACFG_SYS_2XDDRCLK_LGTH-1)\
+ /ACFG_SYS_2XDDRCLK_LGTH)-1)&0x7)<<4)\
| (((REG_FIELD_RC_VAL)&0x0F)<<0))
#endif /* __CONFIG_H */
diff --git a/buildroot/target/device/armadeus/apf9328/apf9328-u-boot-2017.01.h b/buildroot/target/device/armadeus/apf9328/apf9328-u-boot-2017.01.h
new file mode 100644
index 0000000..7c209d4
--- /dev/null
+++ b/buildroot/target/device/armadeus/apf9328/apf9328-u-boot-2017.01.h
@@ -0,0 +1,1021 @@
+/*
+ * Copyright (C) 2005-2014 Eric Jarrige <eri...@ar...>
+ *
+ * SPDX-License-Identifier:Â Â Â Â Â GPL-2.0+
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define CONFIG_ENV_VERSION 11
+#define CONFIG_BOARD_NAME apf9328
+
+/*
+ * SoC configurations
+ */
+/*#define CONFIG_ARM920T*/ /* this is an ARM920T CPU */
+#define CONFIG_IMX /* in a Motorola MC9328MXL Chip */
+#define CONFIG_MACH_TYPE 906 /* APF9328 */
+
+/*
+ * Enable the call to miscellaneous platform dependent initialization.
+ */
+#define CONFIG_SYS_DCACHE_OFF
+
+/*
+ * Board display option
+ */
+#undef CONFIG_DISPLAY_BOARDINFO
+#undef CONFIG_DISPLAY_CPUINFO
+
+/*
+ * SPL - APF9328 does not need SPL
+ */
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS
+#define CONFIG_BOOTP_DNS2
+
+#define CONFIG_HOSTNAME CONFIG_BOARD_NAME
+#define CONFIG_ROOTPATH "/tftpboot/" __stringify(CONFIG_BOARD_NAME) "-root"
+
+/*
+ * U-Boot Commands
+ */
+#define CONFIG_CMD_BSP /* Board Specific functions */
+#define CONFIG_CMD_DATE /* support for RTC, date/time.. */
+#define CONFIG_CMD_DNS
+#define CONFIG_CMD_EEPROM /* EEPROM read/write support */
+#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
+#define CONFIG_CMD_MTDPARTS /* MTD partition support */
+#define CONFIG_CMD_PING /* ping support */
+
+
+/*
+ * Memory configurations
+ */
+#define CONFIG_NR_DRAM_BANKS 1
+
+#define ACFG_SYS_SDRAM_MBYTE_SYZE 16
+
+#define PHYS_SDRAM_1 0x08000000 /* SDRAM bank #1 32bits */
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
+
+#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128<<10))
+#define CONFIG_SYS_MEMTEST_START 0x08000000 /* memtest test area */
+#define CONFIG_SYS_MEMTEST_END 0x08700000
+
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE \
+ + PHYS_SDRAM_1_SIZE - 0x0100000)
+
+/* lowlevel_linit copy U-Boot at CONFIG_SYS_INIT_SP_ADDR (here in RAM) */
+/* making u-boot runnable from flash and also RAM that is usefull to boot */
+/* from serial port and from flash with only one version of U-Boot */
+#define CONFIG_SYS_TEXT_BASE 0x08000000
+
+/*
+ * FLASH organization
+ */
+#define CONFIG_SYS_MONITOR_BASE 0x10000000
+#define CONFIG_SYS_MONITOR_LEN 0x00040000 /* 256kB ( 2 flash sector ) */
+#define CONFIG_ENV_IS_IN_FLASH
+#define CONFIG_ENV_OVERWRITE
+#define CONFIG_ENV_ADDR 0x10040000 /* absolute address for now */
+#define CONFIG_ENV_SIZE 0x00020000
+#define CONFIG_ENV_SECT_SIZE 0x00020000
+#define CONFIG_ENV_ADDR_REDUND \
+ (CONFIG_ENV_ADDR + CONFIG_ENV_SIZE) /* +128kB */
+#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE /* 128kB */
+#define ACFG_FIRMWARE_ADDR 0x10080000
+#define ACFG_FIRMWARE_SIZE 0x00040000 /* 256kB ( 2 flash sector ) */
+#define ACFG_KERNEL_ADDR 0x100C0000
+#define ACFG_ROOTFS_ADDR 0x102C0000
+
+#define CONFIG_MTD_DEVICE
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_MTDMAP "physmap-flash.0"
+#define MTDIDS_DEFAULT "nor0=" CONFIG_MTDMAP
+#define MTDPARTS_DEFAULT "mtdparts=" CONFIG_MTDMAP \
+ ":256k(u-boot)ro," \
+ "128k(env)," \
+ "128k(env2)," \
+ "256k(firmware)," \
+ "2048k(kernel)," \
+ "-(rootfs)"
+
+/*
+ * U-Boot general configurations
+ */
+#define CONFIG_SYS_LONGHELP
+#define CONFIG_SYS_CBSIZE 2048 /* console I/O buffer*/
+#define CONFIG_SYS_PBSIZE \
+ (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
+ /* Print buffer size */
+#define CONFIG_SYS_MAXARGS 16 /* max command args */
+#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
+ /* Boot argument buffer size */
+#define CONFIG_AUTO_COMPLETE
+#define CONFIG_CMDLINE_EDITING
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
+#define CONFIG_PREBOOT "run check_flash checknload_firmware " \
+ "check_env;"
+
+/*
+ * Boot Linux
+ */
+#define CONFIG_CMDLINE_TAG /* send commandline to Kernel */
+#define CONFIG_SETUP_MEMORY_TAGS /* send memory definition to kernel */
+#define CONFIG_INITRD_TAG /* send initrd params */
+/*
+#define CONFIG_REVISION_TAG
+#define CONFIG_OF_LIBFDT
+*/
+#define CONFIG_BOOTFILE __stringify(CONFIG_BOARD_NAME) "-linux.bin"
+#define CONFIG_BOOTARGS "console=" __stringify(ACFG_CONSOLE_DEV) "," \
+ __stringify(CONFIG_BAUDRATE) " " MTDPARTS_DEFAULT \
+ " root=/dev/mtdblock5 rootfstype=jffs2 "
+
+#define ACFG_CONSOLE_DEV ttySMX0
+#define CONFIG_BOOTCOMMAND "run jffsboot"
+#define CONFIG_SYS_AUTOLOAD "no"
+/*
+ * Default load address for user/standalone programs and kernel
+ */
+#define CONFIG_LOADADDR 0x08000000
+#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
+#define CONFIG_STANDALONE_LOAD_ADDR CONFIG_LOADADDR
+
+/*
+ * Extra Environments
+ */
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "env_version=" __stringify(CONFIG_ENV_VERSION) "\0" \
+ "consoledev=" __stringify(ACFG_CONSOLE_DEV) "\0" \
+ "mtdparts=" MTDPARTS_DEFAULT "\0" \
+ "partition=nor0,5\0" \
+ "uboot_addr=" __stringify(CONFIG_SYS_MONITOR_BASE) "\0" \
+ "env_addr=" __stringify(CONFIG_ENV_ADDR) "\0" \
+ "firmware_addr=" __stringify(ACFG_FIRMWARE_ADDR) "\0" \
+ "firmware_size=" __stringify(ACFG_FIRMWARE_SIZE) "\0" \
+ "kernel_addr=" __stringify(ACFG_KERNEL_ADDR) "\0" \
+ "rootfs_addr=" __stringify(ACFG_ROOTFS_ADDR) "\0" \
+ "board_name=" __stringify(CONFIG_BOARD_NAME) "\0" \
+ "check_env=if test -n ${flash_env_version}; " \
+ "then env default env_version; " \
+ "else env set flash_env_version ${env_version}; env save; "\
+ "fi; " \
+ "if itest ${flash_env_version} != ${env_version}; then " \
+ "echo \"*** Warning - Environment version" \
+ " change suggests: run flash_reset_env; reset\"; "\
+ "env default flash_reset_env; " \
+ "else exit; fi; \0" \
+ "check_flash=protect on nor0,0;\0" \
+ "flash_reset_env=env default -f -a && saveenv &&" \
+ "echo Flash environment variables erased!\0" \
+ "download_uboot=tftpboot ${loadaddr} ${board_name}-u-boot.bin\0"\
+ "flash_uboot=protect off nor0,0;" \
+ "echo Erasing FLASH;" \
+ "era nor0,0;" \
+ "if cp.b ${fileaddr} ${uboot_addr} ${filesize};" \
+ "then protect on nor0,0;" \
+ "echo Flashing of uboot succeed;" \
+ "else echo Flashing of uboot failed;" \
+ "fi; \0" \
+ "update_uboot=run download_uboot flash_uboot\0" \
+ "download_env=tftpboot ${loadaddr} ${board_name}" \
+ "-u-boot-env.txt\0" \
+ "flash_env=env import -t ${loadaddr} && env save; \0" \
+ "update_env=run download_env flash_env\0" \
+ "download_firmware=tftpboot ${loadaddr} ${board_name}-firmware.bin\0"\
+ "flash_firmware=echo Erasing FLASH;era nor0,3;" \
+ "if cp.b ${fileaddr} ${firmware_addr} ${filesize} ;" \
+ "then echo Flashing of Firmware succeed;" \
+ "else echo Flashing of Firmware failed;fi\0" \
+ "update_firmware=run download_firmware flash_firmware\0" \
+ "load_firmware=fpga loadb 0 ${firmware_addr} ${firmware_size} || "\
+ "fpga load 0 ${firmware_addr} ${firmware_size};" \
+ "if test $? -eq 0;" \
+ "then echo Firmware successfully loaded;" \
+ "else echo Loading firmware failed!; fi;\0" \
+ "checknload_firmware=if test -n ${firmware_autoload};" \
+ "then run load_firmware; else exit; fi;\0" \
+ "download_kernel=tftpboot ${loadaddr} ${board_name}-linux.bin\0"\
+ "flash_kernel=echo Erasing FLASH;era nor0,4;" \
+ "if cp.b ${fileaddr} ${kernel_addr} ${filesize} ;" \
+ "then echo Flashing of kernel succeed;" \
+ "else echo Flashing of kernel failed;fi\0" \
+ "update_kernel=run download_kernel flash_kernel\0" \
+ "download_rootfs=tftpboot ${loadaddr} ${board_name}-rootfs.jffs2\0" \
+ "flash_rootfs=echo Erasing FLASH;era nor0,5;" \
+ "if cp.b ${fileaddr} ${rootfs_addr} ${filesize};" \
+ "then echo Flashing of rootfs succeed;" \
+ "else echo Flashing of rootfs failed;fi\0" \
+ "update_rootfs=run download_rootfs flash_rootfs\0" \
+ "update_all=run update_kernel update_rootfs update_uboot &&" \
+ "if test -n ${firmware_autoload};" \
+ "then run update_firmware; else exit; fi;\0" \
+ "addipargs=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}"\
+ ":${gatewayip}:${netmask}:${hostname}:eth0:off\0" \
+ "addmmcargs=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 " \
+ "rootfstype=ext2\0" \
+ "mmcboot=setenv bootargs console=${consoledev},${baudrate} " \
+ "${mtdparts} ${extrabootargs}; run addmmcargs addipargs;"\
+ "bootm ${kernel_addr}\0" \
+ "addnfsargs=setenv bootargs ${bootargs} root=/dev/nfs rw " \
+ "nfsroot=${serverip}:${rootpath}\0" \
+ "nfsboot=setenv bootargs console=${consoledev},${baudrate} " \
+ "${mtdparts} ${extrabootargs}; run addnfsargs addipargs;"\
+ "nfs ${loadaddr} ${serverip}:${rootpath}/boot/${board_name}-"\
+ "linux.bin && bootm ${loadaddr}\0" \
+ "addjffsargs=setenv bootargs ${bootargs} root=/dev/mtdblock5 " \
+ "rootfstype=jffs2\0" \
+ "jffsboot=setenv bootargs console=${consoledev},${baudrate} " \
+ "${mtdparts} ${extrabootargs}; run addjffsargs addipargs;"\
+ "bootm ${kernel_addr}\0" \
+ "unlock_regs=mw 00200008 0; mw 00210008 0\0" \
+
+/*
+ * Serial Driver
+ */
+#define CONFIG_IMX_SERIAL
+#define CONFIG_IMX_SERIAL1
+#define CONFIG_BAUDRATE 115200
+
+/*
+ * GPIO
+ */
+
+/*
+ * NOR
+ */
+#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* FLASH banks count */
+#define CONFIG_SYS_MAX_FLASH_SECT 256 /* max 32MB of FLASH memory */
+#define CONFIG_SYS_FLASH_BASE 0x10000000
+
+#define CONFIG_SYS_FLASH_CFI
+#define CONFIG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_MTD
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
+#define CONFIG_SYS_FLASH_PROTECTION
+#define CONFIG_SYS_DIRECT_FLASH_TFTP
+#define CONFIG_FLASH_SHOW_PROGRESS 45
+/*
+ * This is setting for JFFS2 support in u-boot.
+ * NOTE: Enable CONFIG_SYS_CMD_JFFS2 for JFFS2 support.
+ */
+/*#define CONFIG_SYS_JFFS_CUSTOM_PART*/
+
+/*
+ * Ethernet
+ */
+/* DM9000 ethernet chipset assigned to CS4 */
+/* For the apf board DM9000 base is 0x15C00000 and data is base+2 */
+/* For the apm board DM9000 base is 0x15C3FFFC and data is base+4 */
+#define CONFIG_DRIVER_DM9000
+#define CONFIG_DM9000_BASE 0x15C00000
+#define DM9000_IO CONFIG_DM9000_BASE
+#define DM9000_DATA (CONFIG_DM9000_BASE+2)
+#define CONFIG_NETCONSOLE
+
+/*
+ * FPGA
+ */
+#define CONFIG_FPGA
+#define CONFIG_FPGA_COUNT 1
+#define CONFIG_FPGA_XILINX
+#define CONFIG_FPGA_SPARTAN3
+#define CONFIG_SYS_FPGA_WAIT 250 /* 250 ms */
+#define CONFIG_SYS_FPGA_PROG_FEEDBACK
+#define CONFIG_SYS_FPGA_CHECK_CTRLC
+#define CONFIG_SYS_FPGA_CHECK_ERROR
+
+/* FPGA program pin configuration */
+#define CONFIG_SYS_FPGA_PRG (GPIO_PORTB | 18) /* prog pin (SSI output) */
+#define CONFIG_SYS_FPGA_CLK (GPIO_PORTB | 19) /* clk pin (SSI output) */
+#define CONFIG_SYS_FPGA_DATA (GPIO_PORTB | 17) /* data pin (SSI output) */
+#define CONFIG_SYS_FPGA_INIT (GPIO_PORTB | 15) /* init pin (SSI input) */
+#define CONFIG_SYS_FPGA_DONE (GPIO_PORTB | 16) /* done pin (SSI input) */
+
+/*
+ * I2C bus
+ */
+#define CONFIG_HARD_I2C /* I2C with hardware support */
+
+#define CONFIG_SYS_I2C_SPEED 400000 /* 400 kHz */
+#define CONFIG_SYS_I2C_SLAVE 0x7F
+
+#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* EEPROM 24LC256 */
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 /* bytes of address */
+/* mask of address bits that overflow into the "EEPROM chip address" */
+/*#define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW 0x00*/
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 6
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 /* takes up to 10 msec */
+
+/*
+ * RTC
+ */
+#define CONFIG_RTC_DS1374
+
+/*
+ * Clocks
+ */
+/*
+ * PLL configuration
+ *
+ * f_{dpll}=2*f{ref}*(MFI+MFN/(MFD+1))/(PD+1)
+ * f_ref=16,777216MHz
+ * 32768 Hz xtal
+ * 0x07B32DA5: 192.0000173
+ * 0x002a141f: 191,9944MHz
+ * 0x040b2007: 144MHz
+ * 0x0FB32DA5: 96.00000864 MHz
+ * 0x042a141f: 96MHz
+ * 0x0811140d: 64MHz
+ * 0x040e200e: 150MHz
+ * 0x00321431: 200MHz
+ *
+ *16 MHz xtal
+ * 0x08001800: 64MHz mit 16er Quarz
+ * 0x04001800: 96MHz mit 16er Quarz
+ * 0x04002400: 144MHz mit 16er Quarz
+ *
+ * 31 |x x x x|x x x x|x x x x|x x x x|x x x x|x x x x|x x x x|x x x x| 0
+ * |XXX|--PD---|-------MFD---------|XXX|--MFI--|-----MFN-----------|
+ */
+
+#define CONFIG_SYS_HZ 1000 /* Ticks per second */
+#define ACFG_SYS_OSC32 32768 /* 32768 or 32000 Hz crystal */
+#undef CONFIG_SYS_OSC16 /* there is no external 16MHz external clock */
+
+/* MPU CLOCK source before PLL */
+#define CONFIG_SYS_CLK_FREQ (512*ACFG_SYS_OSC32)
+#define ACFG_SYS_MPCTL0_VAL 0x07B32DA5 /* 192.000017 MHz */
+#define ACFG_SYS_MPCTL1_VAL 0
+
+/* system clock source before PLL */
+#ifndef CONFIG_SYS_OSC16
+#define ACFG_SYSPLL_CLK_FREQ (512*ACFG_SYS_OSC32)
+#if (ACFG_SYS_OSC32 == 32000)
+#define ACFG_SYS_SPCTL0_VAL 0x043F1437 /* 96 MHz */
+#define ACFG_SYS_SPCTL1_VAL 0
+#define ACFG_SYS_FREQ 96 /* MHz */
+#else /* ACFG_SYS_OSC32 == 32768 */
+#define ACFG_SYS_SPCTL0_VAL 0x0FB32DA5 /* 96.000009 MHz */
+#define ACFG_SYS_SPCTL1_VAL 0
+#define ACFG_SYS_FREQ 96 /* MHz */
+#endif /* ACFG_SYS_OSC32 */
+#else /* CONFIG_SYS_OSC16 in use */
+#define ACFG_SYSPLL_CLK_FREQ CONFIG_SYS_OSC16
+#define ACFG_SYS_SPCTL0_VAL 0x04001401 /* 96 MHz */
+#define ACFG_SYS_SPCTL1_VAL 0x0C000040
+#define ACFG_SYS_FREQ 96 /* MHz */
+#endif /* CONFIG_SYS_OSC16 */
+
+/* external bus frequency */
+#define ACFG_SYS_BUS_FREQ 96 /* 96|48... MHz (BCLOCK and HCLOCK) */
+#define CONFIG_USB_FREQ 48 /* 48 MHz */
+#define CONFIG_PERIF1_FREQ 16 /* 16 MHz UART, Timer PWM */
+#define CONFIG_PERIF2_FREQ 48 /* 48 MHz LCD SD SPI */
+#define CONFIG_PERIF3_FREQ 16 /* 16 MHz SSI */
+
+/*
+ * SDRAM definition parameter
+ */
+/*
+ * ACFG_SYS_SDRAM_NUM_COL 8, 9, 10 or 11 column address bits
+ * ACFG_SYS_SDRAM_NUM_ROW 11, 12 or 13 row address bits
+ * ACFG_SYS_SDRAM_REFRESH 0=OFF 1=2048 2=4096 3=8192 refresh
+ * ACFG_SYS_SDRAM_CLOCK_CYCLE_CL_1 X ns clock cycle time when CL=1
+ * ACFG_SYS_SDRAM_ROW_PRECHARGE_DELAY X ns SRP
+ * ACFG_SYS_SDRAM_ROW_2_COL_DELAY X ns SRCD
+ * ACFG_SYS_SDRAM_ROW_CYCLE_DELAY X ns SRC
+ * ACFG_SYS_SDRAM_BURST_LENGTH 2^N BYTES (N=0..3)
+ * ACFG_SYS_SDRAM_SINGLE_ACCESS 1= single access; 0 = Burst mode
+ */
+
+#if (ACFG_SYS_SDRAM_MBYTE_SYZE == 16)
+/* micron 16MB */
+#define PHYS_SDRAM_1_SIZE 0x01000000 /* 16 MB */
+#define ACFG_SYS_SDRAM_NUM_COL 8
+#define ACFG_SYS_SDRAM_NUM_ROW 12
+#define ACFG_SYS_SDRAM_REFRESH 2
+#define ACFG_SYS_SDRAM_CLOCK_CYCLE_CL_1 20
+#define ACFG_SYS_SDRAM_ROW_PRECHARGE_DELAY 20
+#define ACFG_SYS_SDRAM_ROW_2_COL_DELAY 20
+#define ACFG_SYS_SDRAM_ROW_CYCLE_DELAY 70
+#define ACFG_SYS_SDRAM_BURST_LENGTH 3
+#define ACFG_SYS_SDRAM_SINGLE_ACCESS 0
+#endif
+
+#if (ACFG_SYS_SDRAM_MBYTE_SYZE == 32)
+/* micron 32MB */
+#define PHYS_SDRAM_1_SIZE 0x02000000 /* 32 MB */
+#define ACFG_SYS_SDRAM_NUM_COL 9
+#define ACFG_SYS_SDRAM_NUM_ROW 12
+#define ACFG_SYS_SDRAM_REFRESH 2
+#define ACFG_SYS_SDRAM_CLOCK_CYCLE_CL_1 20
+#define ACFG_SYS_SDRAM_ROW_PRECHARGE_DELAY 20
+#define ACFG_SYS_SDRAM_ROW_2_COL_DELAY 20
+#define ACFG_SYS_SDRAM_ROW_CYCLE_DELAY 70
+#define ACFG_SYS_SDRAM_BURST_LENGTH 3
+#define ACFG_SYS_SDRAM_SINGLE_ACCESS 0
+#endif
+
+#if (ACFG_SYS_SDRAM_MBYTE_SYZE == 64)
+/* micron 64MB */
+#define PHYS_SDRAM_1_SIZE 0x04000000 /* 64 MB */
+#define ACFG_SYS_SDRAM_NUM_COL 9
+#define ACFG_SYS_SDRAM_NUM_ROW 13
+#define ACFG_SYS_SDRAM_REFRESH 3
+#define ACFG_SYS_SDRAM_CLOCK_CYCLE_CL_1 20
+#define ACFG_SYS_SDRAM_ROW_PRECHARGE_DELAY 20
+#define ACFG_SYS_SDRAM_ROW_2_COL_DELAY 20
+#define ACFG_SYS_SDRAM_ROW_CYCLE_DELAY 70
+#define ACFG_SYS_SDRAM_BURST_LENGTH 3
+#define ACFG_SYS_SDRAM_SINGLE_ACCESS 0
+#endif
+
+/*
+ * External interface
+ */
+/*
+ * CSxU_VAL:
+ * 63| x |x|x x|x x x x|x x| x | x |x x x x|48
+ * |DTACK_SEL|0|BCD| BCS |PSZ|PME|SYNC| DOL |
+ *
+ * 47| x x | x x x x x x | x | x x x x | x x x x |32
+ * | CNC | WSC | 0 | WWS | EDC |
+ *
+ * CSxL_VAL:
+ * 31| x x x x | x x x x | x x x x | x x x x |24
+ * | OEA | OEN | WEA | WEN |
+ * 23|x x x x| x | x x x | x x x x |x x| x | x | 0
+ * | CSA |EBC| DSZ | 0|SP|0|WP|0 0|PA |CSEN |
+ */
+/* CS0 configuration for flash memory Micron MT28F128J3-150 */
+#define ACFG_SYS_CS0_CHIP_SELECT_ENABLE 1 /* 1 : enable CS0 */
+#define ACFG_SYS_CS0_DATA_PORT_SIZE 0x5 /* 5=16 bits on D[15:0] */
+ /* 3=8bits on D[7:0] 6=32 bits..*/
+#define ACFG_SYS_CS0_SUPERVISOR_PROTECT 0 /* 1 user access prohibited*/
+#define ACFG_SYS_CS0_WRITE_PROTECT 0 /* 1 wr access prohibited*/
+#define ACFG_SYS_CS0_EB_SIGNAL_CONTROL_WRITE 1 /* 1 EB used as wr signal*/
+#define ACFG_SYS_CS0_READ_CYC_LGTH 150 /* ns */
+#define ACFG_SYS_CS0_OE_ASSERT_DLY 0 /* ns */
+#define ACFG_SYS_CS0_OE_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS0_CS_NEG_LGTH 0 /* max 30ns CS HIGH to LOW */
+#define ACFG_SYS_CS0_XTRA_DEAD_CYC 35 /* ns CS HIGH to tristate */
+
+#define ACFG_SYS_CS0_WRITE_XTRA_LGTH 0 /* ns */
+#define ACFG_SYS_CS0_EB_ASSERT_DLY 0 /* ns */
+#define ACFG_SYS_CS0_EB_NEG_DLY 0 /* ns */
+#define ACFG_SYS_CS0_CS_ASSERT_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS0_SYNC_ENABLE 1 /* enable sync burst mode */
+#define ACFG_SYS_CS0_SYNC_PAGE_MODE_EMUL 1
+#define ACFG_SYS_CS0_SYNC_PAGE_SIZE 0 /* 4 words page size */
+#define ACFG_SYS_CS0_SYNC_BURST_CLK_START 0 /* 0 ns burst clock delay */
+#define ACFG_SYS_CS0_SYNC_BURST_CLK_DIV 0 /* 0 : divider is 1 */
+#define ACFG_SYS_CS0_SYNC_DAT_OUT_LGTH 25 /* ns */
+
+/* CS1 configuration for */
+#define ACFG_SYS_CS1_CHIP_SELECT_ENABLE 1 /* 1: enable CS1 */
+#define ACFG_SYS_CS1_PIN_ASSERT 0 /* chip select pin state */
+ /* when chip select disabled */
+#define ACFG_SYS_CS1_DATA_PORT_SIZE 0x5 /* 5=16 bits on D[15:0] */
+ /* 3=8bits on D[7:0] 6=32 bits.. */
+#define ACFG_SYS_CS1_SUPERVISOR_PROTECT 0 /* 1 user access prohibited*/
+#define ACFG_SYS_CS1_WRITE_PROTECT 0 /* 1 wr access prohibited */
+#define ACFG_SYS_CS1_EB_SIGNAL_CONTROL_WRITE 1 /* 1 EB used as wr signal*/
+
+#define ACFG_SYS_CS1_READ_CYC_LGTH 50 /* ns */
+#define ACFG_SYS_CS1_OE_ASSERT_DLY 0 /* ns */
+#define ACFG_SYS_CS1_OE_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS1_CS_NEG_LGTH 0 /* max 30ns CS HIGH to LOW*/
+#define ACFG_SYS_CS1_XTRA_DEAD_CYC 0 /* ns CS HIGH to tristate */
+
+#define ACFG_SYS_CS1_WRITE_XTRA_LGTH 0 /* ns */
+#define ACFG_SYS_CS1_EB_ASSERT_DLY 0 /* ns */
+#define ACFG_SYS_CS1_EB_NEG_DLY 0 /* ns */
+#define ACFG_SYS_CS1_CS_ASSERT_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS1_SYNC_ENABLE 0 /* enable sync burst mode */
+#define ACFG_SYS_CS1_SYNC_PAGE_MODE_EMUL 0
+#define ACFG_SYS_CS1_SYNC_PAGE_SIZE 0 /* 4 words page size */
+#define ACFG_SYS_CS1_SYNC_BURST_CLK_START 0 /* 0 ns burst clock delay */
+#define ACFG_SYS_CS1_SYNC_BURST_CLK_DIV 0 /* 0 : divider is 1 */
+#define ACFG_SYS_CS1_SYNC_DAT_OUT_LGTH 0 /* ns */
+
+/* CS2 configuration for */
+#define ACFG_SYS_CS2_CHIP_SELECT_ENABLE 0 /* 1 : enable CS0 */
+#define ACFG_SYS_CS2_PIN_ASSERT 0 /* chip select pin state */
+ /* when chip select disabled */
+#define ACFG_SYS_CS2_DATA_PORT_SIZE 0x5 /* 5=16 bits on D[15:0] */
+ /* 3=8bits on D[7:0] 6=32 bits.. */
+#define ACFG_SYS_CS2_SUPERVISOR_PROTECT 0 /* 1 user access prohibited*/
+#define ACFG_SYS_CS2_WRITE_PROTECT 0 /* 1 wr access prohibited */
+#define ACFG_SYS_CS2_EB_SIGNAL_CONTROL_WRITE 1 /* 1 EB used as wr signal*/
+
+#define ACFG_SYS_CS2_READ_CYC_LGTH 0 /* ns */
+#define ACFG_SYS_CS2_OE_ASSERT_DLY 0 /* ns */
+#define ACFG_SYS_CS2_OE_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS2_CS_NEG_LGTH 0 /* max 30ns CS HIGH to LOW*/
+#define ACFG_SYS_CS2_XTRA_DEAD_CYC 0 /* ns CS HIGH to tristate */
+
+#define ACFG_SYS_CS2_WRITE_XTRA_LGTH 0 /* ns */
+#define ACFG_SYS_CS2_EB_ASSERT_DLY 0 /* ns */
+#define ACFG_SYS_CS2_EB_NEG_DLY 0 /* ns */
+#define ACFG_SYS_CS2_CS_ASSERT_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS2_SYNC_ENABLE 0 /* enable sync burst mode */
+#define ACFG_SYS_CS2_SYNC_PAGE_MODE_EMUL 0
+#define ACFG_SYS_CS2_SYNC_PAGE_SIZE 0 /* 4 words page size */
+#define ACFG_SYS_CS2_SYNC_BURST_CLK_START 0 /* 0 ns burst clock delay */
+#define ACFG_SYS_CS2_SYNC_BURST_CLK_DIV 0 /* 0 : divider is 1 */
+#define ACFG_SYS_CS2_SYNC_DAT_OUT_LGTH 0 /* ns */
+
+/* CS3 configuration for ISP1760 */
+#define ACFG_SYS_CS3_CHIP_SELECT_ENABLE 1 /* 1 : enable CS0 */
+#define ACFG_SYS_CS3_PIN_ASSERT 0 /* chip select pin state */
+ /* when chip select disabled */
+#define ACFG_SYS_CS3_DATA_PORT_SIZE 0x5 /* 5=16 bits on D[15:0] */
+ /* 3=8bits on D[7:0] 6=32 bits.. */
+#define ACFG_SYS_CS3_SUPERVISOR_PROTECT 0 /* 1 user access prohibited*/
+#define ACFG_SYS_CS3_WRITE_PROTECT 0 /* 1 wr access prohibited */
+#define ACFG_SYS_CS3_EB_SIGNAL_CONTROL_WRITE 1 /* 1 EB used as wr signal*/
+
+#define ACFG_SYS_CS3_READ_CYC_LGTH 110 /* ns */
+#define ACFG_SYS_CS3_OE_ASSERT_DLY 45 /* ns */
+#define ACFG_SYS_CS3_OE_NEG_DLY 40 /* ns */
+
+#define ACFG_SYS_CS3_CS_NEG_LGTH 30 /* max 30ns CS HIGH to LOW*/
+#define ACFG_SYS_CS3_XTRA_DEAD_CYC 0 /* ns CS HIGH to tristate */
+
+#define ACFG_SYS_CS3_WRITE_XTRA_LGTH 0 /* ns */
+#define ACFG_SYS_CS3_EB_ASSERT_DLY 45 /* ns */
+#define ACFG_SYS_CS3_EB_NEG_DLY 45 /* ns */
+#define ACFG_SYS_CS3_CS_ASSERT_NEG_DLY 35 /* ns */
+
+#define ACFG_SYS_CS3_SYNC_ENABLE 0 /* enable sync burst mode */
+#define ACFG_SYS_CS3_SYNC_PAGE_MODE_EMUL 0
+#define ACFG_SYS_CS3_SYNC_PAGE_SIZE 0 /* 4 words page size */
+#define ACFG_SYS_CS3_SYNC_BURST_CLK_START 0 /* 0 ns burst clock delay */
+#define ACFG_SYS_CS3_SYNC_BURST_CLK_DIV 0 /* 0 : divider is 1 */
+#define ACFG_SYS_CS3_SYNC_DAT_OUT_LGTH 0 /* ns */
+
+/* CS4 configuration for DM9000 ethernet chipset */
+#define ACFG_SYS_CS4_CHIP_SELECT_ENABLE 1 /* 1 : enable CS0 */
+#define ACFG_SYS_CS4_PIN_ASSERT 0 /* chip select pin state */
+ /* when chip select disabled */
+#define ACFG_SYS_CS4_DATA_PORT_SIZE 0x5 /* 5=16 bits on D[15:0] */
+ /* 3=8bits on D[7:0] 6=32 bits.. */
+#define ACFG_SYS_CS4_SUPERVISOR_PROTECT 0 /* 1 user access prohibited*/
+#define ACFG_SYS_CS4_WRITE_PROTECT 0 /* 1 wr access prohibited */
+#define ACFG_SYS_CS4_EB_SIGNAL_CONTROL_WRITE 1 /* 1 EB used as wr signal*/
+
+#define ACFG_SYS_CS4_READ_CYC_LGTH 72 /* ns */
+#define ACFG_SYS_CS4_OE_ASSERT_DLY 5 /* ns */
+#define ACFG_SYS_CS4_OE_NEG_DLY 45 /* ns */
+
+#define ACFG_SYS_CS4_CS_NEG_LGTH 30 /* max 30ns CS HIGH to LOW*/
+#define ACFG_SYS_CS4_XTRA_DEAD_CYC 0 /* ns CS HIGH to tristate */
+
+#define ACFG_SYS_CS4_WRITE_XTRA_LGTH 0 /* ns */
+#define ACFG_SYS_CS4_EB_ASSERT_DLY 5 /* ns */
+#define ACFG_SYS_CS4_EB_NEG_DLY 45 /* ns */
+#define ACFG_SYS_CS4_CS_ASSERT_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS4_SYNC_ENABLE 0 /* enable sync burst mode */
+#define ACFG_SYS_CS4_SYNC_PAGE_MODE_EMUL 0
+#define ACFG_SYS_CS4_SYNC_PAGE_SIZE 0 /* 4 words page size */
+#define ACFG_SYS_CS4_SYNC_BURST_CLK_START 0 /* 0 ns burst clock delay */
+#define ACFG_SYS_CS4_SYNC_BURST_CLK_DIV 0 /* 0 : divider is 1 */
+#define ACFG_SYS_CS4_SYNC_DAT_OUT_LGTH 0 /* ns */
+
+/* CS5 configuration for */
+#define ACFG_SYS_CS5_CHIP_SELECT_ENABLE 1 /* 1 : enable CS0 */
+#define ACFG_SYS_CS5_PIN_ASSERT 0 /* chip select pin state */
+ /* when chip select disabled */
+#define ACFG_SYS_CS5_DATA_PORT_SIZE 0x5 /* 5=16 bits on D[15:0] */
+ /* 3=8bits on D[7:0] 6=32 bits.. */
+#define ACFG_SYS_CS5_SUPERVISOR_PROTECT 0 /* 1 user access prohibited*/
+#define ACFG_SYS_CS5_WRITE_PROTECT 0 /* 1 wr access prohibited */
+#define ACFG_SYS_CS5_EB_SIGNAL_CONTROL_WRITE 1 /* 1 EB used as wr signal*/
+#define ACFG_SYS_CS5_DTACK_SELECT 1 /* Activate DTACK fonction */
+ /* (asynchrone bus) */
+
+#define ACFG_SYS_CS5_READ_CYC_LGTH -1 /* ns or -1 DTACK function*/
+#define ACFG_SYS_CS5_OE_ASSERT_DLY 10 /* ns */
+#define ACFG_SYS_CS5_OE_NEG_DLY 10 /* ns */
+
+#define ACFG_SYS_CS5_CS_NEG_LGTH 10 /* max 30ns CS HIGH to LOW*/
+#define ACFG_SYS_CS5_XTRA_DEAD_CYC 0 /* ns CS HIGH to tristate */
+
+#define ACFG_SYS_CS5_WRITE_XTRA_LGTH 0 /* ns */
+#define ACFG_SYS_CS5_EB_ASSERT_DLY 10 /* ns */
+#define ACFG_SYS_CS5_EB_NEG_DLY 10 /* ns */
+#define ACFG_SYS_CS5_CS_ASSERT_NEG_DLY 0 /* ns */
+
+#define ACFG_SYS_CS5_SYNC_ENABLE 0 /* enable sync burst mode */
+#define ACFG_SYS_CS5_SYNC_PAGE_MODE_EMUL 0
+#define ACFG_SYS_CS5_SYNC_PAGE_SIZE 0 /* 4 words page size */
+#define ACFG_SYS_CS5_SYNC_BURST_CLK_START 0 /* 0 ns burst clock delay */
+#define ACFG_SYS_CS5_SYNC_BURST_CLK_DIV 0 /* 0 : divider is 1 */
+#define ACFG_SYS_CS5_SYNC_DAT_OUT_LGTH 0 /* ns */
+
+/*
+ * Default configuration for GPIOs and peripherals
+ */
+#define ACFG_SYS_DDIR_A_VAL 0x00000000
+#define ACFG_SYS_OCR1_A_VAL 0x00000000
+#define ACFG_SYS_OCR2_A_VAL 0x00000000
+#define ACFG_SYS_ICFA1_A_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFA2_A_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB1_A_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB2_A_VAL 0xFFFFFFFF
+#define ACFG_SYS_DR_A_VAL 0x00000000
+
+/* Setup for PA23 which is Reset Default PA23 but has to become CS5 */
+#define ACFG_SYS_GIUS_A_VAL 0x00007FF8
+#define ACFG_SYS_ICR1_A_VAL 0x00000000
+#define ACFG_SYS_ICR2_A_VAL 0x00000000
+#define ACFG_SYS_IMR_A_VAL 0x00000000
+#define ACFG_SYS_GPR_A_VAL 0x00000000
+#define ACFG_SYS_PUEN_A_VAL 0xFFFFFFFF
+
+#define ACFG_SYS_DDIR_B_VAL 0x00000000
+#define ACFG_SYS_OCR1_B_VAL 0x00000000
+#define ACFG_SYS_OCR2_B_VAL 0x00000000
+#define ACFG_SYS_ICFA1_B_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFA2_B_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB1_B_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB2_B_VAL 0xFFFFFFFF
+#define ACFG_SYS_DR_B_VAL 0x00000000
+#define ACFG_SYS_GIUS_B_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICR1_B_VAL 0x00000000
+#define ACFG_SYS_ICR2_B_VAL 0x00000000
+#define ACFG_SYS_IMR_B_VAL 0x00000000
+#define ACFG_SYS_GPR_B_VAL 0x00000000
+#define ACFG_SYS_PUEN_B_VAL 0xFFFFFFFF
+
+#define ACFG_SYS_DDIR_C_VAL 0x00000000
+#define ACFG_SYS_OCR1_C_VAL 0x00000000
+#define ACFG_SYS_OCR2_C_VAL 0x00000000
+#define ACFG_SYS_ICFA1_C_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFA2_C_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB1_C_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB2_C_VAL 0xFFFFFFFF
+#define ACFG_SYS_DR_C_VAL 0x00000000
+#define ACFG_SYS_GIUS_C_VAL 0x0007FFFF
+#define ACFG_SYS_ICR1_C_VAL 0x00000000
+#define ACFG_SYS_ICR2_C_VAL 0x00000000
+#define ACFG_SYS_IMR_C_VAL 0x00000000
+#define ACFG_SYS_GPR_C_VAL 0x00000000
+#define ACFG_SYS_PUEN_C_VAL 0xF913FFFF
+
+#define ACFG_SYS_DDIR_D_VAL 0x00000000
+#define ACFG_SYS_OCR1_D_VAL 0x00000000
+#define ACFG_SYS_OCR2_D_VAL 0x00000000
+#define ACFG_SYS_ICFA1_D_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFA2_D_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB1_D_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICFB2_D_VAL 0xFFFFFFFF
+#define ACFG_SYS_DR_D_VAL 0x00000000
+#define ACFG_SYS_GIUS_D_VAL 0xFFFFFFFF
+#define ACFG_SYS_ICR1_D_VAL 0x00000000
+#define ACFG_SYS_ICR2_D_VAL 0x00000000
+#define ACFG_SYS_IMR_D_VAL 0x00000000
+#define ACFG_SYS_GPR_D_VAL 0x00000000
+#define ACFG_SYS_PUEN_D_VAL 0xFFFFFFFF
+
+#define ACFG_SYS_GPCR_VAL 0x000003AB
+
+/* FMCR Bit 1 becomes 0 to make CS3 if we have only one sdram bank*/
+#if (CONFIG_NR_DRAM_BANKS == 1)
+#define ACFG_SYS_FMCR_VAL 0x00000001
+#elif (CONFIG_NR_DRAM_BANKS == 2)
+#define ACFG_SYS_FMCR_VAL 0x00000003
+#endif
+
+/*
+ * From here, there should not be any user configuration.
+ * All Equations are automatic
+ */
+
+#define ACFG_SYS_HCLK_LGTH (1000/ACFG_SYS_BUS_FREQ) /* ns */
+
+/* USB 48 MHz ; BUS 96MHz*/
+#ifdef CONFIG_SYS_OSC16
+#define CSCR_MASK 0x23030003
+#else
+#define CSCR_MASK 0x23000003
+#endif
+#define ACFG_SYS_CSCR_VAL\
+ (CSCR_MASK \
+ |((((ACFG_SYS_FREQ/CONFIG_USB_FREQ)-1)&0x07)<<26) \
+ |((((ACFG_SYS_FREQ/ACFG_SYS_BUS_FREQ)-1)&0x0F)<<10))
+
+/* PERCLKx 16MHz */
+#define ACFG_SYS_PCDR_VAL\
+ (((((ACFG_SYS_FREQ/CONFIG_PERIF1_FREQ)-1)&0x0F)<<0) \
+ |((((ACFG_SYS_FREQ/CONFIG_PERIF2_FREQ)-1)&0x0F)<<4) \
+ |((((ACFG_SYS_FREQ/CONFIG_PERIF3_FREQ)-1)&0x7F)<<16))
+
+/* SDRAM controller programming Values */
+#if ((ACFG_SYS_SDRAM_CLOCK_CYCLE_CL_1 > (3*ACFG_SYS_HCLK_LGTH))\
+ || (ACFG_SYS_SDRAM_CLOCK_CYCLE_CL_1 < 1))
+#define REG_FIELD_SCL_VAL 3
+#else
+#define REG_FIELD_SCL_VAL\
+ ((ACFG_SYS_SDRAM_CLOCK_CYCLE_CL_1+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)
+#endif
+
+#if ((ACFG_SYS_SDRAM_ROW_PRECHARGE_DELAY > (2*ACFG_SYS_HCLK_LGTH))\
+ || (ACFG_SYS_SDRAM_ROW_PRECHARGE_DELAY < 1))
+#define REG_FIELD_SRP_VAL 0
+#else
+#define REG_FIELD_SRP_VAL 1
+#endif
+
+#if (ACFG_SYS_SDRAM_ROW_2_COL_DELAY > (3*ACFG_SYS_HCLK_LGTH))
+#define REG_FIELD_SRCD_VAL 0
+#else
+#define REG_FIELD_SRCD_VAL\
+ ((ACFG_SYS_SDRAM_ROW_2_COL_DELAY+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)
+#endif
+
+#if (ACFG_SYS_SDRAM_ROW_CYCLE_DELAY > (7*ACFG_SYS_HCLK_LGTH))
+#define REG_FIELD_SRC_VAL 0
+#else
+#define REG_FIELD_SRC_VAL\
+ ((ACFG_SYS_SDRAM_ROW_CYCLE_DELAY+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)
+#endif
+
+#define REG_SDCTL_BASE_CONFIG (0x800a1000\
+ | (((ACFG_SYS_SDRAM_NUM_ROW-11)&0x3)<<24)\
+ | (((ACFG_SYS_SDRAM_NUM_COL-8)&0x3)<<20)\
+ | (((ACFG_SYS_SDRAM_REFRESH)&0x3)<<14)\
+ | (((REG_FIELD_SCL_VAL)&0x3)<<8)\
+ | (((REG_FIELD_SRP_VAL)&0x1)<<6)\
+ | (((REG_FIELD_SRCD_VAL)&0x3)<<4)\
+ | (((REG_FIELD_SRC_VAL)&0x7)<<0))
+
+#define ACFG_SYS_NORMAL_RW_CMD ((0x0<<28)+REG_SDCTL_BASE_CONFIG)
+#define ACFG_SYS_PRECHARGE_CMD ((0x1<<28)+REG_SDCTL_BASE_CONFIG)
+#define ACFG_SYS_AUTOREFRESH_CMD ((0x2<<28)+REG_SDCTL_BASE_CONFIG)
+#define ACFG_SYS_SET_MODE_REG_CMD ((0x3<<28)+REG_SDCTL_BASE_CONFIG)
+
+/* Issue Mode register Command to SDRAM*/
+#define ACFG_SYS_SDRAM_MODE_REGISTER_VAL\
+ ((((ACFG_SYS_SDRAM_BURST_LENGTH)&0x7)<<(ACFG_SYS_SDRAM_NUM_COL+4))\
+ | (((REG_FIELD_SCL_VAL)&0x3)<<(ACFG_SYS_SDRAM_NUM_COL+4+4))\
+ | (((ACFG_SYS_SDRAM_SINGLE_ACCESS)&0x1)\
+ <<(ACFG_SYS_SDRAM_NUM_COL+4+9)))
+
+/* Issue Precharge all Command to SDRAM*/
+#define ACFG_SYS_SDRAM_PRECHARGE_ALL_VAL\
+ (((ACFG_SYS_SDRAM_SINGLE_ACCESS)&0x1)<<(ACFG_SYS_SDRAM_NUM_COL+13))
+
+/*
+ * CSxU_VAL:
+ * 63| x |x|x x|x x x x|x x| x | x |x x x x|48
+ * |DTACK_SEL|0|BCD| BCS |PSZ|PME|SYNC| DOL |
+ *
+ * 47| x x | x x x x x x | x | x x x x | x x x x |32
+ * | CNC | WSC | 0 | WWS | EDC |
+ *
+ * CSxL_VAL:
+ * 31| x x x x | x x x x | x x x x | x x x x |24
+ * | OEA | OEN | WEA | WEN |
+ * 23|x x x x| x | x x x | x x x x |x x| x | x | 0
+ * | CSA |EBC| DSZ | 0|SP|0|WP|0 0|PA |CSEN |
+ */
+#define ACFG_SYS_CS0U_VAL\
+ ((((ACFG_SYS_CS0_XTRA_DEAD_CYC+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)\
+ |((((ACFG_SYS_CS0_WRITE_XTRA_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<4)\
+ |(((((ACFG_SYS_CS0_READ_CYC_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)-1)&0x3F)<<8)\
+ |((((ACFG_SYS_CS0_CS_NEG_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x03)<<14)\
+ |((((ACFG_SYS_CS0_SYNC_DAT_OUT_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |((ACFG_SYS_CS0_SYNC_ENABLE&0x01)<<20)\
+ |((ACFG_SYS_CS0_SYNC_PAGE_MODE_EMUL&0x01)<<21)\
+ |((ACFG_SYS_CS0_SYNC_PAGE_SIZE&0x03)<<22)\
+ |((((ACFG_SYS_CS0_SYNC_BURST_CLK_START+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |((ACFG_SYS_CS0_SYNC_BURST_CLK_DIV&0x03)<<28))
+
+#define ACFG_SYS_CS0L_VAL\
+ ((ACFG_SYS_CS0_CHIP_SELECT_ENABLE&0x01)\
+ |((ACFG_SYS_CS0_WRITE_PROTECT&0x01)<<4)\
+ |((ACFG_SYS_CS0_SUPERVISOR_PROTECT&0x01)<<6)\
+ |((ACFG_SYS_CS0_DATA_PORT_SIZE&0x07)<<8)\
+ |((ACFG_SYS_CS0_EB_SIGNAL_CONTROL_WRITE&0x01)<<11)\
+ |((((ACFG_SYS_CS0_CS_ASSERT_NEG_DLY+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<12)\
+ |(((((ACFG_SYS_CS0_EB_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |(((((ACFG_SYS_CS0_EB_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<20)\
+ |(((((ACFG_SYS_CS0_OE_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |(((((ACFG_SYS_CS0_OE_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<28))
+
+#define ACFG_SYS_CS1U_VAL\
+ ((((ACFG_SYS_CS1_XTRA_DEAD_CYC+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)\
+ |((((ACFG_SYS_CS1_WRITE_XTRA_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<4)\
+ |(((((ACFG_SYS_CS1_READ_CYC_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)-1)&0x3F)<<8)\
+ |((((ACFG_SYS_CS1_CS_NEG_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x03)<<14)\
+ |((((ACFG_SYS_CS1_SYNC_DAT_OUT_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |((ACFG_SYS_CS1_SYNC_ENABLE&0x01)<<20)\
+ |((ACFG_SYS_CS1_SYNC_PAGE_MODE_EMUL&0x01)<<21)\
+ |((ACFG_SYS_CS1_SYNC_PAGE_SIZE&0x03)<<22)\
+ |((((ACFG_SYS_CS1_SYNC_BURST_CLK_START+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |((ACFG_SYS_CS1_SYNC_BURST_CLK_DIV&0x03)<<28))
+
+#define ACFG_SYS_CS1L_VAL\
+ ((ACFG_SYS_CS1_CHIP_SELECT_ENABLE&0x01)\
+ |((ACFG_SYS_CS1_PIN_ASSERT&0x01)<<1)\
+ |((ACFG_SYS_CS1_WRITE_PROTECT&0x01)<<4)\
+ |((ACFG_SYS_CS1_SUPERVISOR_PROTECT&0x01)<<6)\
+ |((ACFG_SYS_CS1_DATA_PORT_SIZE&0x07)<<8)\
+ |((ACFG_SYS_CS1_EB_SIGNAL_CONTROL_WRITE&0x01)<<11)\
+ |((((ACFG_SYS_CS1_CS_ASSERT_NEG_DLY+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<12)\
+ |(((((ACFG_SYS_CS1_EB_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |(((((ACFG_SYS_CS1_EB_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<20)\
+ |(((((ACFG_SYS_CS1_OE_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |(((((ACFG_SYS_CS1_OE_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<28))
+
+#define ACFG_SYS_CS2U_VAL\
+ (((((ACFG_SYS_CS2_XTRA_DEAD_CYC+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)\
+ |((((ACFG_SYS_CS2_WRITE_XTRA_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<4)\
+ |(((((ACFG_SYS_CS2_READ_CYC_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)-1)&0x3F)<<8)\
+ |((((ACFG_SYS_CS2_CS_NEG_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x03)<<14)\
+ |(((ACFG_SYS_CS2_SYNC_DAT_OUT_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |((ACFG_SYS_CS2_SYNC_ENABLE&0x01)<<20)\
+ |((ACFG_SYS_CS2_SYNC_PAGE_MODE_EMUL&0x01)<<21)\
+ |((ACFG_SYS_CS2_SYNC_PAGE_SIZE&0x03)<<22)\
+ |((((ACFG_SYS_CS2_SYNC_BURST_CLK_START+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |((ACFG_SYS_CS2_SYNC_BURST_CLK_DIV&0x03)<<28))
+
+#define ACFG_SYS_CS2L_VAL\
+ ((ACFG_SYS_CS2_CHIP_SELECT_ENABLE&0x01)\
+ |((ACFG_SYS_CS2_PIN_ASSERT&0x01)<<1)\
+ |((ACFG_SYS_CS2_WRITE_PROTECT&0x01)<<4)\
+ |((ACFG_SYS_CS2_SUPERVISOR_PROTECT&0x01)<<6)\
+ |((ACFG_SYS_CS2_DATA_PORT_SIZE&0x07)<<8)\
+ |((ACFG_SYS_CS2_EB_SIGNAL_CONTROL_WRITE&0x01)<<11)\
+ |((((ACFG_SYS_CS2_CS_ASSERT_NEG_DLY+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<12)\
+ |(((((ACFG_SYS_CS2_EB_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |(((((ACFG_SYS_CS2_EB_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<20)\
+ |(((((ACFG_SYS_CS2_OE_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |(((((ACFG_SYS_CS2_OE_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<28))
+
+#define ACFG_SYS_CS3U_VAL\
+ ((((ACFG_SYS_CS3_XTRA_DEAD_CYC+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)\
+ |((((ACFG_SYS_CS3_WRITE_XTRA_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<4)\
+ |(((((ACFG_SYS_CS3_READ_CYC_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)-1)&0x3F)<<8)\
+ |((((ACFG_SYS_CS3_CS_NEG_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x03)<<14)\
+ |((((ACFG_SYS_CS3_SYNC_DAT_OUT_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |((ACFG_SYS_CS3_SYNC_ENABLE&0x01)<<20)\
+ |((ACFG_SYS_CS3_SYNC_PAGE_MODE_EMUL&0x01)<<21)\
+ |((ACFG_SYS_CS3_SYNC_PAGE_SIZE&0x03)<<22)\
+ |((((ACFG_SYS_CS3_SYNC_BURST_CLK_START+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |((ACFG_SYS_CS3_SYNC_BURST_CLK_DIV&0x03)<<28))
+
+#define ACFG_SYS_CS3L_VAL\
+ ((ACFG_SYS_CS3_CHIP_SELECT_ENABLE&0x01)\
+ |((ACFG_SYS_CS3_PIN_ASSERT&0x01)<<1)\
+ |((ACFG_SYS_CS3_WRITE_PROTECT&0x01)<<4)\
+ |((ACFG_SYS_CS3_SUPERVISOR_PROTECT&0x01)<<6)\
+ |((ACFG_SYS_CS3_DATA_PORT_SIZE&0x07)<<8)\
+ |((ACFG_SYS_CS3_EB_SIGNAL_CONTROL_WRITE&0x01)<<11)\
+ |((((ACFG_SYS_CS3_CS_ASSERT_NEG_DLY+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<12)\
+ |(((((ACFG_SYS_CS3_EB_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |(((((ACFG_SYS_CS3_EB_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<20)\
+ |(((((ACFG_SYS_CS3_OE_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |(((((ACFG_SYS_CS3_OE_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<28))
+
+#define ACFG_SYS_CS4U_VAL\
+ (((((ACFG_SYS_CS4_XTRA_DEAD_CYC+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)\
+ |((((ACFG_SYS_CS4_WRITE_XTRA_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<4)\
+ |(((((ACFG_SYS_CS4_READ_CYC_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)-1)&0x3F)<<8)\
+ |((((ACFG_SYS_CS4_CS_NEG_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x03)<<14)\
+ |((((ACFG_SYS_CS4_SYNC_DAT_OUT_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16))\
+ |((ACFG_SYS_CS4_SYNC_ENABLE&0x01)<<20)\
+ |((ACFG_SYS_CS4_SYNC_PAGE_MODE_EMUL&0x01)<<21)\
+ |((ACFG_SYS_CS4_SYNC_PAGE_SIZE&0x03)<<22)\
+ |((((ACFG_SYS_CS4_SYNC_BURST_CLK_START+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |((ACFG_SYS_CS4_SYNC_BURST_CLK_DIV&0x03)<<28))
+
+#define ACFG_SYS_CS4L_VAL\
+ ((ACFG_SYS_CS4_CHIP_SELECT_ENABLE&0x01)\
+ |((ACFG_SYS_CS4_PIN_ASSERT&0x01)<<1)\
+ |((ACFG_SYS_CS4_WRITE_PROTECT&0x01)<<4)\
+ |((ACFG_SYS_CS4_SUPERVISOR_PROTECT&0x01)<<6)\
+ |((ACFG_SYS_CS4_DATA_PORT_SIZE&0x07)<<8)\
+ |((ACFG_SYS_CS4_EB_SIGNAL_CONTROL_WRITE&0x01)<<11)\
+ |((((ACFG_SYS_CS4_CS_ASSERT_NEG_DLY+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<12)\
+ |(((((ACFG_SYS_CS4_EB_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |(((((ACFG_SYS_CS4_EB_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<20)\
+ |(((((ACFG_SYS_CS4_OE_NEG_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<24)\
+ |(((((ACFG_SYS_CS4_OE_ASSERT_DLY*2)+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<28))
+
+#define ACFG_SYS_CS5U_VAL\
+ ((((ACFG_SYS_CS5_XTRA_DEAD_CYC+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)\
+ |((((ACFG_SYS_CS5_WRITE_XTRA_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<4)\
+ |(((((ACFG_SYS_CS5_READ_CYC_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)-1)&0x3F)<<8)\
+ |((((ACFG_SYS_CS5_CS_NEG_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x03)<<14)\
+ |((((ACFG_SYS_CS5_SYNC_DAT_OUT_LGTH+ACFG_SYS_HCLK_LGTH-1)\
+ /ACFG_SYS_HCLK_LGTH)&0x0F)<<16)\
+ |((ACFG_SYS_CS5_SYNC_ENABLE&0x01)<<20)\
+ |((ACFG_SYS_CS5_SYNC_PAGE_MODE_EMUL&0x01)<<2...
[truncated message content] |
|
From: Sébastien S. <ss...@us...> - 2017-03-28 15:23:19
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 59bdb6aaedaf356ceeda6a297bc2a63619f5d068 (commit)
from dda70bb766b4823a5dc39d01bd529e409a3c8802 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 59bdb6aaedaf356ceeda6a297bc2a63619f5d068
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Mar 28 17:27:52 2017 +0200
[BUILDROOT] apf28mainline_defconfig: fix BR2_DL_DIR and enable ccache
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf28mainline_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/buildroot/configs/apf28mainline_defconfig b/buildroot/configs/apf28mainline_defconfig
index 1fd4c04..5b1e418 100644
--- a/buildroot/configs/apf28mainline_defconfig
+++ b/buildroot/configs/apf28mainline_defconfig
@@ -1,7 +1,9 @@
BR2_arm=y
BR2_WGET="wget --passive-ftp --tries=3"
-BR2_DL_DIR="/home/sszy/development/buildroot-download"
+BR2_DL_DIR="$(BASE_DIR)/../downloads"
BR2_BACKUP_SITE="ftp://ftp2.armadeus.com/armadeusw/download"
+BR2_CCACHE=y
+BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.19.8"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-28 15:19:53
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via dda70bb766b4823a5dc39d01bd529e409a3c8802 (commit)
via 8df81c2ed8384917bf616046eebf790e2cfe3d2e (commit)
from f788b3f160f9bdf1e8cdd56aad5fab168b5caeba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dda70bb766b4823a5dc39d01bd529e409a3c8802
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Mar 28 17:19:03 2017 +0200
[BUILDROOT] Bump to Buildroot 2017.02
* update apf28mainline*_defconfig
* UBOOT_BIN is now UBOOT_BINS. Rework UBOOT_POST_INSTALL_IMAGES_ACTION
accordingly
* U-Boot 2014.07, linux 3.19: add patches to support gcc 6
commit 8df81c2ed8384917bf616046eebf790e2cfe3d2e
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Mar 28 17:22:48 2017 +0200
[DEBUG] imxregs: imx6: add MMDC1_MDCTL register
-----------------------------------------------------------------------
Summary of changes:
Makefile | 2 +-
buildroot/configs/apf28mainline_defconfig | 17 +-
buildroot/configs/apf28mainlinetest_defconfig | 4 +-
buildroot/target/device/armadeus/Makefile.in | 20 +-
...rmadeus-sync-include-linux-compiler-gcc-h.patch | 522 +++++++++++++++++++++
...x-compiler-gcc5.h-to-fix-builds-with-gcc5.patch | 92 ----
.../604-inline-use-the-gcc-inline-version.patch | 20 -
...rmadeus-sync-include-linux-compiler-gcc-h.patch | 401 ++++++++++++++++
.../2014.07/606-asm-io.h-use-static-inline.patch | 75 +++
...mon-main.c-make-show_boot_progress-__weak.patch | 30 ++
...mmon-board_f-cosmetic-use-__weak-for-leds.patch | 108 +++++
target/linux/debug/imxregs/imx6regs.h | 2 +
12 files changed, 1155 insertions(+), 138 deletions(-)
create mode 100644 patches/linux/3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch
delete mode 100644 patches/u-boot/2014.07/603-Add-linux-compiler-gcc5.h-to-fix-builds-with-gcc5.patch
delete mode 100644 patches/u-boot/2014.07/604-inline-use-the-gcc-inline-version.patch
create mode 100644 patches/u-boot/2014.07/605-armadeus-sync-include-linux-compiler-gcc-h.patch
create mode 100644 patches/u-boot/2014.07/606-asm-io.h-use-static-inline.patch
create mode 100644 patches/u-boot/2014.07/607-common-main.c-make-show_boot_progress-__weak.patch
create mode 100644 patches/u-boot/2014.07/608-common-board_f-cosmetic-use-__weak-for-leds.patch
diff --git a/Makefile b/Makefile
index b542642..b8c557b 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ ARMADEUS_TOPDIR:=$(shell pwd)
export ARMADEUS_TOPDIR
#--- User configurable stuff:
-BUILDROOT_VERSION=2016.08
+BUILDROOT_VERSION=2017.02
include ./Makefile.in
BUILDROOT_SITE:=https://buildroot.org/downloads
BUILDROOT_PATCH_DIR:=$(ARMADEUS_TOPDIR)/patches/buildroot/$(BUILDROOT_VERSION)
diff --git a/buildroot/configs/apf28mainline_defconfig b/buildroot/configs/apf28mainline_defconfig
index 7c53415..1fd4c04 100644
--- a/buildroot/configs/apf28mainline_defconfig
+++ b/buildroot/configs/apf28mainline_defconfig
@@ -1,9 +1,7 @@
BR2_arm=y
BR2_WGET="wget --passive-ftp --tries=3"
-BR2_DL_DIR="$(BASE_DIR)/../downloads"
+BR2_DL_DIR="/home/sszy/development/buildroot-download"
BR2_BACKUP_SITE="ftp://ftp2.armadeus.com/armadeusw/download"
-BR2_CCACHE=y
-BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.19.8"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
@@ -11,10 +9,9 @@ BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PTHREAD_DEBUG=y
+BR2_GCC_VERSION_4_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
-BR2_ENABLE_LOCALE_PURGE=y
-BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_TARGET_GENERIC_HOSTNAME="apf28"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
@@ -45,20 +42,15 @@ BR2_PACKAGE_GDB=y
BR2_PACKAGE_STRACE=y
BR2_PACKAGE_MTD=y
BR2_PACKAGE_MTD_SUMTOOL=y
-BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_INPUT_TOOLS=y
# BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH is not set
# BR2_PACKAGE_INPUT_TOOLS_JSCAL is not set
# BR2_PACKAGE_INPUT_TOOLS_JSTEST is not set
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_LZO=y
-BR2_PACKAGE_ZLIB=y
BR2_PACKAGE_DTC=y
BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
-BR2_PACKAGE_NCURSES_TARGET_PANEL=y
-BR2_PACKAGE_NCURSES_TARGET_FORM=y
-BR2_PACKAGE_NCURSES_TARGET_MENU=y
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_IPERF=y
BR2_PACKAGE_IPERF3=y
@@ -68,11 +60,11 @@ BR2_PACKAGE_NTP=y
BR2_PACKAGE_PORTMAP=y
BR2_PACKAGE_WIRELESS_TOOLS=y
BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
+BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
-BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
-BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_WPA_SUPPLICANT_IEEE80211W=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_UBIFS=y
@@ -86,6 +78,7 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_SB=y
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
diff --git a/buildroot/configs/apf28mainlinetest_defconfig b/buildroot/configs/apf28mainlinetest_defconfig
index a03e95f..5f7eb6d 100644
--- a/buildroot/configs/apf28mainlinetest_defconfig
+++ b/buildroot/configs/apf28mainlinetest_defconfig
@@ -11,10 +11,9 @@ BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PTHREAD_DEBUG=y
+BR2_GCC_VERSION_4_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
-BR2_ENABLE_LOCALE_PURGE=y
-BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_TARGET_GENERIC_HOSTNAME="apf28"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
@@ -156,6 +155,7 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_SB=y
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
diff --git a/buildroot/target/device/armadeus/Makefile.in b/buildroot/target/device/armadeus/Makefile.in
index 21a3ec9..8019345 100644
--- a/buildroot/target/device/armadeus/Makefile.in
+++ b/buildroot/target/device/armadeus/Makefile.in
@@ -28,17 +28,15 @@ endef
UBOOT_POST_CONFIGURE_HOOKS += UBOOT_UPDATE_CONFIG_HEADER
define UBOOT_POST_INSTALL_IMAGES_ACTION
- @if [ -e "$(BINARIES_DIR)/$(UBOOT_BIN)" ]; then \
- rm -f $(BINARIES_DIR)/$(BOARD_NAME)-$(UBOOT_BIN) ;\
- mv $(BINARIES_DIR)/$(UBOOT_BIN) $(BINARIES_DIR)/$(BOARD_NAME)-$(UBOOT_BIN) ; \
- fi
- @if [ ! -e "$(BINARIES_DIR)/$(BOARD_NAME)-u-boot.bin" ]; then \
- ln -sf $(BINARIES_DIR)/$(BOARD_NAME)-$(UBOOT_BIN) $(BINARIES_DIR)/$(BOARD_NAME)-u-boot.bin ; \
- fi
- @if [ ! -e "$(BINARIES_DIR)/$(BOARD_NAME)-u-boot-nand.bin" ]; then \
- ln -sf $(BINARIES_DIR)/$(BOARD_NAME)-$(UBOOT_BIN) $(BINARIES_DIR)/$(BOARD_NAME)-u-boot-nand.bin ; \
- fi
- @if [ -e "$(BINARIES_DIR)/uboot-env.bin" ]; then \
+ for bin in $(UBOOT_BINS); do \
+ rm -f $(BINARIES_DIR)/$(BOARD_NAME)-$$bin; \
+ mv $(BINARIES_DIR)/$$bin $(BINARIES_DIR)/$(BOARD_NAME)-$$bin; \
+ if [ "$$bin" == "u-boot-with-spl.bin" -o "$$bin" == "u-boot.sb" -o "$$bin" == "u-boot-with-nand-spl.imx" ]; then \
+ ln -sf $(BINARIES_DIR)/$(BOARD_NAME)-$$bin $(BINARIES_DIR)/$(BOARD_NAME)-u-boot.bin ; \
+ ln -sf $(BINARIES_DIR)/$(BOARD_NAME)-$$bin $(BINARIES_DIR)/$(BOARD_NAME)-u-boot-nand.bin ; \
+ fi \
+ done
+ if [ -e "$(BINARIES_DIR)/uboot-env.bin" ]; then \
rm -f $(BINARIES_DIR)/$(BOARD_NAME)-u-boot-env.bin ;\
mv $(BINARIES_DIR)/uboot-env.bin $(BINARIES_DIR)/$(BOARD_NAME)-u-boot-env.bin ; \
chmod a+r $(BINARIES_DIR)/$(BOARD_NAME)-u-boot-env.bin ; \
diff --git a/patches/linux/3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch b/patches/linux/3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch
new file mode 100644
index 0000000..7148946
--- /dev/null
+++ b/patches/linux/3.19/0703-armadeus-sync-include-linux-compiler-gcc-h.patch
@@ -0,0 +1,522 @@
+Sync include/linux/compiler-gcc* with upstream at:
+
+8e8780a compiler-gcc.h: use "proved" instead of "proofed"
+
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+Index: linux-3.19.8/include/linux/compiler-gcc3.h
+===================================================================
+--- linux-3.19.8.orig/include/linux/compiler-gcc3.h
++++ /dev/null
+@@ -1,23 +0,0 @@
+-#ifndef __LINUX_COMPILER_H
+-#error "Please don't include <linux/compiler-gcc3.h> directly, include <linux/compiler.h> instead."
+-#endif
+-
+-#if GCC_VERSION < 30200
+-# error Sorry, your compiler is too old - please upgrade it.
+-#endif
+-
+-#if GCC_VERSION >= 30300
+-# define __used __attribute__((__used__))
+-#else
+-# define __used __attribute__((__unused__))
+-#endif
+-
+-#if GCC_VERSION >= 30400
+-#define __must_check __attribute__((warn_unused_result))
+-#endif
+-
+-#ifdef CONFIG_GCOV_KERNEL
+-# if GCC_VERSION < 30400
+-# error "GCOV profiling support for gcc versions below 3.4 not included"
+-# endif /* __GNUC_MINOR__ */
+-#endif /* CONFIG_GCOV_KERNEL */
+Index: linux-3.19.8/include/linux/compiler-gcc4.h
+===================================================================
+--- linux-3.19.8.orig/include/linux/compiler-gcc4.h
++++ /dev/null
+@@ -1,87 +0,0 @@
+-#ifndef __LINUX_COMPILER_H
+-#error "Please don't include <linux/compiler-gcc4.h> directly, include <linux/compiler.h> instead."
+-#endif
+-
+-/* GCC 4.1.[01] miscompiles __weak */
+-#ifdef __KERNEL__
+-# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
+-# error Your version of gcc miscompiles the __weak directive
+-# endif
+-#endif
+-
+-#define __used __attribute__((__used__))
+-#define __must_check __attribute__((warn_unused_result))
+-#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
+-
+-#if GCC_VERSION >= 40100 && GCC_VERSION < 40600
+-# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
+-#endif
+-
+-#if GCC_VERSION >= 40300
+-/* Mark functions as cold. gcc will assume any path leading to a call
+- to them will be unlikely. This means a lot of manual unlikely()s
+- are unnecessary now for any paths leading to the usual suspects
+- like BUG(), printk(), panic() etc. [but let's keep them for now for
+- older compilers]
+-
+- Early snapshots of gcc 4.3 don't support this and we can't detect this
+- in the preprocessor, but we can live with this because they're unreleased.
+- Maketime probing would be overkill here.
+-
+- gcc also has a __attribute__((__hot__)) to move hot functions into
+- a special section, but I don't see any sense in this right now in
+- the kernel context */
+-#define __cold __attribute__((__cold__))
+-
+-#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
+-
+-#ifndef __CHECKER__
+-# define __compiletime_warning(message) __attribute__((warning(message)))
+-# define __compiletime_error(message) __attribute__((error(message)))
+-#endif /* __CHECKER__ */
+-#endif /* GCC_VERSION >= 40300 */
+-
+-#if GCC_VERSION >= 40500
+-/*
+- * Mark a position in code as unreachable. This can be used to
+- * suppress control flow warnings after asm blocks that transfer
+- * control elsewhere.
+- *
+- * Early snapshots of gcc 4.5 don't support this and we can't detect
+- * this in the preprocessor, but we can live with this because they're
+- * unreleased. Really, we need to have autoconf for the kernel.
+- */
+-#define unreachable() __builtin_unreachable()
+-
+-/* Mark a function definition as prohibited from being cloned. */
+-#define __noclone __attribute__((__noclone__))
+-
+-#endif /* GCC_VERSION >= 40500 */
+-
+-#if GCC_VERSION >= 40600
+-/*
+- * Tell the optimizer that something else uses this function or variable.
+- */
+-#define __visible __attribute__((externally_visible))
+-#endif
+-
+-/*
+- * GCC 'asm goto' miscompiles certain code sequences:
+- *
+- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
+- *
+- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
+- *
+- * (asm goto is automatically volatile - the naming reflects this.)
+- */
+-#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
+-
+-#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
+-#if GCC_VERSION >= 40400
+-#define __HAVE_BUILTIN_BSWAP32__
+-#define __HAVE_BUILTIN_BSWAP64__
+-#endif
+-#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600)
+-#define __HAVE_BUILTIN_BSWAP16__
+-#endif
+-#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
+Index: linux-3.19.8/include/linux/compiler-gcc5.h
+===================================================================
+--- linux-3.19.8.orig/include/linux/compiler-gcc5.h
++++ /dev/null
+@@ -1,65 +0,0 @@
+-#ifndef __LINUX_COMPILER_H
+-#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead."
+-#endif
+-
+-#define __used __attribute__((__used__))
+-#define __must_check __attribute__((warn_unused_result))
+-#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
+-
+-/* Mark functions as cold. gcc will assume any path leading to a call
+- to them will be unlikely. This means a lot of manual unlikely()s
+- are unnecessary now for any paths leading to the usual suspects
+- like BUG(), printk(), panic() etc. [but let's keep them for now for
+- older compilers]
+-
+- Early snapshots of gcc 4.3 don't support this and we can't detect this
+- in the preprocessor, but we can live with this because they're unreleased.
+- Maketime probing would be overkill here.
+-
+- gcc also has a __attribute__((__hot__)) to move hot functions into
+- a special section, but I don't see any sense in this right now in
+- the kernel context */
+-#define __cold __attribute__((__cold__))
+-
+-#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
+-
+-#ifndef __CHECKER__
+-# define __compiletime_warning(message) __attribute__((warning(message)))
+-# define __compiletime_error(message) __attribute__((error(message)))
+-#endif /* __CHECKER__ */
+-
+-/*
+- * Mark a position in code as unreachable. This can be used to
+- * suppress control flow warnings after asm blocks that transfer
+- * control elsewhere.
+- *
+- * Early snapshots of gcc 4.5 don't support this and we can't detect
+- * this in the preprocessor, but we can live with this because they're
+- * unreleased. Really, we need to have autoconf for the kernel.
+- */
+-#define unreachable() __builtin_unreachable()
+-
+-/* Mark a function definition as prohibited from being cloned. */
+-#define __noclone __attribute__((__noclone__))
+-
+-/*
+- * Tell the optimizer that something else uses this function or variable.
+- */
+-#define __visible __attribute__((externally_visible))
+-
+-/*
+- * GCC 'asm goto' miscompiles certain code sequences:
+- *
+- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
+- *
+- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
+- *
+- * (asm goto is automatically volatile - the naming reflects this.)
+- */
+-#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
+-
+-#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
+-#define __HAVE_BUILTIN_BSWAP32__
+-#define __HAVE_BUILTIN_BSWAP64__
+-#define __HAVE_BUILTIN_BSWAP16__
+-#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
+Index: linux-3.19.8/include/linux/compiler-gcc.h
+===================================================================
+--- linux-3.19.8.orig/include/linux/compiler-gcc.h
++++ linux-3.19.8/include/linux/compiler-gcc.h
+@@ -5,14 +5,28 @@
+ /*
+ * Common definitions for all gcc versions go here.
+ */
+-#define GCC_VERSION (__GNUC__ * 10000 \
+- + __GNUC_MINOR__ * 100 \
+- + __GNUC_PATCHLEVEL__)
+-
++#define GCC_VERSION (__GNUC__ * 10000 \
++ + __GNUC_MINOR__ * 100 \
++ + __GNUC_PATCHLEVEL__)
+
+ /* Optimization barrier */
++
+ /* The "volatile" is due to gcc bugs */
+ #define barrier() __asm__ __volatile__("": : :"memory")
++/*
++ * This version is i.e. to prevent dead stores elimination on @ptr
++ * where gcc and llvm may behave differently when otherwise using
++ * normal barrier(): while gcc behavior gets along with a normal
++ * barrier(), llvm needs an explicit input variable to be assumed
++ * clobbered. The issue is as follows: while the inline asm might
++ * access any memory it wants, the compiler could have fit all of
++ * @ptr into memory registers instead, and since @ptr never escaped
++ * from that, it proved that the inline asm wasn't touching any of
++ * it. This version works well with both compilers, i.e. we're telling
++ * the compiler that the inline asm absolutely may see the contents
++ * of @ptr. See also: https://llvm.org/bugs/show_bug.cgi?id=15495
++ */
++#define barrier_data(ptr) __asm__ __volatile__("": :"r"(ptr) :"memory")
+
+ /*
+ * This macro obfuscates arithmetic on a variable address so that gcc
+@@ -32,54 +46,63 @@
+ * the inline assembly constraint from =g to =r, in this particular
+ * case either is valid.
+ */
+-#define RELOC_HIDE(ptr, off) \
+- ({ unsigned long __ptr; \
+- __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
+- (typeof(ptr)) (__ptr + (off)); })
++#define RELOC_HIDE(ptr, off) \
++({ \
++ unsigned long __ptr; \
++ __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
++ (typeof(ptr)) (__ptr + (off)); \
++})
+
+ /* Make the optimizer believe the variable can be manipulated arbitrarily. */
+-#define OPTIMIZER_HIDE_VAR(var) __asm__ ("" : "=r" (var) : "0" (var))
++#define OPTIMIZER_HIDE_VAR(var) \
++ __asm__ ("" : "=r" (var) : "0" (var))
+
+ #ifdef __CHECKER__
+-#define __must_be_array(arr) 0
++#define __must_be_array(a) 0
+ #else
+ /* &a[0] degrades to a pointer: a different type from an array */
+-#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
++#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
+ #endif
+
+ /*
+ * Force always-inline if the user requests it so via the .config,
+ * or if gcc is too old:
+ */
+-#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
++#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
+ !defined(CONFIG_OPTIMIZE_INLINING) || (__GNUC__ < 4)
+-# define inline inline __attribute__((always_inline)) notrace
+-# define __inline__ __inline__ __attribute__((always_inline)) notrace
+-# define __inline __inline __attribute__((always_inline)) notrace
++#define inline inline __attribute__((always_inline)) notrace
++#define __inline__ __inline__ __attribute__((always_inline)) notrace
++#define __inline __inline __attribute__((always_inline)) notrace
+ #else
+ /* A lot of inline functions can cause havoc with function tracing */
+-# define inline inline notrace
+-# define __inline__ __inline__ notrace
+-# define __inline __inline notrace
++#define inline inline notrace
++#define __inline__ __inline__ notrace
++#define __inline __inline notrace
+ #endif
+
+-#define __deprecated __attribute__((deprecated))
+-#define __packed __attribute__((packed))
+-#define __weak __attribute__((weak))
++#define __always_inline inline __attribute__((always_inline))
++#define noinline __attribute__((noinline))
++
++#define __deprecated __attribute__((deprecated))
++#define __packed __attribute__((packed))
++#define __weak __attribute__((weak))
++#define __alias(symbol) __attribute__((alias(#symbol)))
+
+ /*
+- * it doesn't make sense on ARM (currently the only user of __naked) to trace
+- * naked functions because then mcount is called without stack and frame pointer
+- * being set up and there is no chance to restore the lr register to the value
+- * before mcount was called.
++ * it doesn't make sense on ARM (currently the only user of __naked)
++ * to trace naked functions because then mcount is called without
++ * stack and frame pointer being set up and there is no chance to
++ * restore the lr register to the value before mcount was called.
+ *
+- * The asm() bodies of naked functions often depend on standard calling conventions,
+- * therefore they must be noinline and noclone. GCC 4.[56] currently fail to enforce
+- * this, so we must do so ourselves. See GCC PR44290.
++ * The asm() bodies of naked functions often depend on standard calling
++ * conventions, therefore they must be noinline and noclone.
++ *
++ * GCC 4.[56] currently fail to enforce this, so we must do so ourselves.
++ * See GCC PR44290.
+ */
+-#define __naked __attribute__((naked)) noinline __noclone notrace
++#define __naked __attribute__((naked)) noinline __noclone notrace
+
+-#define __noreturn __attribute__((noreturn))
++#define __noreturn __attribute__((noreturn))
+
+ /*
+ * From the GCC manual:
+@@ -91,28 +114,184 @@
+ * would be.
+ * [...]
+ */
+-#define __pure __attribute__((pure))
+-#define __aligned(x) __attribute__((aligned(x)))
+-#define __printf(a, b) __attribute__((format(printf, a, b)))
+-#define __scanf(a, b) __attribute__((format(scanf, a, b)))
+-#define noinline __attribute__((noinline))
+-#define __attribute_const__ __attribute__((__const__))
+-#define __maybe_unused __attribute__((unused))
+-#define __always_unused __attribute__((unused))
+-
+-#define __gcc_header(x) #x
+-#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h)
+-#define gcc_header(x) _gcc_header(x)
+-#include gcc_header(__GNUC__)
++#define __pure __attribute__((pure))
++#define __aligned(x) __attribute__((aligned(x)))
++#define __printf(a, b) __attribute__((format(printf, a, b)))
++#define __scanf(a, b) __attribute__((format(scanf, a, b)))
++#define __attribute_const__ __attribute__((__const__))
++#define __maybe_unused __attribute__((unused))
++#define __always_unused __attribute__((unused))
++
++/* gcc version specific checks */
++
++#if GCC_VERSION < 30200
++# error Sorry, your compiler is too old - please upgrade it.
++#endif
++
++#if GCC_VERSION < 30300
++# define __used __attribute__((__unused__))
++#else
++# define __used __attribute__((__used__))
++#endif
++
++#ifdef CONFIG_GCOV_KERNEL
++# if GCC_VERSION < 30400
++# error "GCOV profiling support for gcc versions below 3.4 not included"
++# endif /* __GNUC_MINOR__ */
++#endif /* CONFIG_GCOV_KERNEL */
++
++#if GCC_VERSION >= 30400
++#define __must_check __attribute__((warn_unused_result))
++#define __malloc __attribute__((__malloc__))
++#endif
++
++#if GCC_VERSION >= 40000
++
++/* GCC 4.1.[01] miscompiles __weak */
++#ifdef __KERNEL__
++# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
++# error Your version of gcc miscompiles the __weak directive
++# endif
++#endif
++
++#define __used __attribute__((__used__))
++#define __compiler_offsetof(a, b) \
++ __builtin_offsetof(a, b)
++
++#if GCC_VERSION >= 40100
++# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
++#endif
++
++#if GCC_VERSION >= 40300
++/* Mark functions as cold. gcc will assume any path leading to a call
++ * to them will be unlikely. This means a lot of manual unlikely()s
++ * are unnecessary now for any paths leading to the usual suspects
++ * like BUG(), printk(), panic() etc. [but let's keep them for now for
++ * older compilers]
++ *
++ * Early snapshots of gcc 4.3 don't support this and we can't detect this
++ * in the preprocessor, but we can live with this because they're unreleased.
++ * Maketime probing would be overkill here.
++ *
++ * gcc also has a __attribute__((__hot__)) to move hot functions into
++ * a special section, but I don't see any sense in this right now in
++ * the kernel context
++ */
++#define __cold __attribute__((__cold__))
++
++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
++
++#ifndef __CHECKER__
++# define __compiletime_warning(message) __attribute__((warning(message)))
++# define __compiletime_error(message) __attribute__((error(message)))
++#endif /* __CHECKER__ */
++#endif /* GCC_VERSION >= 40300 */
++
++#if GCC_VERSION >= 40500
++
++#ifndef __CHECKER__
++#ifdef LATENT_ENTROPY_PLUGIN
++#define __latent_entropy __attribute__((latent_entropy))
++#endif
++#endif
++
++/*
++ * Mark a position in code as unreachable. This can be used to
++ * suppress control flow warnings after asm blocks that transfer
++ * control elsewhere.
++ *
++ * Early snapshots of gcc 4.5 don't support this and we can't detect
++ * this in the preprocessor, but we can live with this because they're
++ * unreleased. Really, we need to have autoconf for the kernel.
++ */
++#define unreachable() __builtin_unreachable()
++
++/* Mark a function definition as prohibited from being cloned. */
++#define __noclone __attribute__((__noclone__, __optimize__("no-tracer")))
++
++#endif /* GCC_VERSION >= 40500 */
++
++#if GCC_VERSION >= 40600
++/*
++ * When used with Link Time Optimization, gcc can optimize away C functions or
++ * variables which are referenced only from assembly code. __visible tells the
++ * optimizer that something else uses this function or variable, thus preventing
++ * this.
++ */
++#define __visible __attribute__((externally_visible))
++#endif
++
++
++#if GCC_VERSION >= 40900 && !defined(__CHECKER__)
++/*
++ * __assume_aligned(n, k): Tell the optimizer that the returned
++ * pointer can be assumed to be k modulo n. The second argument is
++ * optional (default 0), so we use a variadic macro to make the
++ * shorthand.
++ *
++ * Beware: Do not apply this to functions which may return
++ * ERR_PTRs. Also, it is probably unwise to apply it to functions
++ * returning extra information in the low bits (but in that case the
++ * compiler should see some alignment anyway, when the return value is
++ * massaged by 'flags = ptr & 3; ptr &= ~3;').
++ */
++#define __assume_aligned(a, ...) __attribute__((__assume_aligned__(a, ## __VA_ARGS__)))
++#endif
++
++/*
++ * GCC 'asm goto' miscompiles certain code sequences:
++ *
++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
++ *
++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
++ *
++ * (asm goto is automatically volatile - the naming reflects this.)
++ */
++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
++
++/*
++ * sparse (__CHECKER__) pretends to be gcc, but can't do constant
++ * folding in __builtin_bswap*() (yet), so don't set these for it.
++ */
++#if defined(CONFIG_ARCH_USE_BUILTIN_BSWAP) && !defined(__CHECKER__)
++#if GCC_VERSION >= 40400
++#define __HAVE_BUILTIN_BSWAP32__
++#define __HAVE_BUILTIN_BSWAP64__
++#endif
++#if GCC_VERSION >= 40800
++#define __HAVE_BUILTIN_BSWAP16__
++#endif
++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP && !__CHECKER__ */
++
++#if GCC_VERSION >= 70000
++#define KASAN_ABI_VERSION 5
++#elif GCC_VERSION >= 50000
++#define KASAN_ABI_VERSION 4
++#elif GCC_VERSION >= 40902
++#define KASAN_ABI_VERSION 3
++#endif
++
++#if GCC_VERSION >= 40902
++/*
++ * Tell the compiler that address safety instrumentation (KASAN)
++ * should not be applied to that function.
++ * Conflicts with inlining: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67368
++ */
++#define __no_sanitize_address __attribute__((no_sanitize_address))
++#endif
++
++#endif /* gcc version >= 40000 specific checks */
+
+ #if !defined(__noclone)
+ #define __noclone /* not needed */
+ #endif
+
++#if !defined(__no_sanitize_address)
++#define __no_sanitize_address
++#endif
++
+ /*
+ * A trick to suppress uninitialized variable warning without generating any
+ * code
+ */
+ #define uninitialized_var(x) x = x
+-
+-#define __always_inline inline __attribute__((always_inline))
diff --git a/patches/u-boot/2014.07/603-Add-linux-compiler-gcc5.h-to-fix-builds-with-gcc5.patch b/patches/u-boot/2014.07/603-Add-linux-compiler-gcc5.h-to-fix-builds-with-gcc5.patch
deleted file mode 100644
index b214836..0000000
--- a/patches/u-boot/2014.07/603-Add-linux-compiler-gcc5.h-to-fix-builds-with-gcc5.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-From 478b02f1a7043b673565075ea5016376f3293b23 Mon Sep 17 00:00:00 2001
-From: Hans de Goede <hde...@re...>
-Date: Sat, 7 Feb 2015 22:52:40 +0100
-Subject: [PATCH] Add linux/compiler-gcc5.h to fix builds with gcc5
-
-Add linux/compiler-gcc5/h from the kernel sources at:
-
-commit 5631b8fba640a4ab2f8a954f63a603fa34eda96b
-Author: Steven Noonan <st...@up...>
-Date: Sat Oct 25 15:09:42 2014 -0700
-
- compiler/gcc4+: Remove inaccurate comment about 'asm goto' miscompiles
-
-Signed-off-by: Hans de Goede <hde...@re...>
----
- include/linux/compiler-gcc5.h | 65 +++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 65 insertions(+)
- create mode 100644 include/linux/compiler-gcc5.h
-
-diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
-new file mode 100644
-index 0000000..c8c5659
---- /dev/null
-+++ b/include/linux/compiler-gcc5.h
-@@ -0,0 +1,65 @@
-+#ifndef __LINUX_COMPILER_H
-+#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead."
-+#endif
-+
-+#define __used __attribute__((__used__))
-+#define __must_check __attribute__((warn_unused_result))
-+#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
-+
-+/* Mark functions as cold. gcc will assume any path leading to a call
-+ to them will be unlikely. This means a lot of manual unlikely()s
-+ are unnecessary now for any paths leading to the usual suspects
-+ like BUG(), printk(), panic() etc. [but let's keep them for now for
-+ older compilers]
-+
-+ Early snapshots of gcc 4.3 don't support this and we can't detect this
-+ in the preprocessor, but we can live with this because they're unreleased.
-+ Maketime probing would be overkill here.
-+
-+ gcc also has a __attribute__((__hot__)) to move hot functions into
-+ a special section, but I don't see any sense in this right now in
-+ the kernel context */
-+#define __cold __attribute__((__cold__))
-+
-+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
-+
-+#ifndef __CHECKER__
-+# define __compiletime_warning(message) __attribute__((warning(message)))
-+# define __compiletime_error(message) __attribute__((error(message)))
-+#endif /* __CHECKER__ */
-+
-+/*
-+ * Mark a position in code as unreachable. This can be used to
-+ * suppress control flow warnings after asm blocks that transfer
-+ * control elsewhere.
-+ *
-+ * Early snapshots of gcc 4.5 don't support this and we can't detect
-+ * this in the preprocessor, but we can live with this because they're
-+ * unreleased. Really, we need to have autoconf for the kernel.
-+ */
-+#define unreachable() __builtin_unreachable()
-+
-+/* Mark a function definition as prohibited from being cloned. */
-+#define __noclone __attribute__((__noclone__))
-+
-+/*
-+ * Tell the optimizer that something else uses this function or variable.
-+ */
-+#define __visible __attribute__((externally_visible))
-+
-+/*
-+ * GCC 'asm goto' miscompiles certain code sequences:
-+ *
-+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
-+ *
-+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
-+ *
-+ * (asm goto is automatically volatile - the naming reflects this.)
-+ */
-+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
-+
-+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
-+#define __HAVE_BUILTIN_BSWAP32__
-+#define __HAVE_BUILTIN_BSWAP64__
-+#define __HAVE_BUILTIN_BSWAP16__
-+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
---
-2.3.6
diff --git a/patches/u-boot/2014.07/604-inline-use-the-gcc-inline-version.patch b/patches/u-boot/2014.07/604-inline-use-the-gcc-inline-version.patch
deleted file mode 100644
index 0e8c88c..0000000
--- a/patches/u-boot/2014.07/604-inline-use-the-gcc-inline-version.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Author: Jeroen Hofstee jeroen at myspectrum.nl
-See http://lists.denx.de/pipermail/u-boot/2014-May/180709.html
-Index: uboot-2014.07/include/linux/compiler-gcc.h
-===================================================================
---- uboot-2014.07.orig/include/linux/compiler-gcc.h
-+++ uboot-2014.07/include/linux/compiler-gcc.h
-@@ -44,9 +44,10 @@
- */
- #if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
- !defined(CONFIG_OPTIMIZE_INLINING) || (__GNUC__ < 4)
--# define inline inline __attribute__((always_inline))
--# define __inline__ __inline__ __attribute__((always_inline))
--# define __inline __inline __attribute__((always_inline))
-+/* XXX: check __GNUC_STDC_INLINE__, fix line length */
-+# define inline inline __attribute__((always_inline)) __attribute__((__gnu_inline__))
-+# define __inline__ __inline__ __attribute__((always_inline)) __attribute__((__gnu_inline__))
-+# define __inline __inline __attribute__((always_inline)) __attribute__((__gnu_inline__))
- #endif
-
- #define __deprecated __attribute__((deprecated))
diff --git a/patches/u-boot/2014.07/605-armadeus-sync-include-linux-compiler-gcc-h.patch b/patches/u-boot/2014.07/605-armadeus-sync-include-linux-compiler-gcc-h.patch
new file mode 100644
index 0000000..787c132
--- /dev/null
+++ b/patches/u-boot/2014.07/605-armadeus-sync-include-linux-compiler-gcc-h.patch
@@ -0,0 +1,401 @@
+Sync include/linux/compiler-gcc* with upstream 2017.03
+
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+Index: uboot-2014.07/include/linux/compiler-gcc3.h
+===================================================================
+--- uboot-2014.07.orig/include/linux/compiler-gcc3.h
++++ /dev/null
+@@ -1,21 +0,0 @@
+-#ifndef __LINUX_COMPILER_H
+-#error "Please don't include <linux/compiler-gcc3.h> directly, include <linux/compiler.h> instead."
+-#endif
+-
+-#if __GNUC_MINOR__ >= 3
+-# define __used __attribute__((__used__))
+-#else
+-# define __used __attribute__((__unused__))
+-#endif
+-
+-#if __GNUC_MINOR__ >= 4
+-#define __must_check __attribute__((warn_unused_result))
+-#endif
+-
+-/*
+- * A trick to suppress uninitialized variable warning without generating any
+- * code
+- */
+-#define uninitialized_var(x) x = x
+-
+-#define __always_inline inline __attribute__((always_inline))
+Index: uboot-2014.07/include/linux/compiler-gcc4.h
+===================================================================
+--- uboot-2014.07.orig/include/linux/compiler-gcc4.h
++++ /dev/null
+@@ -1,63 +0,0 @@
+-#ifndef __LINUX_COMPILER_H
+-#error "Please don't include <linux/compiler-gcc4.h> directly, include <linux/compiler.h> instead."
+-#endif
+-
+-/* GCC 4.1.[01] miscompiles __weak */
+-#ifdef __KERNEL__
+-# if __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ <= 1
+-# error Your version of gcc miscompiles the __weak directive
+-# endif
+-#endif
+-
+-#define __used __attribute__((__used__))
+-#define __must_check __attribute__((warn_unused_result))
+-#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
+-#ifndef __always_inline
+-# define __always_inline inline __attribute__((always_inline))
+-#endif
+-
+-/*
+- * A trick to suppress uninitialized variable warning without generating any
+- * code
+- */
+-#define uninitialized_var(x) x = x
+-
+-#if __GNUC_MINOR__ >= 3
+-/* Mark functions as cold. gcc will assume any path leading to a call
+- to them will be unlikely. This means a lot of manual unlikely()s
+- are unnecessary now for any paths leading to the usual suspects
+- like BUG(), printk(), panic() etc. [but let's keep them for now for
+- older compilers]
+-
+- Early snapshots of gcc 4.3 don't support this and we can't detect this
+- in the preprocessor, but we can live with this because they're unreleased.
+- Maketime probing would be overkill here.
+-
+- gcc also has a __attribute__((__hot__)) to move hot functions into
+- a special section, but I don't see any sense in this right now in
+- the kernel context */
+-#define __cold __attribute__((__cold__))
+-
+-
+-#if __GNUC_MINOR__ >= 5
+-/*
+- * Mark a position in code as unreachable. This can be used to
+- * suppress control flow warnings after asm blocks that transfer
+- * control elsewhere.
+- *
+- * Early snapshots of gcc 4.5 don't support this and we can't detect
+- * this in the preprocessor, but we can live with this because they're
+- * unreleased. Really, we need to have autoconf for the kernel.
+- */
+-#define unreachable() __builtin_unreachable()
+-#endif
+-
+-#endif
+-
+-#if __GNUC_MINOR__ > 0
+-#define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
+-#endif
+-#if __GNUC_MINOR__ >= 4
+-#define __compiletime_warning(message) __attribute__((warning(message)))
+-#define __compiletime_error(message) __attribute__((error(message)))
+-#endif
+Index: uboot-2014.07/include/linux/compiler-gcc.h
+===================================================================
+--- uboot-2014.07.orig/include/linux/compiler-gcc.h
++++ uboot-2014.07/include/linux/compiler-gcc.h
+@@ -5,11 +5,28 @@
+ /*
+ * Common definitions for all gcc versions go here.
+ */
+-
++#define GCC_VERSION (__GNUC__ * 10000 \
++ + __GNUC_MINOR__ * 100 \
++ + __GNUC_PATCHLEVEL__)
+
+ /* Optimization barrier */
++
+ /* The "volatile" is due to gcc bugs */
+ #define barrier() __asm__ __volatile__("": : :"memory")
++/*
++ * This version is i.e. to prevent dead stores elimination on @ptr
++ * where gcc and llvm may behave differently when otherwise using
++ * normal barrier(): while gcc behavior gets along with a normal
++ * barrier(), llvm needs an explicit input variable to be assumed
++ * clobbered. The issue is as follows: while the inline asm might
++ * access any memory it wants, the compiler could have fit all of
++ * @ptr into memory registers instead, and since @ptr never escaped
++ * from that, it proofed that the inline asm wasn't touching any of
++ * it. This version works well with both compilers, i.e. we're telling
++ * the compiler that the inline asm absolutely may see the contents
++ * of @ptr. See also: https://llvm.org/bugs/show_bug.cgi?id=15495
++ */
++#define barrier_data(ptr) __asm__ __volatile__("": :"r"(ptr) :"memory")
+
+ /*
+ * This macro obfuscates arithmetic on a variable address so that gcc
+@@ -29,41 +46,63 @@
+ * the inline assembly constraint from =g to =r, in this particular
+ * case either is valid.
+ */
+-#define RELOC_HIDE(ptr, off) \
+- ({ unsigned long __ptr; \
+- __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
+- (typeof(ptr)) (__ptr + (off)); })
++#define RELOC_HIDE(ptr, off) \
++({ \
++ unsigned long __ptr; \
++ __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
++ (typeof(ptr)) (__ptr + (off)); \
++})
++
++/* Make the optimizer believe the variable can be manipulated arbitrarily. */
++#define OPTIMIZER_HIDE_VAR(var) \
++ __asm__ ("" : "=r" (var) : "0" (var))
+
++#ifdef __CHECKER__
++#define __must_be_array(a) 0
++#else
+ /* &a[0] degrades to a pointer: a different type from an array */
+-#define __must_be_array(a) \
+- BUILD_BUG_ON_ZERO(__builtin_types_compatible_p(typeof(a), typeof(&a[0])))
++#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
++#endif
+
+ /*
+ * Force always-inline if the user requests it so via the .config,
+ * or if gcc is too old:
+ */
+-#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
++#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
+ !defined(CONFIG_OPTIMIZE_INLINING) || (__GNUC__ < 4)
+-# define inline inline __attribute__((always_inline))
+-# define __inline__ __inline__ __attribute__((always_inline))
+-# define __inline __inline __attribute__((always_inline))
++#define inline inline __attribute__((always_inline)) notrace
++#define __inline__ __inline__ __attribute__((always_inline)) notrace
++#define __inline __inline __attribute__((always_inline)) notrace
++#else
++/* A lot of inline functions can cause havoc with function tracing */
++#define inline inline notrace
++#define __inline__ __inline__ notrace
++#define __inline __inline notrace
+ #endif
+
+-#define __deprecated __attribute__((deprecated))
+-#ifndef __packed
+-# define __packed __attribute__((packed))
+-#endif
+-#define __weak __attribute__((weak))
++#define __always_inline inline __attribute__((always_inline))
++#define noinline __attribute__((noinline))
++
++#define __deprecated __attribute__((deprecated))
++#define __packed __attribute__((packed))
++#define __weak __attribute__((weak))
++#define __alias(symbol) __attribute__((alias(#symbol)))
+
+ /*
+- * it doesn't make sense on ARM (currently the only user of __naked) to trace
+- * naked functions because then mcount is called without stack and frame pointer
+- * being set up and there is no chance to restore the lr register to the value
+- * before mcount was called.
++ * it doesn't make sense on ARM (currently the only user of __naked)
++ * to trace naked functions because then mcount is called without
++ * stack and frame pointer being set up and there is no chance to
++ * restore the lr register to the value before mcount was called.
++ *
++ * The asm() bodies of naked functions often depend on standard calling
++ * conventions, therefore they must be noinline and noclone.
++ *
++ * GCC 4.[56] currently fail to enforce this, so we must do so ourselves.
++ * See GCC PR44290.
+ */
+-#define __naked __attribute__((naked)) notrace
++#define __naked __attribute__((naked)) noinline __noclone notrace
+
+-#define __noreturn __attribute__((noreturn))
++#define __noreturn __attribute__((noreturn))
+
+ /*
+ * From the GCC manual:
+@@ -75,19 +114,170 @@
+ * would be.
+ * [...]
+ */
+-#ifndef __pure
+-# define __pure __attribute__((pure))
++#define __pure __attribute__((pure))
++#define __aligned(x) __attribute__((aligned(x)))
++#define __printf(a, b) __attribute__((format(printf, a, b)))
++#define __scanf(a, b) __attribute__((format(scanf, a, b)))
++#define __attribute_const__ __attribute__((__const__))
++#define __maybe_unused __attribute__((unused))
++#define __always_unused __attribute__((unused))
++
++/* gcc version specific checks */
++
++#if GCC_VERSION < 30200
++# error Sorry, your compiler is too old - please upgrade it.
++#endif
++
++#if GCC_VERSION < 30300
++# define __used __attribute__((__unused__))
++#else
++# define __used __attribute__((__used__))
++#endif
++
++#ifdef CONFIG_GCOV_KERNEL
++# if GCC_VERSION < 30400
++# error "GCOV profiling support for gcc versions below 3.4 not included"
++# endif /* __GNUC_MINOR__ */
++#endif /* CONFIG_GCOV_KERNEL */
++
++#if GCC_VERSION >= 30400
++#define __must_check __attribute__((warn_unused_result))
+ #endif
+-#ifndef __aligned
+-# define __aligned(x) __attribute__((aligned(x)))
++
++#if GCC_VERSION >= 40000
++
++/* GCC 4.1.[01] miscompiles __weak */
++#ifdef __KERNEL__
++# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
++# error Your version of gcc miscompiles the __weak directive
++# endif
++#endif
++
++#define __used __attribute__((__used__))
++#define __compiler_offsetof(a, b) \
++ __builtin_offsetof(a, b)
++
++#if GCC_VERSION >= 40100 && GCC_VERSION < 40600
++# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
+ #endif
+-#define __printf(a,b) __attribute__((format(printf,a,b)))
+-#define noinline __attribute__((noinline))
+-#define __attribute_const__ __attribute__((__const__))
+-#define __maybe_unused __attribute__((unused))
+-#define __always_unused __attribute__((unused))
+-
+-#define __gcc_header(x) #x
+-#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h)
+-#define gcc_header(x) _gcc_header(x)
+-#include gcc_header(__GNUC__)
++
++#if GCC_VERSION >= 40300
++/* Mark functions as cold. gcc will assume any path leading to a call
++ * to them will be unlikely. This means a lot of manual unlikely()s
++ * are unnecessary now for any paths leading to the usual suspects
++ * like BUG(), printk(), panic() etc. [but let's keep them for now for
++ * older compilers]
++ *
++ * Early snapshots of gcc 4.3 don't support this and we can't detect this
++ * in the preprocessor, but we can live with this because they're unreleased.
++ * Maketime probing would be overkill here.
++ *
++ * gcc also has a __attribute__((__hot__)) to move hot functions into
++ * a special section, but I don't see any sense in this right now in
++ * the kernel context
++ */
++#define __cold __attribute__((__cold__))
++
++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
++
++#ifndef __CHECKER__
++# define __compiletime_warning(message) __attribute__((warning(message)))
++# define __compiletime_error(message) __attribute__((error(message)))
++#endif /* __CHECKER__ */
++#endif /* GCC_VERSION >= 40300 */
++
++#if GCC_VERSION >= 40500
++/*
++ * Mark a position in code as unreachable. This can be used to
++ * suppress control flow warnings after asm blocks that transfer
++ * control elsewhere.
++ *
++ * Early snapshots of gcc 4.5 don't support this and we can't detect
++ * this in the preprocessor, but we can live with this because they're
++ * unreleased. Really, we need to have autoconf for the kernel.
++ */
++#define unreachable() __builtin_unreachable()
++
++/* Mark a function definition as prohibited from being cloned. */
++#define __noclone __attribute__((__noclone__))
++
++#endif /* GCC_VERSION >= 40500 */
++
++#if GCC_VERSION >= 40600
++/*
++ * When used with Link Time Optimization, gcc can optimize away C functions or
++ * variables which are referenced only from assembly code. __visible tells the
++ * optimizer that something else uses this function or variable, thus preventing
++ * this.
++ */
++#define __visible __attribute__((externally_visible))
++#endif
++
++
++#if GCC_VERSION >= 40900 && !defined(__CHECKER__)
++/*
++ * __assume_aligned(n, k): Tell the optimizer that the returned
++ * pointer can be assumed to be k modulo n. The second argument is
++ * optional (default 0), so we use a variadic macro to make the
++ * shorthand.
++ *
++ * Beware: Do not apply this to functions which may return
++ * ERR_PTRs. Also, it is probably unwise to apply it to functions
++ * returning extra information in the low bits (but in that case the
++ * compiler should see some alignment anyway, when the return value is
++ * massaged by 'flags = ptr & 3; ptr &= ~3;').
++ */
++#define __assume_aligned(a, ...) __attribute__((__assume_aligned__(a, ## __VA_ARGS__)))
++#endif
++
++/*
++ * GCC 'asm goto' miscompiles certain code sequences:
++ *
++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
++ *
++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
++ *
++ * (asm goto is automatically volatile - the naming reflects this.)
++ */
++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
++
++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
++#if GCC_VERSION >= 40400
++#define __HAVE_BUILTIN_BSWAP32__
++#define __HAVE_BUILTIN_BSWAP64__
++#endif
++#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600)
++#define __HAVE_BUILTIN_BSWAP16__
++#endif
++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
++
++#if GCC_VERSION >= 50000
++#define KASAN_ABI_VERSION 4
++#elif GCC_VERSION >= 40902
++#define KASAN_ABI_VERSION 3
++#endif
++
++#if GCC_VERSION >= 40902
++/*
++ * Tell the compiler that address safety instrumentation (KASAN)
++ * should not be applied to that function.
++ * Conflicts with inlining: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67368
++ */
++#define __no_sanitize_address __attribute__((no_sanitize_address))
++#endif
++
++#endif /* gcc version >= 40000 specific checks */
++
++#if !defined(__noclone)
++#define __noclone /* not needed */
++#endif
++
++#if !defined(__no_sanitize_address)
++#define __no_sanitize_address
++#endif
++
++/*
++ * A trick to suppress uninitialized variable warning without generating any
++ * code
++ */
++#define uninitialized_var(x) x = x
diff --git a/patches/u-boot/2014.07/606-asm-io.h-use-static-inline.patch b/patches/u-boot/2014.07/606-asm-io.h-use-static-inline.patch
new file mode 100644
index 0000000..3600516
--- /dev/null
+++ b/patches/u-boot/2014.07/606-asm-io.h-use-static-inline.patch
@@ -0,0 +1,75 @@
+From 8863aa5c984460ce1112d8db895cbf8b13a6ac9d Mon Sep 17 00:00:00 2001
+From: Jeroen Hofstee <je...@my...>
+Date: Sun, 22 Jun 2014 23:10:39 +0200
+Subject: [PATCH] ARM:asm:io.h use static inline
+
+When compiling u-boot with W=1 the extern inline void for
+read* is likely causing the most noise. gcc / clang will
+warn there is never a actual declaration for these functions.
+Instead of declaring these extern make them static inline so
+it is actually declared.
+
+cc: Albert ARIBAUD <alb...@ar...>
+Signed-off-by: Jeroen Hofstee <je...@my...>
+---
+ arch/arm/include/asm/io.h | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
+index 6d18eb3..88ecddb 100644
+--- a/arch/arm/include/asm/io.h
++++ b/arch/arm/include/asm/io.h
+@@ -77,7 +77,7 @@ static inline phys_addr_t virt_to_phys(void * vaddr)
+ #define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v))
+ #define __arch_putq(v,a) (*(volatile unsigned long long *)(a) = (v))
+
+-extern inline void __raw_writesb(unsigned long addr, const void *data,
++static inline void __raw_writesb(unsigned long addr, const void *data,
+ int bytelen)
+ {
+ uint8_t *buf = (uint8_t *)data;
+@@ -85,7 +85,7 @@ extern inline void __raw_writesb(unsigned long addr, const void *data,
+ __arch_putb(*buf++, addr);
+ }
+
+-extern inline void __raw_writesw(unsigned long addr, const void *data,
++static inline void __raw_writesw(unsigned long addr, const void *data,
+ int wordlen)
+ {
+ uint16_t *buf = (uint16_t *)data;
+@@ -93,7 +93,7 @@ extern inline void __raw_writesw(unsigned long addr, const void *data,
+ __arch_putw(*buf++, addr);
+ }
+
+-extern inline void __raw_writesl(unsigned long addr, const void *data,
++static inline void __raw_writesl(unsigned long addr, const void *data,
+ int longlen)
+ {
+ uint32_t *buf = (uint32_t *)data;
+@@ -101,21 +101,21 @@ extern inline void __raw_writesl(unsigned long addr, const void *data,
+ __arch_putl(*buf++, addr);
+ }
+
+-extern inline void __raw_readsb(unsigned long addr, void *data, int bytelen)
++static inline void __raw_readsb(unsigned long addr, void *data, int bytelen)
+ {
+ uint8_t *buf = (uint8_t *)data;
+ while(bytelen--)
+ *buf++ = __arch_getb(addr);
+ }
+
+-extern inline void __raw_readsw(unsigned long addr, void *data, int wordlen)
++static inline void __raw_readsw(unsigned long addr, void *data, int wordlen)
+ {
+ uint16_t *buf = (uint16_t *)data;
+ while(wordlen--)
+ *buf++ = __arch_getw(addr);
+ }
+
+-extern inline void __raw_readsl(unsigned long addr, void *data, int longlen)
++static inline void __raw_readsl(unsigned long addr, void *data, int longlen)
+ {
+ uint32_t *buf = (uint32_t *)data;
+ while(longlen--)
+--
+2.7.3
diff --git a/patches/u-boot/2014.07/607-common-main.c-make-show_boot_progress-__weak.patch b/patches/u-boot/2014.07/607-common-main.c-make-show_boot_progress-__weak.patch
new file mode 100644
index 0000000..5ec7cac
--- /dev/null
+++ b/patches/u-boot/2014.07/607-common-main.c-make-show_boot_progress-__weak.patch
@@ -0,0 +1,30 @@
+From 3422299dc28fa8257677d03cc1253e3c9bf17e9f Mon Sep 17 00:00:00 2001
+From: Jeroen Hofstee <je...@my...>
+Date: Thu, 26 Jun 2014 20:18:31 +0200
+Subject: [PATCH] common: main.c: make show_boot_progress __weak
+
+This not only looks a bit better it also prevents a
+warning with W=1 (no previous prototype).
+
+Signed-off-by: Jeroen Hofstee <je...@my...>
+Acked-by: Simon Glass <sj...@ch...>
+---
+ common/main.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/common/main.c b/common/main.c
+index 32618f1..2979fbe 100644
+--- a/common/main.c
++++ b/common/main.c
+@@ -17,8 +17,7 @@ DECLARE_GLOBAL_DATA_PTR;
+ /*
+ * Board-specific Platform code can reimplement show_boot_progress () if needed
+ */
+-void inline __show_boot_progress (int val) {}
+-void show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
++__weak void show_boot_progress(int val) {}
+
+ static void modem_init(void)
+ {
+--
+2.7.3
diff --git a/patches/u-boot/2014.07/608-common-board_f-cosmetic-use-__weak-for-leds.patch b/patches/u-boot/2014.07/608-common-board_f-cosmetic-use-__weak-for-leds.patch
new file mode 100644
index 0000000..8b38403
--- /dev/null
+++ b/patches/u-boot/2014.07/608-common-board_f-cosmetic-use-__weak-for-leds.patch
@@ -0,0 +1,108 @@
+From c5d4001a1cbca546f83ec7f2299c664fb00e6451 Mon Sep 17 00:00:00 2001
+From: Jeroen Hofstee <je...@my...>
+Date: Mon, 23 Jun 2014 23:20:19 +0200
+Subject: [PATCH] common: board_f: cosmetic use __weak for leds
+
+First of all this looks a lot better, but it also
+prevents a gcc warning (W=1), that the weak function
+has no previous prototype.
+
+cc: Simon Glass <sj...@ch...>
+Signed-off-by: Jeroen Hofstee <je...@my...>
+Acked-by: Simon Glass <sj...@ch...>
+---
+ common/board_f.c | 29 ++++++++++-------------------
+ include/status_led.h | 22 +++++++++++-----------
+ 2 files changed, 21 insertions(+), 30 deletions(-)
+
+diff --git a/common/board_f.c b/common/board_f.c
+index 4ea4cb2..bdab38e 100644
+--- a/common/board_f.c
++++ b/common/board_f.c
+@@ -37,6 +37,7 @@
+ #include <os.h>
+ #include <post.h>
+ #include <spi.h>
++#include <status_led.h>
+ #include <trace.h>
+ #include <watchdog.h>
+ #include <asm/errno.h>
+@@ -78,25 +79,15 @@ DECLARE_GLOBAL_DATA_PTR;
+ ************************************************************************
+ * May be supplied by boards if desired
+ */
+-inline void __coloured_LED_init(void) {}
+-void coloured_LED_init(void)
+- __attribute__((weak, alias("__coloured_LED_init")));
+-inline void __red_led_on(void) {}
+-void red_led_on(void) __attribute__((weak, alias("__red_led_on")));
+-inline void __red_led_off(void) {}
+-void red_led_off(void) __attribute__((weak, alias("__red_led_off")));
+-inline void __green_led_on(void) {}
+-void green_led_on(void) __attribute__((weak, alias("__green_led_on")));
+-inline void __green_led_off(void) {}
+-void green_led_off(void) __attribute__((weak, alias("__green_led_off")));
+-inline void __yellow_led_on(void) {}
+-void yellow_led_on(void) __attribute__((weak, alias("__yellow_led_on")));
+-inline void __yellow_led_off(void) {}
+-void yellow_led_off(void) __attribute__((weak, alias("__yellow_led_off")));
+-inline void __blue_led_on(void) {}
+-void blue_led_on(void) __attribute__((weak, alias("__blue_led_on")));
+-inline void __blue_led_off(void) {}
+-void blue_led_off(void) __attribute__((weak, alias("__blue_led_off")));
++__weak void coloured_LED_init(void) {}
++__weak void red_led_on(void) {}
++__weak void red_led_off(void) {}
++__weak void green_led_on(void) {}
++__weak void green_led_off(void) {}
++__weak void yellow_led_on(void) {}
++__weak void yellow_led_off(void) {}
++__weak void blue_led_on(void) {}
++__weak void blue_led_off(void) {}
+
+ /*
+ * Why is gd allocated a register? Prior to reloc it might be better to
+diff --git a/include/status_led.h b/include/status_led.h
+index 0eb91b8..b8aaaf7 100644
+--- a/include/status_led.h
++++ b/include/status_led.h
+@@ -272,19 +272,21 @@ extern void __led_set (led_id_t mask, int state);
+ # include <asm/status_led.h>
+ #endif
+
++#endif /* CONFIG_STATUS_LED */
++
+ /*
+ * Coloured LEDs API
+ */
+ #ifndef __ASSEMBLY__
+-extern void coloured_LED_init (void);
+-extern void red_led_on(void);
+-extern void red_led_off(void);
+-extern void green_led_on(void);
+-extern void green_led_off(void);
+-extern void yellow_led_on(void);
+-extern void yellow_led_off(void);
+-extern void blue_led_on(void);
+-extern void blue_led_off(void);
++void coloured_LED_init(void);
++void red_led_on(void);
++void red_led_off(void);
++void green_led_on(void);
++void green_led_off(void);
++void yellow_led_on(void);
++void yellow_led_off(void);
++void blue_led_on(void);
++void blue_led_off(void);
+ #else
+ .extern LED_init
+ .extern red_led_on
+@@ -297,6 +299,4 @@ extern void blue_led_off(void);
+ .extern blue_led_off
+ #endif
+
+-#endif /* CONFIG_STATUS_LED */
+-
+ #endif /* _STATUS_LED_H_ */
+--
+2.7.3
diff --git a/target/linux/debug/imxregs/imx6regs.h b/target/linux/debug/imxregs/imx6regs.h
index 246b97a..7706da7 100644
--- a/target/linux/debug/imxregs/imx6regs.h
+++ b/target/linux/debug/imxregs/imx6regs.h
@@ -99,6 +99,8 @@ static struct reg_info regs[] =
{ "IPU2_CONF", 0x02a00000, 0, 0xffffffff, 'x', "IPU2 (#1) Configuration (D/Q)" },
{ "IPU2_IC_CONF", 0x02a20000, 0, 0xffffffff, 'x', "IPU2 (#1) IC Configuration Register" },
+{ "MMDC1_MDCTL", 0x021b0000, 0, 0xffffffff, 'x', "MMDC Core Control Register" },
+
// The following registers have to be tested
//{ "AUDMUX_PDCR1", 0x021D8004, 0, 0xffffffff, 'x', "AUDMUX_PDCR1" },
//{ "AUDMUX_PDCR2", 0x021D800C, 0, 0xffffffff, 'x', "AUDMUX_PDCR2" },
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-27 15:41:16
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via f788b3f160f9bdf1e8cdd56aad5fab168b5caeba (commit)
via e230e4c206af52f2e341f239b7aeddab4e9f428a (commit)
via 20a9a29cdc5b5e2e4fce7827d0c8243efcbf7287 (commit)
via f0b98a251bd843315ebc15902c32777533984096 (commit)
via 1301a70ae008d0eb3209bb0adf8643e1dde8fc30 (commit)
from 709ea0681e38fd599cb282af53bdca96cff3c7b2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f788b3f160f9bdf1e8cdd56aad5fab168b5caeba
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 27 17:39:39 2017 +0200
[DEMOS] oscillo: add real hardware support through AsDevices
commit e230e4c206af52f2e341f239b7aeddab4e9f428a
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 27 16:58:55 2017 +0200
[DEMOS] oscillo: add 32bpp framebuffer support
commit 20a9a29cdc5b5e2e4fce7827d0c8243efcbf7287
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 27 16:40:56 2017 +0200
[DEMOS] oscillo: makes drawing cursor visible
commit f0b98a251bd843315ebc15902c32777533984096
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 27 16:37:46 2017 +0200
[DEMOS] oscillo: create installdir when not existing
commit 1301a70ae008d0eb3209bb0adf8643e1dde8fc30
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 27 16:31:50 2017 +0200
[DEMOS] oscillo: Makefile beautifying
-----------------------------------------------------------------------
Summary of changes:
buildroot/package/armadeus/demos/Config.in | 6 +++-
buildroot/package/armadeus/demos/demos.mk | 3 +-
target/demos/oscillo/Makefile | 14 ++++----
target/demos/oscillo/README | 3 +-
target/demos/oscillo/lcd.c | 19 +++++-----
target/demos/oscillo/lcd.h | 2 +-
target/demos/oscillo/main.c | 56 ++++++++++++++++++++++--------
7 files changed, 69 insertions(+), 34 deletions(-)
diff --git a/buildroot/package/armadeus/demos/Config.in b/buildroot/package/armadeus/demos/Config.in
index 1b871bb..da6aeda 100644
--- a/buildroot/package/armadeus/demos/Config.in
+++ b/buildroot/package/armadeus/demos/Config.in
@@ -56,8 +56,12 @@ config BR2_PACKAGE_ARMADEUS_DEMOS_CAPTURE_VPU
config BR2_PACKAGE_ARMADEUS_DEMOS_OSCILLO
bool "Oscilloscope"
+ depends on BR2_PACKAGE_AS_DEVICES
help
- MAX1027 data viewer "Ã la" oscilloscope. (Work in progress).
+ ADC inputs viewer "Ã la" oscilloscope. (Work in progress).
+
+comment "Oscilloscope requires as_devices"
+ depends on !BR2_PACKAGE_AS_DEVICES
config BR2_PACKAGE_ARMADEUS_DEMOS_SHOW_IMAGE
bool "Image viewer"
diff --git a/buildroot/package/armadeus/demos/demos.mk b/buildroot/package/armadeus/demos/demos.mk
index eb022ce..22611eb 100644
--- a/buildroot/package/armadeus/demos/demos.mk
+++ b/buildroot/package/armadeus/demos/demos.mk
@@ -4,7 +4,7 @@
#
#############################################################
-DEMOS_VERSION = 1.0
+DEMOS_VERSION = 1.1
DEMOS_SITE = $(TOPDIR)/../target/demos
DEMOS_SITE_METHOD = local
@@ -56,6 +56,7 @@ endif
ifeq ($(BR2_PACKAGE_ARMADEUS_DEMOS_OSCILLO),y)
ARMADEUS-DEMOS_SUBDIRS += oscillo
+DEMOS_DEPENDENCIES += as_devices
endif
ifeq ($(BR2_PACKAGE_ARMADEUS_DEMOS_SHOW_IMAGE),y)
diff --git a/target/demos/oscillo/Makefile b/target/demos/oscillo/Makefile
index 0adea6a..5a19629 100644
--- a/target/demos/oscillo/Makefile
+++ b/target/demos/oscillo/Makefile
@@ -1,11 +1,10 @@
ARMADEUS_BASE_DIR=../../..
-include $(ARMADEUS_BASE_DIR)/Makefile.in
-CC:=$(ARMADEUS_TOOLCHAIN_PATH)/$(ARMADEUS_TOOLCHAIN_PREFIX)gcc
-CFLAGS=-g -W -Wall
-LDFLAGS=-lm
-INSTALL_DIR=/tftpboot
-
+CC = $(ARMADEUS_TOOLCHAIN_PATH)/$(ARMADEUS_TOOLCHAIN_PREFIX)gcc
+CFLAGS = -g -W -Wall
+LDFLAGS = -lm -las_devices
+INSTALL_DIR = /tftpboot
SRC= $(wildcard *.c)
OBJ= $(SRC:.c=.o)
@@ -17,7 +16,8 @@ $(EXEC): $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
- $(CC) -o $@ -c $< $(CFLAGS)
+ @echo " CC $<"
+ @$(CC) -o $@ -c $< $(CFLAGS)
.PHONY: clean install
@@ -26,5 +26,5 @@ clean:
rm -f $(EXEC)
install: all
+ mkdir -p $(INSTALL_DIR)
cp -f $(EXEC) $(INSTALL_DIR)
-
diff --git a/target/demos/oscillo/README b/target/demos/oscillo/README
index effc687..84a8570 100644
--- a/target/demos/oscillo/README
+++ b/target/demos/oscillo/README
@@ -1,5 +1,4 @@
Under development !
-Will graphically show (raw framebuffer) APF's ADC (MAX1027) inputs by using
+Will graphically show (raw framebuffer access) APF/OPOS's ADC inputs by using
AsDevices library.
-
diff --git a/target/demos/oscillo/lcd.c b/target/demos/oscillo/lcd.c
index f6ee35a..28ee37e 100644
--- a/target/demos/oscillo/lcd.c
+++ b/target/demos/oscillo/lcd.c
@@ -113,19 +113,22 @@ void draw_pixel(unsigned int x, unsigned int y, struct color rgb)
y = vinfo.yres-1;
}
location = (x+vinfo.xoffset) * (vinfo.bits_per_pixel/8) +
- (y+vinfo.yoffset) * finfo.line_length;
-
- unsigned short int t = ((rgb.r&0xf8)>>3)<<11 | ((rgb.g&0xfc)>>2) << 5 | ((rgb.b&0xf8)>>3);
- *((unsigned short int*)(fbp + location)) = t;
+ (y+vinfo.yoffset) * finfo.line_length;
+
+ if (vinfo.bits_per_pixel == 16) {
+ unsigned short int t = ((rgb.r&0xf8)>>3)<<11 | ((rgb.g&0xfc)>>2) << 5 | ((rgb.b&0xf8)>>3);
+ *((unsigned short int*)(fbp + location)) = t;
+ } else {
+ unsigned int t = (rgb.r << 16) | (rgb.g << 8) | (rgb.b);
+ *((unsigned int*)(fbp + location)) = t;
+ }
}
-void clear_vline(unsigned int x)
+void clear_vline(unsigned int x, struct color rgb)
{
unsigned int y = 0;
- struct color black = {0,0,0};
for (y=0; y<vinfo.yres; y++) {
- draw_pixel(x, y, black);
+ draw_pixel(x, y, rgb);
}
}
-
diff --git a/target/demos/oscillo/lcd.h b/target/demos/oscillo/lcd.h
index 10d99ec..48871ed 100644
--- a/target/demos/oscillo/lcd.h
+++ b/target/demos/oscillo/lcd.h
@@ -12,6 +12,6 @@ unsigned long lcd_get_xres(void);
unsigned long lcd_get_yres(void);
void close_lcd(int fbfd);
void draw_pixel(unsigned int x, unsigned int y, struct color rgb);
-void clear_vline(unsigned int x);
+void clear_vline(unsigned int x, struct color rgb);
#endif /* LCD_H */
diff --git a/target/demos/oscillo/main.c b/target/demos/oscillo/main.c
index 3ea1f2d..5e93939 100644
--- a/target/demos/oscillo/main.c
+++ b/target/demos/oscillo/main.c
@@ -31,7 +31,7 @@
#include <math.h> /* sin() */
#include "lcd.h"
-
+#include "as_devices/as_adc_iio.h"
int fbfd;
@@ -40,16 +40,21 @@ static void cleanup(void)
close_lcd(fbfd);
}
-#define MAX_CHANNELS 8
+#define MAX_CHANNELS 10
+struct color black = {0, 0, 0};
+struct color white = {0xff, 0xff, 0xff};
-int main(void /*int argc, char **argv*/)
+int main(int argc, char **argv)
{
/*int x[MAX_CHANNELS] = {0, 10, 20, 30, 40, 50, 60, 70};*/
int y[MAX_CHANNELS];
int time = 0, i;
- int nb_channels, xres, yres;
+ int nb_channels, start_channel, xres, yres;
double rad;
- struct color colours[MAX_CHANNELS] = {{120,120,120},{0,150,150},{160,0,160},{170,170,0}};
+ struct color colours[MAX_CHANNELS] = {{120,120,120}, {0,150,150},
+ {160,0,160}, {170,170,0}, {0,0,255}, {0,255,0},
+ {255,0,0}, {255,255,255}, {255,255,0}, {255,0,255}};
+ struct as_adc_device *adc;
atexit(cleanup);
@@ -57,25 +62,48 @@ int main(void /*int argc, char **argv*/)
if (fbfd < 0)
return EXIT_FAILURE;
- nb_channels = 3;
+ if (argc > 2) {
+ start_channel = atoi(argv[1]);
+ nb_channels = atoi(argv[2]);
+ } else {
+ start_channel = 0;
+ nb_channels = 3;
+ }
+ if ((start_channel + nb_channels) > MAX_CHANNELS) {
+ printf("Bad channel parameters !\n");
+ exit(1);
+ }
+
xres = lcd_get_xres();
yres = lcd_get_yres();
- while(1) {
- for (i=0; i<nb_channels; i++) {
- rad += 0.01745f;
- y[i] = (unsigned int)(sin(rad)*100 + (yres/2) + 5*i);
- //printf("%d: %d %d\n", i, time, y[i]);
+ adc = as_adc_open_iio(0, 0);
+ if (adc)
+ printf("Using real ADC (through AsDevices)\n");
+ else
+ printf("Using fake ADC\n");
+
+ printf("Showing channel(s) %d to %d\n", start_channel, (start_channel + nb_channels - 1));
+ while (1) {
+ for (i=start_channel; i< (start_channel+nb_channels); i++) {
+ if (adc) {
+ y[i] = yres - 1 - ((as_adc_get_value_in_millivolts_iio(adc, i) * yres) / 4096);
+ } else {
+ rad += 0.01745f;
+ y[i] = (unsigned int)(sin(rad)*100 + (yres/2) + (yres/10)*i);
+ //printf("%d: %d %d\n", i, time, y[i]);
+ }
draw_pixel(time, y[i], colours[i]);
}
time += 1;
if (time >= xres) {
time = 0;
}
- clear_vline(time);
- usleep(20000);
+ clear_vline(time, black);
+ if (time < xres - 1)
+ clear_vline(time+1, white);
+ usleep(10000);
}
return EXIT_SUCCESS;
}
-
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-21 09:10:36
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 709ea0681e38fd599cb282af53bdca96cff3c7b2 (commit)
via 47eb02ac744181019e0c6490d85ba2bb309dca3b (commit)
from 41ba4c7b06d51d4903d613174e6e387450deb924 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 709ea0681e38fd599cb282af53bdca96cff3c7b2
Merge: 41ba4c7 47eb02a
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Mar 21 10:15:03 2017 +0100
Merge branch 'buildroot-update' into master
-----------------------------------------------------------------------
Summary of changes:
.../armadeus/drivers-helpers/drivers-helpers.mk | 52 +++++++---------------
1 file changed, 16 insertions(+), 36 deletions(-)
diff --git a/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk b/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk
index d41ce25..e937ed2 100644
--- a/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk
+++ b/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk
@@ -1,44 +1,24 @@
-##################################################################
+################################################################################
#
# Helpers scripts for loading/using Armadeus custom Linux drivers
#
-##################################################################
+################################################################################
-ARMADEUS-DRIVERS_SOURCE_DIR:=$(TOPDIR)/../target/linux/modules
-ARMADEUS-DRIVERS-HELPERS_TARGET_DIR:=$(TARGET_DIR)/usr/bin
+DRIVERS_HELPERS_VERSION = 0.6
+DRIVERS_HELPERS_SITE = $(TOPDIR)/../target/linux/modules
+DRIVERS_HELPERS_SITE_METHOD = local
+DRIVERS_HELPERS_DEPENDENCIES = linux
+DRIVERS_HELPERS_TARGET_DIR = $(TARGET_DIR)/usr/bin
-# loadgpio.sh often needs to be overwritten by users
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadgpio.sh:
- mkdir -p $(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)
- cp -f $(ARMADEUS-DRIVERS_SOURCE_DIR)/gpio/loadgpio.sh $@
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadgpio.sh
-
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/gpio_helpers.sh: $(ARMADEUS-DRIVERS_SOURCE_DIR)/gpio/gpio_helpers.sh
- cp -f $^ $@
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/gpio_helpers.sh
-
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadmax.sh: $(ARMADEUS-DRIVERS_SOURCE_DIR)/max1027/loadmax.sh
- cp -f $^ $@
+define DRIVERS_HELPERS_INSTALL_TARGET_CMDS
+ mkdir -p $(DRIVERS_HELPERS_TARGET_DIR)
+ # loadgpio.sh often needs to be overwritten by users
+ cp -f $(@D)/gpio/loadgpio.sh $(DRIVERS_HELPERS_TARGET_DIR)/
+ cp -f $(@D)/gpio/gpio_helpers.sh $(DRIVERS_HELPERS_TARGET_DIR)/
+ cp -f $(@D)/max1027/loadmax.sh $(DRIVERS_HELPERS_TARGET_DIR)/
# find $(ARMADEUS-TESTSUITE_DIR) -name "*.sh" -exec install -D {} $(TARGET_DIR)/$(ARMADEUS-TESTSUITE_TARGET_DIR) \;
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadmax.sh
-
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/load_fpga: $(ARMADEUS-DRIVERS_SOURCE_DIR)/fpga/dev_tools/loader/load_fpga
- cp -f $^ $@
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/load_fpga
-
-
-armadeus-drivers-helpers: linux $(ARMADEUS-DRIVERS_TARGETS)
-
-armadeus-drivers-helpers-clean:
- rm -f $(ARMADEUS-DRIVERS_TARGETS)
-
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-# Always installed by default
-PACKAGES += armadeus-drivers-helpers
+ cp -f $(@D)/fpga/dev_tools/loader/load_fpga $(DRIVERS_HELPERS_TARGET_DIR)/
+endef
+$(eval $(generic-package))
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-21 08:47:08
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via 47eb02ac744181019e0c6490d85ba2bb309dca3b (commit)
from bc29184366b1ead841d425702fc8d8e114eda35b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 47eb02ac744181019e0c6490d85ba2bb309dca3b
Author: Julien BOIBESSOT <jul...@ar...>
Date: Tue Mar 21 09:46:28 2017 +0100
[BUILDROOT] drivers-helpers: convert it to BR's generic-package
-----------------------------------------------------------------------
Summary of changes:
.../armadeus/drivers-helpers/drivers-helpers.mk | 52 +++++++---------------
1 file changed, 16 insertions(+), 36 deletions(-)
diff --git a/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk b/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk
index d41ce25..e937ed2 100644
--- a/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk
+++ b/buildroot/package/armadeus/drivers-helpers/drivers-helpers.mk
@@ -1,44 +1,24 @@
-##################################################################
+################################################################################
#
# Helpers scripts for loading/using Armadeus custom Linux drivers
#
-##################################################################
+################################################################################
-ARMADEUS-DRIVERS_SOURCE_DIR:=$(TOPDIR)/../target/linux/modules
-ARMADEUS-DRIVERS-HELPERS_TARGET_DIR:=$(TARGET_DIR)/usr/bin
+DRIVERS_HELPERS_VERSION = 0.6
+DRIVERS_HELPERS_SITE = $(TOPDIR)/../target/linux/modules
+DRIVERS_HELPERS_SITE_METHOD = local
+DRIVERS_HELPERS_DEPENDENCIES = linux
+DRIVERS_HELPERS_TARGET_DIR = $(TARGET_DIR)/usr/bin
-# loadgpio.sh often needs to be overwritten by users
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadgpio.sh:
- mkdir -p $(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)
- cp -f $(ARMADEUS-DRIVERS_SOURCE_DIR)/gpio/loadgpio.sh $@
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadgpio.sh
-
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/gpio_helpers.sh: $(ARMADEUS-DRIVERS_SOURCE_DIR)/gpio/gpio_helpers.sh
- cp -f $^ $@
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/gpio_helpers.sh
-
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadmax.sh: $(ARMADEUS-DRIVERS_SOURCE_DIR)/max1027/loadmax.sh
- cp -f $^ $@
+define DRIVERS_HELPERS_INSTALL_TARGET_CMDS
+ mkdir -p $(DRIVERS_HELPERS_TARGET_DIR)
+ # loadgpio.sh often needs to be overwritten by users
+ cp -f $(@D)/gpio/loadgpio.sh $(DRIVERS_HELPERS_TARGET_DIR)/
+ cp -f $(@D)/gpio/gpio_helpers.sh $(DRIVERS_HELPERS_TARGET_DIR)/
+ cp -f $(@D)/max1027/loadmax.sh $(DRIVERS_HELPERS_TARGET_DIR)/
# find $(ARMADEUS-TESTSUITE_DIR) -name "*.sh" -exec install -D {} $(TARGET_DIR)/$(ARMADEUS-TESTSUITE_TARGET_DIR) \;
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/loadmax.sh
-
-$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/load_fpga: $(ARMADEUS-DRIVERS_SOURCE_DIR)/fpga/dev_tools/loader/load_fpga
- cp -f $^ $@
-ARMADEUS-DRIVERS_TARGETS+=$(ARMADEUS-DRIVERS-HELPERS_TARGET_DIR)/load_fpga
-
-
-armadeus-drivers-helpers: linux $(ARMADEUS-DRIVERS_TARGETS)
-
-armadeus-drivers-helpers-clean:
- rm -f $(ARMADEUS-DRIVERS_TARGETS)
-
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-# Always installed by default
-PACKAGES += armadeus-drivers-helpers
+ cp -f $(@D)/fpga/dev_tools/loader/load_fpga $(DRIVERS_HELPERS_TARGET_DIR)/
+endef
+$(eval $(generic-package))
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-20 10:54:55
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 41ba4c7b06d51d4903d613174e6e387450deb924 (commit)
from 2fccb9ab5b44aec4f17f616fd2f2d9da6479bf83 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 41ba4c7b06d51d4903d613174e6e387450deb924
Author: Sébastien Szymanski <seb...@ar...>
Date: Mon Mar 20 11:58:56 2017 +0100
[BUILDROOT] configs: Use really old kernel headers on really old kernel
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf27_defconfig | 1 +
buildroot/configs/apf27_webradio_defconfig | 1 +
buildroot/configs/apf27test_defconfig | 1 +
buildroot/configs/apf27xenomai_defconfig | 1 +
buildroot/configs/apf28_defconfig | 1 +
buildroot/configs/apf28test_defconfig | 1 +
buildroot/configs/apf51_defconfig | 1 +
buildroot/configs/apf51test_defconfig | 1 +
8 files changed, 8 insertions(+)
diff --git a/buildroot/configs/apf27_defconfig b/buildroot/configs/apf27_defconfig
index 182b333..8f640e6 100644
--- a/buildroot/configs/apf27_defconfig
+++ b/buildroot/configs/apf27_defconfig
@@ -6,6 +6,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.29.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
diff --git a/buildroot/configs/apf27_webradio_defconfig b/buildroot/configs/apf27_webradio_defconfig
index a41317b..830bcad 100644
--- a/buildroot/configs/apf27_webradio_defconfig
+++ b/buildroot/configs/apf27_webradio_defconfig
@@ -6,6 +6,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.29.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
diff --git a/buildroot/configs/apf27test_defconfig b/buildroot/configs/apf27test_defconfig
index 8048bdc..4f31761 100644
--- a/buildroot/configs/apf27test_defconfig
+++ b/buildroot/configs/apf27test_defconfig
@@ -6,6 +6,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.29.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
diff --git a/buildroot/configs/apf27xenomai_defconfig b/buildroot/configs/apf27xenomai_defconfig
index 4a2c685..7229415 100644
--- a/buildroot/configs/apf27xenomai_defconfig
+++ b/buildroot/configs/apf27xenomai_defconfig
@@ -6,6 +6,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.29.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
diff --git a/buildroot/configs/apf28_defconfig b/buildroot/configs/apf28_defconfig
index 11498b9..04bfe5f 100644
--- a/buildroot/configs/apf28_defconfig
+++ b/buildroot/configs/apf28_defconfig
@@ -6,6 +6,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.35.3"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
diff --git a/buildroot/configs/apf28test_defconfig b/buildroot/configs/apf28test_defconfig
index 5963851..fabbe69 100644
--- a/buildroot/configs/apf28test_defconfig
+++ b/buildroot/configs/apf28test_defconfig
@@ -6,6 +6,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.35.3"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
diff --git a/buildroot/configs/apf51_defconfig b/buildroot/configs/apf51_defconfig
index 41a170d..1a5ecc7 100644
--- a/buildroot/configs/apf51_defconfig
+++ b/buildroot/configs/apf51_defconfig
@@ -7,6 +7,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.38.8"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
diff --git a/buildroot/configs/apf51test_defconfig b/buildroot/configs/apf51test_defconfig
index deaa4b4..96c5d0b 100644
--- a/buildroot/configs/apf51test_defconfig
+++ b/buildroot/configs/apf51test_defconfig
@@ -7,6 +7,7 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.38.8"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-20 09:10:41
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 2fccb9ab5b44aec4f17f616fd2f2d9da6479bf83 (commit)
from 390f2074969a0ff23f33dbf6e53b9415461f63f3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2fccb9ab5b44aec4f17f616fd2f2d9da6479bf83
Author: Sébastien Szymanski <seb...@ar...>
Date: Mon Mar 20 10:13:49 2017 +0100
[BUILDROOT] Port Buildroot patches to 2017.02
-----------------------------------------------------------------------
Summary of changes:
.../001-add_armadeus_device.patch | 0
.../002-add_armadeus_specific_packages.patch | 0
...us-gpsd-add-options-setting-in-menuconfig.patch | 0
.../007-armadeus-add-agg-package.patch | 0
.../008-armadeus-add-gnash-package.patch | 0
.../009-armadeus-xc3sprog-new-package.patch | 0
.../010-armadeus-sam7-pgm-ng-new-package.patch | 0
.../011-armadeus-add-tk-package.patch | 0
...12-armadeus-add-tkinter-support-to-python.patch | 34 +++++++++++-----------
.../014-armadeus-python-wx-add-package.patch | 0
.../016-armadeus-add-gnuboy-package.patch | 0
.../017-armadeus-add-rxtx-package.patch | 0
.../018-armadeus-add-pcidebug-package.patch | 0
.../019-armadeus-add-cmux-package.patch | 0
.../021-armadeus-add-sdl_water-package.patch | 0
.../022-armadeus-downgrade-can-utils-version.patch | 4 +--
...eus-fixes-strace-4.9-build-on-old-kernels.patch | 0
...trace-cant-be-used-on-old-kernels-anymore.patch | 0
.../025-armadeus-apf-config-add-package.patch | 6 ++--
...deus-install-ldd-with-external-toolchains.patch | 27 +++++++++++++++++
...-busybox-fixes-rfkil-build-on-old-kernels.patch | 0
.../028-armadeus-fbgrab-bump-to-1.3-version.patch | 0
.../029-armadeus-lora-forwarder-add-package.patch | 0
.../030-armadeus-lmic-pi-add-package.patch | 0
.../034-armadeus-add-slideshow-package.patch | 0
...armadeus-fb-test-fixes-tty-config-on-exit.patch | 0
.../039-armadeus-v4l2loopback-add-package.patch | 0
...add_support_for_custom_configuration_file.patch | 16 +++++-----
...072-armadeus-xenomai-download-adeos-patch.patch | 16 +++++-----
...ai-add-configure-options-for-old-versions.patch | 0
.../081-adds_quake_package.patch | 0
.../083-pygame-armadeus_addons.patch | 0
.../107-armadeus-games-add-wolf4sdl-package.patch | 0
.../118-armadeus-snes9x-add-package.patch | 0
.../121-target-arm926t_is_arm926ej-s.patch | 0
.../123-armadeus-pywebradio-add-package.patch | 0
.../124-e-uae-add_package.patch | 0
...42-ncurses-fix_compilation_with_old_hosts.patch | 0
...-disable_ip_busybox_if_iproute2_buildroot.patch | 0
...fix_installation_bug_on_some_host_systems.patch | 0
.../172-gsmmux-add_package.patch | 0
.../176-imx-test-add_package.patch | 0
.../188-marble-add_package.patch | 0
.../197-cunit-add_package.patch | 0
.../201-armadeus-add_gnokii.patch | 14 ++++-----
.../204-wpa-supplicant-add-option-ieee80211w.patch | 0
.../208-armadeus-add_beremiz.patch | 0
.../209-armadeus-add_matiec.patch | 0
.../219-shiboken-add_package.patch | 0
.../221-imx-usb-loader-build-for-target.patch | 12 ++++----
.../221-imx-usb-loader-version-bump.patch | 13 ++++-----
...ix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch | 0
.../224-linux-headers-fix-uclibc-compilation.patch | 0
...mke2img-use-mkfs-to-generate-rootfs-image.patch | 0
.../{2016.08 => 2017.02}/cleanup_buildroot.sh | 12 +-------
55 files changed, 85 insertions(+), 69 deletions(-)
copy patches/buildroot/{2015.02 => 2017.02}/001-add_armadeus_device.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/002-add_armadeus_specific_packages.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/005-armadeus-gpsd-add-options-setting-in-menuconfig.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/007-armadeus-add-agg-package.patch (100%)
copy patches/buildroot/{2016.05 => 2017.02}/008-armadeus-add-gnash-package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/009-armadeus-xc3sprog-new-package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/010-armadeus-sam7-pgm-ng-new-package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/011-armadeus-add-tk-package.patch (100%)
copy patches/buildroot/{2016.05 => 2017.02}/012-armadeus-add-tkinter-support-to-python.patch (67%)
copy patches/buildroot/{2016.02 => 2017.02}/014-armadeus-python-wx-add-package.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/016-armadeus-add-gnuboy-package.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/017-armadeus-add-rxtx-package.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/018-armadeus-add-pcidebug-package.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/019-armadeus-add-cmux-package.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/021-armadeus-add-sdl_water-package.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/022-armadeus-downgrade-can-utils-version.patch (83%)
copy patches/buildroot/{2015.02 => 2017.02}/023-armadeus-fixes-strace-4.9-build-on-old-kernels.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/024-armadeus-ltrace-cant-be-used-on-old-kernels-anymore.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/025-armadeus-apf-config-add-package.patch (94%)
create mode 100644 patches/buildroot/2017.02/026-armadeus-install-ldd-with-external-toolchains.patch
copy patches/buildroot/{2015.02 => 2017.02}/027-armadeus-busybox-fixes-rfkil-build-on-old-kernels.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/028-armadeus-fbgrab-bump-to-1.3-version.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/029-armadeus-lora-forwarder-add-package.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/030-armadeus-lmic-pi-add-package.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/034-armadeus-add-slideshow-package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/038-armadeus-fb-test-fixes-tty-config-on-exit.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/039-armadeus-v4l2loopback-add-package.patch (100%)
copy patches/buildroot/{2016.05 => 2017.02}/050-U-Boot-add_support_for_custom_configuration_file.patch (87%)
copy patches/buildroot/{2016.05 => 2017.02}/072-armadeus-xenomai-download-adeos-patch.patch (85%)
copy patches/buildroot/{2015.02 => 2017.02}/073-armadeus-xenomai-add-configure-options-for-old-versions.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/081-adds_quake_package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/083-pygame-armadeus_addons.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/107-armadeus-games-add-wolf4sdl-package.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/118-armadeus-snes9x-add-package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/121-target-arm926t_is_arm926ej-s.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/123-armadeus-pywebradio-add-package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/124-e-uae-add_package.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/142-ncurses-fix_compilation_with_old_hosts.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/172-gsmmux-add_package.patch (100%)
copy patches/buildroot/{2016.05 => 2017.02}/176-imx-test-add_package.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/188-marble-add_package.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/197-cunit-add_package.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/201-armadeus-add_gnokii.patch (83%)
copy patches/buildroot/{2015.02 => 2017.02}/204-wpa-supplicant-add-option-ieee80211w.patch (100%)
copy patches/buildroot/{2016.02 => 2017.02}/208-armadeus-add_beremiz.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/209-armadeus-add_matiec.patch (100%)
copy patches/buildroot/{2015.02 => 2017.02}/219-shiboken-add_package.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/221-imx-usb-loader-build-for-target.patch (89%)
copy patches/buildroot/{2016.08 => 2017.02}/221-imx-usb-loader-version-bump.patch (58%)
copy patches/buildroot/{2016.08 => 2017.02}/223-kodi-fix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch (100%)
copy patches/buildroot/{2016.05 => 2017.02}/224-linux-headers-fix-uclibc-compilation.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch (100%)
copy patches/buildroot/{2016.08 => 2017.02}/cleanup_buildroot.sh (89%)
diff --git a/patches/buildroot/2015.02/001-add_armadeus_device.patch b/patches/buildroot/2017.02/001-add_armadeus_device.patch
similarity index 100%
copy from patches/buildroot/2015.02/001-add_armadeus_device.patch
copy to patches/buildroot/2017.02/001-add_armadeus_device.patch
diff --git a/patches/buildroot/2015.02/002-add_armadeus_specific_packages.patch b/patches/buildroot/2017.02/002-add_armadeus_specific_packages.patch
similarity index 100%
copy from patches/buildroot/2015.02/002-add_armadeus_specific_packages.patch
copy to patches/buildroot/2017.02/002-add_armadeus_specific_packages.patch
diff --git a/patches/buildroot/2016.08/005-armadeus-gpsd-add-options-setting-in-menuconfig.patch b/patches/buildroot/2017.02/005-armadeus-gpsd-add-options-setting-in-menuconfig.patch
similarity index 100%
copy from patches/buildroot/2016.08/005-armadeus-gpsd-add-options-setting-in-menuconfig.patch
copy to patches/buildroot/2017.02/005-armadeus-gpsd-add-options-setting-in-menuconfig.patch
diff --git a/patches/buildroot/2016.02/007-armadeus-add-agg-package.patch b/patches/buildroot/2017.02/007-armadeus-add-agg-package.patch
similarity index 100%
copy from patches/buildroot/2016.02/007-armadeus-add-agg-package.patch
copy to patches/buildroot/2017.02/007-armadeus-add-agg-package.patch
diff --git a/patches/buildroot/2016.05/008-armadeus-add-gnash-package.patch b/patches/buildroot/2017.02/008-armadeus-add-gnash-package.patch
similarity index 100%
copy from patches/buildroot/2016.05/008-armadeus-add-gnash-package.patch
copy to patches/buildroot/2017.02/008-armadeus-add-gnash-package.patch
diff --git a/patches/buildroot/2015.02/009-armadeus-xc3sprog-new-package.patch b/patches/buildroot/2017.02/009-armadeus-xc3sprog-new-package.patch
similarity index 100%
copy from patches/buildroot/2015.02/009-armadeus-xc3sprog-new-package.patch
copy to patches/buildroot/2017.02/009-armadeus-xc3sprog-new-package.patch
diff --git a/patches/buildroot/2015.02/010-armadeus-sam7-pgm-ng-new-package.patch b/patches/buildroot/2017.02/010-armadeus-sam7-pgm-ng-new-package.patch
similarity index 100%
copy from patches/buildroot/2015.02/010-armadeus-sam7-pgm-ng-new-package.patch
copy to patches/buildroot/2017.02/010-armadeus-sam7-pgm-ng-new-package.patch
diff --git a/patches/buildroot/2015.02/011-armadeus-add-tk-package.patch b/patches/buildroot/2017.02/011-armadeus-add-tk-package.patch
similarity index 100%
copy from patches/buildroot/2015.02/011-armadeus-add-tk-package.patch
copy to patches/buildroot/2017.02/011-armadeus-add-tk-package.patch
diff --git a/patches/buildroot/2016.05/012-armadeus-add-tkinter-support-to-python.patch b/patches/buildroot/2017.02/012-armadeus-add-tkinter-support-to-python.patch
similarity index 67%
copy from patches/buildroot/2016.05/012-armadeus-add-tkinter-support-to-python.patch
copy to patches/buildroot/2017.02/012-armadeus-add-tkinter-support-to-python.patch
index ec8856a..481f0de 100644
--- a/patches/buildroot/2016.05/012-armadeus-add-tkinter-support-to-python.patch
+++ b/patches/buildroot/2017.02/012-armadeus-add-tkinter-support-to-python.patch
@@ -5,9 +5,9 @@ Index: buildroot/package/python/Config.in
--- buildroot.orig/package/python/Config.in
+++ buildroot/package/python/Config.in
@@ -79,6 +79,18 @@ config BR2_PACKAGE_PYTHON_SSL
- help
- _ssl module for Python (required for https in urllib etc).
-
+ help
+ _ssl module for Python (required for https in urllib etc).
+
+config BR2_PACKAGE_PYTHON_TKINTER
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_PACKAGE_TCL
@@ -21,30 +21,30 @@ Index: buildroot/package/python/Config.in
+ depends on !BR2_PACKAGE_TCL
+
config BR2_PACKAGE_PYTHON_UNICODEDATA
- bool "unicodedata module"
- default y
+ bool "unicodedata module"
+ default y
Index: buildroot/package/python/python.mk
===================================================================
--- buildroot.orig/package/python/python.mk
+++ buildroot/package/python/python.mk
-@@ -118,6 +118,12 @@ ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y)
- PYTHON_DEPENDENCIES += openssl
+@@ -133,6 +133,12 @@ else
+ PYTHON_CONF_OPTS += --disable-ossaudiodev
endif
-
+
+ifeq ($(BR2_PACKAGE_PYTHON_TKINTER),y)
+PYTHON_DEPENDENCIES += tk
+else
+PYTHON_CONF_OPTS += --disable-tk
+endif
+
+ # Make python believe we don't have 'hg' and 'svn', so that it doesn't
+ # try to communicate over the network during the build.
PYTHON_CONF_ENV += \
- ac_cv_have_long_long_format=yes \
- ac_cv_file__dev_ptmx=yes \
-@@ -132,7 +138,6 @@ PYTHON_CONF_OPTS += \
- --disable-test-modules \
- --disable-lib2to3 \
- --disable-gdbm \
+@@ -158,7 +164,6 @@ PYTHON_CONF_OPTS += \
+ --disable-test-modules \
+ --disable-lib2to3 \
+ --disable-gdbm \
- --disable-tk \
- --disable-nis \
- --disable-dbm \
- --disable-pyo-build
+ --disable-nis \
+ --disable-dbm \
+ --disable-pyo-build \
diff --git a/patches/buildroot/2016.02/014-armadeus-python-wx-add-package.patch b/patches/buildroot/2017.02/014-armadeus-python-wx-add-package.patch
similarity index 100%
copy from patches/buildroot/2016.02/014-armadeus-python-wx-add-package.patch
copy to patches/buildroot/2017.02/014-armadeus-python-wx-add-package.patch
diff --git a/patches/buildroot/2016.02/016-armadeus-add-gnuboy-package.patch b/patches/buildroot/2017.02/016-armadeus-add-gnuboy-package.patch
similarity index 100%
copy from patches/buildroot/2016.02/016-armadeus-add-gnuboy-package.patch
copy to patches/buildroot/2017.02/016-armadeus-add-gnuboy-package.patch
diff --git a/patches/buildroot/2016.02/017-armadeus-add-rxtx-package.patch b/patches/buildroot/2017.02/017-armadeus-add-rxtx-package.patch
similarity index 100%
copy from patches/buildroot/2016.02/017-armadeus-add-rxtx-package.patch
copy to patches/buildroot/2017.02/017-armadeus-add-rxtx-package.patch
diff --git a/patches/buildroot/2016.02/018-armadeus-add-pcidebug-package.patch b/patches/buildroot/2017.02/018-armadeus-add-pcidebug-package.patch
similarity index 100%
copy from patches/buildroot/2016.02/018-armadeus-add-pcidebug-package.patch
copy to patches/buildroot/2017.02/018-armadeus-add-pcidebug-package.patch
diff --git a/patches/buildroot/2016.08/019-armadeus-add-cmux-package.patch b/patches/buildroot/2017.02/019-armadeus-add-cmux-package.patch
similarity index 100%
copy from patches/buildroot/2016.08/019-armadeus-add-cmux-package.patch
copy to patches/buildroot/2017.02/019-armadeus-add-cmux-package.patch
diff --git a/patches/buildroot/2016.08/021-armadeus-add-sdl_water-package.patch b/patches/buildroot/2017.02/021-armadeus-add-sdl_water-package.patch
similarity index 100%
copy from patches/buildroot/2016.08/021-armadeus-add-sdl_water-package.patch
copy to patches/buildroot/2017.02/021-armadeus-add-sdl_water-package.patch
diff --git a/patches/buildroot/2016.08/022-armadeus-downgrade-can-utils-version.patch b/patches/buildroot/2017.02/022-armadeus-downgrade-can-utils-version.patch
similarity index 83%
copy from patches/buildroot/2016.08/022-armadeus-downgrade-can-utils-version.patch
copy to patches/buildroot/2017.02/022-armadeus-downgrade-can-utils-version.patch
index cffe1d4..c1f7454 100644
--- a/patches/buildroot/2016.08/022-armadeus-downgrade-can-utils-version.patch
+++ b/patches/buildroot/2017.02/022-armadeus-downgrade-can-utils-version.patch
@@ -11,7 +11,7 @@ Index: buildroot/package/can-utils/can-utils.mk
#
################################################################################
--CAN_UTILS_VERSION = b70a76670dbe8925c2a7c75f90d36a28a8878d7a
+-CAN_UTILS_VERSION = c3305fdd515464153d20199db232b6124bc962c0
+CAN_UTILS_VERSION = 16c970d40e6c19dde705bad4751bab1a3a4f3a0d
CAN_UTILS_SITE = $(call github,linux-can,can-utils,$(CAN_UTILS_VERSION))
CAN_UTILS_AUTORECONF = YES
@@ -22,5 +22,5 @@ Index: buildroot/package/can-utils/can-utils.hash
+++ buildroot/package/can-utils/can-utils.hash
@@ -1,2 +1,3 @@
# Locally computed
- sha256 8db112e69fceef16617895fa9d4222221fdf44c19eef64912480336c59904765 can-utils-b70a76670dbe8925c2a7c75f90d36a28a8878d7a.tar.gz
+ sha256 c4b6b347c1c165a64c1156bb8816bce557945dd770f61b8bdc8fdb7c0744af27 can-utils-c3305fdd515464153d20199db232b6124bc962c0.tar.gz
+sha256 28f07d97feab8464bb63e17f5f4d5c777aaea6e47d2d509e8c7611cc115bbd2c can-utils-16c970d40e6c19dde705bad4751bab1a3a4f3a0d.tar.gz
diff --git a/patches/buildroot/2015.02/023-armadeus-fixes-strace-4.9-build-on-old-kernels.patch b/patches/buildroot/2017.02/023-armadeus-fixes-strace-4.9-build-on-old-kernels.patch
similarity index 100%
copy from patches/buildroot/2015.02/023-armadeus-fixes-strace-4.9-build-on-old-kernels.patch
copy to patches/buildroot/2017.02/023-armadeus-fixes-strace-4.9-build-on-old-kernels.patch
diff --git a/patches/buildroot/2016.08/024-armadeus-ltrace-cant-be-used-on-old-kernels-anymore.patch b/patches/buildroot/2017.02/024-armadeus-ltrace-cant-be-used-on-old-kernels-anymore.patch
similarity index 100%
copy from patches/buildroot/2016.08/024-armadeus-ltrace-cant-be-used-on-old-kernels-anymore.patch
copy to patches/buildroot/2017.02/024-armadeus-ltrace-cant-be-used-on-old-kernels-anymore.patch
diff --git a/patches/buildroot/2016.08/025-armadeus-apf-config-add-package.patch b/patches/buildroot/2017.02/025-armadeus-apf-config-add-package.patch
similarity index 94%
copy from patches/buildroot/2016.08/025-armadeus-apf-config-add-package.patch
copy to patches/buildroot/2017.02/025-armadeus-apf-config-add-package.patch
index 05349b9..b0b119e 100644
--- a/patches/buildroot/2016.08/025-armadeus-apf-config-add-package.patch
+++ b/patches/buildroot/2017.02/025-armadeus-apf-config-add-package.patch
@@ -51,10 +51,10 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in
+++ buildroot/package/Config.in
-@@ -345,6 +345,7 @@ endmenu
- source "package/a10disp/Config.in"
- source "package/acpid/Config.in"
+@@ -359,6 +359,7 @@ endmenu
+ source "package/aer-inject/Config.in"
source "package/am335x-pru-package/Config.in"
+ source "package/amd-catalyst/Config.in"
+ source "package/apf-config/Config.in"
source "package/avrdude/Config.in"
source "package/bcache-tools/Config.in"
diff --git a/patches/buildroot/2017.02/026-armadeus-install-ldd-with-external-toolchains.patch b/patches/buildroot/2017.02/026-armadeus-install-ldd-with-external-toolchains.patch
new file mode 100644
index 0000000..7c68750
--- /dev/null
+++ b/patches/buildroot/2017.02/026-armadeus-install-ldd-with-external-toolchains.patch
@@ -0,0 +1,27 @@
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: buildroot/toolchain/toolchain-external/pkg-toolchain-external.mk
+===================================================================
+--- buildroot.orig/toolchain/toolchain-external/pkg-toolchain-external.mk
++++ buildroot/toolchain/toolchain-external/pkg-toolchain-external.mk
+@@ -506,6 +506,12 @@ define TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG
+ fi
+ endef
+
++define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD
++ $(Q)if test -f $${ARCH_SYSROOT_DIR}/usr/bin/ldd ; then \
++ $(INSTALL) -D $${ARCH_SYSROOT_DIR}/usr/bin/ldd $(TARGET_DIR)/usr/bin/ldd ; \
++ $(SED) 's:/bin/bash:/bin/sh:' $(TARGET_DIR)/usr/bin/ldd ; \
++ fi
++endef
+
+ ################################################################################
+ # inner-toolchain-external-package -- defines the generic installation rules
+@@ -596,6 +602,7 @@ define $(2)_INSTALL_TARGET_CMDS
+ $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS)
+ $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER)
+ $$(TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO)
++ $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD)
+ endef
+
+ # Call the generic package infrastructure to generate the necessary
diff --git a/patches/buildroot/2015.02/027-armadeus-busybox-fixes-rfkil-build-on-old-kernels.patch b/patches/buildroot/2017.02/027-armadeus-busybox-fixes-rfkil-build-on-old-kernels.patch
similarity index 100%
copy from patches/buildroot/2015.02/027-armadeus-busybox-fixes-rfkil-build-on-old-kernels.patch
copy to patches/buildroot/2017.02/027-armadeus-busybox-fixes-rfkil-build-on-old-kernels.patch
diff --git a/patches/buildroot/2016.02/028-armadeus-fbgrab-bump-to-1.3-version.patch b/patches/buildroot/2017.02/028-armadeus-fbgrab-bump-to-1.3-version.patch
similarity index 100%
copy from patches/buildroot/2016.02/028-armadeus-fbgrab-bump-to-1.3-version.patch
copy to patches/buildroot/2017.02/028-armadeus-fbgrab-bump-to-1.3-version.patch
diff --git a/patches/buildroot/2016.08/029-armadeus-lora-forwarder-add-package.patch b/patches/buildroot/2017.02/029-armadeus-lora-forwarder-add-package.patch
similarity index 100%
copy from patches/buildroot/2016.08/029-armadeus-lora-forwarder-add-package.patch
copy to patches/buildroot/2017.02/029-armadeus-lora-forwarder-add-package.patch
diff --git a/patches/buildroot/2016.08/030-armadeus-lmic-pi-add-package.patch b/patches/buildroot/2017.02/030-armadeus-lmic-pi-add-package.patch
similarity index 100%
copy from patches/buildroot/2016.08/030-armadeus-lmic-pi-add-package.patch
copy to patches/buildroot/2017.02/030-armadeus-lmic-pi-add-package.patch
diff --git a/patches/buildroot/2016.02/034-armadeus-add-slideshow-package.patch b/patches/buildroot/2017.02/034-armadeus-add-slideshow-package.patch
similarity index 100%
copy from patches/buildroot/2016.02/034-armadeus-add-slideshow-package.patch
copy to patches/buildroot/2017.02/034-armadeus-add-slideshow-package.patch
diff --git a/patches/buildroot/2015.02/038-armadeus-fb-test-fixes-tty-config-on-exit.patch b/patches/buildroot/2017.02/038-armadeus-fb-test-fixes-tty-config-on-exit.patch
similarity index 100%
copy from patches/buildroot/2015.02/038-armadeus-fb-test-fixes-tty-config-on-exit.patch
copy to patches/buildroot/2017.02/038-armadeus-fb-test-fixes-tty-config-on-exit.patch
diff --git a/patches/buildroot/2016.08/039-armadeus-v4l2loopback-add-package.patch b/patches/buildroot/2017.02/039-armadeus-v4l2loopback-add-package.patch
similarity index 100%
copy from patches/buildroot/2016.08/039-armadeus-v4l2loopback-add-package.patch
copy to patches/buildroot/2017.02/039-armadeus-v4l2loopback-add-package.patch
diff --git a/patches/buildroot/2016.05/050-U-Boot-add_support_for_custom_configuration_file.patch b/patches/buildroot/2017.02/050-U-Boot-add_support_for_custom_configuration_file.patch
similarity index 87%
copy from patches/buildroot/2016.05/050-U-Boot-add_support_for_custom_configuration_file.patch
copy to patches/buildroot/2017.02/050-U-Boot-add_support_for_custom_configuration_file.patch
index 26fc300..8bc8e6c 100644
--- a/patches/buildroot/2016.05/050-U-Boot-add_support_for_custom_configuration_file.patch
+++ b/patches/buildroot/2017.02/050-U-Boot-add_support_for_custom_configuration_file.patch
@@ -23,9 +23,9 @@ Index: buildroot/boot/uboot/Config.in
choice
prompt "U-Boot Version"
-@@ -137,6 +135,12 @@ config BR2_TARGET_UBOOT_NEEDS_DTC
- Select this option if your U-Boot board configuration
- requires the Device Tree compiler to be available.
+@@ -146,6 +144,12 @@ config BR2_TARGET_UBOOT_NEEDS_OPENSSL
+ typically the case when the board configuration has
+ CONFIG_FIT_SIGNATURE enabled.
+config BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH
+ string "Custom header Configuration file path"
@@ -33,14 +33,14 @@ Index: buildroot/boot/uboot/Config.in
+ Path to the U-Boot custom header configuration file. If not empty,
+ it will be copied into include/configs/<uboot_board_name>.h .
+
- choice
- prompt "U-Boot binary format"
- default BR2_TARGET_UBOOT_FORMAT_BIN
+ menu "U-Boot binary format"
+
+ config BR2_TARGET_UBOOT_FORMAT_AIS
Index: buildroot/boot/uboot/uboot.mk
===================================================================
--- buildroot.orig/boot/uboot/uboot.mk
+++ buildroot/boot/uboot/uboot.mk
-@@ -125,6 +125,14 @@ define UBOOT_APPLY_LOCAL_PATCHES
+@@ -166,6 +166,14 @@ define UBOOT_APPLY_LOCAL_PATCHES
endef
UBOOT_POST_PATCH_HOOKS += UBOOT_APPLY_LOCAL_PATCHES
@@ -55,7 +55,7 @@ Index: buildroot/boot/uboot/uboot.mk
ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y)
define UBOOT_CONFIGURE_CMDS
$(TARGET_CONFIGURE_OPTS) \
-@@ -225,14 +233,13 @@ endif
+@@ -283,14 +291,13 @@ endif
ifeq ($(BR2_TARGET_UBOOT)$(BR_BUILDING),yy)
#
diff --git a/patches/buildroot/2016.05/072-armadeus-xenomai-download-adeos-patch.patch b/patches/buildroot/2017.02/072-armadeus-xenomai-download-adeos-patch.patch
similarity index 85%
copy from patches/buildroot/2016.05/072-armadeus-xenomai-download-adeos-patch.patch
copy to patches/buildroot/2017.02/072-armadeus-xenomai-download-adeos-patch.patch
index a6bacce..197dc11 100644
--- a/patches/buildroot/2016.05/072-armadeus-xenomai-download-adeos-patch.patch
+++ b/patches/buildroot/2017.02/072-armadeus-xenomai-download-adeos-patch.patch
@@ -38,15 +38,15 @@ Index: buildroot/linux/Config.ext.in
===================================================================
--- buildroot.orig/linux/Config.ext.in
+++ buildroot/linux/Config.ext.in
-@@ -29,13 +29,14 @@ comment "xenomai needs a toolchain w/ th
- BR2_bfin || BR2_powerpc || BR2_sh4
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+@@ -25,13 +25,14 @@ config BR2_LINUX_KERNEL_EXT_XENOMAI
+ Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2
+ and PowerPC architectures.
-config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
+- string "Path for Adeos patch file"
+config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH_URL
++ string "Path/URL for Adeos patch file"
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
-- string "Path for Adeos patch file"
-+ string "Path/url for Adeos patch file"
help
- Optionally, explicitly specify the Adeos patch to use.
- Download it at http://download.gna.org/adeos/patches
@@ -54,7 +54,7 @@ Index: buildroot/linux/Config.ext.in
+ Optionally, explicitly specify where to find the Adeos patch to use.
+ Examples http://download.gna.org/adeos/patches/v2.6/arm/adeos-ipipe-2.6.38.8-arm-1.18-09.patch
+ or file:///home/foo/adeos-ipipe-2.6.38.8-arm-1.18-09.patch
-+ Please verify that your kernel version in Buildroot matches.
++ Please verify that your kernel version in buildroot matches.
- # RTAI
- config BR2_LINUX_KERNEL_EXT_RTAI
+ comment "xenomai needs a uClibc or glibc toolchain w/ threads"
+ depends on BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
diff --git a/patches/buildroot/2015.02/073-armadeus-xenomai-add-configure-options-for-old-versions.patch b/patches/buildroot/2017.02/073-armadeus-xenomai-add-configure-options-for-old-versions.patch
similarity index 100%
copy from patches/buildroot/2015.02/073-armadeus-xenomai-add-configure-options-for-old-versions.patch
copy to patches/buildroot/2017.02/073-armadeus-xenomai-add-configure-options-for-old-versions.patch
diff --git a/patches/buildroot/2016.02/081-adds_quake_package.patch b/patches/buildroot/2017.02/081-adds_quake_package.patch
similarity index 100%
copy from patches/buildroot/2016.02/081-adds_quake_package.patch
copy to patches/buildroot/2017.02/081-adds_quake_package.patch
diff --git a/patches/buildroot/2015.02/083-pygame-armadeus_addons.patch b/patches/buildroot/2017.02/083-pygame-armadeus_addons.patch
similarity index 100%
copy from patches/buildroot/2015.02/083-pygame-armadeus_addons.patch
copy to patches/buildroot/2017.02/083-pygame-armadeus_addons.patch
diff --git a/patches/buildroot/2016.08/107-armadeus-games-add-wolf4sdl-package.patch b/patches/buildroot/2017.02/107-armadeus-games-add-wolf4sdl-package.patch
similarity index 100%
copy from patches/buildroot/2016.08/107-armadeus-games-add-wolf4sdl-package.patch
copy to patches/buildroot/2017.02/107-armadeus-games-add-wolf4sdl-package.patch
diff --git a/patches/buildroot/2016.08/118-armadeus-snes9x-add-package.patch b/patches/buildroot/2017.02/118-armadeus-snes9x-add-package.patch
similarity index 100%
copy from patches/buildroot/2016.08/118-armadeus-snes9x-add-package.patch
copy to patches/buildroot/2017.02/118-armadeus-snes9x-add-package.patch
diff --git a/patches/buildroot/2015.02/121-target-arm926t_is_arm926ej-s.patch b/patches/buildroot/2017.02/121-target-arm926t_is_arm926ej-s.patch
similarity index 100%
copy from patches/buildroot/2015.02/121-target-arm926t_is_arm926ej-s.patch
copy to patches/buildroot/2017.02/121-target-arm926t_is_arm926ej-s.patch
diff --git a/patches/buildroot/2015.02/123-armadeus-pywebradio-add-package.patch b/patches/buildroot/2017.02/123-armadeus-pywebradio-add-package.patch
similarity index 100%
copy from patches/buildroot/2015.02/123-armadeus-pywebradio-add-package.patch
copy to patches/buildroot/2017.02/123-armadeus-pywebradio-add-package.patch
diff --git a/patches/buildroot/2015.02/124-e-uae-add_package.patch b/patches/buildroot/2017.02/124-e-uae-add_package.patch
similarity index 100%
copy from patches/buildroot/2015.02/124-e-uae-add_package.patch
copy to patches/buildroot/2017.02/124-e-uae-add_package.patch
diff --git a/patches/buildroot/2015.02/142-ncurses-fix_compilation_with_old_hosts.patch b/patches/buildroot/2017.02/142-ncurses-fix_compilation_with_old_hosts.patch
similarity index 100%
copy from patches/buildroot/2015.02/142-ncurses-fix_compilation_with_old_hosts.patch
copy to patches/buildroot/2017.02/142-ncurses-fix_compilation_with_old_hosts.patch
diff --git a/patches/buildroot/2016.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch b/patches/buildroot/2017.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
similarity index 100%
copy from patches/buildroot/2016.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
copy to patches/buildroot/2017.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
diff --git a/patches/buildroot/2015.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch b/patches/buildroot/2017.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
similarity index 100%
copy from patches/buildroot/2015.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
copy to patches/buildroot/2017.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
diff --git a/patches/buildroot/2015.02/172-gsmmux-add_package.patch b/patches/buildroot/2017.02/172-gsmmux-add_package.patch
similarity index 100%
copy from patches/buildroot/2015.02/172-gsmmux-add_package.patch
copy to patches/buildroot/2017.02/172-gsmmux-add_package.patch
diff --git a/patches/buildroot/2016.05/176-imx-test-add_package.patch b/patches/buildroot/2017.02/176-imx-test-add_package.patch
similarity index 100%
copy from patches/buildroot/2016.05/176-imx-test-add_package.patch
copy to patches/buildroot/2017.02/176-imx-test-add_package.patch
diff --git a/patches/buildroot/2016.02/188-marble-add_package.patch b/patches/buildroot/2017.02/188-marble-add_package.patch
similarity index 100%
copy from patches/buildroot/2016.02/188-marble-add_package.patch
copy to patches/buildroot/2017.02/188-marble-add_package.patch
diff --git a/patches/buildroot/2016.02/197-cunit-add_package.patch b/patches/buildroot/2017.02/197-cunit-add_package.patch
similarity index 100%
copy from patches/buildroot/2016.02/197-cunit-add_package.patch
copy to patches/buildroot/2017.02/197-cunit-add_package.patch
diff --git a/patches/buildroot/2016.08/201-armadeus-add_gnokii.patch b/patches/buildroot/2017.02/201-armadeus-add_gnokii.patch
similarity index 83%
copy from patches/buildroot/2016.08/201-armadeus-add_gnokii.patch
copy to patches/buildroot/2017.02/201-armadeus-add_gnokii.patch
index acda161..a248dd8 100644
--- a/patches/buildroot/2016.08/201-armadeus-add_gnokii.patch
+++ b/patches/buildroot/2017.02/201-armadeus-add_gnokii.patch
@@ -7,14 +7,14 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in
+++ buildroot/package/Config.in
-@@ -1030,6 +1030,7 @@ endif
- source "package/foomatic-filters/Config.in"
- source "package/fping/Config.in"
- source "package/gesftpserver/Config.in"
+@@ -1546,6 +1546,7 @@ menu "Networking applications"
+ source "package/fping/Config.in"
+ source "package/freeswitch/Config.in"
+ source "package/gesftpserver/Config.in"
+ source "package/gnokii/Config.in"
- source "package/gutenprint/Config.in"
- source "package/hiawatha/Config.in"
- source "package/hostapd/Config.in"
+ source "package/gupnp-tools/Config.in"
+ source "package/gutenprint/Config.in"
+ source "package/hans/Config.in"
Index: buildroot/package/gnokii/Config.in
===================================================================
--- /dev/null
diff --git a/patches/buildroot/2015.02/204-wpa-supplicant-add-option-ieee80211w.patch b/patches/buildroot/2017.02/204-wpa-supplicant-add-option-ieee80211w.patch
similarity index 100%
copy from patches/buildroot/2015.02/204-wpa-supplicant-add-option-ieee80211w.patch
copy to patches/buildroot/2017.02/204-wpa-supplicant-add-option-ieee80211w.patch
diff --git a/patches/buildroot/2016.02/208-armadeus-add_beremiz.patch b/patches/buildroot/2017.02/208-armadeus-add_beremiz.patch
similarity index 100%
copy from patches/buildroot/2016.02/208-armadeus-add_beremiz.patch
copy to patches/buildroot/2017.02/208-armadeus-add_beremiz.patch
diff --git a/patches/buildroot/2015.02/209-armadeus-add_matiec.patch b/patches/buildroot/2017.02/209-armadeus-add_matiec.patch
similarity index 100%
copy from patches/buildroot/2015.02/209-armadeus-add_matiec.patch
copy to patches/buildroot/2017.02/209-armadeus-add_matiec.patch
diff --git a/patches/buildroot/2015.02/219-shiboken-add_package.patch b/patches/buildroot/2017.02/219-shiboken-add_package.patch
similarity index 100%
copy from patches/buildroot/2015.02/219-shiboken-add_package.patch
copy to patches/buildroot/2017.02/219-shiboken-add_package.patch
diff --git a/patches/buildroot/2016.08/221-imx-usb-loader-build-for-target.patch b/patches/buildroot/2017.02/221-imx-usb-loader-build-for-target.patch
similarity index 89%
copy from patches/buildroot/2016.08/221-imx-usb-loader-build-for-target.patch
copy to patches/buildroot/2017.02/221-imx-usb-loader-build-for-target.patch
index a44746e..ca1399c 100644
--- a/patches/buildroot/2016.08/221-imx-usb-loader-build-for-target.patch
+++ b/patches/buildroot/2017.02/221-imx-usb-loader-build-for-target.patch
@@ -2,7 +2,7 @@ Index: buildroot/package/imx-usb-loader/imx-usb-loader.mk
===================================================================
--- buildroot.orig/package/imx-usb-loader/imx-usb-loader.mk
+++ buildroot/package/imx-usb-loader/imx-usb-loader.mk
-@@ -8,8 +8,18 @@ IMX_USB_LOADER_VERSION = f96aee286ea17c8
+@@ -8,8 +8,18 @@ IMX_USB_LOADER_VERSION = 9b0e81cf9511c3a
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
IMX_USB_LOADER_LICENSE = LGPLv2.1+
IMX_USB_LOADER_LICENSE_FILES = COPYING
@@ -31,7 +31,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in
+++ buildroot/package/Config.in
-@@ -406,6 +406,7 @@ endmenu
+@@ -416,6 +416,7 @@ endmenu
source "package/i2c-tools/Config.in"
source "package/i7z/Config.in"
source "package/imx-test/Config.in"
@@ -45,16 +45,16 @@ Index: buildroot/package/imx-usb-loader/imx-usb-loader-0001-fix-ram-size.patch
+++ buildroot/package/imx-usb-loader/imx-usb-loader-0001-fix-ram-size.patch
@@ -0,0 +1,14 @@
+diff --git a/mx6_usb_work.conf b/mx6_usb_work.conf
-+index b484c51..fa952e2 100644
++index c6d6cd1..efb3d76 100644
+--- a/mx6_usb_work.conf
++++ b/mx6_usb_work.conf
+@@ -1,6 +1,7 @@
+-mx6_qsb
++apf6qdl
-+ #hid/bulk,[old_header,]max packet size, {ram start, ram size}(repeat valid ram areas)
-+-hid,1024,0x10000000,1G,0x00907000,0x31000
++ #hid/bulk,[old_header,]max packet size, dcd_addr, {ram start, ram size}(repeat valid ram areas)
++-hid,1024,0x910000,0x10000000,1G,0x00900000,0x40000
++#IMX6 quad and dual have 196KB OCRAM Free Area but IMX6 dual light and solo have only 68KB.
-++hid,1024,0x00907000,0x11000
+++hid,1024,0x910000,0x00907000,0x11000
+ #file:dcd,plug,load nnn,jump [nnn/header/header2]
+ #jump nnn - header is after last downloaded word
+ # entire file is loaded before jump, needs load nnn as well
diff --git a/patches/buildroot/2016.08/221-imx-usb-loader-version-bump.patch b/patches/buildroot/2017.02/221-imx-usb-loader-version-bump.patch
similarity index 58%
copy from patches/buildroot/2016.08/221-imx-usb-loader-version-bump.patch
copy to patches/buildroot/2017.02/221-imx-usb-loader-version-bump.patch
index f6cc19e..1830aa6 100644
--- a/patches/buildroot/2016.08/221-imx-usb-loader-version-bump.patch
+++ b/patches/buildroot/2017.02/221-imx-usb-loader-version-bump.patch
@@ -6,16 +6,15 @@ Index: buildroot/package/imx-usb-loader/imx-usb-loader.mk
#
################################################################################
--IMX_USB_LOADER_VERSION = f96aee286ea17c832b7ec922dd76842deb5ce299
-+IMX_USB_LOADER_VERSION = 349286e25c3fd9b2d31b31e962340123bbc62d44
+-IMX_USB_LOADER_VERSION = 9b0e81cf9511c3a27cf635407714caa2793b570c
++IMX_USB_LOADER_VERSION = a2cf488d7adca0b43b61ebaec602e2964ab51874
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
IMX_USB_LOADER_LICENSE = LGPLv2.1+
IMX_USB_LOADER_LICENSE_FILES = COPYING
Index: buildroot/package/imx-usb-loader/imx-usb-loader.hash
===================================================================
--- buildroot.orig/package/imx-usb-loader/imx-usb-loader.hash
-+++ buildroot/package/imx-usb-loader/imx-usb-loader.hash
-@@ -1,2 +1,2 @@
- # locally computed
--sha256 1e7ee8af34e7d0a3b9761c25a4edfc7140d23132129818d288c74fc0d58796e5 imx-usb-loader-f96aee286ea17c832b7ec922dd76842deb5ce299.tar.gz
-+sha256 72157e1290a1dd0dcb43afe65bfa4639f255b3cc961280c50337c045b721465d imx-usb-loader-349286e25c3fd9b2d31b31e962340123bbc62d44.tar.gz
++++ /dev/null
+@@ -1,2 +0,0 @@
+-# locally computed
+-sha256 40e1e36791e91366b13f57b16b32e75cf05e7177b2813f1bf2446419d0ed44eb imx-usb-loader-9b0e81cf9511c3a27cf635407714caa2793b570c.tar.gz
diff --git a/patches/buildroot/2016.08/223-kodi-fix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch b/patches/buildroot/2017.02/223-kodi-fix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch
similarity index 100%
copy from patches/buildroot/2016.08/223-kodi-fix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch
copy to patches/buildroot/2017.02/223-kodi-fix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch
diff --git a/patches/buildroot/2016.05/224-linux-headers-fix-uclibc-compilation.patch b/patches/buildroot/2017.02/224-linux-headers-fix-uclibc-compilation.patch
similarity index 100%
copy from patches/buildroot/2016.05/224-linux-headers-fix-uclibc-compilation.patch
copy to patches/buildroot/2017.02/224-linux-headers-fix-uclibc-compilation.patch
diff --git a/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch b/patches/buildroot/2017.02/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
similarity index 100%
copy from patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
copy to patches/buildroot/2017.02/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
diff --git a/patches/buildroot/2016.08/cleanup_buildroot.sh b/patches/buildroot/2017.02/cleanup_buildroot.sh
similarity index 89%
copy from patches/buildroot/2016.08/cleanup_buildroot.sh
copy to patches/buildroot/2017.02/cleanup_buildroot.sh
index eaf9076..257d5f7 100755
--- a/patches/buildroot/2016.08/cleanup_buildroot.sh
+++ b/patches/buildroot/2017.02/cleanup_buildroot.sh
@@ -31,8 +31,6 @@ rm -rf buildroot/package/can-utils/can-utils.mk
rm -rf buildroot/package/cmux/Config.in
rm -rf buildroot/package/cmux/cmux.hash
rm -rf buildroot/package/cmux/cmux.mk
-rm -rf buildroot/package/cryptodev-linux/cryptodev-linux.hash
-rm -rf buildroot/package/cryptodev-linux/cryptodev-linux.mk
rm -rf buildroot/package/cunit/Config.in
rm -rf buildroot/package/cunit/cunit.mk
rm -rf buildroot/package/e-uae/Config.in
@@ -56,16 +54,10 @@ rm -rf buildroot/package/imx-test/imx-test-02-mxc_vpu_test_v4l2_fixes.patch
rm -rf buildroot/package/imx-test/imx-test.mk
rm -rf buildroot/package/imx-usb-loader/Config.in
rm -rf buildroot/package/imx-usb-loader/imx-usb-loader-0001-fix-ram-size.patch
-rm -rf buildroot/package/imx-usb-loader/imx-usb-loader-0002-fix-return-codes.patch
rm -rf buildroot/package/imx-usb-loader/imx-usb-loader.hash
rm -rf buildroot/package/imx-usb-loader/imx-usb-loader.mk
rm -rf buildroot/package/kodi/Config.in
rm -rf buildroot/package/kodi/kodi.mk
-rm -rf buildroot/package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch
-rm -rf buildroot/package/libpng/0002-Don-t-append-prefix-to-symbol-names-in-version-script.patch
-rm -rf buildroot/package/libpng/libpng.hash
-rm -rf buildroot/package/libpng/libpng.mk
-rm -rf buildroot/package/linux-firmware/linux-firmware.mk
rm -rf buildroot/package/linux-headers/2.6.29.6/0001-net-Support-inclusion-of-linux-socket.h-before-sys-s.patch
rm -rf buildroot/package/linux-headers/2.6.29.6/368-redhat-types_h-define-__aligned_u64-and-expose-to-userspace.patch
rm -rf buildroot/package/linux-headers/2.6.35.3/368-redhat-types_h-define-__aligned_u64-and-expose-to-userspace.patch
@@ -124,8 +116,6 @@ rm -rf buildroot/package/snes9x/snes9x-1.39-compile.patch
rm -rf buildroot/package/snes9x/snes9x.mk
rm -rf buildroot/package/tk/Config.in
rm -rf buildroot/package/tk/tk.mk
-rm -rf buildroot/package/uboot-tools/2013.01/uboot-tools-2013.01-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
-rm -rf buildroot/package/uboot-tools/uboot-tools-2013.10-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
rm -rf buildroot/package/v4l2loopback/001-v4l2loopback-examples-cross-compiling-fixes.patch
rm -rf buildroot/package/v4l2loopback/Config.in
rm -rf buildroot/package/v4l2loopback/v4l2loopback.mk
@@ -140,4 +130,4 @@ rm -rf buildroot/package/xc3sprog/xc3sprog.mk
rm -rf buildroot/package/xenomai/Config.in
rm -rf buildroot/package/xenomai/xenomai.mk
rm -rf buildroot/system/Config.in
-rm -rf buildroot/toolchain/toolchain-external/toolchain-external.mk
+rm -rf buildroot/toolchain/toolchain-external/pkg-toolchain-external.mk
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-17 16:44:50
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 390f2074969a0ff23f33dbf6e53b9415461f63f3 (commit)
from d5e1a792c40c55622c30430be0a2a6b499504762 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 390f2074969a0ff23f33dbf6e53b9415461f63f3
Author: Sébastien Szymanski <seb...@ar...>
Date: Fri Mar 17 17:44:53 2017 +0100
[BUILDROOT] mke2img: if var name and increase journal size to 4MB
Otherwise we get a kernel crash with the following error
[ 10.744594] JBD2: resize2fs wants too many credits credits:261
rsv_credits:0 max:256
-----------------------------------------------------------------------
Summary of changes:
...mke2img-use-mkfs-to-generate-rootfs-image.patch | 46 +++++++++++-----------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch b/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
index ff0b01a..a30944f 100644
--- a/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
+++ b/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
@@ -23,12 +23,12 @@ Index: buildroot/package/mke2img/Config.in.host
+++ buildroot/package/mke2img/Config.in.host
@@ -1,7 +1,6 @@
config BR2_PACKAGE_HOST_MKE2IMG
- bool "host mke2img"
- select BR2_PACKAGE_HOST_E2FSPROGS
+ bool "host mke2img"
+ select BR2_PACKAGE_HOST_E2FSPROGS
- select BR2_PACKAGE_HOST_GENEXT2FS
- help
- Easily create filesystems of the extend familly: ext2/3/4.
-
+ help
+ Easily create filesystems of the extend familly: ext2/3/4.
+
Index: buildroot/package/mke2img/mke2img
===================================================================
--- buildroot.orig/package/mke2img/mke2img
@@ -42,31 +42,31 @@ Index: buildroot/package/mke2img/mke2img
- local tune2fs_O_opts
+ local -a mkfs_opts
+ local mkfs_O_opts
-
+
# Default values
gen=2
@@ -82,78 +81,48 @@ main() {
-
+
# Upgrade to rev1 if needed
if [ ${rev} -ge 1 ]; then
- tune2fs_O_opts+=",filetype,sparse_super"
+ mkfs_O_opts+=",filetype,sparse_super"
fi
-
+
# Add a journal for ext3 and above
+ # resize_inode for online resizing
if [ ${gen} -ge 3 ]; then
- tune2fs_opts+=( -j -J size=1 )
-+ mkfs_opts+=( -j -J size=1 )
++ mkfs_opts+=( -j -J size=4 )
+ mkfs_O_opts+=",resize_inode"
fi
-
+
# Add ext4 specific features
if [ ${gen} -ge 4 ]; then
- tune2fs_O_opts+=",extents,uninit_bg,dir_index"
+ mkfs_O_opts+=",extents,uninit_bg,dir_index"
fi
-
+
+ # Disable some defaults features
+ mkfs_O_opts+=",^ext_attr,^64bit,^flex_bg,^large_file,^huge_file,^dir_nlink,^extra_isize"
+
@@ -76,20 +76,20 @@ Index: buildroot/package/mke2img/mke2img
+ if [ -n "${mkfs_O_opts}" ]; then
+ mkfs_opts+=( -O "${mkfs_O_opts#,}" )
fi
-
+
# Add the label if specified
if [ -n "${label}" ]; then
- tune2fs_opts+=( -L "${label}" )
-+ mkfs_opts+=( -L "${label}" )
- fi
-
+- fi
+-
- # Generate the filesystem
- genext2fs_opts=( -z -b ${nb_blocks} -N ${nb_inodes} -d "${root_dir}" )
- if [ -n "${nb_res_blocks}" ]; then
- genext2fs_opts+=( -m ${nb_res_blocks} )
-- fi
++ mkfs_opts+=( -L "${label}" )
+ fi
- genext2fs "${genext2fs_opts[@]}" "${image}"
--
+
- # genext2fs does not generate a UUID, but fsck will whine if one
- # is missing, so we need to add a UUID.
- # Of course, this has to happen _before_ we run fsck.
@@ -104,7 +104,7 @@ Index: buildroot/package/mke2img/mke2img
+ if [ -n "${UUID}" ]; then
+ mkfs_opts+=( -U "${UUID}" )
+ fi
-
+
- # Upgrade the filesystem
- if [ ${#tune2fs_opts[@]} -ne 0 ]; then
- tune2fs "${tune2fs_opts[@]}" "${image}"
@@ -138,12 +138,12 @@ Index: buildroot/package/mke2img/mke2img
- tune2fs -c 0 -i 0 "${image}"
+ # Generate the filesystem
+ mkfs_opts+=( -d "${root_dir}" -N ${nb_inodes} -T small -F )
-+ if [ -n "${nb_res_block}" ]; then
++ if [ -n "${nb_res_blocks}" ]; then
+ mkfs_opts+=( -m ${nb_res_blocks} )
+ fi
+ mkfs.ext${gen} "${mkfs_opts[@]}" "${image}" "${nb_blocks}"
}
-
+
help() {
Index: buildroot/package/mke2img/mke2img.mk
===================================================================
@@ -152,9 +152,9 @@ Index: buildroot/package/mke2img/mke2img.mk
@@ -4,7 +4,7 @@
#
################################################################################
-
+
-HOST_MKE2IMG_DEPENDENCIES = host-genext2fs host-e2fsprogs
+HOST_MKE2IMG_DEPENDENCIES = host-e2fsprogs
-
+
define HOST_MKE2IMG_INSTALL_CMDS
- $(INSTALL) -D -m 0755 package/mke2img/mke2img $(HOST_DIR)/usr/bin/mke2img
+ $(INSTALL) -D -m 0755 package/mke2img/mke2img $(HOST_DIR)/usr/bin/mke2img
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-17 08:49:47
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via d5e1a792c40c55622c30430be0a2a6b499504762 (commit)
via bc29184366b1ead841d425702fc8d8e114eda35b (commit)
via 2e0d79e2d95d5105ddd4532d1f4f652c5644d6b2 (commit)
via b6385fdcd8fa207db74163ea5a7333e9e223ffab (commit)
via 905e29ddc10e79305afff6c12d9cfd46051c5736 (commit)
via 3b125f2cc5bc3b03fb6d2ac9025c52d839ff1650 (commit)
via b06ac1bc4729394600c4f001173eef09f44651cb (commit)
via b7835d33e392554a18c3c278cacb3fd2fab065fa (commit)
via eec6fd3721ca9cea07699d743806ab6d2ea685d0 (commit)
via 9e293b44cfac680637fd4f2420b77bb5a8b08ed1 (commit)
via a03f1b6d4817026512cae4c4e4ee96c3b24233f8 (commit)
via 5ade9e913c9e93840383a9daa1acfd7dcb4bb081 (commit)
via a10a274b1f8c9226d102efd37d7c9772d154c603 (commit)
via 5552b930e54c29809eae22aa59d6b71a06aba351 (commit)
via ea25d80efe7756bacc320582b03ea64e66520a73 (commit)
via 1809a03f765e3c2910fd49137702de6b706af50a (commit)
via 8797e23605d3f69ee32936eb022450ca88fdd47c (commit)
via 1a2797c8124d57c964769285dfece04aaeaeec93 (commit)
via 1c478f991d866bf9babbf279e7751fab27c07ac2 (commit)
via 10fe762545c8f027f79978673f4f8b131ea582ee (commit)
via 78e27372df3357b9fe3678ef8f2063a0961267ae (commit)
via e71ecad5ae5d195c9fa7f94162788d24bb5f26f0 (commit)
via 7d7bc3c8aec702bd42579e9a75d0b820d31db04b (commit)
via 9b8e4dbb8f7f5642367951ca07fae8641adf22c7 (commit)
via f7a992de697cd1d20c93ee8d34c1030e6e6047fd (commit)
via 462692ed299514abdc551d12263ff480893d427a (commit)
via 60673269a4d646908366ee7713ed9409af788993 (commit)
via c5121bb5346a3b91c8665b2251107c795317c3c1 (commit)
via cef494e7f913152ef2dc62ce961392d0b8dafb6f (commit)
via 837ed58bf29c7e3d8313a42a19701e7883f0fcdf (commit)
via bd77264ed440c7cf06f3defcd51a243f9751bf50 (commit)
via e499baffe425eb9d9e2bd3a184bd443d25b7504c (commit)
via 0a18caea97cd5e075bf83f017d4809202a6eb626 (commit)
via c8d7fbd95efdbfbb9baaef978a3783406e5a4a9d (commit)
via e9db27c0c76406062ffe28e0f2b857770894fd05 (commit)
via 2931eb2b1f7698969cdc87176c63d68a31ddb3ac (commit)
via ab299d991a3f7743b20373d9f79d741a6817a8a6 (commit)
via bba62375b7ae1e99065d239e131b69f9e12316ff (commit)
via 20a094f7aaa11cdc96b1f51e5a9828dd7dd735dc (commit)
via e92343e5e2ae295c0e3fc2ffb1b19fd07288b571 (commit)
via 060b35187a35e9806a81e0c4f5a7c6ce7c7235f5 (commit)
via fa87f70035b3a704b4b484c9139ed2505c046261 (commit)
via a702a78cbff82031bfc97eeb5d5c6dd56c5ff584 (commit)
via e68b904e463c4d31b65f0b59a79c567861766411 (commit)
via 1dbe78264c658eee490d0992e2bc997b103b88be (commit)
via aec5dcd295ea00244db41343aaadd9182bb894a3 (commit)
via fcc11a399b21c7d882f24db86f24b7c0ff621ec0 (commit)
via 2fa4caa0ed550a4ab3521c8651557565cc3898c3 (commit)
via 2fd315f8828d7548337296d900f0eb2fbef9fadb (commit)
via 1d53afe97730d7d9be4d9ae27ea8cbb8ea9f1d3b (commit)
via 8fbe0508297a3bd1cd57f83ee518b6964ab38eb8 (commit)
via 60e1cb3d98f105e6011a5524dc4d4a29a180c7d4 (commit)
via 43623fd8862e41717c174dda7bb24fd77d85ea69 (commit)
via 448bb9d3d975f1f8f1b4d6b45e1d808db7601cbe (commit)
via e816e6a6f0239485908a8377ca4076ee909f70ca (commit)
via ffc813ebed48e76dc86c7d7000ff7d5fa3610811 (commit)
via 414e9ae58097ae030555d76275fa3169addf7eae (commit)
via 0a5db3288fa58cab9faf043a39720de546145bf4 (commit)
via d9a6e99824a4495309691520601f433fff7d4114 (commit)
via f9dacd9ebc7b00c1d6a2f4e25f770c0252dd369a (commit)
via 70dd67a19575a792940d67ac3e08782601c1e81c (commit)
via 05d303d961ba13eabe98657333dd1da6c7b8f8fe (commit)
via 6a025547a6fe3b520e6d3afbc4ee07c705370548 (commit)
via b1a6f2157c4e62867ef6b30fe1235110a4dc3972 (commit)
via 934a738c7d6e0c3b3f92c9c5ad5e0147b66eea00 (commit)
via 9a703e247dcfae8b6dcc6550f2b190368c1a6ee6 (commit)
via bdf3e7e0c13f1a97bf3d278d4ee59685912af3a4 (commit)
via 3509f9d688481ad3b3031ef7db72a9ae6dd7151b (commit)
via 1f14c01b8c3fc4d4fb6054d547fbecb43746ea1c (commit)
via d8a4bd3c3a587e72b2d6d9251a3a8293b457edcd (commit)
via fd9c1f676e700128a8a16ee247b0e6630274b349 (commit)
via ab43b6c9acb74176c2e7fad5446363e6f3221b3e (commit)
via 1534dbd24ec150b249bcf83762aa5a639323d4ff (commit)
via 26f2614f84f30834db73268ed6f6b4f9106c888a (commit)
via c5d6056d97606d7f07b958fe471014bc0e1ab475 (commit)
via 364955c4a9b344fd33ff99b5fabca6bf4aed04cb (commit)
via 397f9a6cf4abf6ba92bda7bf12495b60224d27eb (commit)
via c96af9e526177186a2cc7ec0d149b43314daa569 (commit)
via ce9622b9ebc113ac6d8734754ef243bf96c05f70 (commit)
via e48e7de35ccd7111a4c7e3ead23f08eed8a3aded (commit)
via 69741676613080447ae0b7aa356b9ec6d0358eda (commit)
via faddf8dc2b4a5453c00caa13dcc706e656385ede (commit)
via db53ae09f6da3f0c062c57d9a25bf8f15fda412c (commit)
via 0d2a390a6cec4299a355ac5d14b41db5ed48041d (commit)
via ec2974c29fcc6101daf76d4f67ed0fa5e63a5c1c (commit)
via 390355963280dbaa44e5f3101a3d095c60cb399a (commit)
via e26666e8261fa71a62888ea6c388fc868ea9cce9 (commit)
via 924ac3bc5808583b541e150b656d183779ec5703 (commit)
via 9dd2fb4bd706c099aea339e22954730b0e743885 (commit)
via e27eac81198fdac5eb9828a6889cbb3f8f89e111 (commit)
via edefd879dcad327f87215211da354344a86dc2cf (commit)
via a20f9d78608d92e0c813aac62cde33f538013544 (commit)
via d8db674a4ea5f8eaf19c16cef1f18278e84f5322 (commit)
via d35a953d024dd0b95129b295abfc405abf60f42c (commit)
via a1e3cf3a097664b7ead636fb6765f91370427e6c (commit)
via c598a4be65e1ad0a896cb2d11e7d77defe6bccaf (commit)
via ec9f37da01f9aae66223d65d183b5b1a13d2bf61 (commit)
via 01b24e6e6068d1e81d8bb62e6b5d38817b59e010 (commit)
via ed83351ebfde219f3e035f79baa80685816dd79d (commit)
via 50205425be2938d310ad54d3a02bc122c9f816bd (commit)
via 33573f76048976c58ba57cb2f8ff1e139f89ef32 (commit)
via 25c7e3e0a504be38fbc9d1b3387633096751a5f7 (commit)
via 0dfa99aa4d49c6461ff181a7faa5e4967971720f (commit)
via 65a8f1fa539044285493b7c69efbdcd6bfc0e1ec (commit)
via d73a81e4004aff361a2970e3d7cda3318315d303 (commit)
via fd9464b5d6320c3717c36359ff555aaba72e8b33 (commit)
via 71ba6451d5afe3d2be4ef37beb4fb832f5581759 (commit)
via 3d22de16bab3bf9822a22e92837c1e0f8b8da47a (commit)
via c8050e56014a84170fe0e14c1b1567951f7d933f (commit)
via 9ff22015b49cfb1f542f19abdef94cbd7e54a8dc (commit)
via 5b609a4e1c3bab789451b45a97b31ca737444bf3 (commit)
via e6ddd835ca0107c2797cc7b63913bb92ee6fc0e5 (commit)
via 94e89eb98d2ac6f945b53f06d65da552ca382d0f (commit)
via 00fb8755453e9c2aba111519b492572fbc1d2712 (commit)
via d407c2468ba907f5d531eb742c70211fac5c77e8 (commit)
via 60a3073bca5f57b9a99b9d7656f7a7ac048c6659 (commit)
via aa7a0c0254e793c093025db628e12969507deb8d (commit)
via b36ca3af512cc146f3aa7e4ddafdb366660fa3fb (commit)
via 5568a773099e352941b4ddfb858c6211a496f8c8 (commit)
via b7d3bb16ad0e948345f1893710df146495cdfc17 (commit)
via 31af068e164b6f63921cd13ddce87c4f52aed84a (commit)
via 5f775713d5ff81a2b48b7462044d0e6c92590dbd (commit)
via 9b93f83056b4089204912226f0c8c06fa38e4ad9 (commit)
via d8bdf6a805e1471f3c8aba6acd39a35d928ce53b (commit)
via cbe1b37e3a22b9e1e173714af1b908ff797d4e4c (commit)
via 9e3cf6a155adceeb256c55e8023663bd0a16dccc (commit)
via 7e90505ae1a5ca446ffacdde9efd491780afb3eb (commit)
via dcc1d7b6184d257ad132ada4b5a22728d25e15b0 (commit)
via ab69e5b030308fd80b85e27e8597155646b2f37a (commit)
via 8dcdce3c8b8fdd75be11e10461ed28b0a8aaadc7 (commit)
via ba0629b347b5347af2d459d55bfd66f2367f488a (commit)
via 08812fd8b1fc32fd33c434a2ecd3798304bdaaac (commit)
via ac2d83ce2d8d7af78799395be59e139ad1628ea1 (commit)
via d14ba1ac9daaf9678da4c4e1a57e3ab257d44609 (commit)
via c8e9bc6e7bc0ce54d7c97686de3d82250d954754 (commit)
via 25e540d269d5159232fbd20f0cba487b559cef13 (commit)
via 6bf83fe59d68a32d06245de1e3019ef50dbd2726 (commit)
via 5d95115b735f88a4c1680ba2d99b10674cc7b388 (commit)
via de57c57784ad0731025cd28702e9c6973bb4e457 (commit)
via 2a736bdef9022c207806c6709b629a11a9913163 (commit)
via d1db5ae2caf2e02a58fe9f98f8df2100a12a0e69 (commit)
via 1af8376bfb0c6b23eb0fc3d7f19f49fdff632e62 (commit)
via 9611f34ffb312778db2fae9cf361b0c34f768a12 (commit)
via 7ceedf21adaacf3d3bfd97670cd246c381e1fa00 (commit)
via a5abedaf8d75416dfeb40b38cee2cae591aaa5ee (commit)
from 4b33ceeb1e259878ffbd53bd1d654f26b2d9e3fa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d5e1a792c40c55622c30430be0a2a6b499504762
Merge: 4b33cee bc29184
Author: Sébastien Szymanski <seb...@ar...>
Date: Thu Mar 16 17:39:22 2017 +0100
Merge branch 'buildroot-update' into master
-----------------------------------------------------------------------
Summary of changes:
Makefile | 9 +-
buildroot/configs/.gitignore | 1 +
buildroot/configs/apf27_defconfig | 27 +-
buildroot/configs/apf27_webradio_defconfig | 26 +-
buildroot/configs/apf27mainline_defconfig | 28 +-
.../configs/apf27preempt-rtmainline_defconfig | 28 +-
buildroot/configs/apf27test_defconfig | 26 +-
buildroot/configs/apf27xenomai_defconfig | 25 +-
buildroot/configs/apf27xenomaimainline_defconfig | 24 +-
buildroot/configs/apf28_defconfig | 24 +-
buildroot/configs/apf28mainline_defconfig | 25 +-
buildroot/configs/apf28mainlinetest_defconfig | 25 +-
buildroot/configs/apf28test_defconfig | 24 +-
buildroot/configs/apf51_defconfig | 24 +-
buildroot/configs/apf51mainline_defconfig | 26 +-
buildroot/configs/apf51test_defconfig | 24 +-
buildroot/configs/apf6_defconfig | 18 +-
buildroot/configs/apf6failsafe_defconfig | 11 +-
...f6legacy_defconfig => apf6legacy-4.1_defconfig} | 110 +-
buildroot/configs/apf6legacy-preempt-rt_defconfig | 21 +-
buildroot/configs/apf6legacy_defconfig | 110 +-
buildroot/configs/apf6mediacenter_defconfig | 44 +-
buildroot/configs/apf6test_defconfig | 25 +-
buildroot/configs/apf6xenomai_defconfig | 20 +-
buildroot/configs/apf9328_defconfig | 22 +-
buildroot/configs/apf9328test_defconfig | 22 +-
buildroot/configs/apf9328xenomai_defconfig | 21 +-
...{opos6ul_legacy_defconfig => opos6ul_defconfig} | 64 +-
buildroot/configs/opos6ul_legacy_defconfig | 19 +-
...ilsafe_defconfig => opos6ul_recovery_defconfig} | 39 +-
buildroot/configs/pps51_defconfig | 22 +-
buildroot/configs/pps_defconfig | 26 +-
.../package/armadeus/as_devices/as_devices.mk | 2 +-
.../armadeus/drivers-helpers/drivers-helpers.mk | 2 +-
.../imx28-usb-downloader/imx28-usb-downloader.mk | 1 +
buildroot/package/armadeus/imxregs/imxregs.mk | 2 +-
buildroot/target/device/armadeus/Makefile.in | 8 -
.../armadeus/apf27/apf27_device_table_dev.txt | 2 +
.../armadeus/apf6/apf6legacy-linux-4.1.config | 459 +++++++++
.../target/device/armadeus/busybox-1.24.2.config | 1073 ++++++++++++++++++++
buildroot/target/device/armadeus/busybox.config | 2 +-
.../target/device/armadeus/opos6ul/genimage.cfg | 28 +-
.../armadeus/opos6ul/opos6ul-linux-4.7-rc6.config | 1 +
.../armadeus/opos6ul/opos6ul-linux-4.7.4.config | 1 +
.../armadeus/opos6ul/opos6ul-linux-4.7.config | 350 +++++++
.../armadeus/opos6ul/opos6ul-linux-4.8.10.config | 1 +
.../armadeus/opos6ul/opos6ul-linux-4.8.config | 348 +++++++
.../target/device/armadeus/rootfs/post_build.sh | 80 +-
.../device/armadeus/rootfs/post_image_creation.sh | 5 +-
.../lib/.empty => target_overlay/boot/.first_boot} | 0
.../etc/armadeus-version | 0
.../etc/fw_env.config | 0
.../etc/fw_env_apf6.config | 0
.../target_overlay/etc/fw_env_opos6ul.config | 7 +
.../rootfs/target_overlay/etc/init.d/S01firstboot | 50 +
.../rootfs/target_overlay/etc/init.d/S30wifi | 99 ++
.../.empty => target_overlay/home/.not_mounted} | 0
.../lib/firmware/brcm/brcmfmac43430-sdio.txt | 66 ++
.../armadeus/rootfs/target_skeleton/etc/securetty | 20 -
.../target/device/armadeus/uClibc-ng-1.0.14.config | 253 +++++
buildroot/target/device/armadeus/uClibc-ng.config | 1 +
...lection_even_when_custom_rootfs_is_chosen.patch | 52 -
.../2016.02/189-dbus-fix_installation.patch | 22 -
.../001-add_armadeus_device.patch | 0
.../002-add_armadeus_specific_packages.patch | 0
...us-gpsd-add-options-setting-in-menuconfig.patch | 0
.../007-armadeus-add-agg-package.patch | 0
.../2016.05/008-armadeus-add-gnash-package.patch | 155 +++
.../009-armadeus-xc3sprog-new-package.patch | 0
.../010-armadeus-sam7-pgm-ng-new-package.patch | 0
.../011-armadeus-add-tk-package.patch | 0
...12-armadeus-add-tkinter-support-to-python.patch | 0
.../014-armadeus-python-wx-add-package.patch | 0
.../016-armadeus-add-gnuboy-package.patch | 0
.../017-armadeus-add-rxtx-package.patch | 0
.../018-armadeus-add-pcidebug-package.patch | 0
.../021-armadeus-add-sdl_water-package.patch | 0
.../022-mainline-bump-can-utils-version.patch | 0
...eus-fixes-strace-4.9-build-on-old-kernels.patch | 0
...trace-cant-be-used-on-old-kernels-anymore.patch | 0
.../025-armadeus-apf-config-add-package.patch | 0
...deus-install-ldd-with-external-toolchains.patch | 28 +
...-busybox-fixes-rfkil-build-on-old-kernels.patch | 0
.../028-armadeus-fbgrab-bump-to-1.3-version.patch | 0
.../034-armadeus-add-slideshow-package.patch | 0
...armadeus-fb-test-fixes-tty-config-on-exit.patch | 0
...add_support_for_custom_configuration_file.patch | 75 ++
...072-armadeus-xenomai-download-adeos-patch.patch | 0
...ai-add-configure-options-for-old-versions.patch | 0
.../081-adds_quake_package.patch | 0
.../083-pygame-armadeus_addons.patch | 0
..._instruction_on_non_armv5_arch.patch.stillneed? | 0
.../107-armadeus-games-add-wolf4sdl-package.patch | 0
.../110-bluez3-add_package.patch.stillneeded? | 0
.../111-bluez3-hacks.patch.stillneeded? | 0
.../118-armadeus-snes9x-add-package.patch | 0
.../121-target-arm926t_is_arm926ej-s.patch | 0
.../123-armadeus-pywebradio-add-package.patch | 0
.../124-e-uae-add_package.patch | 0
...42-ncurses-fix_compilation_with_old_hosts.patch | 0
...-disable_ip_busybox_if_iproute2_buildroot.patch | 0
...fix_installation_bug_on_some_host_systems.patch | 0
.../172-gsmmux-add_package.patch | 0
.../2016.05/176-imx-test-add_package.patch | 148 +++
.../181-qtcreator-add_package.patch.stillneeded? | 0
...-fsl-mm-codeclib-add_package.patch.stillneeded? | 0
...nore-env_sectors-on-NOR-and-SPI-dataflash.patch | 0
.../188-marble-add_package.patch | 0
.../197-cunit-add_package.patch | 0
.../201-armadeus-add_gnokii.patch | 0
.../204-wpa-supplicant-add-option-ieee80211w.patch | 0
...x-coreutils-stty-add-rs485-config-options.patch | 0
.../208-armadeus-add_beremiz.patch | 0
.../209-armadeus-add_matiec.patch | 0
.../219-shiboken-add_package.patch | 0
.../221-imx-usb-loader-build-for-target.patch | 0
.../221-imx-usb-loader-fix-return-codes.patch | 0
.../221-imx-usb-loader-version-bump.patch | 0
...ix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch | 54 +
.../224-linux-headers-fix-uclibc-compilation.patch | 90 ++
.../900-armadeus-add-python-flask-jsonrpc.patch | 0
.../901-armadeus-add-python-flask-login.patch | 0
patches/buildroot/2016.05/cleanup_buildroot.sh | 126 +++
.../001-add_armadeus_device.patch | 0
.../002-add_armadeus_specific_packages.patch | 0
...03-armadeus-libpng-bump-to-version-1.6.25.patch | 103 ++
...03-armadeus-libpng-bump-to-version-1.6.27.patch | 23 +
...tools-install-devt-headers-to-staging-dir.tofix | 45 +
...us-gpsd-add-options-setting-in-menuconfig.patch | 47 +
.../007-armadeus-add-agg-package.patch | 0
.../2016.08/008-armadeus-add-gnash-package.patch | 155 +++
.../009-armadeus-xc3sprog-new-package.patch | 0
.../010-armadeus-sam7-pgm-ng-new-package.patch | 0
.../011-armadeus-add-tk-package.patch | 0
...12-armadeus-add-tkinter-support-to-python.patch | 0
.../014-armadeus-python-wx-add-package.patch | 0
.../016-armadeus-add-gnuboy-package.patch | 0
.../017-armadeus-add-rxtx-package.patch | 0
.../018-armadeus-add-pcidebug-package.patch | 0
.../2016.08/019-armadeus-add-cmux-package.patch | 80 ++
.../021-armadeus-add-sdl_water-package.patch | 59 ++
.../022-armadeus-downgrade-can-utils-version.patch | 26 +
...eus-fixes-strace-4.9-build-on-old-kernels.patch | 0
...trace-cant-be-used-on-old-kernels-anymore.patch | 26 +
.../025-armadeus-apf-config-add-package.patch | 61 ++
...deus-install-ldd-with-external-toolchains.patch | 28 +
...-busybox-fixes-rfkil-build-on-old-kernels.patch | 0
.../028-armadeus-fbgrab-bump-to-1.3-version.patch | 0
.../029-armadeus-lora-forwarder-add-package.patch | 171 ++++
.../2016.08/030-armadeus-lmic-pi-add-package.patch | 67 ++
.../034-armadeus-add-slideshow-package.patch | 0
...armadeus-fb-test-fixes-tty-config-on-exit.patch | 0
.../039-armadeus-v4l2loopback-add-package.patch | 133 +++
...add_support_for_custom_configuration_file.patch | 75 ++
...072-armadeus-xenomai-download-adeos-patch.patch | 0
...ai-add-configure-options-for-old-versions.patch | 0
.../081-adds_quake_package.patch | 0
.../083-pygame-armadeus_addons.patch | 0
..._instruction_on_non_armv5_arch.patch.stillneed? | 0
.../107-armadeus-games-add-wolf4sdl-package.patch | 74 ++
.../110-bluez3-add_package.patch.stillneeded? | 0
.../111-bluez3-hacks.patch.stillneeded? | 0
.../2016.08/118-armadeus-snes9x-add-package.patch | 390 +++++++
.../121-target-arm926t_is_arm926ej-s.patch | 0
.../123-armadeus-pywebradio-add-package.patch | 0
.../124-e-uae-add_package.patch | 0
...42-ncurses-fix_compilation_with_old_hosts.patch | 0
...-disable_ip_busybox_if_iproute2_buildroot.patch | 0
...fix_installation_bug_on_some_host_systems.patch | 0
.../172-gsmmux-add_package.patch | 0
.../2016.08/176-imx-test-add_package.patch | 148 +++
.../181-qtcreator-add_package.patch.stillneeded? | 0
...-fsl-mm-codeclib-add_package.patch.stillneeded? | 0
...nore-env_sectors-on-NOR-and-SPI-dataflash.patch | 0
.../188-marble-add_package.patch | 0
.../197-cunit-add_package.patch | 0
.../201-armadeus-add_gnokii.patch | 0
.../204-wpa-supplicant-add-option-ieee80211w.patch | 0
...tils-stty-add-rs485-config-options.patch.tofix} | 0
.../208-armadeus-add_beremiz.patch | 0
.../209-armadeus-add_matiec.patch | 0
.../219-shiboken-add_package.patch | 0
.../221-imx-usb-loader-build-for-target.patch | 75 ++
.../221-imx-usb-loader-fix-return-codes.patch | 0
.../2016.08/221-imx-usb-loader-version-bump.patch | 21 +
...ix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch | 51 +
.../224-linux-headers-fix-uclibc-compilation.patch | 90 ++
.../2016.08/225-linux-firmware-bump-version.patch | 37 +
...ptodev-linux-fix-build-with-recent-kernel.patch | 52 +
...mke2img-use-mkfs-to-generate-rootfs-image.patch | 160 +++
patches/buildroot/2016.08/cleanup_buildroot.sh | 143 +++
.../0458-kernel-add-support-for-gcc-5.patch | 96 ++
...LLVMLinux-use-static-inline-in-ARM-ftrace.patch | 52 +
...drop-warning-about-return_address-not-usi.patch | 40 +
...rmadeus-add-apf6q-and-apf6dl-device-trees.patch | 10 +-
...0452-Input-sx8654-support-inverted-y-prop.patch | 33 +
...ernel-config-fragment-to-imx-v7-defconfig.patch | 55 +
...15-armadeus-logo-add_armadeus-project_tux.patch | 0
...50-armadeus-add_custom_drivers_to_kconfig.patch | 0
..._star_completion_for_source_in_menuconfig.patch | 0
...rmadeus-add-apf6q-and-apf6dl-device-trees.patch | 72 +-
...0452-Input-sx8654-support-inverted-y-prop.patch | 33 +
...500-mxc_ipuv3_fb-unblank-displays-at-init.patch | 82 ++
..._fb-move-fb_blank-call-after-registration.patch | 67 ++
...able-overflow-interrupt-after-initializat.patch | 40 +
.../0503-Add-support-for-DVI-monitors.patch | 224 ++++
...ernel-config-fragment-to-imx-v7-defconfig.patch | 56 +
patches/linux/4.7-rc6 | 1 +
patches/linux/4.7.4 | 1 +
...pos6ul-and-opos6uldev-add-initial-support.patch | 623 ++++++++++++
patches/linux/4.8.10 | 1 +
.../0505-armadeus-add_mcp7940x_rtc_driver.patch | 1 +
...pos6ul-and-opos6uldev-add-initial-support.patch | 682 +++++++++++++
...mxsfb-Fix-framebuffer-corruption-on-mx6sx.patch | 62 ++
...d-devicetree-support-and-trivial-bindings.patch | 48 +
.../2015.01/0403-Add-APF51-new-NAND-SPL.patch | 4 +-
scripts/export_linux_config.sh | 2 +-
software/uboot_recover/apf6_recovery.py | 2 +-
software/uboot_recover/opos6ul-u-boot.img | Bin 0 -> 267528 bytes
software/uboot_recover/opos6ul-u-boot.spl | Bin 0 -> 39936 bytes
.../{apf6_recovery.py => opos6ul_recovery.py} | 20 +-
target/linux/debug/imxregs/Makefile | 6 +-
target/linux/debug/imxregs/imx6ulregs.h | 50 +
target/linux/debug/imxregs/imxregs.c | 8 +-
target/packages/as_devices/Makefile | 1 +
target/packages/as_devices/c/Makefile | 11 +-
target/packages/as_devices/c/as_gpio.c | 122 ++-
target/packages/as_devices/c/as_gpio.h | 19 +-
target/packages/as_devices/c/as_tcs3472.c | 1 +
.../packages/as_devices/c/wiringPi/COPYING.LESSER | 165 +++
target/packages/as_devices/c/wiringPi/wiringPi.c | 531 ++++++++++
target/packages/as_devices/c/wiringPi/wiringPi.h | 181 ++++
.../packages/as_devices/c/wiringPi/wiringPiI2C.c | 232 +++++
.../packages/as_devices/c/wiringPi/wiringPiI2C.h | 42 +
.../packages/as_devices/c/wiringPi/wiringPiSPI.c | 136 +++
.../packages/as_devices/c/wiringPi/wiringPiSPI.h | 36 +
.../packages/as_devices/c/wiringPi/wiringSerial.c | 213 ++++
.../packages/as_devices/c/wiringPi/wiringSerial.h | 38 +
.../packages/as_devices/python/AsDevices/bmp180.py | 159 +++
.../as_devices/python/AsDevices/hmc5883l.py | 86 ++
target/packages/as_devices/python/Makefile | 3 +-
target/test/test_backlight.sh | 15 +-
target/test/test_helpers.sh | 2 +
243 files changed, 10471 insertions(+), 804 deletions(-)
copy buildroot/configs/{apf6legacy_defconfig => apf6legacy-4.1_defconfig} (53%)
copy buildroot/configs/{opos6ul_legacy_defconfig => opos6ul_defconfig} (59%)
copy buildroot/configs/{apf6failsafe_defconfig => opos6ul_recovery_defconfig} (63%)
create mode 100644 buildroot/target/device/armadeus/apf27/apf27_device_table_dev.txt
create mode 100644 buildroot/target/device/armadeus/apf6/apf6legacy-linux-4.1.config
create mode 100644 buildroot/target/device/armadeus/busybox-1.24.2.config
create mode 120000 buildroot/target/device/armadeus/opos6ul/opos6ul-linux-4.7-rc6.config
create mode 120000 buildroot/target/device/armadeus/opos6ul/opos6ul-linux-4.7.4.config
create mode 100644 buildroot/target/device/armadeus/opos6ul/opos6ul-linux-4.7.config
create mode 120000 buildroot/target/device/armadeus/opos6ul/opos6ul-linux-4.8.10.config
create mode 100644 buildroot/target/device/armadeus/opos6ul/opos6ul-linux-4.8.config
copy buildroot/target/device/armadeus/rootfs/{target_skeleton/lib/.empty => target_overlay/boot/.first_boot} (100%)
copy buildroot/target/device/armadeus/rootfs/{target_skeleton => target_overlay}/etc/armadeus-version (100%)
copy buildroot/target/device/armadeus/rootfs/{target_skeleton => target_overlay}/etc/fw_env.config (100%)
copy buildroot/target/device/armadeus/rootfs/{target_skeleton => target_overlay}/etc/fw_env_apf6.config (100%)
create mode 100644 buildroot/target/device/armadeus/rootfs/target_overlay/etc/fw_env_opos6ul.config
create mode 100755 buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01firstboot
create mode 100755 buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S30wifi
copy buildroot/target/device/armadeus/rootfs/{target_skeleton/lib/.empty => target_overlay/home/.not_mounted} (100%)
create mode 100644 buildroot/target/device/armadeus/rootfs/target_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt
delete mode 100644 buildroot/target/device/armadeus/rootfs/target_skeleton/etc/securetty
create mode 100644 buildroot/target/device/armadeus/uClibc-ng-1.0.14.config
create mode 120000 buildroot/target/device/armadeus/uClibc-ng.config
delete mode 100644 patches/buildroot/2016.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
delete mode 100644 patches/buildroot/2016.02/189-dbus-fix_installation.patch
copy patches/buildroot/{2015.02 => 2016.05}/001-add_armadeus_device.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/002-add_armadeus_specific_packages.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/005-armadeus-gpsd-add-options-setting-in-menuconfig.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/007-armadeus-add-agg-package.patch (100%)
create mode 100644 patches/buildroot/2016.05/008-armadeus-add-gnash-package.patch
copy patches/buildroot/{2015.02 => 2016.05}/009-armadeus-xc3sprog-new-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/010-armadeus-sam7-pgm-ng-new-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/011-armadeus-add-tk-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/012-armadeus-add-tkinter-support-to-python.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/014-armadeus-python-wx-add-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/016-armadeus-add-gnuboy-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/017-armadeus-add-rxtx-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/018-armadeus-add-pcidebug-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/021-armadeus-add-sdl_water-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/022-mainline-bump-can-utils-version.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/023-armadeus-fixes-strace-4.9-build-on-old-kernels.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/024-armadeus-ltrace-cant-be-used-on-old-kernels-anymore.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/025-armadeus-apf-config-add-package.patch (100%)
create mode 100644 patches/buildroot/2016.05/026-armadeus-install-ldd-with-external-toolchains.patch
copy patches/buildroot/{2015.02 => 2016.05}/027-armadeus-busybox-fixes-rfkil-build-on-old-kernels.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/028-armadeus-fbgrab-bump-to-1.3-version.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/034-armadeus-add-slideshow-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/038-armadeus-fb-test-fixes-tty-config-on-exit.patch (100%)
create mode 100644 patches/buildroot/2016.05/050-U-Boot-add_support_for_custom_configuration_file.patch
copy patches/buildroot/{2016.02 => 2016.05}/072-armadeus-xenomai-download-adeos-patch.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/073-armadeus-xenomai-add-configure-options-for-old-versions.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/081-adds_quake_package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/083-pygame-armadeus_addons.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch.stillneed? (100%)
copy patches/buildroot/{2016.02 => 2016.05}/107-armadeus-games-add-wolf4sdl-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/110-bluez3-add_package.patch.stillneeded? (100%)
copy patches/buildroot/{2016.02 => 2016.05}/111-bluez3-hacks.patch.stillneeded? (100%)
copy patches/buildroot/{2016.02 => 2016.05}/118-armadeus-snes9x-add-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/121-target-arm926t_is_arm926ej-s.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/123-armadeus-pywebradio-add-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/124-e-uae-add_package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/142-ncurses-fix_compilation_with_old_hosts.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/172-gsmmux-add_package.patch (100%)
create mode 100644 patches/buildroot/2016.05/176-imx-test-add_package.patch
copy patches/buildroot/{2016.02 => 2016.05}/181-qtcreator-add_package.patch.stillneeded? (100%)
copy patches/buildroot/{2016.02 => 2016.05}/184-fsl-mm-codeclib-add_package.patch.stillneeded? (100%)
copy patches/buildroot/{2015.02 => 2016.05}/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/188-marble-add_package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/197-cunit-add_package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/201-armadeus-add_gnokii.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/204-wpa-supplicant-add-option-ieee80211w.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/205-busybox-coreutils-stty-add-rs485-config-options.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/208-armadeus-add_beremiz.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/209-armadeus-add_matiec.patch (100%)
copy patches/buildroot/{2015.02 => 2016.05}/219-shiboken-add_package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/221-imx-usb-loader-build-for-target.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/221-imx-usb-loader-fix-return-codes.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/221-imx-usb-loader-version-bump.patch (100%)
create mode 100644 patches/buildroot/2016.05/223-kodi-fix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch
create mode 100644 patches/buildroot/2016.05/224-linux-headers-fix-uclibc-compilation.patch
copy patches/buildroot/{2015.02 => 2016.05}/900-armadeus-add-python-flask-jsonrpc.patch (100%)
copy patches/buildroot/{2016.02 => 2016.05}/901-armadeus-add-python-flask-login.patch (100%)
create mode 100755 patches/buildroot/2016.05/cleanup_buildroot.sh
copy patches/buildroot/{2015.02 => 2016.08}/001-add_armadeus_device.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/002-add_armadeus_specific_packages.patch (100%)
create mode 100644 patches/buildroot/2016.08/003-armadeus-libpng-bump-to-version-1.6.25.patch
create mode 100644 patches/buildroot/2016.08/003-armadeus-libpng-bump-to-version-1.6.27.patch
create mode 100644 patches/buildroot/2016.08/004-armadeus-i2c-tools-install-devt-headers-to-staging-dir.tofix
create mode 100644 patches/buildroot/2016.08/005-armadeus-gpsd-add-options-setting-in-menuconfig.patch
copy patches/buildroot/{2016.02 => 2016.08}/007-armadeus-add-agg-package.patch (100%)
create mode 100644 patches/buildroot/2016.08/008-armadeus-add-gnash-package.patch
copy patches/buildroot/{2015.02 => 2016.08}/009-armadeus-xc3sprog-new-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/010-armadeus-sam7-pgm-ng-new-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/011-armadeus-add-tk-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/012-armadeus-add-tkinter-support-to-python.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/014-armadeus-python-wx-add-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/016-armadeus-add-gnuboy-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/017-armadeus-add-rxtx-package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/018-armadeus-add-pcidebug-package.patch (100%)
create mode 100644 patches/buildroot/2016.08/019-armadeus-add-cmux-package.patch
create mode 100644 patches/buildroot/2016.08/021-armadeus-add-sdl_water-package.patch
create mode 100644 patches/buildroot/2016.08/022-armadeus-downgrade-can-utils-version.patch
copy patches/buildroot/{2015.02 => 2016.08}/023-armadeus-fixes-strace-4.9-build-on-old-kernels.patch (100%)
create mode 100644 patches/buildroot/2016.08/024-armadeus-ltrace-cant-be-used-on-old-kernels-anymore.patch
create mode 100644 patches/buildroot/2016.08/025-armadeus-apf-config-add-package.patch
create mode 100644 patches/buildroot/2016.08/026-armadeus-install-ldd-with-external-toolchains.patch
copy patches/buildroot/{2015.02 => 2016.08}/027-armadeus-busybox-fixes-rfkil-build-on-old-kernels.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/028-armadeus-fbgrab-bump-to-1.3-version.patch (100%)
create mode 100644 patches/buildroot/2016.08/029-armadeus-lora-forwarder-add-package.patch
create mode 100644 patches/buildroot/2016.08/030-armadeus-lmic-pi-add-package.patch
copy patches/buildroot/{2016.02 => 2016.08}/034-armadeus-add-slideshow-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/038-armadeus-fb-test-fixes-tty-config-on-exit.patch (100%)
create mode 100644 patches/buildroot/2016.08/039-armadeus-v4l2loopback-add-package.patch
create mode 100644 patches/buildroot/2016.08/050-U-Boot-add_support_for_custom_configuration_file.patch
copy patches/buildroot/{2016.02 => 2016.08}/072-armadeus-xenomai-download-adeos-patch.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/073-armadeus-xenomai-add-configure-options-for-old-versions.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/081-adds_quake_package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/083-pygame-armadeus_addons.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch.stillneed? (100%)
create mode 100644 patches/buildroot/2016.08/107-armadeus-games-add-wolf4sdl-package.patch
copy patches/buildroot/{2016.02 => 2016.08}/110-bluez3-add_package.patch.stillneeded? (100%)
copy patches/buildroot/{2016.02 => 2016.08}/111-bluez3-hacks.patch.stillneeded? (100%)
create mode 100644 patches/buildroot/2016.08/118-armadeus-snes9x-add-package.patch
copy patches/buildroot/{2015.02 => 2016.08}/121-target-arm926t_is_arm926ej-s.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/123-armadeus-pywebradio-add-package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/124-e-uae-add_package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/142-ncurses-fix_compilation_with_old_hosts.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/172-gsmmux-add_package.patch (100%)
create mode 100644 patches/buildroot/2016.08/176-imx-test-add_package.patch
copy patches/buildroot/{2016.02 => 2016.08}/181-qtcreator-add_package.patch.stillneeded? (100%)
copy patches/buildroot/{2016.02 => 2016.08}/184-fsl-mm-codeclib-add_package.patch.stillneeded? (100%)
copy patches/buildroot/{2015.02 => 2016.08}/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/188-marble-add_package.patch (100%)
copy patches/buildroot/{2016.02 => 2016.08}/197-cunit-add_package.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/201-armadeus-add_gnokii.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/204-wpa-supplicant-add-option-ieee80211w.patch (100%)
copy patches/buildroot/{2015.02/205-busybox-coreutils-stty-add-rs485-config-options.patch => 2016.08/205-busybox-coreutils-stty-add-rs485-config-options.patch.tofix} (100%)
copy patches/buildroot/{2016.02 => 2016.08}/208-armadeus-add_beremiz.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/209-armadeus-add_matiec.patch (100%)
copy patches/buildroot/{2015.02 => 2016.08}/219-shiboken-add_package.patch (100%)
create mode 100644 patches/buildroot/2016.08/221-imx-usb-loader-build-for-target.patch
copy patches/buildroot/{2016.02 => 2016.08}/221-imx-usb-loader-fix-return-codes.patch (100%)
create mode 100644 patches/buildroot/2016.08/221-imx-usb-loader-version-bump.patch
create mode 100644 patches/buildroot/2016.08/223-kodi-fix-build-when-BR2_PACKAGE_LIBFSLVPUWRAP-y.patch
create mode 100644 patches/buildroot/2016.08/224-linux-headers-fix-uclibc-compilation.patch
create mode 100644 patches/buildroot/2016.08/225-linux-firmware-bump-version.patch
create mode 100644 patches/buildroot/2016.08/226-package-cryptodev-linux-fix-build-with-recent-kernel.patch
create mode 100644 patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
create mode 100755 patches/buildroot/2016.08/cleanup_buildroot.sh
create mode 100644 patches/linux/3.10.mx6_legacy/0458-kernel-add-support-for-gcc-5.patch
create mode 100644 patches/linux/3.10.mx6_legacy/0459-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
create mode 100644 patches/linux/3.10.mx6_legacy/0460-ARM-8160-1-drop-warning-about-return_address-not-usi.patch
create mode 100644 patches/linux/3.14.mx6_legacy/0452-Input-sx8654-support-inverted-y-prop.patch
create mode 100644 patches/linux/3.14.mx6_legacy/0513-armadeus-add-apf6-kernel-config-fragment-to-imx-v7-defconfig.patch
copy patches/linux/{3.14.mx6_legacy => 4.1.mx6_legacy}/0015-armadeus-logo-add_armadeus-project_tux.patch (100%)
copy patches/linux/{3.14.mx6_legacy => 4.1.mx6_legacy}/0050-armadeus-add_custom_drivers_to_kconfig.patch (100%)
copy patches/linux/{3.14.mx6_legacy => 4.1.mx6_legacy}/0441-armadeus-adding_star_completion_for_source_in_menuconfig.patch (100%)
copy patches/linux/{3.14.mx6_legacy => 4.1.mx6_legacy}/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch (92%)
create mode 100644 patches/linux/4.1.mx6_legacy/0452-Input-sx8654-support-inverted-y-prop.patch
create mode 100644 patches/linux/4.1.mx6_legacy/0500-mxc_ipuv3_fb-unblank-displays-at-init.patch
create mode 100644 patches/linux/4.1.mx6_legacy/0501-mxc_ipuv3_fb-move-fb_blank-call-after-registration.patch
create mode 100644 patches/linux/4.1.mx6_legacy/0502-mxc_hdmi-enable-overflow-interrupt-after-initializat.patch
create mode 100644 patches/linux/4.1.mx6_legacy/0503-Add-support-for-DVI-monitors.patch
create mode 100644 patches/linux/4.1.mx6_legacy/0513-armadeus-add-apf6-kernel-config-fragment-to-imx-v7-defconfig.patch
create mode 120000 patches/linux/4.7-rc6
create mode 120000 patches/linux/4.7.4
create mode 100644 patches/linux/4.7/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
create mode 120000 patches/linux/4.8.10
create mode 120000 patches/linux/4.8/0505-armadeus-add_mcp7940x_rtc_driver.patch
create mode 100644 patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
create mode 100644 patches/linux/4.8/0801-video-mxsfb-Fix-framebuffer-corruption-on-mx6sx.patch
create mode 100644 patches/linux/4.8/0802-mainline-iio-si7020-add-devicetree-support-and-trivial-bindings.patch
create mode 100644 software/uboot_recover/opos6ul-u-boot.img
create mode 100644 software/uboot_recover/opos6ul-u-boot.spl
copy software/uboot_recover/{apf6_recovery.py => opos6ul_recovery.py} (82%)
create mode 100644 target/linux/debug/imxregs/imx6ulregs.h
create mode 100644 target/packages/as_devices/c/wiringPi/COPYING.LESSER
create mode 100644 target/packages/as_devices/c/wiringPi/wiringPi.c
create mode 100644 target/packages/as_devices/c/wiringPi/wiringPi.h
create mode 100644 target/packages/as_devices/c/wiringPi/wiringPiI2C.c
create mode 100644 target/packages/as_devices/c/wiringPi/wiringPiI2C.h
create mode 100644 target/packages/as_devices/c/wiringPi/wiringPiSPI.c
create mode 100644 target/packages/as_devices/c/wiringPi/wiringPiSPI.h
create mode 100644 target/packages/as_devices/c/wiringPi/wiringSerial.c
create mode 100644 target/packages/as_devices/c/wiringPi/wiringSerial.h
create mode 100644 target/packages/as_devices/python/AsDevices/bmp180.py
create mode 100644 target/packages/as_devices/python/AsDevices/hmc5883l.py
diff --git a/Makefile b/Makefile
index bb1d1db..b542642 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Makefile for Armadeus
#
-# Copyright (C) 2005-2014 by the Armadeus Team
+# Copyright (C) 2005-2016 by the Armadeus Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,8 +26,7 @@ ARMADEUS_TOPDIR:=$(shell pwd)
export ARMADEUS_TOPDIR
#--- User configurable stuff:
-#BUILDROOT_VERSION=2016.02
-BUILDROOT_VERSION=2015.02
+BUILDROOT_VERSION=2016.08
include ./Makefile.in
BUILDROOT_SITE:=https://buildroot.org/downloads
BUILDROOT_PATCH_DIR:=$(ARMADEUS_TOPDIR)/patches/buildroot/$(BUILDROOT_VERSION)
@@ -56,7 +55,7 @@ ECHO_CONFIGURATION_NOT_DEFINED:= echo -en "\033[1m"; \
echo " "; \
echo -en "\033[0m";
-ARMADEUS_BSP_VERSION=$(shell cat $(BUILDROOT_DIR)/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version)
+ARMADEUS_BSP_VERSION=$(shell cat $(BUILDROOT_DIR)/target/device/armadeus/rootfs/target_overlay/etc/armadeus-version)
default: all
@@ -72,6 +71,7 @@ help:
@echo ' apf28_defconfig - get default config for an APF28+Dev kit'
@echo ' apf6_defconfig - get default config for an APF6+Dev kit (3.19+ mainline/vanilla kernel)'
@echo ' apf6legacy_defconfig - get default config for an APF6+Dev kit (3.10 Wandboard kernel)'
+ @echo ' opos6ul_defconfig - get default config for an OPOS6UL+Dev kit (4.7+ mainline/vanilla kernel)'
@echo ' opos6ul_legacy_defconfig - get default config for an OPOS6UL+Dev kit (3.14 Freescale kernel)'
@echo ''
@echo 'Build:'
@@ -112,6 +112,7 @@ buildroot-sources: $(BUILDROOT_FILE_PATH)/$(BUILDROOT_SOURCE)
$(BUILDROOT_DIR)/.unpacked: $(BUILDROOT_FILE_PATH)/$(BUILDROOT_SOURCE) $(BUILDROOT_PATCH_DIR)/*.patch
$(BUILDROOT_PATCH_DIR)/cleanup_buildroot.sh
+ rm -f $(BUILDROOT_DIR)/.applied_patches_list
bzcat $(BUILDROOT_FILE_PATH)/$(BUILDROOT_SOURCE) | \
tar -C $(BUILDROOT_DIR) $(TAR_OPTIONS) -
touch $@
diff --git a/buildroot/configs/.gitignore b/buildroot/configs/.gitignore
index 0f18ac2..b312cc3 100644
--- a/buildroot/configs/.gitignore
+++ b/buildroot/configs/.gitignore
@@ -1,3 +1,4 @@
*_defconfig
!/apf*
!/pps*_defconfig
+!/opos6ul*
diff --git a/buildroot/configs/apf27_defconfig b/buildroot/configs/apf27_defconfig
index c00f4f8..182b333 100644
--- a/buildroot/configs/apf27_defconfig
+++ b/buildroot/configs/apf27_defconfig
@@ -4,17 +4,12 @@ BR2_DL_DIR="$(BASE_DIR)/../downloads"
BR2_BACKUP_SITE="ftp://ftp2.armadeus.com/armadeusw/download"
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
-BR2_STRIP_sstrip=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.29.6"
-BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-$(BR2_UCLIBC_VERSION_STRING).config"
-BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
-BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PTHREAD_DEBUG=y
-BR2_BINUTILS_VERSION_2_23_2=y
-BR2_GCC_VERSION_4_7_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_ENABLE_LOCALE_PURGE=y
@@ -22,11 +17,10 @@ BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_TARGET_GENERIC_HOSTNAME="apf27"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
-BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
-BR2_ROOTFS_DEVICE_TABLE="$(ARMADEUS_PATH)/rootfs/device_table.txt"
-BR2_ROOTFS_SKELETON_CUSTOM=y
-BR2_ROOTFS_SKELETON_CUSTOM_PATH="$(ARMADEUS_PATH)/rootfs/target_skeleton"
+BR2_ROOTFS_DEVICE_CREATION_STATIC=y
+BR2_ROOTFS_STATIC_DEVICE_TABLE="system/device_table_dev.txt $(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)_device_table_dev.txt"
BR2_TARGET_GENERIC_GETTY_PORT="ttySMX0"
+BR2_ROOTFS_OVERLAY="$(ARMADEUS_PATH)/rootfs/target_overlay"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_image_creation.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="apf27 imx27"
@@ -39,6 +33,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.29.6"
BR2_LINUX_KERNEL_PATCH="../patches/linux/$(BR2_LINUX_KERNEL_VERSION)"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-linux-$(BR2_LINUX_KERNEL_VERSION).config"
+BR2_LINUX_KERNEL_UIMAGE=y
BR2_PACKAGE_BUSYBOX_CONFIG="$(ARMADEUS_PATH)/busybox.config"
BR2_PACKAGE_FPGAREGS=y
BR2_PACKAGE_FPGA_FIRMWARE=y
@@ -76,7 +71,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_JFFS2=y
-BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K=y
+BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y
BR2_TARGET_ROOTFS_JFFS2_PAD=y
BR2_TARGET_ROOTFS_UBIFS=y
BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047
@@ -85,16 +80,10 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
-BR2_TARGET_UBOOT_NETWORK=y
-BR2_TARGET_UBOOT_SERVERIP="192.168.0.2"
-BR2_TARGET_UBOOT_IPADDR="192.168.0.10"
-BR2_TARGET_UBOOT_GATEWAY="192.168.0.1"
-BR2_TARGET_UBOOT_ETHADDR=""
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27_webradio_defconfig b/buildroot/configs/apf27_webradio_defconfig
index 1f6b6d8..a41317b 100644
--- a/buildroot/configs/apf27_webradio_defconfig
+++ b/buildroot/configs/apf27_webradio_defconfig
@@ -4,16 +4,12 @@ BR2_DL_DIR="$(BASE_DIR)/../downloads"
BR2_BACKUP_SITE="ftp://ftp2.armadeus.com/armadeusw/download"
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
-BR2_STRIP_sstrip=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.29.6"
-BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-$(BR2_UCLIBC_VERSION_STRING).config"
-BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
-BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PTHREAD_DEBUG=y
-BR2_BINUTILS_VERSION_2_23_2=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_ENABLE_LOCALE_PURGE=y
@@ -21,11 +17,10 @@ BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_TARGET_GENERIC_HOSTNAME="apf27"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
-BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
-BR2_ROOTFS_DEVICE_TABLE="$(ARMADEUS_PATH)/rootfs/device_table.txt"
-BR2_ROOTFS_SKELETON_CUSTOM=y
-BR2_ROOTFS_SKELETON_CUSTOM_PATH="$(ARMADEUS_PATH)/rootfs/target_skeleton"
+BR2_ROOTFS_DEVICE_CREATION_STATIC=y
+BR2_ROOTFS_STATIC_DEVICE_TABLE="system/device_table_dev.txt $(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)_device_table_dev.txt"
BR2_TARGET_GENERIC_GETTY_PORT="ttySMX0"
+BR2_ROOTFS_OVERLAY="$(ARMADEUS_PATH)/rootfs/target_overlay"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_image_creation.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="apf27 imx27"
@@ -38,6 +33,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.29.6"
BR2_LINUX_KERNEL_PATCH="../patches/linux/$(BR2_LINUX_KERNEL_VERSION)"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-linux-$(BR2_LINUX_KERNEL_VERSION).config"
+BR2_LINUX_KERNEL_UIMAGE=y
BR2_PACKAGE_BUSYBOX_CONFIG="$(ARMADEUS_PATH)/busybox.config"
BR2_PACKAGE_FPGAREGS=y
BR2_PACKAGE_IMXREGS=y
@@ -79,7 +75,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_JFFS2=y
-BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K=y
+BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y
BR2_TARGET_ROOTFS_JFFS2_PAD=y
BR2_TARGET_ROOTFS_UBIFS=y
BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047
@@ -88,16 +84,10 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-u-boot-2015.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
-BR2_TARGET_UBOOT_NETWORK=y
-BR2_TARGET_UBOOT_SERVERIP="192.168.0.2"
-BR2_TARGET_UBOOT_IPADDR="192.168.0.10"
-BR2_TARGET_UBOOT_GATEWAY="192.168.0.1"
-BR2_TARGET_UBOOT_ETHADDR=""
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27mainline_defconfig b/buildroot/configs/apf27mainline_defconfig
index 2930eed..b4c6b50 100644
--- a/buildroot/configs/apf27mainline_defconfig
+++ b/buildroot/configs/apf27mainline_defconfig
@@ -4,18 +4,13 @@ BR2_DL_DIR="$(BASE_DIR)/../downloads"
BR2_BACKUP_SITE="ftp://ftp2.armadeus.com/armadeusw/download"
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
-BR2_STRIP_sstrip=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.19.8"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
-BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-$(BR2_UCLIBC_VERSION_STRING).config"
-BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
-BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PTHREAD_DEBUG=y
-BR2_BINUTILS_VERSION_2_23_2=y
-BR2_GCC_VERSION_4_7_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_ENABLE_LOCALE_PURGE=y
@@ -23,11 +18,9 @@ BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_TARGET_GENERIC_HOSTNAME="apf27"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
-BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
-BR2_ROOTFS_DEVICE_TABLE="$(ARMADEUS_PATH)/rootfs/device_table.txt"
-BR2_ROOTFS_SKELETON_CUSTOM=y
-BR2_ROOTFS_SKELETON_CUSTOM_PATH="$(ARMADEUS_PATH)/rootfs/target_skeleton"
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+BR2_ROOTFS_OVERLAY="$(ARMADEUS_PATH)/rootfs/target_overlay"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_image_creation.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="apf27 imx27"
@@ -40,6 +33,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.19.8"
BR2_LINUX_KERNEL_PATCH="../patches/linux/$(BR2_LINUX_KERNEL_VERSION)"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-linux-$(BR2_LINUX_KERNEL_VERSION).config"
+BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xA0008000"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx27-apf27dev"
@@ -63,6 +57,8 @@ BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_SUMTOOL=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DROPBEAR=y
@@ -80,7 +76,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_JFFS2=y
-BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K=y
+BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y
BR2_TARGET_ROOTFS_JFFS2_PAD=y
BR2_TARGET_ROOTFS_UBIFS=y
BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047
@@ -89,16 +85,10 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
-BR2_TARGET_UBOOT_NETWORK=y
-BR2_TARGET_UBOOT_SERVERIP="192.168.0.2"
-BR2_TARGET_UBOOT_IPADDR="192.168.0.10"
-BR2_TARGET_UBOOT_GATEWAY="192.168.0.1"
-BR2_TARGET_UBOOT_ETHADDR=""
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27preempt-rtmainline_defconfig b/buildroot/configs/apf27preempt-rtmainline_defconfig
index aa6b083..0a937ee 100644
--- a/buildroot/configs/apf27preempt-rtmainline_defconfig
+++ b/buildroot/configs/apf27preempt-rtmainline_defconfig
@@ -4,18 +4,13 @@ BR2_DL_DIR="$(BASE_DIR)/../downloads"
BR2_BACKUP_SITE="ftp://ftp2.armadeus.com/armadeusw/download"
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
-BR2_STRIP_sstrip=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="4.0.8"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0=y
-BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-$(BR2_UCLIBC_VERSION_STRING).config"
-BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
-BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PTHREAD_DEBUG=y
-BR2_BINUTILS_VERSION_2_23_2=y
-BR2_GCC_VERSION_4_7_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_ENABLE_LOCALE_PURGE=y
@@ -23,11 +18,9 @@ BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_TARGET_GENERIC_HOSTNAME="apf27"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
-BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
-BR2_ROOTFS_DEVICE_TABLE="$(ARMADEUS_PATH)/rootfs/device_table.txt"
-BR2_ROOTFS_SKELETON_CUSTOM=y
-BR2_ROOTFS_SKELETON_CUSTOM_PATH="$(ARMADEUS_PATH)/rootfs/target_skeleton"
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+BR2_ROOTFS_OVERLAY="$(ARMADEUS_PATH)/rootfs/target_overlay"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(ARMADEUS_PATH)/rootfs/post_image_creation.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="apf27 imx27"
@@ -40,6 +33,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.0.8"
BR2_LINUX_KERNEL_PATCH="https://www.kernel.org/pub/linux/kernel/projects/rt/4.0/patch-4.0.8-rt6.patch.gz ../patches/linux/$(BR2_LINUX_KERNEL_VERSION)"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-linux-preempt-rt-$(BR2_LINUX_KERNEL_VERSION).config"
+BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xA0008000"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx27-apf27dev"
@@ -64,6 +58,8 @@ BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_SUMTOOL=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DROPBEAR=y
@@ -81,7 +77,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_JFFS2=y
-BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K=y
+BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y
BR2_TARGET_ROOTFS_JFFS2_PAD=y
BR2_TARGET_ROOTFS_UBIFS=y
BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047
@@ -90,16 +86,10 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
-BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="../patches/u-boot/2015.01"
-BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
+BR2_TARGET_UBOOT_PATCH="../patches/u-boot/2015.01"
+BR2_TARGET_UBOOT_CUSTOM_HEADER_CONFIG_FILE_PATH="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)mainline-u-boot-2015.01.h"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-with-spl.bin"
-BR2_TARGET_UBOOT_NETWORK=y
-BR2_TARGET_UBOOT_SERVERIP="192.168.0.2"
-BR2_TARGET_UBOOT_IPADDR="192.168.0.10"
-BR2_TARGET_UBOOT_GATEWAY="192.168.0.1"
-BR2_TARGET_UBOOT_ETHADDR=""
BR2_TARGET_UBOOT_ENVIMAGE=y
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="$(ARMADEUS_PATH)/u-boot-env-2013.04.txt"
BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x20000"
diff --git a/buildroot/configs/apf27test_defconfig b/buildroot/configs/apf27test_defconfig
index 0278ec6..8048bdc 100644
--- a/buildroot/configs/apf27test_defconfig
+++ b/buildroot/configs/apf27test_defconfig
@@ -6,14 +6,10 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.$(BR2_BOARD_NAME)-buildroot-ccache"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="2.6.29.6"
-BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-$(BR2_UCLIBC_VERSION_STRING).config"
-BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
-BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_UCLIBC_CONFIG="target/device/armadeus/uClibc-ng.config"
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PTHREAD_DEBUG=y
-BR2_BINUTILS_VERSION_2_23_2=y
-BR2_GCC_VERSION_4_7_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_ENABLE_LOCALE_PURGE=y
@@ -21,11 +17,10 @@ BR2_ENABLE_LOCALE_WHITELIST="C en_US"
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_TARGET_GENERIC_HOSTNAME="apf27"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
-BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
-BR2_ROOTFS_DEVICE_TABLE="$(ARMADEUS_PATH)/rootfs/device_table.txt"
-BR2_ROOTFS_SKELETON_CUSTOM=y
-BR2_ROOTFS_SKELETON_CUSTOM_PATH="$(ARMADEUS_PATH)/rootfs/target_skele...
[truncated message content] |
|
From: Sébastien S. <ss...@us...> - 2017-03-16 16:10:06
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, armadeus-6.x has been created
at 4b33ceeb1e259878ffbd53bd1d654f26b2d9e3fa (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
hooks/post-receive
--
armadeus
|
|
From: Sébastien S. <ss...@us...> - 2017-03-15 16:41:14
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via bc29184366b1ead841d425702fc8d8e114eda35b (commit)
from 2e0d79e2d95d5105ddd4532d1f4f652c5644d6b2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bc29184366b1ead841d425702fc8d8e114eda35b
Author: Sébastien Szymanski <seb...@ar...>
Date: Wed Mar 15 17:43:45 2017 +0100
[BUILDROOT] Generate ext4 images with mkfs instead of genextfs
-----------------------------------------------------------------------
Summary of changes:
...mke2img-use-mkfs-to-generate-rootfs-image.patch | 160 +++++++++++++++++++++
patches/buildroot/2016.08/cleanup_buildroot.sh | 3 +
2 files changed, 163 insertions(+)
create mode 100644 patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
diff --git a/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch b/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
new file mode 100644
index 0000000..ff0b01a
--- /dev/null
+++ b/patches/buildroot/2016.08/227-package-mke2img-use-mkfs-to-generate-rootfs-image.patch
@@ -0,0 +1,160 @@
+From 089d0cc8c31c9a96f4a17b4cb50ea40aa09df115 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?=
+ <seb...@ar...>
+Date: Thu, 2 Mar 2017 09:59:07 +0100
+Subject: [PATCH 1/1] package/mke2img: use mkfs to generate rootfs image
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+mkfs is now capable of generating rootfs images. Use mkfs intead of
+genext2fs.
+
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+---
+ package/mke2img/Config.in.host | 1 -
+ package/mke2img/mke2img | 58 +++++++++++++++++-------------------------
+ package/mke2img/mke2img.mk | 2 +-
+ 3 files changed, 25 insertions(+), 36 deletions(-)
+
+Index: buildroot/package/mke2img/Config.in.host
+===================================================================
+--- buildroot.orig/package/mke2img/Config.in.host
++++ buildroot/package/mke2img/Config.in.host
+@@ -1,7 +1,6 @@
+ config BR2_PACKAGE_HOST_MKE2IMG
+ bool "host mke2img"
+ select BR2_PACKAGE_HOST_E2FSPROGS
+- select BR2_PACKAGE_HOST_GENEXT2FS
+ help
+ Easily create filesystems of the extend familly: ext2/3/4.
+
+Index: buildroot/package/mke2img/mke2img
+===================================================================
+--- buildroot.orig/package/mke2img/mke2img
++++ buildroot/package/mke2img/mke2img
+@@ -10,9 +10,8 @@ set -e
+ main() {
+ local OPT OPTARG
+ local nb_blocks nb_inodes nb_res_blocks root_dir image gen rev label uuid
+- local -a genext2fs_opts
+- local -a tune2fs_opts
+- local tune2fs_O_opts
++ local -a mkfs_opts
++ local mkfs_O_opts
+
+ # Default values
+ gen=2
+@@ -82,78 +81,48 @@ main() {
+
+ # Upgrade to rev1 if needed
+ if [ ${rev} -ge 1 ]; then
+- tune2fs_O_opts+=",filetype,sparse_super"
++ mkfs_O_opts+=",filetype,sparse_super"
+ fi
+
+ # Add a journal for ext3 and above
++ # resize_inode for online resizing
+ if [ ${gen} -ge 3 ]; then
+- tune2fs_opts+=( -j -J size=1 )
++ mkfs_opts+=( -j -J size=1 )
++ mkfs_O_opts+=",resize_inode"
+ fi
+
+ # Add ext4 specific features
+ if [ ${gen} -ge 4 ]; then
+- tune2fs_O_opts+=",extents,uninit_bg,dir_index"
++ mkfs_O_opts+=",extents,uninit_bg,dir_index"
+ fi
+
++ # Disable some defaults features
++ mkfs_O_opts+=",^ext_attr,^64bit,^flex_bg,^large_file,^huge_file,^dir_nlink,^extra_isize"
++
+ # Add our -O options (there will be at most one leading comma, remove it)
+- if [ -n "${tune2fs_O_opts}" ]; then
+- tune2fs_opts+=( -O "${tune2fs_O_opts#,}" )
++ if [ -n "${mkfs_O_opts}" ]; then
++ mkfs_opts+=( -O "${mkfs_O_opts#,}" )
+ fi
+
+ # Add the label if specified
+ if [ -n "${label}" ]; then
+- tune2fs_opts+=( -L "${label}" )
++ mkfs_opts+=( -L "${label}" )
+ fi
+
+- # Generate the filesystem
+- genext2fs_opts=( -z -b ${nb_blocks} -N ${nb_inodes} -d "${root_dir}" )
+- if [ -n "${nb_res_blocks}" ]; then
+- genext2fs_opts+=( -m ${nb_res_blocks} )
+- fi
+- genext2fs "${genext2fs_opts[@]}" "${image}"
+-
+- # genext2fs does not generate a UUID, but fsck will whine if one
+- # is missing, so we need to add a UUID.
+- # Of course, this has to happen _before_ we run fsck.
+- # Also, some ext4 metadata are based on the UUID, so we must
+- # set it before we can convert the filesystem to ext4.
+- # If the user did not specify a UUID, we generate a random one.
++ # If the user did not specify a UUID, mkfs will generate a random one.
+ # Although a random UUID may seem bad for reproducibility, there
+ # already are so many things that are not reproducible in a
+ # filesystem: file dates, file ordering, content of the files...
+- tune2fs -U "${uuid:-random}" "${image}"
++ if [ -n "${UUID}" ]; then
++ mkfs_opts+=( -U "${UUID}" )
++ fi
+
+- # Upgrade the filesystem
+- if [ ${#tune2fs_opts[@]} -ne 0 ]; then
+- tune2fs "${tune2fs_opts[@]}" "${image}"
+- fi
+-
+- # After changing filesystem options, running fsck is required
+- # (see: man tune2fs). Running e2fsck in other cases will ensure
+- # coherency of the filesystem, although it is not required.
+- # 'e2fsck -pDf' means:
+- # - automatically repair
+- # - optimise and check for duplicate entries
+- # - force checking
+- # Sending output to oblivion, as e2fsck can be *very* verbose,
+- # especially with filesystems generated by genext2fs.
+- # Exit codes 1 & 2 are OK, it means fs errors were successfully
+- # corrected, hence our little trick with $ret.
+- ret=0
+- e2fsck -pDf "${image}" >/dev/null || ret=$?
+- case ${ret} in
+- 0|1|2) ;;
+- *) errorN ${ret} "failed to run e2fsck on '%s' (ext%d)\n" \
+- "${image}" ${gen}
+- esac
+- printf "\n"
+- trace "e2fsck was successfully run on '%s' (ext%d)\n" "${image}" ${gen}
+- printf "\n"
+-
+- # Remove count- and time-based checks, they are not welcome
+- # on embedded devices, where they can cause serious boot-time
+- # issues by tremendously slowing down the boot.
+- tune2fs -c 0 -i 0 "${image}"
++ # Generate the filesystem
++ mkfs_opts+=( -d "${root_dir}" -N ${nb_inodes} -T small -F )
++ if [ -n "${nb_res_block}" ]; then
++ mkfs_opts+=( -m ${nb_res_blocks} )
++ fi
++ mkfs.ext${gen} "${mkfs_opts[@]}" "${image}" "${nb_blocks}"
+ }
+
+ help() {
+Index: buildroot/package/mke2img/mke2img.mk
+===================================================================
+--- buildroot.orig/package/mke2img/mke2img.mk
++++ buildroot/package/mke2img/mke2img.mk
+@@ -4,7 +4,7 @@
+ #
+ ################################################################################
+
+-HOST_MKE2IMG_DEPENDENCIES = host-genext2fs host-e2fsprogs
++HOST_MKE2IMG_DEPENDENCIES = host-e2fsprogs
+
+ define HOST_MKE2IMG_INSTALL_CMDS
+ $(INSTALL) -D -m 0755 package/mke2img/mke2img $(HOST_DIR)/usr/bin/mke2img
diff --git a/patches/buildroot/2016.08/cleanup_buildroot.sh b/patches/buildroot/2016.08/cleanup_buildroot.sh
index cf77631..eaf9076 100755
--- a/patches/buildroot/2016.08/cleanup_buildroot.sh
+++ b/patches/buildroot/2016.08/cleanup_buildroot.sh
@@ -81,6 +81,9 @@ rm -rf buildroot/package/marble/marble.mk
rm -rf buildroot/package/matiec/Config.in
rm -rf buildroot/package/matiec/host-matiec-001-fix_bison_compilation_error.patch
rm -rf buildroot/package/matiec/matiec.mk
+rm -rf buildroot/package/mke2img/Config.in.host
+rm -rf buildroot/package/mke2img/mke2img
+rm -rf buildroot/package/mke2img/mke2img.mk
rm -rf buildroot/package/ncurses/ncurses-5.7-allows_build_with_old_ncurses_host_installation.patch
rm -rf buildroot/package/pci_debug/Config.in
rm -rf buildroot/package/pci_debug/pci_debug.mk
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-15 15:41:54
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via 2e0d79e2d95d5105ddd4532d1f4f652c5644d6b2 (commit)
via b6385fdcd8fa207db74163ea5a7333e9e223ffab (commit)
from 905e29ddc10e79305afff6c12d9cfd46051c5736 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2e0d79e2d95d5105ddd4532d1f4f652c5644d6b2
Author: Julien BOIBESSOT <jul...@ar...>
Date: Wed Mar 15 16:41:26 2017 +0100
[BUILD] now creates an archive with Linux modules in images/ dir
commit b6385fdcd8fa207db74163ea5a7333e9e223ffab
Author: Julien BOIBESSOT <jul...@ar...>
Date: Wed Mar 15 16:18:14 2017 +0100
[ROOTFS] opos6ul: Automatically mount HOME-DATA partition (mmcblk0p3) to /home
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/rootfs/post_build.sh | 14 +++++++++++++-
.../target_overlay/{boot/.first_boot => home/.not_mounted} | 0
2 files changed, 13 insertions(+), 1 deletion(-)
copy buildroot/target/device/armadeus/rootfs/target_overlay/{boot/.first_boot => home/.not_mounted} (100%)
diff --git a/buildroot/target/device/armadeus/rootfs/post_build.sh b/buildroot/target/device/armadeus/rootfs/post_build.sh
index 6a0f122..6f07f97 100755
--- a/buildroot/target/device/armadeus/rootfs/post_build.sh
+++ b/buildroot/target/device/armadeus/rootfs/post_build.sh
@@ -45,14 +45,21 @@ if [ "$3" != "imx6" ]; then
rm -rf $1/etc/init.d/S30wifi
fi
-# Remove unneeded firmware on OPOS6UL:
+# OPOS6UL specific tricks:
if [ "$3" == "imx6ul" ]; then
+ # Remove unneeded firmware:
UNNEEDED_FIRM=`ls -ad $1/lib/firmware/brcm/* | grep -v brcmfmac43430`
for firmware in $UNNEEDED_FIRM; do
if [ -f "$firmware" ]; then
rm -rf "$firmware"
fi
done
+
+ # Ask to mount HOME-DATA partition at each boot:
+ grep mmcblk0p3 $1/etc/fstab
+ if [ "$?" != "0" ]; then
+ echo "/dev/mmcblk0p3 /home ext4 defaults 0 0" >> $1/etc/fstab
+ fi
fi
# Speed up mdev launch
@@ -60,4 +67,9 @@ if [ -f $1/etc/init.d/S10mdev ]; then
sed -i 's/find/#find/' $1/etc/init.d/S10mdev
fi
+# Generate xxx-modules.tar.gz archive, containing (only) Linux modules
+cd $1/lib/modules/
+tar czf $1/../images/$2-modules.tar.gz *
+cd -
+
exit 0
diff --git a/buildroot/target/device/armadeus/rootfs/target_overlay/boot/.first_boot b/buildroot/target/device/armadeus/rootfs/target_overlay/home/.not_mounted
similarity index 100%
copy from buildroot/target/device/armadeus/rootfs/target_overlay/boot/.first_boot
copy to buildroot/target/device/armadeus/rootfs/target_overlay/home/.not_mounted
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-14 11:36:10
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via 905e29ddc10e79305afff6c12d9cfd46051c5736 (commit)
from 3b125f2cc5bc3b03fb6d2ac9025c52d839ff1650 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 905e29ddc10e79305afff6c12d9cfd46051c5736
Author: Julien BOIBESSOT <jul...@ar...>
Date: Tue Mar 14 12:35:42 2017 +0100
[BUILDROOT] rootfs overlay: rename /etc/init.d/S01fb to S01firstboot and make it a once run script. Add it resize of eMMC rootfs while we are at it.
-----------------------------------------------------------------------
Summary of changes:
.../lib/.empty => target_overlay/boot/.first_boot} | 0
.../rootfs/target_overlay/etc/init.d/S01fb | 14 ------
.../rootfs/target_overlay/etc/init.d/S01firstboot | 50 ++++++++++++++++++++++
3 files changed, 50 insertions(+), 14 deletions(-)
copy buildroot/target/device/armadeus/rootfs/{target_skeleton/lib/.empty => target_overlay/boot/.first_boot} (100%)
delete mode 100755 buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01fb
create mode 100755 buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01firstboot
diff --git a/buildroot/target/device/armadeus/rootfs/target_skeleton/lib/.empty b/buildroot/target/device/armadeus/rootfs/target_overlay/boot/.first_boot
similarity index 100%
copy from buildroot/target/device/armadeus/rootfs/target_skeleton/lib/.empty
copy to buildroot/target/device/armadeus/rootfs/target_overlay/boot/.first_boot
diff --git a/buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01fb b/buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01fb
deleted file mode 100755
index f92aaf9..0000000
--- a/buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01fb
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-# Update framebuffer modes config file, if needed
-# (required by SDL)
-#
-
-FILE=/etc/fb.modes
-
-if [ ! -f "$FILE" ]; then
- fbset > $FILE
-fi
-
-exit 0
-
diff --git a/buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01firstboot b/buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01firstboot
new file mode 100755
index 0000000..06d5e2a
--- /dev/null
+++ b/buildroot/target/device/armadeus/rootfs/target_overlay/etc/init.d/S01firstboot
@@ -0,0 +1,50 @@
+#!/bin/sh
+#
+
+FIRST_BOOT=/boot/.first_boot
+
+start()
+{
+ if [ -f "$FIRST_BOOT" ]; then
+ echo "Executing First Boot script"
+
+ # Resize rootfs (if on eMMC)
+ ROOTFS=`readlink /dev/root`
+ case "$ROOTFS" in
+ mmcblk*)
+ echo -n "Resizing eMMC ROOTFS partition (/dev/$ROOTFS): "
+ resize2fs /dev/$ROOTFS
+ if [ $? != 0 ]; then
+ echo "FAILED"
+ return 1
+ fi
+ echo "OK"
+ ;;
+ *) ;;
+ esac
+
+ # Update framebuffer modes config file, if needed (required by SDL)
+ FILE=/etc/fb.modes
+ if [ ! -f "$FILE" ]; then
+ fbset > $FILE
+ fi
+
+ rm $FIRST_BOOT
+ fi
+ return 0
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ ;;
+ restart|reload)
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
+
+exit $?
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-13 15:32:09
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via 3b125f2cc5bc3b03fb6d2ac9025c52d839ff1650 (commit)
via b06ac1bc4729394600c4f001173eef09f44651cb (commit)
from b7835d33e392554a18c3c278cacb3fd2fab065fa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3b125f2cc5bc3b03fb6d2ac9025c52d839ff1650
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 13 16:31:39 2017 +0100
[BUILDROOT] all configs using device tree: add device tree compiler to rootfs
commit b06ac1bc4729394600c4f001173eef09f44651cb
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 13 16:00:53 2017 +0100
[LINUX] 4.8+: opos6uldev: add device tree definition for LQ043 LCD
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf27mainline_defconfig | 2 ++
buildroot/configs/apf27preempt-rtmainline_defconfig | 2 ++
buildroot/configs/apf27xenomaimainline_defconfig | 2 ++
buildroot/configs/apf28mainline_defconfig | 2 ++
buildroot/configs/apf28mainlinetest_defconfig | 2 ++
buildroot/configs/apf51mainline_defconfig | 2 ++
buildroot/configs/apf6_defconfig | 2 ++
buildroot/configs/apf6failsafe_defconfig | 2 ++
buildroot/configs/apf6legacy-4.1_defconfig | 2 ++
buildroot/configs/apf6legacy-preempt-rt_defconfig | 2 ++
buildroot/configs/apf6legacy_defconfig | 2 ++
buildroot/configs/apf6mediacenter_defconfig | 2 ++
buildroot/configs/apf6test_defconfig | 2 ++
buildroot/configs/apf6xenomai_defconfig | 2 ++
buildroot/configs/opos6ul_defconfig | 2 ++
buildroot/configs/opos6ul_legacy_defconfig | 2 ++
buildroot/configs/opos6ul_recovery_defconfig | 2 ++
...-opos6ul-and-opos6uldev-add-initial-support.patch | 20 ++++++++++++++++++--
18 files changed, 52 insertions(+), 2 deletions(-)
diff --git a/buildroot/configs/apf27mainline_defconfig b/buildroot/configs/apf27mainline_defconfig
index 0cd7b0c..b4c6b50 100644
--- a/buildroot/configs/apf27mainline_defconfig
+++ b/buildroot/configs/apf27mainline_defconfig
@@ -57,6 +57,8 @@ BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_SUMTOOL=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DROPBEAR=y
diff --git a/buildroot/configs/apf27preempt-rtmainline_defconfig b/buildroot/configs/apf27preempt-rtmainline_defconfig
index ecb2d54..0a937ee 100644
--- a/buildroot/configs/apf27preempt-rtmainline_defconfig
+++ b/buildroot/configs/apf27preempt-rtmainline_defconfig
@@ -58,6 +58,8 @@ BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_SUMTOOL=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DROPBEAR=y
diff --git a/buildroot/configs/apf27xenomaimainline_defconfig b/buildroot/configs/apf27xenomaimainline_defconfig
index e66a6b5..7f2c229 100644
--- a/buildroot/configs/apf27xenomaimainline_defconfig
+++ b/buildroot/configs/apf27xenomaimainline_defconfig
@@ -57,6 +57,8 @@ BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_SUMTOOL=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DROPBEAR=y
diff --git a/buildroot/configs/apf28mainline_defconfig b/buildroot/configs/apf28mainline_defconfig
index 0a2063a..7c53415 100644
--- a/buildroot/configs/apf28mainline_defconfig
+++ b/buildroot/configs/apf28mainline_defconfig
@@ -53,6 +53,8 @@ BR2_PACKAGE_INPUT_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_LZO=y
BR2_PACKAGE_ZLIB=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_NCURSES_TARGET_PANEL=y
BR2_PACKAGE_NCURSES_TARGET_FORM=y
diff --git a/buildroot/configs/apf28mainlinetest_defconfig b/buildroot/configs/apf28mainlinetest_defconfig
index a7f08e1..a03e95f 100644
--- a/buildroot/configs/apf28mainlinetest_defconfig
+++ b/buildroot/configs/apf28mainlinetest_defconfig
@@ -112,6 +112,8 @@ BR2_PACKAGE_PYTHON_PYGAME_MIXER=y
BR2_PACKAGE_PYTHON_PYGAME_MIXER_MUSIC=y
BR2_PACKAGE_PYTHON_SERIAL=y
BR2_PACKAGE_SPEEX=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBUSB=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
diff --git a/buildroot/configs/apf51mainline_defconfig b/buildroot/configs/apf51mainline_defconfig
index 0570ac3..0e8bb3f 100644
--- a/buildroot/configs/apf51mainline_defconfig
+++ b/buildroot/configs/apf51mainline_defconfig
@@ -52,6 +52,8 @@ BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9=y
BR2_PACKAGE_DBUS=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_LIBXML2=y
BR2_PACKAGE_BLUEZ3_UTILS=y
diff --git a/buildroot/configs/apf6_defconfig b/buildroot/configs/apf6_defconfig
index 6435f01..b401911 100644
--- a/buildroot/configs/apf6_defconfig
+++ b/buildroot/configs/apf6_defconfig
@@ -96,6 +96,8 @@ BR2_PACKAGE_PCI_DEBUG=y
BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_TI_UTILS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_TSLIB=y
diff --git a/buildroot/configs/apf6failsafe_defconfig b/buildroot/configs/apf6failsafe_defconfig
index 55f4c8d..9eeb428 100644
--- a/buildroot/configs/apf6failsafe_defconfig
+++ b/buildroot/configs/apf6failsafe_defconfig
@@ -40,6 +40,8 @@ BR2_PACKAGE_E2FSPROGS_E4DEFRAG=y
BR2_PACKAGE_MMC_UTILS=y
BR2_PACKAGE_APF_CONFIG=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LRZSZ=y
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
BR2_PACKAGE_UTIL_LINUX_FSCK=y
diff --git a/buildroot/configs/apf6legacy-4.1_defconfig b/buildroot/configs/apf6legacy-4.1_defconfig
index 2bbcbf1..45684de 100644
--- a/buildroot/configs/apf6legacy-4.1_defconfig
+++ b/buildroot/configs/apf6legacy-4.1_defconfig
@@ -112,6 +112,8 @@ BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_TI_UTILS=y
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_LIBVORBIS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_TSLIB=y
diff --git a/buildroot/configs/apf6legacy-preempt-rt_defconfig b/buildroot/configs/apf6legacy-preempt-rt_defconfig
index 4c45148..2b37f96 100644
--- a/buildroot/configs/apf6legacy-preempt-rt_defconfig
+++ b/buildroot/configs/apf6legacy-preempt-rt_defconfig
@@ -97,6 +97,8 @@ BR2_PACKAGE_PCI_DEBUG=y
BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_TI_UTILS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_TSLIB=y
diff --git a/buildroot/configs/apf6legacy_defconfig b/buildroot/configs/apf6legacy_defconfig
index 5139188..6c9bd1a 100644
--- a/buildroot/configs/apf6legacy_defconfig
+++ b/buildroot/configs/apf6legacy_defconfig
@@ -112,6 +112,8 @@ BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_TI_UTILS=y
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_LIBVORBIS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_TSLIB=y
diff --git a/buildroot/configs/apf6mediacenter_defconfig b/buildroot/configs/apf6mediacenter_defconfig
index e1e4959..664a0b9 100644
--- a/buildroot/configs/apf6mediacenter_defconfig
+++ b/buildroot/configs/apf6mediacenter_defconfig
@@ -72,6 +72,8 @@ BR2_PACKAGE_PCI_DEBUG=y
BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_TI_UTILS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_TSLIB=y
diff --git a/buildroot/configs/apf6test_defconfig b/buildroot/configs/apf6test_defconfig
index 383829b..68b7ed0 100644
--- a/buildroot/configs/apf6test_defconfig
+++ b/buildroot/configs/apf6test_defconfig
@@ -116,6 +116,8 @@ BR2_PACKAGE_PYTHON_READLINE=y
BR2_PACKAGE_PYTHON_NUMPY=y
BR2_PACKAGE_PYTHON_SERIAL=y
BR2_PACKAGE_PYTHON_TWISTED=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_TSLIB=y
diff --git a/buildroot/configs/apf6xenomai_defconfig b/buildroot/configs/apf6xenomai_defconfig
index af3594d..ed489a4 100644
--- a/buildroot/configs/apf6xenomai_defconfig
+++ b/buildroot/configs/apf6xenomai_defconfig
@@ -69,6 +69,8 @@ BR2_PACKAGE_PCI_DEBUG=y
BR2_PACKAGE_PCIUTILS=y
BR2_PACKAGE_TI_UTILS=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_BC=y
BR2_PACKAGE_BLUEZ_UTILS=y
diff --git a/buildroot/configs/opos6ul_defconfig b/buildroot/configs/opos6ul_defconfig
index 8bc15e6..07548ad 100644
--- a/buildroot/configs/opos6ul_defconfig
+++ b/buildroot/configs/opos6ul_defconfig
@@ -80,6 +80,8 @@ BR2_PACKAGE_PYTHON_SERIAL=y
BR2_PACKAGE_PYTHON_SMBUS_CFFI=y
BR2_PACKAGE_PYTHON_SPIDEV=y
BR2_PACKAGE_LIBVORBIS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBUSB=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
diff --git a/buildroot/configs/opos6ul_legacy_defconfig b/buildroot/configs/opos6ul_legacy_defconfig
index 3fc6dde..aedca23 100644
--- a/buildroot/configs/opos6ul_legacy_defconfig
+++ b/buildroot/configs/opos6ul_legacy_defconfig
@@ -61,6 +61,8 @@ BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_KBD=y
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_LIBVORBIS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LIBUSB=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
diff --git a/buildroot/configs/opos6ul_recovery_defconfig b/buildroot/configs/opos6ul_recovery_defconfig
index 6235067..24a8851 100644
--- a/buildroot/configs/opos6ul_recovery_defconfig
+++ b/buildroot/configs/opos6ul_recovery_defconfig
@@ -40,6 +40,8 @@ BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y
BR2_PACKAGE_APF_CONFIG=y
BR2_PACKAGE_UBOOT_TOOLS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
BR2_PACKAGE_LRZSZ=y
BR2_PACKAGE_WIRELESS_TOOLS=y
BR2_PACKAGE_WPA_SUPPLICANT=y
diff --git a/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch b/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
index 889d611..19d13c8 100644
--- a/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
+++ b/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
@@ -229,7 +229,7 @@ Index: linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6uldev.dts
===================================================================
--- /dev/null
+++ linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6uldev.dts
-@@ -0,0 +1,434 @@
+@@ -0,0 +1,450 @@
+/*
+ * Copyright 2016 Armadeus Systems <su...@ar...>
+ *
@@ -430,7 +430,7 @@ Index: linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6uldev.dts
+ bus-width = <18>;
+
+ display-timings {
-+ timing0: timing0 {
++ ST0700 {
+ clock-frequency = <33000033>;
+ hactive = <800>;
+ vactive = <480>;
@@ -445,6 +445,22 @@ Index: linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6uldev.dts
+ de-active = <1>;
+ pixelclk-active = <0>;
+ };
++
++ LQ043 {
++ clock-frequency = <8690000>;
++ hactive = <480>;
++ vactive = <272>;
++ hback-porch = <16>;
++ hfront-porch = <16>;
++ vback-porch = <4>;
++ vfront-porch = <2>;
++ hsync-len = <4>;
++ vsync-len = <4>;
++ hsync-active = <0>;
++ vsync-active = <0>;
++ de-active = <0>;
++ pixelclk-active = <1>;
++ };
+ };
+ };
+};
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-10 17:46:17
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via b7835d33e392554a18c3c278cacb3fd2fab065fa (commit)
from eec6fd3721ca9cea07699d743806ab6d2ea685d0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b7835d33e392554a18c3c278cacb3fd2fab065fa
Author: Julien BOIBESSOT <jul...@ar...>
Date: Fri Mar 10 18:45:49 2017 +0100
[DEBUG] Add some CCM registers to imxregs for i.MX6UL
-----------------------------------------------------------------------
Summary of changes:
target/linux/debug/imxregs/imx6ulregs.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/linux/debug/imxregs/imx6ulregs.h b/target/linux/debug/imxregs/imx6ulregs.h
index e7a44bc..0271b39 100644
--- a/target/linux/debug/imxregs/imx6ulregs.h
+++ b/target/linux/debug/imxregs/imx6ulregs.h
@@ -26,6 +26,10 @@
static struct reg_info regs[] =
{
+{ "CCM_CBCMR", 0x020c4018, 0, 0xffffffff, 'x', "CCM Bus Clock Multiplexer Register" },
+{ "CCM_CSCDR2", 0x020c4038, 0, 0xffffffff, 'x', "CCM Serial Clock Divider Register 2" },
+{ "CCM_ANALOG_PLL_VIDEO0", 0x020c80a0, 0, 0xffffffff, 'x', "CCM Analog Video PLL Control Register" },
+/**/
{ "TEMPMON_TEMPSENSE0", 0x020c8180, 0, 0xffffffff, 'x', "Tempsensor Control Register 0" },
{ "TEMPMON_TEMPSENSE0_SET", 0x020c8184, 0, 0xffffffff, 'x', "Tempsensor Control Register 0" },
{ "TEMPMON_TEMPSENSE0_CLR", 0x020c8188, 0, 0xffffffff, 'x', "Tempsensor Control Register 0" },
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-09 15:06:56
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via eec6fd3721ca9cea07699d743806ab6d2ea685d0 (commit)
from 9e293b44cfac680637fd4f2420b77bb5a8b08ed1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit eec6fd3721ca9cea07699d743806ab6d2ea685d0
Author: Julien BOIBESSOT <jul...@ar...>
Date: Thu Mar 9 16:06:34 2017 +0100
[BUILDROOT] Add v4l2loopback driver to APF6 configs with hardware overlay & gstreamer support
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf6legacy-4.1_defconfig | 1 +
buildroot/configs/apf6legacy_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/buildroot/configs/apf6legacy-4.1_defconfig b/buildroot/configs/apf6legacy-4.1_defconfig
index 7dae6a3..2bbcbf1 100644
--- a/buildroot/configs/apf6legacy-4.1_defconfig
+++ b/buildroot/configs/apf6legacy-4.1_defconfig
@@ -73,6 +73,7 @@ BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV=y
BR2_PACKAGE_GST1_PLUGINS_UGLY=y
BR2_PACKAGE_GST1_IMX=y
BR2_PACKAGE_GST1_LIBAV=y
+BR2_PACKAGE_V4L2LOOPBACK=y
BR2_PACKAGE_GDB=y
BR2_PACKAGE_LTRACE=y
BR2_PACKAGE_PV=y
diff --git a/buildroot/configs/apf6legacy_defconfig b/buildroot/configs/apf6legacy_defconfig
index 206ba3b..5139188 100644
--- a/buildroot/configs/apf6legacy_defconfig
+++ b/buildroot/configs/apf6legacy_defconfig
@@ -73,6 +73,7 @@ BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV=y
BR2_PACKAGE_GST1_PLUGINS_UGLY=y
BR2_PACKAGE_GST1_IMX=y
BR2_PACKAGE_GST1_LIBAV=y
+BR2_PACKAGE_V4L2LOOPBACK=y
BR2_PACKAGE_GDB=y
BR2_PACKAGE_LTRACE=y
BR2_PACKAGE_PV=y
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2017-03-06 14:56:11
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via 9e293b44cfac680637fd4f2420b77bb5a8b08ed1 (commit)
from a03f1b6d4817026512cae4c4e4ee96c3b24233f8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9e293b44cfac680637fd4f2420b77bb5a8b08ed1
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Mar 6 15:55:56 2017 +0100
[BUILDROOT] 2016.08+: add v4l2loopback package
-----------------------------------------------------------------------
Summary of changes:
.../039-armadeus-v4l2loopback-add-package.patch | 133 +++++++++++++++++++++
patches/buildroot/2016.08/cleanup_buildroot.sh | 3 +
2 files changed, 136 insertions(+)
create mode 100644 patches/buildroot/2016.08/039-armadeus-v4l2loopback-add-package.patch
diff --git a/patches/buildroot/2016.08/039-armadeus-v4l2loopback-add-package.patch b/patches/buildroot/2016.08/039-armadeus-v4l2loopback-add-package.patch
new file mode 100644
index 0000000..ebe2560
--- /dev/null
+++ b/patches/buildroot/2016.08/039-armadeus-v4l2loopback-add-package.patch
@@ -0,0 +1,133 @@
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in
++++ buildroot/package/Config.in
+@@ -50,6 +50,7 @@ menu "Audio and video applications"
+ source "package/twolame/Config.in"
+ source "package/upmpdcli/Config.in"
+ source "package/v4l2grab/Config.in"
++ source "package/v4l2loopback/Config.in"
+ source "package/vlc/Config.in"
+ source "package/vorbis-tools/Config.in"
+ source "package/wavpack/Config.in"
+Index: buildroot/package/v4l2loopback/001-v4l2loopback-examples-cross-compiling-fixes.patch
+===================================================================
+--- /dev/null
++++ buildroot/package/v4l2loopback/001-v4l2loopback-examples-cross-compiling-fixes.patch
+@@ -0,0 +1,19 @@
++Signed-off-by: Julien Boibessot <jul...@ar...>
++
++diff -urN v4l2loopback-bfd990d5519710f57b6ca913ba6cac8b4e649918/examples/Makefile v4l2loopback-bfd990d5519710f57b6ca913ba6cac8b4e649918.mod/examples/Makefile
++--- v4l2loopback-bfd990d5519710f57b6ca913ba6cac8b4e649918/examples/Makefile 2017-01-24 12:23:18.000000000 +0100
+++++ v4l2loopback-bfd990d5519710f57b6ca913ba6cac8b4e649918.mod/examples/Makefile 2017-02-02 12:38:35.281162774 +0100
++@@ -1,3 +1,4 @@
+++CC=gcc
++ TARGETS=test yuv4mpeg_to_v4l2 ondemandcam
++
++ .PHONY: all clean
++@@ -5,7 +6,7 @@
++ all: $(TARGETS)
++
++ ondemandcam: ondemandcam.c
++- gcc -o ondemandcam ondemandcam.c -lrt -lpthread
+++ $(CC) -o ondemandcam ondemandcam.c -lrt -lpthread
++
++ clean:
++ -rm $(TARGETS)
+Index: buildroot/package/v4l2loopback/Config.in
+===================================================================
+--- /dev/null
++++ buildroot/package/v4l2loopback/Config.in
+@@ -0,0 +1,39 @@
++config BR2_PACKAGE_V4L2LOOPBACK
++ bool "v4l2loopback"
++ depends on BR2_LINUX_KERNEL
++ help
++ v4l2loopback - a kernel module to create V4L2 loopback devices
++
++ v4l2loopback needs the following kernel configurations enabled:
++ - CONFIG_MODULES
++ - CONFIG_VIDEO_V4L2
++ - CONFIG_V4L2_MEM2MEM_DEV
++
++ https://github.com/umlaeute/v4l2loopback
++
++comment "v4l2loopback needs a Linux kernel >= 3.14 to be built"
++ depends on !BR2_LINUX_KERNEL
++
++if BR2_PACKAGE_V4L2LOOPBACK
++
++config BR2_PACKAGE_V4L2LOOPBACK_CTL
++ bool "install v4l2loopback-ctl"
++ depends on BR2_PACKAGE_LIBV4L_UTILS
++ depends on BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS
++ help
++ Tool to configure v4l2loopback devices (require v4l2-ctl & gst-launch-1.0 tools)
++
++comment "v4l2loopback-ctl needs v4l2-ctl & gst-launch-1.0"
++ depends on !BR2_PACKAGE_LIBV4L_UTILS || !BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS
++
++config BR2_PACKAGE_V4L2LOOPBACK_EXAMPLES
++ depends on BR2_TOOLCHAIN_HAS_THREADS # ondemandcam
++ bool "install v4l2loopback examples"
++ help
++ v4l2loopback examples
++
++comment "v4l2loopback examples need a toolchain w/ threads"
++ depends on !BR2_TOOLCHAIN_HAS_THREADS
++
++endif
++
+Index: buildroot/package/v4l2loopback/v4l2loopback.mk
+===================================================================
+--- /dev/null
++++ buildroot/package/v4l2loopback/v4l2loopback.mk
+@@ -0,0 +1,46 @@
++################################################################################
++#
++# v4l2loopback
++#
++################################################################################
++
++V4L2LOOPBACK_VERSION = bfd990d5519710f57b6ca913ba6cac8b4e649918
++V4L2LOOPBACK_SITE = $(call github,umlaeute,v4l2loopback,$(V4L2LOOPBACK_VERSION))
++V4L2LOOPBACK_LICENSE = GPLv2
++V4L2LOOPBACK_LICENSE_FILES = LICENSE
++
++V4L2LOOPBACK_DEPENDENCIES = linux
++
++# cross compile environment for linux kernel modules:
++V4L2LOOPBACK_MAKE_ENV = \
++ $(LINUX_MAKE_FLAGS) \
++ PREFIX=$(TARGET_DIR)/usr/local \
++ KERNELRELEASE=$(LINUX_VERSION_PROBED) \
++ KERNEL_DIR=$(LINUX_DIR)
++
++define V4L2LOOPBACK_BUILD_CMDS
++ $(MAKE) $(V4L2LOOPBACK_MAKE_ENV) -C $(@D)
++ $(MAKE) CC="$(TARGET_CC)" -C $(@D)/examples
++endef
++
++define V4L2LOOPBACK_INSTALL_TARGET_CMDS
++ $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D) modules_install
++endef
++
++ifeq ($(BR2_PACKAGE_V4L2LOOPBACK_CTL),y)
++define V4L2LOOPBACK_INSTALL_CTL
++ $(INSTALL) -m 0755 -D $(@D)/utils/v4l2loopback-ctl $(TARGET_DIR)/usr/bin/v4l2loopback-ctl
++endef
++V4L2LOOPBACK_POST_INSTALL_TARGET_HOOKS += V4L2LOOPBACK_INSTALL_CTL
++endif
++
++ifeq ($(BR2_PACKAGE_V4L2LOOPBACK_EXAMPLES),y)
++define V4L2LOOPBACK_INSTALL_EXAMPLES
++ $(INSTALL) -m 0755 -D $(@D)/examples/test $(TARGET_DIR)/usr/local/bin/test
++ $(INSTALL) -m 0755 -D $(@D)/examples/yuv4mpeg_to_v4l2 $(TARGET_DIR)/usr/local/bin/yuv4mpeg_to_v4l2
++ $(INSTALL) -m 0755 -D $(@D)/examples/ondemandcam $(TARGET_DIR)/usr/local/bin/ondemandcam
++endef
++V4L2LOOPBACK_POST_INSTALL_TARGET_HOOKS += V4L2LOOPBACK_INSTALL_EXAMPLES
++endif
++
++$(eval $(generic-package))
diff --git a/patches/buildroot/2016.08/cleanup_buildroot.sh b/patches/buildroot/2016.08/cleanup_buildroot.sh
index 667ee77..cf77631 100755
--- a/patches/buildroot/2016.08/cleanup_buildroot.sh
+++ b/patches/buildroot/2016.08/cleanup_buildroot.sh
@@ -123,6 +123,9 @@ rm -rf buildroot/package/tk/Config.in
rm -rf buildroot/package/tk/tk.mk
rm -rf buildroot/package/uboot-tools/2013.01/uboot-tools-2013.01-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
rm -rf buildroot/package/uboot-tools/uboot-tools-2013.10-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
+rm -rf buildroot/package/v4l2loopback/001-v4l2loopback-examples-cross-compiling-fixes.patch
+rm -rf buildroot/package/v4l2loopback/Config.in
+rm -rf buildroot/package/v4l2loopback/v4l2loopback.mk
rm -rf buildroot/package/wolf4sdl/Config.in
rm -rf buildroot/package/wolf4sdl/wolf4sdl.mk
rm -rf buildroot/package/wpa_supplicant/Config.in
hooks/post-receive
--
armadeus
|