[PATCH v2 0/2] binman: ti_board_cfg: Add yamllint support

Neha Malcom Francis n-francis at ti.com
Fri Jan 5 12:39:15 CET 2024


This series adds support for checking and raising an error if a
configuration file does not adhere to the default yamllint rules. This is
based on the mailing-list suggestion [1].

Boot logs:
https://gist.github.com/nehamalcom/9f98d7d17dd19b61a0ad27fdea3bc18e

[1]: https://lore.kernel.org/all/20240103173637.fdhfwgmsmqrfpzdp@manmade/

Changes since v1:
https://patchwork.ozlabs.org/project/uboot/cover/20240104075357.638983-1-n-francis@ti.com/
	- add yamllint to requirements.txt (Nishanth)
	- boot logs unchanged since no affecting change

Neha Malcom Francis (2):
  board: ti: *-cfg.yaml: Adhere to yamllint rules
  tools: binman: ti_board_cfg: Check for linting problems

 board/ti/am62ax/board-cfg.yaml               |   20 +-
 board/ti/am62ax/pm-cfg.yaml                  |    4 +-
 board/ti/am62ax/rm-cfg.yaml                  | 1664 +++----
 board/ti/am62ax/sec-cfg.yaml                 |  212 +-
 board/ti/am62ax/tifs-rm-cfg.yaml             | 1484 +++----
 board/ti/am62x/board-cfg.yaml                |   20 +-
 board/ti/am62x/pm-cfg.yaml                   |    4 +-
 board/ti/am62x/rm-cfg.yaml                   | 1532 +++----
 board/ti/am62x/sec-cfg.yaml                  |  212 +-
 board/ti/am64x/board-cfg.yaml                |   20 +-
 board/ti/am64x/pm-cfg.yaml                   |    4 +-
 board/ti/am64x/rm-cfg.yaml                   | 2386 +++++-----
 board/ti/am64x/sec-cfg.yaml                  |  216 +-
 board/ti/am65x/board-cfg.yaml                |   20 +-
 board/ti/am65x/pm-cfg.yaml                   |    4 +-
 board/ti/am65x/rm-cfg.yaml                   | 2994 ++++++-------
 board/ti/am65x/sec-cfg.yaml                  |  212 +-
 board/ti/j721e/board-cfg_j7200.yaml          |   20 +-
 board/ti/j721e/pm-cfg_j7200.yaml             |    4 +-
 board/ti/j721e/rm-cfg.yaml                   |   64 +-
 board/ti/j721e/rm-cfg_j7200.yaml             |  134 +-
 board/ti/j721e/sec-cfg.yaml                  |  192 +-
 board/ti/j721e/sec-cfg_j7200.yaml            |  216 +-
 board/ti/j721s2/board-cfg.yaml               |   20 +-
 board/ti/j721s2/pm-cfg.yaml                  |    4 +-
 board/ti/j721s2/rm-cfg.yaml                  | 4184 +++++++++---------
 board/ti/j721s2/sec-cfg.yaml                 |  212 +-
 tools/binman/etype/ti_board_config.py        |    5 +
 tools/binman/ftest.py                        |    6 +
 tools/binman/test/323_ti_board_cfg_phony.dts |   14 +
 tools/binman/test/yaml/config.yaml           |    4 +-
 tools/binman/test/yaml/config_phony.yaml     |   18 +
 tools/buildman/requirements.txt              |    1 +
 33 files changed, 8075 insertions(+), 8031 deletions(-)
 create mode 100644 tools/binman/test/323_ti_board_cfg_phony.dts
 create mode 100644 tools/binman/test/yaml/config_phony.yaml

-- 
2.34.1



More information about the U-Boot mailing list