All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] tools: mkimage: Add Allwinner eGON support
@ 2018-12-22  1:34 Andre Przywara
  2018-12-22  1:34 ` [U-Boot] [PATCH 1/3] tools: mkimage: Add missing names for imx8mimage and loadables Andre Przywara
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Andre Przywara @ 2018-12-22  1:34 UTC (permalink / raw)
  To: u-boot

So far creating a bootable SPL image for Allwinner based boards uses
the mksunxiboot tool. Most other platforms seemed to have integrated this
kind of functionality into the common mkimage tool.

Since there is nothing special about the Allwinner image in this respect,
just add support for the so-called "eGON" image type into mkimage. If there
was a particular reason this hasn't been done before, please let me know.

This will eventually allow us to remove mksunxiboot, but I leave it around
for now in case of regressions and since some people depend on it from
external projects.

Patch 1/3 fixes a small annoyance in mkimage -T list.
Patch 2/3 adds the actually support to mkimage, patch 3/3 then switches
the Makefile to use mkimage instead of mksunxiboot.

I tested all 144 Allwinner boards by building each sunxi-spl.bin and
comparing it against the version created using mksunxiboot (using
SOURCE_DATE_EPOCH and .scmversion to create reproducible builds).
All files before and after were identical.

Cheers,
Andre

Andre Przywara (3):
  tools: mkimage: Add missing names for imx8mimage and loadables
  tools: mkimage: Add Allwinner eGON support
  sunxi: Use mkimage -T sunxi_egon for SPL boot image generation

 common/image.c       |   3 ++
 include/image.h      |   1 +
 scripts/Makefile.spl |   8 +--
 tools/Makefile       |   1 +
 tools/sunxi_egon.c   | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 145 insertions(+), 4 deletions(-)
 create mode 100644 tools/sunxi_egon.c

-- 
2.14.5

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

end of thread, other threads:[~2019-01-11 16:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-22  1:34 [U-Boot] [PATCH 0/3] tools: mkimage: Add Allwinner eGON support Andre Przywara
2018-12-22  1:34 ` [U-Boot] [PATCH 1/3] tools: mkimage: Add missing names for imx8mimage and loadables Andre Przywara
2018-12-29 13:39   ` Simon Glass
2019-01-11  7:04   ` [U-Boot] [linux-sunxi] " Jagan Teki
2018-12-22  1:34 ` [U-Boot] [PATCH 2/3] tools: mkimage: Add Allwinner eGON support Andre Przywara
2018-12-29 13:39   ` Simon Glass
2019-01-11  7:16   ` [U-Boot] [linux-sunxi] " Jagan Teki
2019-01-11 12:24     ` Tom Rini
2019-01-11 16:20       ` Jagan Teki
2018-12-22  1:34 ` [U-Boot] [PATCH 3/3] sunxi: Use mkimage -T sunxi_egon for SPL boot image generation Andre Przywara
2018-12-29 13:39   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.