From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 0/7] Rebuild phyBOARD-Mira UBI image generation
Date: Wed, 9 Feb 2022 16:54:04 +0300 [thread overview]
Message-ID: <20220209135411.1313521-1-amikan@ilbers.de> (raw)
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
next reply other threads:[~2022-02-09 13:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 13:54 Anton Mikanovich [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220209135411.1313521-1-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox