public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/7] Rebuild phyBOARD-Mira UBI image generation
@ 2022-02-09 13:54 Anton Mikanovich
  2022-02-09 13:54 ` [PATCH 1/7] ubi: Move default output paths to image class Anton Mikanovich
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Anton Mikanovich @ 2022-02-09 13:54 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Rebuild UBI image generation implementation to support any count of
targets with different settings. This also will allow to build the same
isar-image-base image for both UBI and non-UBI targets.
Add correct UBI and UBIFS layouts for phyBOARD-Mira after that.

To be able to flash phyBOARD-Mira with only Isar outputs add also kernel
and Barebox bootloader recipes.

Anton Mikanovich (7):
  ubi: Move default output paths to image class
  ubi: Remove isar-image-ubi
  ubi: Move tasks reorder into parent task
  ubi: Split UBI configs for phyboard-mira and imx6-sabrelite
  conf: Remove machine-specific defines from multiconfig
  meta-isar: Add linux-phy kernel
  meta: Add barebox bootloader support

 meta-isar/classes/ubi-ubifs-img.bbclass       |  4 +-
 meta-isar/conf/machine/phyboard-mira.conf     | 19 ++++--
 .../multiconfig/phyboard-mira-bullseye.conf   |  6 --
 .../fitimage.its.tmpl                         |  0
 .../ubinize.cfg.tmpl                          |  0
 .../recipes-core/images/isar-image-base.bb    | 11 ++++
 .../recipes-core/images/isar-image-ubi.bb     | 27 --------
 .../images/phyboard-mira/ubinize.cfg.tmpl     | 26 ++++++++
 ...bsinstall-fix-installing-DT-overlays.patch | 30 +++++++++
 .../linux/linux-phy_5.10.76-phy4.bb           | 14 +++++
 meta/classes/fit-img.bbclass                  |  5 +-
 meta/classes/image.bbclass                    | 14 +++++
 meta/classes/ubi-img.bbclass                  |  6 ++
 meta/classes/ubifs-img.bbclass                |  5 +-
 meta/recipes-bsp/barebox/barebox.inc          | 51 ++++++++++++++++
 .../barebox/barebox_2021.04.0-phy5.bb         | 13 ++++
 ...1-of_dump-Add-a-simple-node-check-up.patch | 61 +++++++++++++++++++
 .../barebox/files/defaultenv.cfg.tmpl         |  5 ++
 .../barebox/files/phytec-mira-env/bin/far     | 14 +++++
 .../bin/rauc_flash_nand_from_mmc              | 10 +++
 .../bin/rauc_flash_nand_from_tftp             | 10 +++
 .../files/phytec-mira-env/bin/rauc_init_nand  | 17 ++++++
 .../barebox/files/phytec-mira-env/boot/initrd |  9 +++
 .../barebox/files/phytec-mira-env/boot/mmc    | 14 +++++
 .../barebox/files/phytec-mira-env/boot/nand   | 16 +++++
 .../barebox/files/phytec-mira-env/boot/net    | 21 +++++++
 .../barebox/files/phytec-mira-env/boot/spi    |  7 +++
 .../files/phytec-mira-env/boot/system0        | 16 +++++
 .../files/phytec-mira-env/boot/system1        | 16 +++++
 .../files/phytec-mira-env/config-expansions   | 28 +++++++++
 .../phytec-mira-env/expansions/dt-overlays    | 14 +++++
 .../expansions/imx6-phytec-check-bus-nodepath |  7 +++
 .../expansions/imx6qdl-mira-enable-lvds       |  2 +
 .../expansions/imx6qdl-mira-peb-eval-01       |  3 +
 .../expansions/imx6qdl-nunki-enable-lvds      |  2 +
 .../expansions/imx6qdl-phytec-lcd             |  4 ++
 .../imx6qdl-phytec-lcd-018-peb-av-02          |  3 +
 .../imx6qdl-phytec-lcd-018-peb-av-02-res      |  3 +
 .../expansions/imx6qdl-phytec-lcd-res         |  4 ++
 .../expansions/imx6qdl-phytec-peb-wlbt-05     |  7 +++
 .../files/phytec-mira-env/nv/allow_color      |  1 +
 .../files/phytec-mira-env/nv/boot.default     |  1 +
 .../nv/bootchooser.state_prefix               |  1 +
 .../nv/bootchooser.system0.boot               |  1 +
 .../nv/bootchooser.system1.boot               |  1 +
 .../phytec-mira-env/nv/bootchooser.targets    |  1 +
 .../files/phytec-mira-env/nv/dev.eth0.ipaddr  |  1 +
 .../phytec-mira-env/nv/dev.eth0.linux.devname |  1 +
 .../files/phytec-mira-env/nv/dev.eth0.mode    |  1 +
 .../files/phytec-mira-env/nv/dev.eth0.netmask |  1 +
 .../phytec-mira-env/nv/dev.eth0.serverip      |  1 +
 .../files/phytec-mira-env/nv/dhcp.vendor_id   |  1 +
 .../phytec-mira-env/nv/linux.bootargs.base    |  1 +
 .../phytec-mira-env/nv/linux.bootargs.fb      |  1 +
 .../phytec-mira-env/nv/linux.bootargs.rootfs  |  1 +
 .../files/phytec-mira-env/nv/net.gateway      |  1 +
 .../files/phytec-mira-env/nv/overlays.select  |  0
 meta/recipes-bsp/barebox/files/rules.tmpl     | 44 +++++++++++++
 .../barebox/files/version.cfg.tmpl            |  2 +
 59 files changed, 545 insertions(+), 41 deletions(-)
 rename meta-isar/recipes-core/images/{files => imx6-sabrelite}/fitimage.its.tmpl (100%)
 rename meta-isar/recipes-core/images/{files => imx6-sabrelite}/ubinize.cfg.tmpl (100%)
 delete mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
 create mode 100644 meta-isar/recipes-core/images/phyboard-mira/ubinize.cfg.tmpl
 create mode 100644 meta-isar/recipes-kernel/linux/files/0001-dtbsinstall-fix-installing-DT-overlays.patch
 create mode 100644 meta-isar/recipes-kernel/linux/linux-phy_5.10.76-phy4.bb
 create mode 100644 meta/recipes-bsp/barebox/barebox.inc
 create mode 100644 meta/recipes-bsp/barebox/barebox_2021.04.0-phy5.bb
 create mode 100644 meta/recipes-bsp/barebox/files/0001-of_dump-Add-a-simple-node-check-up.patch
 create mode 100644 meta/recipes-bsp/barebox/files/defaultenv.cfg.tmpl
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/bin/far
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/bin/rauc_flash_nand_from_mmc
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/bin/rauc_flash_nand_from_tftp
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/bin/rauc_init_nand
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/boot/initrd
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/boot/mmc
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/boot/nand
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/boot/net
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/boot/spi
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/boot/system0
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/boot/system1
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/config-expansions
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/dt-overlays
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6-phytec-check-bus-nodepath
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-mira-enable-lvds
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-mira-peb-eval-01
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-nunki-enable-lvds
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-phytec-lcd
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-phytec-lcd-018-peb-av-02
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-phytec-lcd-018-peb-av-02-res
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-phytec-lcd-res
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/expansions/imx6qdl-phytec-peb-wlbt-05
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/allow_color
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/boot.default
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/bootchooser.state_prefix
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/bootchooser.system0.boot
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/bootchooser.system1.boot
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/bootchooser.targets
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/dev.eth0.ipaddr
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/dev.eth0.linux.devname
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/dev.eth0.mode
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/dev.eth0.netmask
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/dev.eth0.serverip
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/dhcp.vendor_id
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/linux.bootargs.base
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/linux.bootargs.fb
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/linux.bootargs.rootfs
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/net.gateway
 create mode 100644 meta/recipes-bsp/barebox/files/phytec-mira-env/nv/overlays.select
 create mode 100755 meta/recipes-bsp/barebox/files/rules.tmpl
 create mode 100644 meta/recipes-bsp/barebox/files/version.cfg.tmpl

-- 
2.25.1


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

end of thread, other threads:[~2022-03-31  6:10 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 13:54 [PATCH 0/7] Rebuild phyBOARD-Mira UBI image generation Anton Mikanovich
2022-02-09 13:54 ` [PATCH 1/7] ubi: Move default output paths to image class Anton Mikanovich
2022-02-09 13:54 ` [PATCH 2/7] ubi: Remove isar-image-ubi Anton Mikanovich
2022-02-09 13:54 ` [PATCH 3/7] ubi: Move tasks reorder into parent task Anton Mikanovich
2022-02-09 13:54 ` [PATCH 4/7] ubi: Split UBI configs for phyboard-mira and imx6-sabrelite Anton Mikanovich
2022-02-09 13:54 ` [PATCH 5/7] conf: Remove machine-specific defines from multiconfig Anton Mikanovich
2022-02-09 13:54 ` [PATCH 6/7] meta-isar: Add linux-phy kernel Anton Mikanovich
2022-02-09 13:54 ` [PATCH 7/7] meta: Add barebox bootloader support Anton Mikanovich
2022-02-09 18:08   ` Jan Kiszka
2022-02-10  7:58     ` Anton Mikanovich
2022-02-10  8:05       ` Jan Kiszka
2022-02-10  8:45         ` Anton Mikanovich
2022-02-10 11:24           ` Jan Kiszka
2022-02-10 14:03             ` Anton Mikanovich
2022-02-10  6:52 ` [PATCH 0/7] Rebuild phyBOARD-Mira UBI image generation Schmidt, Adriaan
2022-02-10  8:12   ` Anton Mikanovich
2022-02-18 16:38   ` Anton Mikanovich
2022-03-31  6:10     ` Schmidt, Adriaan

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