Re: [PATCH 0/2] tools: mkimage: Add Amlogic Boot Image type

"Ferass El Hafidi" <[email protected]>
Newsgroups io.groups.u-boot-amlogic,org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
Hi Neil,

On Mon Feb 24, 2025 at 7:56 PM UTC, Neil Armstrong via groups.io wrote:
> Jonas, f_,
>
> On 03/01/2025 22:58, Jonas Karlman wrote:
> > Add support for creating an Amlogic Boot Image that pass CHK in BL1 on
> > Amlogic AArch64 SoCs.
> > 
> > The first patch add the new amlimage type. The second patch add a eMMC
> > relocation workaround that can be used to generate a boot image that can
> > be booted from both eMMC and SD-card on GXBB.
> > 
> > The amlimage type and the eMMC relocation workaround is loosely based on
> > my prior work, aml_chksum, a small tool that can write boot image
> > headers with updated offsets and checksums, see [1].
> > 
> > This has been tested booting a very limited U-Boot SPL on boards with
> > e.g. S905, S922X, S905X3 and A311D SoCs.
> > 
> > [1] https://github.com/Kwiboo/u-boot/commit/6d0a17632922077a2e64b13ae1a6bdf0024b718f
>
> Is this serie ready to be taken ? what's missing ?
>

I suppose it is ready, but I'd wait for Jonas' confirmation on this.

> Neil
>
> > 
> > Jonas Karlman (2):
> >    tools: mkimage: Add Amlogic Boot Image type
> >    tools: amlimage: Add support for GXBB eMMC header
> > 
> >   MAINTAINERS                    |   1 +
> >   boot/image.c                   |   1 +
> >   include/image.h                |   1 +
> >   tools/Makefile                 |   1 +
> >   tools/amlimage-gxbb-relocate.c |  79 +++++++++
> >   tools/amlimage.c               | 283 +++++++++++++++++++++++++++++++++
> >   6 files changed, 366 insertions(+)
> >   create mode 100644 tools/amlimage-gxbb-relocate.c
> >   create mode 100644 tools/amlimage.c
> >
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.