Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 000/102] Standardize/beautify genimage .cfg files for all boards
@ 2021-11-07  1:58 Giulio Benetti
  2021-11-07  1:58 ` [Buildroot] [PATCH 001/102] board/aarch64-efi/genimage.cfg: beautify file Giulio Benetti
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Giulio Benetti @ 2021-11-07  1:58 UTC (permalink / raw)
  To: buildroot
  Cc: Louis Aussedat, Theo Debrouwere, Nicholas Sielicki, Edgar Bonet,
	Alexey Brodkin, Mike Harmony, Marcin Niestroj, Michel Stempin,
	Thomas Petazzoni, Dagg Stompler, Biagio Montaruli,
	Sergey Matyukevich, Jörg Krause, Gwenhael Goavec-Merou,
	Vincent Stehlé, Jan Kraval, Ludovic Desroches,
	Peter Seiderer, Clément Péron, Ezequiel Garcia,
	Jagan Teki, Filip Skoneczny, Sergio Prado, David Lechner,
	Davide Viti, Nikolay Dimitrov, Michał Łyszczek,
	Suniel Mahesh, Yann E . MORIN, ARC Maintainers, Giulio Benetti,
	Pierre Crokaert, Julien Grossholtz, Gerome Burlats,
	Christophe Priouzeau, Lothar Felten, Luca Ceresoli, Romain Naour,
	Martin Bark

This patchset aims to set a standard for all genimage .cfg files in
Buildroot since at the moment various formats are used.
First of all I've changed every double space into tab, and in general tab
becomes the separator in place of space that more than sometimes is used
mixed with tabs.
There are some space, newline left, no newlines after nodes while
newlines after other.
All the offsets and sizes are specified in a mixed way of bytes number,
K, M, G, hexadecimal.
So basically these file has never had a standard. Even if a real standard
is not really defined I ask you to accept this long patchset to improve
consistency and to ease the readibility of offsets and sizes.

I've created a patch per file instead of "topic" like "missing space",
"convert from space to tab" etc. because it was a big mix of everything
in more than one file.

I ask, can I add a section in Documentation where to explain how to write
a "standard" genimage .cfg file? That way there is a guideline.

Best regards

Giulio Benetti (102):
  board/aarch64-efi/genimage.cfg: beautify file
  board/acmesystems/acqua-a5/genimage.cfg: beautify file
  board/acmesystems/aria-g25/genimage.cfg: beautify file
  board/acmesystems/arietta-g25/genimage.cfg: beautify file
  board/altera/socrates_cyclone5/genimage.cfg: beautify file
  board/amarula/a64-relic/genimage.cfg: beautify file
  board/atmel/at91sam9x5ek_mmc/genimage.cfg: beautify file
  board/atmel/sama5d27_som1_ek_mmc/genimage.cfg: beautify file
  board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg: beautify file
  board/atmel/sama5d2_xplained_mmc/genimage.cfg: beautify file
  board/atmel/sama5d3_xplained_mmc/genimage.cfg: beautify file
  board/atmel/sama5d4_xplained_mmc/genimage.cfg: beautify file
  board/bananapi/bananapi-m1/genimage.cfg: beautify file
  board/bananapi/bananapi-m2-ultra/genimage.cfg: beautify file
  board/bananapi/bananapi-m2-zero/genimage.cfg: beautify file
  board/bananapi/bananapi-m64/genimage.cfg: beautify file
  board/beagleboardx15/genimage.cfg: beautify file
  board/beaglebone/genimage.cfg: beautify file
  board/beagleboneai/genimage.cfg: beautify file
  board/beaglev/genimage.cfg: beautify file
  board/beelink/gs1/genimage.cfg: beautify file
  board/ci20/genimage.cfg: beautify file
  board/cubietech/cubieboard2/genimage.cfg: beautify file
  board/embest/riotboard/genimage.cfg: beautify file
  board/engicam/geam6ul/genimage.cfg: beautify file
  board/engicam/icorem6/genimage.cfg: beautify file
  board/engicam/icorem6_rqs/genimage.cfg: beautify file
  board/engicam/isiot/genimage.cfg: beautify file
  board/friendlyarm/nanopc-t4/genimage.cfg: beautify file
  board/friendlyarm/nanopi-a64/genimage.cfg: beautify file
  board/friendlyarm/nanopi-m1-plus/genimage.cfg: beautify file
  board/friendlyarm/nanopi-m1/genimage.cfg: beautify file
  board/friendlyarm/nanopi-m4/genimage.cfg: beautify file
  board/friendlyarm/nanopi-neo-plus2/genimage.cfg: beautify file
  board/friendlyarm/nanopi-neo/genimage.cfg: beautify file
  board/friendlyarm/nanopi-neo2/genimage.cfg: beautify file
  board/friendlyarm/nanopi-r1/genimage.cfg: beautify file
  board/grinn/chiliboard/genimage.cfg: beautify file
  board/grinn/liteboard/genimage.cfg: beautify file
  board/hardkernel/odroidc2/genimage.cfg: beautify file
  board/hardkernel/odroidxu4/genimage.cfg: beautify file
  board/intel/galileo/genimage.cfg: beautify file
  board/lego/ev3/genimage.cfg: beautify file
  board/lemaker/bananapro/genimage.cfg: beautify file
  board/licheepi/genimage.cfg: beautify file
  board/linksprite/pcduino/genimage.cfg: beautify file
  board/microchip/sam9x60ek_mmc/genimage.cfg: beautify file
  board/microchip/sama5d2_icp/genimage.cfg: beautify file
  board/minnowboard/genimage.cfg: beautify file
  board/nexbox/a95x/genimage.cfg: beautify file
  board/olimex/a13_olinuxino/genimage.cfg: beautify file
  board/olimex/a20_olinuxino/genimage.cfg: beautify file
  board/olimex/a33_olinuxino/genimage.cfg: beautify file
  board/olimex/a64_olinuxino/genimage.cfg: beautify file
  board/orangepi/orangepi-lite/genimage.cfg: beautify file
  board/orangepi/orangepi-lite2/genimage.cfg: beautify file
  board/orangepi/orangepi-one-plus/genimage.cfg: beautify file
  board/orangepi/orangepi-one/genimage.cfg: beautify file
  board/orangepi/orangepi-pc-plus/genimage.cfg: beautify file
  board/orangepi/orangepi-pc/genimage.cfg: beautify file
  board/orangepi/orangepi-pc2/genimage.cfg: beautify file
  board/orangepi/orangepi-plus/genimage.cfg: beautify file
  board/orangepi/orangepi-prime/genimage.cfg: beautify file
  board/orangepi/orangepi-r1/genimage.cfg: beautify file
  board/orangepi/orangepi-rk3399/genimage.cfg: beautify file
  board/orangepi/orangepi-win/genimage.cfg: beautify file
  board/orangepi/orangepi-zero-plus/genimage.cfg: beautify file
  board/orangepi/orangepi-zero-plus2/genimage.cfg: beautify file
  board/orangepi/orangepi-zero/genimage.cfg: beautify file
  board/pandaboard/genimage.cfg: beautify file
  board/pc/genimage-bios.cfg: beautify file
  board/pc/genimage-efi.cfg: beautify file
  board/pine64/pine64/genimage.cfg: beautify file
  board/pine64/rock64/genimage.cfg: beautify file
  board/pine64/rockpro64/genimage.cfg: beautify file
  board/pine64/sopine/genimage.cfg: beautify file
  board/qemu/aarch64-sbsa/genimage.cfg: beautify file
  board/radxa/rockpi-4/genimage.cfg: beautify file
  board/radxa/rockpi-n10/genimage.cfg: beautify file
  board/radxa/rockpi-n8/genimage.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi0.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi0w.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi2.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi3-64.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi3.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi4-64.cfg: beautify file
  board/raspberrypi/genimage-raspberrypi4.cfg: beautify file
  board/raspberrypi/genimage-raspberrypicm4io-64.cfg: beautify file
  board/raspberrypi/genimage-raspberrypicm4io.cfg: beautify file
  board/roseapplepi/genimage.cfg: beautify file
  board/sinovoip/m1-plus/genimage.cfg: beautify file
  board/sinovoip/m2-plus/genimage.cfg: beautify file
  board/solidrun/macchiatobin/genimage.cfg: beautify file
  board/stmicroelectronics/stm32f469-disco/genimage.cfg: beautify file
  board/synopsys/hsdk/genimage.cfg: beautify file
  board/technologic/ts7680/genimage.cfg: beautify file
  board/terasic/de10nano_cyclone5/genimage.cfg: beautify file
  board/toradex/apalis-imx6/genimage.cfg: beautify file
  board/uevm5432/genimage.cfg: beautify file
  board/zynq/genimage.cfg: beautify file
  board/zynqmp/genimage.cfg: beautify file

 board/aarch64-efi/genimage-efi.cfg            | 45 +++++++-------
 board/acmesystems/acqua-a5/genimage.cfg       |  1 +
 board/acmesystems/aria-g25/genimage.cfg       |  1 +
 board/acmesystems/arietta-g25/genimage.cfg    |  7 ++-
 board/altera/socrates_cyclone5/genimage.cfg   |  5 +-
 board/amarula/a64-relic/genimage.cfg          |  1 +
 board/atmel/at91sam9x5ek_mmc/genimage.cfg     |  1 +
 board/atmel/sama5d27_som1_ek_mmc/genimage.cfg |  1 +
 .../atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg |  1 +
 board/atmel/sama5d2_xplained_mmc/genimage.cfg |  1 +
 board/atmel/sama5d3_xplained_mmc/genimage.cfg |  1 +
 board/atmel/sama5d4_xplained_mmc/genimage.cfg |  1 +
 board/bananapi/bananapi-m1/genimage.cfg       |  5 +-
 board/bananapi/bananapi-m2-ultra/genimage.cfg |  5 +-
 board/bananapi/bananapi-m2-zero/genimage.cfg  |  5 +-
 board/bananapi/bananapi-m64/genimage.cfg      |  5 +-
 board/beagleboardx15/genimage.cfg             |  3 +-
 board/beaglebone/genimage.cfg                 |  3 +-
 board/beagleboneai/genimage.cfg               |  1 +
 board/beaglev/genimage.cfg                    | 18 +++---
 board/beelink/gs1/genimage.cfg                |  5 +-
 board/ci20/genimage.cfg                       | 44 +++++++-------
 board/cubietech/cubieboard2/genimage.cfg      |  5 +-
 board/embest/riotboard/genimage.cfg           | 26 ++++----
 board/engicam/geam6ul/genimage.cfg            |  3 +-
 board/engicam/icorem6/genimage.cfg            |  3 +-
 board/engicam/icorem6_rqs/genimage.cfg        |  3 +-
 board/engicam/isiot/genimage.cfg              |  3 +-
 board/friendlyarm/nanopc-t4/genimage.cfg      | 60 +++++++++----------
 board/friendlyarm/nanopi-a64/genimage.cfg     |  5 +-
 board/friendlyarm/nanopi-m1-plus/genimage.cfg |  5 +-
 board/friendlyarm/nanopi-m1/genimage.cfg      |  5 +-
 board/friendlyarm/nanopi-m4/genimage.cfg      |  2 +-
 .../friendlyarm/nanopi-neo-plus2/genimage.cfg |  5 +-
 board/friendlyarm/nanopi-neo/genimage.cfg     |  5 +-
 board/friendlyarm/nanopi-neo2/genimage.cfg    |  5 +-
 board/friendlyarm/nanopi-r1/genimage.cfg      |  5 +-
 board/grinn/chiliboard/genimage.cfg           | 43 ++++++-------
 board/grinn/liteboard/genimage.cfg            | 59 +++++++++---------
 board/hardkernel/odroidc2/genimage.cfg        |  3 +-
 board/hardkernel/odroidxu4/genimage.cfg       | 17 +++---
 board/intel/galileo/genimage.cfg              |  3 +-
 board/lego/ev3/genimage.cfg                   | 18 ++++--
 board/lemaker/bananapro/genimage.cfg          |  5 +-
 board/licheepi/genimage.cfg                   |  5 +-
 board/linksprite/pcduino/genimage.cfg         |  5 +-
 board/microchip/sam9x60ek_mmc/genimage.cfg    |  1 +
 board/microchip/sama5d2_icp/genimage.cfg      |  1 +
 board/minnowboard/genimage.cfg                |  1 +
 board/nexbox/a95x/genimage.cfg                |  1 +
 board/olimex/a13_olinuxino/genimage.cfg       | 32 +++++-----
 board/olimex/a20_olinuxino/genimage.cfg       |  4 +-
 board/olimex/a33_olinuxino/genimage.cfg       |  4 +-
 board/olimex/a64-olinuxino/genimage.cfg       |  5 +-
 board/orangepi/orangepi-lite/genimage.cfg     |  5 +-
 board/orangepi/orangepi-lite2/genimage.cfg    |  5 +-
 board/orangepi/orangepi-one-plus/genimage.cfg |  5 +-
 board/orangepi/orangepi-one/genimage.cfg      |  5 +-
 board/orangepi/orangepi-pc-plus/genimage.cfg  |  5 +-
 board/orangepi/orangepi-pc/genimage.cfg       |  5 +-
 board/orangepi/orangepi-pc2/genimage.cfg      |  5 +-
 board/orangepi/orangepi-plus/genimage.cfg     |  5 +-
 board/orangepi/orangepi-prime/genimage.cfg    |  5 +-
 board/orangepi/orangepi-r1/genimage.cfg       |  5 +-
 board/orangepi/orangepi-rk3399/genimage.cfg   |  2 +-
 board/orangepi/orangepi-win/genimage.cfg      |  5 +-
 .../orangepi/orangepi-zero-plus/genimage.cfg  |  5 +-
 .../orangepi/orangepi-zero-plus2/genimage.cfg |  5 +-
 board/orangepi/orangepi-zero/genimage.cfg     |  4 +-
 board/pandaboard/genimage.cfg                 |  1 +
 board/pc/genimage-bios.cfg                    | 36 ++++++-----
 board/pc/genimage-efi.cfg                     | 49 +++++++--------
 board/pine64/pine64/genimage.cfg              |  5 +-
 board/pine64/rock64/genimage.cfg              | 36 +++++------
 board/pine64/rockpro64/genimage.cfg           |  2 +-
 board/pine64/sopine/genimage.cfg              |  5 +-
 board/qemu/aarch64-sbsa/genimage.cfg          | 42 ++++++-------
 board/radxa/rockpi-4/genimage.cfg             |  2 +-
 board/radxa/rockpi-n10/genimage.cfg           |  2 +-
 board/radxa/rockpi-n8/genimage.cfg            |  2 +-
 board/raspberrypi/genimage-raspberrypi.cfg    | 51 ++++++++--------
 board/raspberrypi/genimage-raspberrypi0.cfg   | 47 ++++++++-------
 board/raspberrypi/genimage-raspberrypi0w.cfg  | 49 +++++++--------
 board/raspberrypi/genimage-raspberrypi2.cfg   | 47 ++++++++-------
 .../raspberrypi/genimage-raspberrypi3-64.cfg  | 53 ++++++++--------
 board/raspberrypi/genimage-raspberrypi3.cfg   | 53 ++++++++--------
 .../raspberrypi/genimage-raspberrypi4-64.cfg  | 47 ++++++++-------
 board/raspberrypi/genimage-raspberrypi4.cfg   | 47 ++++++++-------
 .../genimage-raspberrypicm4io-64.cfg          | 47 ++++++++-------
 .../raspberrypi/genimage-raspberrypicm4io.cfg | 47 ++++++++-------
 board/roseapplepi/genimage.cfg                | 12 ++--
 board/sinovoip/m1-plus/genimage.cfg           |  5 +-
 board/sinovoip/m2-plus/genimage.cfg           |  5 +-
 board/solidrun/macchiatobin/genimage.cfg      |  4 +-
 .../stm32f469-disco/genimage.cfg              |  4 +-
 board/synopsys/hsdk/genimage.cfg              | 42 ++++++-------
 board/technologic/ts7680/genimage.cfg         |  2 +-
 board/terasic/de10nano_cyclone5/genimage.cfg  |  1 +
 board/toradex/apalis-imx6/genimage.cfg        | 14 ++---
 board/uevm5432/genimage.cfg                   |  1 +
 board/zynq/genimage.cfg                       |  2 +
 board/zynqmp/genimage.cfg                     |  1 +
 102 files changed, 716 insertions(+), 625 deletions(-)

-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-11-08 22:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-07  1:58 [Buildroot] [PATCH 000/102] Standardize/beautify genimage .cfg files for all boards Giulio Benetti
2021-11-07  1:58 ` [Buildroot] [PATCH 001/102] board/aarch64-efi/genimage.cfg: beautify file Giulio Benetti
2021-11-07  1:58 ` [Buildroot] [PATCH 002/102] board/acmesystems/acqua-a5/genimage.cfg: " Giulio Benetti
2021-11-08 15:07 ` [Buildroot] [PATCH 000/102] Standardize/beautify genimage .cfg files for all boards Yann E. MORIN
2021-11-08 15:24   ` Thomas Petazzoni
2021-11-08 16:17     ` Giulio Benetti
2021-11-08 22:08     ` Arnout Vandecappelle
2021-11-08 16:01   ` Giulio Benetti
2021-11-08 18:38     ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox