Skip to contentSkip to conversation

minnowboard_defconfig: remove broken defconfig

PATCH New Arnout Vandecappelle (Essensium/Mind) 3 participants 13 messages Mar 1, 2017 – Apr 7, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/5 minnowboard_defconfig: remove broken defconfig

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as the files it references. Update the readme to remove references to MinnowBoard.

---
 board/minnowboard/grub-minnowboard.cfg |   6 --
 board/minnowboard/linux-3.8.config     | 172 ---------------------------------
 board/minnowboard/readme.txt           |  10 +-
 configs/minnowboard_defconfig          |  32 ------
 4 files changed, 3 insertions(+), 217 deletions(-)
 delete mode 100644 board/minnowboard/grub-minnowboard.cfg
 delete mode 100644 board/minnowboard/linux-3.8.config
 delete mode 100644 configs/minnowboard_defconfig
board/minnowboard/grub-minnowboard.cfg deleted +0 -6
deleted file mode 100644
index 33a0f4aa8d..0000000000
@@ -1,6 +0,0 @@
-set default="0"
-set timeout="5"
-
-menuentry "Buildroot" {
-	linux /bzImage root=/dev/mmcblk0p2 rootwait console=ttyPCH0,115200
-}
board/minnowboard/linux-3.8.config deleted +0 -172

172 lines not on this page · raw message

board/minnowboard/readme.txt +3 -7
index f76cd77c34..fdbb81e3aa 100644
@@ -1,14 +1,10 @@
-How to get started with the MinnowBoard (MAX)
-=============================================
+How to get started with the MinnowBoard MAX
+===========================================
 
 1. Build
 
   Apply the defconfig:
 
-  $ make minnowboard_defconfig
-
-  Or, for the Minnowboard MAX board:
-
   $ make minnowboard_max_defconfig
 
   Add any additional packages required and build:
@@ -18,7 +14,7 @@ How to get started with the MinnowBoard (MAX)
 2. Write the SD card
 
   The build process will create a SD card image in output/images.
-  Write the image to an mSD card, insert into the MinnowBoard
+  Write the image to an mSD card, insert into the MinnowBoard MAX
   and power the board on.
 
   $ dd if=output/images/sdcard.img of=/dev/mmcblk0; sync
configs/minnowboard_defconfig deleted +0 -32
deleted file mode 100644
index f4afc86bf8..0000000000
@@ -1,32 +0,0 @@
-# Architecture
-BR2_x86_64=y
-BR2_x86_atom=y
-
-# Misc
-BR2_TARGET_GENERIC_GETTY_PORT="ttyPCH0"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="minnowboard"
-
-# Linux headers same as kernel, a 3.8 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8=y
-BR2_PACKAGE_HOST_DOSFSTOOLS=y
-BR2_PACKAGE_HOST_GENIMAGE=y
-BR2_PACKAGE_HOST_MTOOLS=y
-
-# Linux kernel
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.yoctoproject.org/linux-yocto-3.8"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ba1587b9b62c801d161897303aa6d22809485f9b"
-BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/minnowboard/linux-3.8.config"
-
-# Bootloader
-BR2_TARGET_GRUB2=y
-BR2_TARGET_GRUB2_I386_EFI=y
-
-# Filesystem image
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_4=y
-# BR2_TARGET_ROOTFS_TAR is not set
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/5 board/minnowboard: remove support for minnowboard

The scripts used for the minnowboards were generic for MinnowBoard and MinnowBoard MAX. Since we removed the original MinnowBoard, this isn't necessary anymore.

---
Separate commit because we may not want to do this: it doesn't hurt to have this generic mechanism, and if later someone wants to re-add MinnowBoard or add support for a new generation of the board, it's convenient to still have it around.

---
 board/minnowboard/{grub-minnowboard-max.cfg => grub.cfg} | 0
 board/minnowboard/post-build.sh                          | 4 +---
 configs/minnowboard_max-graphical_defconfig              | 1 -
 configs/minnowboard_max_defconfig                        | 1 -
 4 files changed, 1 insertion(+), 5 deletions(-)
 rename board/minnowboard/{grub-minnowboard-max.cfg => grub.cfg} (100%)
board/minnowboard/grub.cfg renamed from board/minnowboard/grub-minnowboard-max.cfg +0 -0
similarity index 100%
rename from board/minnowboard/grub-minnowboard-max.cfg
rename to board/minnowboard/grub.cfg
board/minnowboard/post-build.sh +1 -3
index 45f7b527f3..24b8c0539e 100755
@@ -1,8 +1,6 @@
 #!/bin/sh
-# args from BR2_ROOTFS_POST_SCRIPT_ARGS
-# $2    board name
 
-cp -v board/minnowboard/grub-${2}.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
+cp -v board/minnowboard/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
 
 # Add a console on tty1
 if [ -e ${TARGET_DIR}/etc/inittab ]; then
configs/minnowboard_max-graphical_defconfig +0 -1
index 1b95d8e5a1..ac363361ed 100644
@@ -12,7 +12,6 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 BR2_ROOTFS_OVERLAY="board/minnowboard/fs-overlay-graphical"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="minnowboard-max"
 
 # Host packages
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
configs/minnowboard_max_defconfig +0 -1
index 63190eaa48..fe43b5287c 100644
@@ -6,7 +6,6 @@ BR2_x86_atom=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="minnowboard-max"
 
 # Linux headers same as kernel, a 4.8 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/5 board/minnowboard: remove support for minnowboard

Hello,

Quoted 10 lines · Arnout Vandecappelle (Essensium/Mind)

The scripts used for the minnowboards were generic for MinnowBoard and MinnowBoard MAX. Since we removed the original MinnowBoard, this isn't necessary anymore.

---
Separate commit because we may not want to do this: it doesn't hurt to have this generic mechanism, and if later someone wants to re-add MinnowBoard or add support for a new generation of the board, it's convenient to still have it around.

Quoted 7 lines
---
 board/minnowboard/{grub-minnowboard-max.cfg => grub.cfg} | 0
 board/minnowboard/post-build.sh                          | 4 +---
 configs/minnowboard_max-graphical_defconfig              | 1 -
 configs/minnowboard_max_defconfig                        | 1 -
 4 files changed, 1 insertion(+), 5 deletions(-)
 rename board/minnowboard/{grub-minnowboard-max.cfg => grub.cfg} (100%)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 3/5 telit_evk_pro3_defconfig: remove broken defconfig

In reply to Arnout Vandecappelle (Essensium/Mind)

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as it board directory.

---
 ...04.0-0001-watchdog-add-keep-alive-support.patch |  88 --------
 ...02-watchdog-add-at91sam9-watchdog-support.patch | 228 ---------------------
 ...0003-at91sam9260-9g20-add-wathdog-support.patch |  40 ----
 ...0004-at91sam9260-9g20-fix-wathdog-support.patch |  26 ---
 ...13.04.0-0005-watchdog-enable-for-evk-pro3.patch |  26 ---
 board/telit/evk-pro3/linux-3.9.config              | 201 ------------------
 board/telit/evk-pro3/readme.txt                    |  28 ---
 configs/telit_evk_pro3_defconfig                   |  29 ---
 8 files changed, 666 deletions(-)
 delete mode 100644 board/telit/evk-pro3/barebox-2013.04.0-0001-watchdog-add-keep-alive-support.patch
 delete mode 100644 board/telit/evk-pro3/barebox-2013.04.0-0002-watchdog-add-at91sam9-watchdog-support.patch
 delete mode 100644 board/telit/evk-pro3/barebox-2013.04.0-0003-at91sam9260-9g20-add-wathdog-support.patch
 delete mode 100644 board/telit/evk-pro3/barebox-2013.04.0-0004-at91sam9260-9g20-fix-wathdog-support.patch
 delete mode 100644 board/telit/evk-pro3/barebox-2013.04.0-0005-watchdog-enable-for-evk-pro3.patch
 delete mode 100644 board/telit/evk-pro3/linux-3.9.config
 delete mode 100644 board/telit/evk-pro3/readme.txt
 delete mode 100644 configs/telit_evk_pro3_defconfig
board/telit/evk-pro3/barebox-2013.04.0-0001-watchdog-add-keep-alive-support.patch deleted +0 -88
deleted file mode 100644
index 1551546031..0000000000
@@ -1,88 +0,0 @@
-From b5e57a9f158a293b1151638336478af8a5aad0f0 Mon Sep 17 00:00:00 2001
-From: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
-Date: Wed, 14 Nov 2012 19:16:35 +0800
-Subject: [PATCH 1/5] watchdog: add keep alive support
-
-this will allow to ping the watchdog via poller
-
-Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
----
- drivers/watchdog/Kconfig   |  1 +
- drivers/watchdog/wd_core.c | 21 +++++++++++++++++++++
- include/watchdog.h         |  2 ++
- 3 files changed, 24 insertions(+)
-
-diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
-index 2e2900c..0b4dc84 100644
---- a/drivers/watchdog/Kconfig
-+++ b/drivers/watchdog/Kconfig
-@@ -4,6 +4,7 @@ config WATCHDOG_IMX_RESET_SOURCE
- 
- menuconfig WATCHDOG
- 	bool "Watchdog support"
-+	select GENERIC_POLLER
- 	help
- 	  Many platforms support a watchdog to keep track of a working machine.
- 	  This framework provides routines to handle these watchdogs.
-diff --git a/drivers/watchdog/wd_core.c b/drivers/watchdog/wd_core.c
-index 3d0cfc6..a1b9e28 100644
---- a/drivers/watchdog/wd_core.c
-+++ b/drivers/watchdog/wd_core.c
-@@ -17,18 +17,39 @@
- #include <errno.h>
- #include <linux/ctype.h>
- #include <watchdog.h>
-+#include <poller.h>
- 
- /*
-  * Note: this simple framework supports one watchdog only.
-  */
- static struct watchdog *watchdog;
- 
-+static void watchdog_poller_func(struct poller_struct *poller)
-+{
-+	watchdog->keep_alive(watchdog);
-+}
-+
-+static struct poller_struct watchdog_poller = {
-+	.func = watchdog_poller_func,
-+};
-+
- int watchdog_register(struct watchdog *wd)
- {
- 	if (watchdog != NULL)
- 		return -EBUSY;
- 
- 	watchdog = wd;
-+
-+	if (watchdog->keep_alive) {
-+		int ret;
-+
-+		ret = poller_register(&watchdog_poller);
-+		if (ret) {
-+			watchdog = NULL;
-+			return ret;
-+		}
-+	}
-+
- 	return 0;
- }
- EXPORT_SYMBOL(watchdog_register);
-diff --git a/include/watchdog.h b/include/watchdog.h
-index 3e2d08e..d5ecf2f 100644
---- a/include/watchdog.h
-+++ b/include/watchdog.h
-@@ -13,8 +13,10 @@
- #ifndef INCLUDE_WATCHDOG_H
- # define INCLUDE_WATCHDOG_H
- 
-+
- struct watchdog {
- 	int (*set_timeout)(struct watchdog *, unsigned);
-+	void (*keep_alive)(struct watchdog *);
- };
- 
- int watchdog_register(struct watchdog *);
--- 
-1.8.1.4
-
board/telit/evk-pro3/barebox-2013.04.0-0002-watchdog-add-at91sam9-watchdog-support.patch deleted +0 -228

228 lines not on this page · raw message

board/telit/evk-pro3/barebox-2013.04.0-0003-at91sam9260-9g20-add-wathdog-support.patch deleted +0 -40
deleted file mode 100644
index bf97200308..0000000000
@@ -1,40 +0,0 @@
-From 3338bcb05479f1149420d4a0ea3904cb9e42eef5 Mon Sep 17 00:00:00 2001
-From: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
-Date: Wed, 14 Nov 2012 19:18:22 +0800
-Subject: [PATCH 3/5] at91sam9260/9g20: add wathdog support
-
-Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
----
- arch/arm/mach-at91/at91sam9260_devices.c | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
-index 1c375ee..5885f91 100644
---- a/arch/arm/mach-at91/at91sam9260_devices.c
-+++ b/arch/arm/mach-at91/at91sam9260_devices.c
-@@ -10,6 +10,7 @@
-  *
-  */
- #include <common.h>
-+#include <init.h>
- #include <sizes.h>
- #include <asm/armlinux.h>
- #include <asm/hardware.h>
-@@ -397,3 +398,14 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data)
- #else
- void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
- #endif
-+
-+#ifdef CONFIG_WATCHDOG_AT91SAM9X
-+static int at91_add_device_watchdog(void)
-+{
-+	add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
-+		AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
-+
-+	return 0;
-+}
-+coredevice_initcall(at91_add_device_watchdog);
-+#endif
--- 
-1.8.1.4
-
board/telit/evk-pro3/barebox-2013.04.0-0004-at91sam9260-9g20-fix-wathdog-support.patch deleted +0 -26
deleted file mode 100644
index cdfd026adf..0000000000
@@ -1,26 +0,0 @@
-From e03bf0e3ad24898019b89eb9a6935d159c60268f Mon Sep 17 00:00:00 2001
-From: Fabio Porcedda <[email protected]>
-Date: Thu, 17 Jan 2013 11:32:35 +0100
-Subject: [PATCH 4/5] at91sam9260/9g20: fix wathdog support
-
-Signed-off-by: Fabio Porcedda <[email protected]>
----
- arch/arm/mach-at91/at91sam9260_devices.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
-index 5885f91..df675d2 100644
---- a/arch/arm/mach-at91/at91sam9260_devices.c
-+++ b/arch/arm/mach-at91/at91sam9260_devices.c
-@@ -403,7 +403,7 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
- static int at91_add_device_watchdog(void)
- {
- 	add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
--		AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
-+		AT91_BASE_WDT, 16, IORESOURCE_MEM, NULL);
- 
- 	return 0;
- }
--- 
-1.8.1.4
-
board/telit/evk-pro3/barebox-2013.04.0-0005-watchdog-enable-for-evk-pro3.patch deleted +0 -26
deleted file mode 100644
index 837e8c632a..0000000000
@@ -1,26 +0,0 @@
-From 98c96ea36a4b3bb9b92dde849db5e8d6918b5168 Mon Sep 17 00:00:00 2001
-From: Fabio Porcedda <[email protected]>
-Date: Thu, 17 Jan 2013 11:32:59 +0100
-Subject: [PATCH 5/5] watchdog: enable for evk-pro3
-
-Signed-off-by: Fabio Porcedda <[email protected]>
----
- arch/arm/configs/telit_evk_pro3_defconfig | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/arch/arm/configs/telit_evk_pro3_defconfig b/arch/arm/configs/telit_evk_pro3_defconfig
-index 050d176..436cecf 100644
---- a/arch/arm/configs/telit_evk_pro3_defconfig
-+++ b/arch/arm/configs/telit_evk_pro3_defconfig
-@@ -68,6 +68,8 @@ CONFIG_MCI_ATMEL=y
- CONFIG_LED=y
- CONFIG_LED_GPIO=y
- CONFIG_LED_TRIGGERS=y
-+CONFIG_WATCHDOG=y
-+CONFIG_WATCHDOG_AT91SAM9X=y
- CONFIG_FS_TFTP=y
- CONFIG_FS_FAT=y
- CONFIG_FS_FAT_LFN=y
--- 
-1.8.1.4
-
board/telit/evk-pro3/linux-3.9.config deleted +0 -201

201 lines not on this page · raw message

board/telit/evk-pro3/readme.txt deleted +0 -28
deleted file mode 100644
index ace9dd4c17..0000000000
@@ -1,28 +0,0 @@
-Buildroot board support for Telit EVK-PRO3 with Telit GE863-PRO3
-
-Official site:
-  http://www.telit.com/en/products.php?p_id=3&p_ac=show&p=10
-
-Build images:
-    make telit_evk_pro3_defconfig
-    make
-
-  images built:
-  - output/images/barebox.bin
-  - output/images/zImage
-  - output/images/rootfs.ubi
-
-
-Flash built images:
-  The first time you need to bootstrap from Telit Official Release 221.07.1007,
-  at the U-Boot prompt type:
-    U-Boot> loadb
-  send buildroot/output/images/barebox.bin
-    U-Boot> go 0x20200000
-
-  flash updated images using barebox through tftp:
-    barebox:/ erase dev/self0; cp /mnt/tftp/barebox.bin /dev/self0
-    barebox:/ erase /dev/nand0.kernel.bb; cp /mnt/tftp/zImage /dev/nand0.kernel.bb
-    barebox:/ erase /dev/nand0.rootfs.bb; cp /mnt/tftp/rootfs.ubi /dev/nand0.rootfs.bb
-    barebox:/ erase dev/env0
-    barebox:/ reset
configs/telit_evk_pro3_defconfig deleted +0 -29
deleted file mode 100644
index 946c2f04a6..0000000000
@@ -1,29 +0,0 @@
-# Architecture
-BR2_arm=y
-BR2_arm926t=y
-
-# Linux headers same as kernel, a 3.9 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9=y
-
-# Watchdog is armed by the first stage bootloader
-BR2_PACKAGE_BUSYBOX_WATCHDOG=y
-
-# Filesystem
-BR2_TARGET_ROOTFS_UBIFS=y
-BR2_TARGET_ROOTFS_UBI=y
-
-# Bootloader
-BR2_TARGET_BAREBOX=y
-BR2_TARGET_BAREBOX_CUSTOM_VERSION=y
-BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2013.04.0"
-BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR="board/telit/evk-pro3"
-BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="telit_evk_pro3"
-
-# Kernel
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"
-BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/telit/evk-pro3/linux-3.9.config"
-BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="evk-pro3"
Signature · 1 line
2.11.0
#4 lore raw

PATCH 3/5 telit_evk_pro3_defconfig: remove broken defconfig

2017-03-01 9:30 GMT+01:00 Arnout Vandecappelle (Essensium/Mind) <[email protected]>:

Quoted 3 lines

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as it board directory.

Hi Arnout,
sorry for the late response, today I've sent a patch to fix the build failure for barebox, tomorrow i will send a patch to update the linux kernel.

Thanks
--
Fabio Porcedda

#5 lore raw

PATCH 3/5 telit_evk_pro3_defconfig: remove broken defconfig

Quoted 10 lines · Fabio Porcedda

2017-03-01 9:30 GMT+01:00 Arnout Vandecappelle (Essensium/Mind) <[email protected]>:

Quoted 3 lines

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as it board directory.

Hi Arnout,
sorry for the late response, today I've sent a patch to fix the build failure for barebox, tomorrow i will send a patch to update the linux kernel.

OK, I've marked this patch as superseded in patchwork.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#6 lore raw

PATCH 3/5 telit_evk_pro3_defconfig: remove broken defconfig

In reply to Fabio Porcedda

Hi Fabio,

Quoted 10 lines · Fabio Porcedda

2017-03-01 9:30 GMT+01:00 Arnout Vandecappelle (Essensium/Mind) <[email protected]>:

Quoted 3 lines

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as it board directory.

Hi Arnout,
sorry for the late response, today I've sent a patch to fix the build failure for barebox, tomorrow i will send a patch to update the linux kernel.

Any update on that kernel patch? The telit defconfig is still broken...

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#7 lore raw

PATCH 3/5 telit_evk_pro3_defconfig: remove broken defconfig

2017-04-06 12:50 GMT+02:00 Arnout Vandecappelle <[email protected]>:

Quoted 9 lines

Hi Fabio,

Quoted 6 lines · Fabio Porcedda

2017-03-01 9:30 GMT+01:00 Arnout Vandecappelle (Essensium/Mind) <[email protected]>:

Quoted 3 lines

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as it board directory.

Quoted 6 lines
Quoted 4 lines

Hi Arnout,
sorry for the late response, today I've sent a patch to fix the build failure for barebox, tomorrow i will send a patch to update the linux kernel.

Any update on that kernel patch? The telit defconfig is still broken...

Hi Arnout,
I'm sorry for the delay, the next week I will send a patch for the kernel too.

Best regards
--
Fabio Porcedda

#8 lore raw

PATCH 4/5 via_imx6_vab820_defconfig: remove broken defconfig

In reply to Arnout Vandecappelle (Essensium/Mind)

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as it board directory.

---
 board/via/imx6_vab820/genimage.cfg  |  38 ------------
 board/via/imx6_vab820/post-image.sh |  17 -----
 board/via/imx6_vab820/readme.txt    | 120 ------------------------------------
 configs/via_imx6_vab820_defconfig   |  34 ----------
 4 files changed, 209 deletions(-)
 delete mode 100644 board/via/imx6_vab820/genimage.cfg
 delete mode 100755 board/via/imx6_vab820/post-image.sh
 delete mode 100644 board/via/imx6_vab820/readme.txt
 delete mode 100644 configs/via_imx6_vab820_defconfig
board/via/imx6_vab820/genimage.cfg deleted +0 -38
deleted file mode 100644
index 54acaa791b..0000000000
@@ -1,38 +0,0 @@
-# Minimal SD card image for the VIA VAB-820 / AMOS-820
-#
-# The SD card must have at least 1 MB free at the beginning.
-# U-Boot is added before the filesystem partitions as is.
-# A FAT boot partition and an Ext4 root filesystem partition are required.
-
-image boot.vfat {
-  vfat {
-    files = {
-      "imx6q-vab820.dtb",
-      "uImage"
-    }
-  }
-  size = 10M
-}
-
-image sdcard.img {
-  hdimage {
-  }
-
-  partition u-boot {
-    in-partition-table = "no"
-    image = "u-boot.imx"
-    offset = 1024
-  }
-
-  partition boot {
-    partition-type = 0xC
-    bootable = "true"
-    image = "boot.vfat"
-  }
-
-  partition rootfs {
-    partition-type = 0x83
-    image = "rootfs.ext4"
-    size = 512M
-  }
-}
board/via/imx6_vab820/post-image.sh deleted +0 -17
deleted file mode 100755
index 00de33b01d..0000000000
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-BOARD_DIR="$(dirname $0)"
-GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
-GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
-
-rm -rf "${GENIMAGE_TMP}"
-
-genimage \
-  --rootpath "${TARGET_DIR}" \
-  --tmppath "${GENIMAGE_TMP}" \
-  --inputpath "${BINARIES_DIR}" \
-  --outputpath "${BINARIES_DIR}" \
-  --config "${GENIMAGE_CFG}"
-
-RET=${?}
-exit ${RET}
board/via/imx6_vab820/readme.txt deleted +0 -120

120 lines not on this page · raw message

configs/via_imx6_vab820_defconfig deleted +0 -34
deleted file mode 100644
index fa646f07dc..0000000000
@@ -1,34 +0,0 @@
-# Architecture
-BR2_arm=y
-BR2_cortex_a9=y
-BR2_ARM_ENABLE_VFP=y
-
-# Linux headers same as kernel, a 3.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
-
-# Kernel
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/viaembedded/vab820-kernel-bsp.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="via_3.10.17_2.0.6"
-BR2_LINUX_KERNEL_DEFCONFIG="via_vab820"
-BR2_LINUX_KERNEL_UIMAGE=y
-BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
-BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-vab820"
-
-# Bootloader
-BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="mx6qvab820"
-BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/viaembedded/vab820-uboot-bsp.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="via_3.10.17_2.0.6"
-BR2_TARGET_UBOOT_FORMAT_IMX=y
-
-# Filesystem
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_PACKAGE_HOST_DOSFSTOOLS=y
-BR2_PACKAGE_HOST_GENIMAGE=y
-BR2_PACKAGE_HOST_MTOOLS=y
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/via/imx6_vab820/post-image.sh"
Signature · 1 line
2.11.0
#9 lore raw

PATCH 4/5 via_imx6_vab820_defconfig: remove broken defconfig

Hello,

Quoted 7 lines · Arnout Vandecappelle (Essensium/Mind)

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as it board directory.

Quoted 10 lines
---
 board/via/imx6_vab820/genimage.cfg  |  38 ------------
 board/via/imx6_vab820/post-image.sh |  17 -----
 board/via/imx6_vab820/readme.txt    | 120 ------------------------------------
 configs/via_imx6_vab820_defconfig   |  34 ----------
 4 files changed, 209 deletions(-)
 delete mode 100644 board/via/imx6_vab820/genimage.cfg
 delete mode 100755 board/via/imx6_vab820/post-image.sh
 delete mode 100644 board/via/imx6_vab820/readme.txt
 delete mode 100644 configs/via_imx6_vab820_defconfig

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#10 lore raw

PATCH 5/5 altera_*_defconfig: remove broken defconfigs

In reply to Arnout Vandecappelle (Essensium/Mind)

These defconfigs have been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. In addition, the rocketboards git repository used by these defconfigs hasn't been reachable for more than half a year. Finally, these defconfigs don't even use the BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC option so they are not a great example for this family of targets.

Remove these defconfigs, as well as the board directory. Both are removed in a single commit to avoid having an inconsistent readme.

Cc Jan Viktorin <[email protected]>
Cc Charles Manning <[email protected]>
Cc Sebastien Bourdelin <[email protected]>
---
 board/altera/post-image.sh                         |   8 -
 board/altera/readme.txt                            | 165 -----
 .../uboot-sockit-preloader-sample-design.patch     | 820 ---------------------
 configs/altera_socdk_defconfig                     |  33 -
 configs/altera_sockit_defconfig                    |  37 -
 5 files changed, 1063 deletions(-)
 delete mode 100755 board/altera/post-image.sh
 delete mode 100644 board/altera/readme.txt
 delete mode 100644 board/altera/sockit/uboot-sockit-preloader-sample-design.patch
 delete mode 100644 configs/altera_socdk_defconfig
 delete mode 100644 configs/altera_sockit_defconfig
board/altera/post-image.sh deleted +0 -8
deleted file mode 100755
index 03e7819aa6..0000000000
@@ -1,8 +0,0 @@
-#!/bin/sh
-# post-image.sh for SoCkit/SoCDK
-# 2014, "Roman Diouskine" <[email protected]>
-# 2014, "Sebastien Bourdelin" <[email protected]>
-
-# create a DTB file copy with the name expected by the u-boot config
-# Name of the DTB is passed as the second argument to the script.
-cp -af $BINARIES_DIR/${2}.dtb  $BINARIES_DIR/socfpga.dtb
board/altera/readme.txt deleted +0 -165

165 lines not on this page · raw message

board/altera/sockit/uboot-sockit-preloader-sample-design.patch deleted +0 -820

820 lines not on this page · raw message

configs/altera_socdk_defconfig deleted +0 -33
deleted file mode 100644
index f5a2fc7fd0..0000000000
@@ -1,33 +0,0 @@
-BR2_arm=y
-BR2_cortex_a9=y
-
-BR2_ARM_ENABLE_VFP=y
-BR2_ARM_ENABLE_NEON=y
-BR2_ARM_FPU_NEON=y
-BR2_ARM_INSTRUCTIONS_THUMB2=y
-
-# Linux headers same as kernel, a 3.13 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
-
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/altera/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_LINUX_KERNEL_INTREE_DTS_NAME)"
-
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="http://git.rocketboards.org/linux-socfpga.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_socfpga-3.13_14.02.02"
-BR2_LINUX_KERNEL_DEFCONFIG="socfpga"
-BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5_socdk"
-
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_3=y
-
-BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="socfpga_cyclone5"
-BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="http://git.rocketboards.org/u-boot-socfpga.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_socfpga_v2013.01.01_14.02.02"
-BR2_TARGET_UBOOT_FORMAT_IMG=y
-BR2_TARGET_UBOOT_SPL=y
-BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin"
configs/altera_sockit_defconfig deleted +0 -37
deleted file mode 100644
index 0addbde1e5..0000000000
@@ -1,37 +0,0 @@
-BR2_arm=y
-BR2_cortex_a9=y
-
-BR2_ARM_ENABLE_VFP=y
-BR2_ARM_ENABLE_NEON=y
-BR2_ARM_FPU_NEON=y
-BR2_ARM_INSTRUCTIONS_THUMB2=y
-
-# Linux headers same as kernel, a 3.13 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
-
-BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600=y
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/altera/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_LINUX_KERNEL_INTREE_DTS_NAME)"
-
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="http://git.rocketboards.org/linux-socfpga.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_socfpga-3.13_14.02.02"
-BR2_LINUX_KERNEL_DEFCONFIG="socfpga"
-BR2_LINUX_KERNEL_UIMAGE=y
-BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
-BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5_sockit"
-
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_3=y
-
-BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="socfpga_cyclone5"
-BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="http://git.rocketboards.org/u-boot-socfpga.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_acds13.0sp1"
-BR2_TARGET_UBOOT_PATCH="board/altera/sockit"
-BR2_TARGET_UBOOT_FORMAT_IMG=y
-BR2_TARGET_UBOOT_SPL=y
-BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin"
Signature · 1 line
2.11.0
#11 lore raw

PATCH 5/5 altera_*_defconfig: remove broken defconfigs

Hello,

Quoted 14 lines · Arnout Vandecappelle (Essensium/Mind)

These defconfigs have been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. In addition, the rocketboards git repository used by these defconfigs hasn't been reachable for more than half a year. Finally, these defconfigs don't even use the BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC option so they are not a great example for this family of targets.

Remove these defconfigs, as well as the board directory. Both are removed in a single commit to avoid having an inconsistent readme.

Cc Jan Viktorin <[email protected]>
Cc Charles Manning <[email protected]>
Cc Sebastien Bourdelin <[email protected]>
Quoted 12 lines
---
 board/altera/post-image.sh                         |   8 -
 board/altera/readme.txt                            | 165 -----
 .../uboot-sockit-preloader-sample-design.patch     | 820 ---------------------
 configs/altera_socdk_defconfig                     |  33 -
 configs/altera_sockit_defconfig                    |  37 -
 5 files changed, 1063 deletions(-)
 delete mode 100755 board/altera/post-image.sh
 delete mode 100644 board/altera/readme.txt
 delete mode 100644 board/altera/sockit/uboot-sockit-preloader-sample-design.patch
 delete mode 100644 configs/altera_socdk_defconfig
 delete mode 100644 configs/altera_sockit_defconfig

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#12 lore raw

PATCH 1/5 minnowboard_defconfig: remove broken defconfig

In reply to Arnout Vandecappelle (Essensium/Mind)

Hello,

Quoted 5 lines · Arnout Vandecappelle (Essensium/Mind)

This defconfig has been broken due to gcc5 for more than half a year, and nobody stepped up to fix it. Remove it, as well as the files it references. Update the readme to remove references to MinnowBoard.

Quoted 9 lines
---
 board/minnowboard/grub-minnowboard.cfg |   6 --
 board/minnowboard/linux-3.8.config     | 172 ---------------------------------
 board/minnowboard/readme.txt           |  10 +-
 configs/minnowboard_defconfig          |  32 ------
 4 files changed, 3 insertions(+), 217 deletions(-)
 delete mode 100644 board/minnowboard/grub-minnowboard.cfg
 delete mode 100644 board/minnowboard/linux-3.8.config
 delete mode 100644 configs/minnowboard_defconfig

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com