Skip to contentSkip to conversation

packages/devmem2: remove from all board configurations

PATCH New unixmania at gmail.com 4 participants 5 messages Aug 12, 2019 – Aug 14, 2019 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packages/devmem2: remove from all board configurations

From: Carlos Santos <[email protected]>

It is not used by any other application selected by those defconfigs.

Tested building all boards and searching recursively for devmem2 in the target directory.

---
CC: Ciro Santilli <[email protected]>
---
Found while investigating https://bugs.busybox.net/show_bug.cgi?id=10171

In the future we may decide to deprecate devmem2.

---
 configs/at91sam9x5ek_dev_defconfig               | 1 -
 configs/at91sam9x5ek_mmc_dev_defconfig           | 1 -
 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 -
 configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 -
 configs/atmel_sama5d3_xplained_dev_defconfig     | 1 -
 configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 -
 configs/atmel_sama5d4_xplained_dev_defconfig     | 1 -
 configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 -
 8 files changed, 8 deletions(-)
configs/at91sam9x5ek_dev_defconfig +0 -1
index 7c29361e8a..4257dd5642 100644
@@ -47,7 +47,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/at91sam9x5ek_mmc_dev_defconfig +0 -1
index a085a48c4e..2e12038544 100644
@@ -50,7 +50,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +0 -1
index da4a0fa155..7709e1e6a1 100644
@@ -39,7 +39,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_RNG_TOOLS=y
configs/atmel_sama5d2_xplained_mmc_dev_defconfig +0 -1
index 36cd49c1e9..2272fcd6ff 100644
@@ -53,7 +53,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d3_xplained_dev_defconfig +0 -1
index 2a1a722960..feac379701 100644
@@ -49,7 +49,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d3_xplained_mmc_dev_defconfig +0 -1
index e455702b33..6733288eff 100644
@@ -52,7 +52,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d4_xplained_dev_defconfig +0 -1
index 2f05628a2d..4aaf767412 100644
@@ -50,7 +50,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d4_xplained_mmc_dev_defconfig +0 -1
index 2ae1999c45..828085c7b5 100644
@@ -53,7 +53,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
Signature · 1 line
2.18.1
#1 lore raw

PATCH 1/1 packages/devmem2: remove from all board configurations

Quoted 4 lines · On Mon, 12 Aug 2019 15:12:07 -0300 unixmania at gmail.com wrote:

From: Carlos Santos <[email protected]>

It is not used by any other application selected by those defconfigs.

Quoted 8 lines

Tested building all boards and searching recursively for devmem2 in the target directory.

---
CC: Ciro Santilli <[email protected]>
---
Found while investigating https://bugs.busybox.net/show_bug.cgi?id=10171

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 packages/devmem2: remove from all board configurations

In reply to unixmania at gmail.com

Hi Carlos,

Quoted 5 lines · unixmania at gmail.com

From: Carlos Santos <[email protected]>

It is not used by any other application selected by those defconfigs.

It's only here for debug purpose. Is the Busybox devmem version now enabled by default in order to have something in replacement?

Regards

Ludovic

Quoted 121 lines

Tested building all boards and searching recursively for devmem2 in the target directory.

---
CC: Ciro Santilli <[email protected]>
---
Found while investigating https://bugs.busybox.net/show_bug.cgi?id=10171

In the future we may decide to deprecate devmem2.

---
 configs/at91sam9x5ek_dev_defconfig               | 1 -
 configs/at91sam9x5ek_mmc_dev_defconfig           | 1 -
 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 -
 configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 -
 configs/atmel_sama5d3_xplained_dev_defconfig     | 1 -
 configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 -
 configs/atmel_sama5d4_xplained_dev_defconfig     | 1 -
 configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 -
 8 files changed, 8 deletions(-)
configs/at91sam9x5ek_dev_defconfig +0 -1
index 7c29361e8a..4257dd5642 100644
@@ -47,7 +47,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/at91sam9x5ek_mmc_dev_defconfig +0 -1
index a085a48c4e..2e12038544 100644
@@ -50,7 +50,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +0 -1
index da4a0fa155..7709e1e6a1 100644
@@ -39,7 +39,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_RNG_TOOLS=y
configs/atmel_sama5d2_xplained_mmc_dev_defconfig +0 -1
index 36cd49c1e9..2272fcd6ff 100644
@@ -53,7 +53,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d3_xplained_dev_defconfig +0 -1
index 2a1a722960..feac379701 100644
@@ -49,7 +49,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d3_xplained_mmc_dev_defconfig +0 -1
index e455702b33..6733288eff 100644
@@ -52,7 +52,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d4_xplained_dev_defconfig +0 -1
index 2f05628a2d..4aaf767412 100644
@@ -50,7 +50,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
configs/atmel_sama5d4_xplained_mmc_dev_defconfig +0 -1
index 2ae1999c45..828085c7b5 100644
@@ -53,7 +53,6 @@ BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
 BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
-BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
Signature · 1 line
2.18.1
#3 lore raw

PATCH 1/1 packages/devmem2: remove from all board configurations

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ludovic" == Ludovic Desroches <[email protected]> writes:

Hi Carlos,

Quoted 1 line · unixmania at gmail.com
Quoted 7 lines
Quoted 4 lines

From: Carlos Santos <[email protected]>

It is not used by any other application selected by those defconfigs.

It's only here for debug purpose. Is the Busybox devmem version now enabled by default in order to have something in replacement?

Yes it is:

grep DEVMEM package/busybox/busybox.config
CONFIG_DEVMEM=y

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/1 packages/devmem2: remove from all board configurations

Quoted 11 lines · Peter Korsgaard
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Ludovic" == Ludovic Desroches <[email protected]> writes:

Hi Carlos,

Quoted 5 lines · unixmania at gmail.com

From: Carlos Santos <[email protected]>

It is not used by any other application selected by those defconfigs.

Quoted 7 lines
Quoted 2 lines

It's only here for debug purpose. Is the Busybox devmem version now enabled by default in order to have something in replacement?

Yes it is:

grep DEVMEM package/busybox/busybox.config
CONFIG_DEVMEM=y

Ok, great.

Thx

Ludovic

Quoted 8 lines
Signature · 6 lines
-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot