From: Andrew Abbott <andrew@mirx.dev>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: "Jagan Teki" <jagan@amarulasolutions.com>,
"Johan Jonker" <jbx6244@gmail.com>,
"Simon Glass" <sjg@chromium.org>,
"Samuel Dionne-Riel" <samuel@dionne-riel.com>,
"Peter Robinson" <pbrobinson@gmail.com>,
"Kever Yang" <kever.yang@rock-chips.com>,
"Philipp Tomsich" <philipp.tomsich@vrull.eu>,
"Andrew Abbott" <andrew@mirx.dev>,
"Alper Nebi Yasak" <alpernebiyasak@gmail.com>,
"Andre Przywara" <andre.przywara@arm.com>,
"Bharat Gooty" <bharat.gooty@broadcom.com>,
"Bin Meng" <bmeng.cn@gmail.com>,
"Fabio Estevam" <festevam@denx.de>,
"Heiko Thiery" <heiko.thiery@gmail.com>,
"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
"Klaus Goger" <klaus.goger@theobroma-systems.com>,
"Levin Du" <djw@t-chip.com.cn>,
"Marek Behún" <marek.behun@nic.cz>,
"Marty E. Plummer" <hanetzer@startmail.com>,
"Michal Simek" <michal.simek@amd.com>,
"Philipp Tomsich" <philipp.tomsich@theobroma-systems.com>,
"Quentin Schulz" <quentin.schulz@theobroma-systems.com>,
"Rayagonda Kokatanur" <rayagonda.kokatanur@broadcom.com>,
"Rick Chen" <rick@andestech.com>,
"Sean Anderson" <sean.anderson@seco.com>,
"Suniel Mahesh" <sunil@amarulasolutions.com>
Subject: [RFC PATCH v2 0/8] Build Rockchip final images using binman
Date: Mon, 16 May 2022 21:07:04 +1000 [thread overview]
Message-ID: <20220516110712.178958-1-andrew@mirx.dev> (raw)
My original goal was to produce SPI images for Rockchip platforms (specifically
for me, ROCKPro64, and in the future ROCK64). Looking into it, it seemed nicer
to just switch the SD/MMC image generation over to binman as well in the
process.
This is my attempt to move Rockchip final full image generation to binman,
adding the option to make full SPI images as well.
Other questions:
- I noticed that ATF generation for ARM64 Rockchip is done via a Python script
instead of binman. I don't currently know how to change that over to binman,
but is that something worth pursuing as part of this?
Please give me your feedback!
Changes in v2:
- Revert u-boot-rockchip-sdmmc.bin name to u-boot-rockchip.bin, to
keep the name the same as before.
- Fix whitespace issues.
- Remove note from docs about different offsets in SPI flash for
different SoCs - this was a bad assumption on my part, it doesn't work
this way.
- Update name of SD/MMC image in the docs from u-boot-rockchip-sdmmc.bin
to u-boot-rockchip.bin.
Andrew Abbott (8):
binman: mkimage: Support ':'-separated inputs
rockchip: Add binman definitions for final images
soc: rockchip: Include common U-Boot dtsi file
board: rockchip: Move SPI U-Boot offset to config
rockchip: Remove obsolete Makefile targets
rockchip: Enable binman for ARM64
doc: rockchip: Update for new binman image generation
board: rockpro64: Enable building SPI image
Kconfig | 4 +-
Makefile | 31 ++----------
arch/arm/Kconfig | 2 +-
arch/arm/dts/rk3308-u-boot.dtsi | 2 +
arch/arm/dts/rk3328-u-boot.dtsi | 2 +
arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi | 1 -
arch/arm/dts/rk3368-u-boot.dtsi | 1 +
arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 4 --
arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 1 -
arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 4 --
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 --
arch/arm/dts/rk3568-u-boot.dtsi | 2 +
arch/arm/dts/rockchip-u-boot.dtsi | 53 ++++++++++++++++++--
arch/arm/mach-rockchip/Kconfig | 7 ++-
arch/arm/mach-rockchip/rk3399/Kconfig | 1 +
configs/lion-rk3368_defconfig | 1 +
configs/pinebook-pro-rk3399_defconfig | 1 +
configs/puma-rk3399_defconfig | 2 +-
configs/roc-pc-rk3399_defconfig | 1 +
configs/rockpro64-rk3399_defconfig | 1 +
doc/board/rockchip/rockchip.rst | 29 +++--------
tools/binman/etype/mkimage.py | 33 +++++++-----
22 files changed, 100 insertions(+), 87 deletions(-)
--
2.36.0
next reply other threads:[~2022-05-16 11:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 11:07 Andrew Abbott [this message]
2022-05-16 11:07 ` [RFC PATCH v2 1/8] binman: mkimage: Support ':'-separated inputs Andrew Abbott
2022-05-19 11:36 ` Alper Nebi Yasak
2022-05-22 0:03 ` Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 2/8] rockchip: Add binman definitions for final images Andrew Abbott
2022-05-19 11:36 ` Alper Nebi Yasak
2022-05-22 0:55 ` Andrew Abbott
2022-05-29 16:31 ` Alper Nebi Yasak
2022-05-16 11:07 ` [RFC PATCH v2 3/8] soc: rockchip: Include common U-Boot dtsi file Andrew Abbott
2022-05-19 11:36 ` Alper Nebi Yasak
2022-05-16 11:07 ` [RFC PATCH v2 4/8] board: rockchip: Move SPI U-Boot offset to config Andrew Abbott
2022-05-19 11:36 ` Alper Nebi Yasak
2022-05-16 11:07 ` [RFC PATCH v2 5/8] rockchip: Remove obsolete Makefile targets Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 6/8] rockchip: Enable binman for ARM64 Andrew Abbott
2022-05-19 11:37 ` Alper Nebi Yasak
2022-05-22 1:27 ` Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 7/8] doc: rockchip: Update for new binman image generation Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 8/8] board: rockpro64: Enable building SPI image Andrew Abbott
2022-05-16 15:13 ` [RFC PATCH v2 0/8] Build Rockchip final images using binman Jerome Forissier
2022-05-19 9:59 ` Andrew Abbott
2022-05-19 11:35 ` Alper Nebi Yasak
2022-05-21 23:47 ` Andrew Abbott
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=20220516110712.178958-1-andrew@mirx.dev \
--to=andrew@mirx.dev \
--cc=alpernebiyasak@gmail.com \
--cc=andre.przywara@arm.com \
--cc=bharat.gooty@broadcom.com \
--cc=bmeng.cn@gmail.com \
--cc=djw@t-chip.com.cn \
--cc=festevam@denx.de \
--cc=hanetzer@startmail.com \
--cc=heiko.thiery@gmail.com \
--cc=jagan@amarulasolutions.com \
--cc=jbx6244@gmail.com \
--cc=kever.yang@rock-chips.com \
--cc=klaus.goger@theobroma-systems.com \
--cc=marek.behun@nic.cz \
--cc=michal.simek@amd.com \
--cc=pbrobinson@gmail.com \
--cc=philipp.tomsich@theobroma-systems.com \
--cc=philipp.tomsich@vrull.eu \
--cc=quentin.schulz@theobroma-systems.com \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=rick@andestech.com \
--cc=samuel@dionne-riel.com \
--cc=sean.anderson@seco.com \
--cc=sjg@chromium.org \
--cc=sunil@amarulasolutions.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/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