Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-05-09 Thread Bin Meng
On Mon, May 9, 2022 at 5:07 PM Alistair Francis  wrote:
>
> On Fri, May 6, 2022 at 11:25 AM Alex Bennée  wrote:
> >
> >
> > Bin Meng  writes:
> >
> > > +more
> > >
> > > On Tue, May 3, 2022 at 11:44 AM Bin Meng  wrote:
> > >>
> > >> On Thu, Apr 28, 2022 at 4:43 PM Bin Meng  wrote:
> > >> >
> > >> > On Fri, Apr 22, 2022 at 11:00 AM Bin Meng  wrote:
> > >> > >
> > >> > > +Richard
> > >> > >
> > >> > > On Wed, Apr 20, 2022 at 4:16 PM Bin Meng  wrote:
> > >> > > >
> > >> > > > On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  
> > >> > > > wrote:
> > >> > > > >
> > >> > > > > On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  
> > >> > > > > wrote:
> > >> > > > > >
> > >> > > > > > From: Bin Meng 
> > >> > > > > >
> > >> > > > > > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
> > >> > > > > >
> > >> > > > > > [1] 
> > >> > > > > > https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
> > >> > > > > >
> > >> > > > > > Signed-off-by: Bin Meng 
> > >> > > > > > ---
> > >> > > > > >
> > >> > > > > > (no changes since v1)
> > >> > > > > >
> > >> > > > > >  hw/core/uboot_image.h | 213 
> > >> > > > > > --
> > >> > > > > >  1 file changed, 142 insertions(+), 71 deletions(-)
> > >> > > > > >
> > >> > > > >
> > >> > > > > Ping?
> > >> > > >
> > >> > > > Ping?
> > >> > >
> > >> > > Richard, is that you to pick up this series?
> > >> > >
> > >> >
> > >> > Ping?
> > >>
> > >> Ping? Can you please indicate who is the right person to pick up this
> > >> series? Thanks.
> > >>
> > >
> > > I pinged several times, but there's radio silence, sigh. Can you
> > > please let me know who is supposed to pick up this series?
> >
> > The only file that includes this is hw/core/loader.c so I would assume
> > that's in Alistair's domain. However it's not well matched by
> > MAINTAINERS and has only seen periodic updates since it's inclusion in
> > 2007.
> >
> > Alistair can you take this and update MAINTAINERS so it doesn't fall
> > through the cracks again?
>
> Thanks!
>
> Applied to riscv-to-apply.next
>
> I'll update MAINTAINERS as well
>

Thank you Alex, Alistair!



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-05-09 Thread Alistair Francis
On Fri, May 6, 2022 at 11:25 AM Alex Bennée  wrote:
>
>
> Bin Meng  writes:
>
> > +more
> >
> > On Tue, May 3, 2022 at 11:44 AM Bin Meng  wrote:
> >>
> >> On Thu, Apr 28, 2022 at 4:43 PM Bin Meng  wrote:
> >> >
> >> > On Fri, Apr 22, 2022 at 11:00 AM Bin Meng  wrote:
> >> > >
> >> > > +Richard
> >> > >
> >> > > On Wed, Apr 20, 2022 at 4:16 PM Bin Meng  wrote:
> >> > > >
> >> > > > On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  wrote:
> >> > > > >
> >> > > > > On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  
> >> > > > > wrote:
> >> > > > > >
> >> > > > > > From: Bin Meng 
> >> > > > > >
> >> > > > > > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
> >> > > > > >
> >> > > > > > [1] 
> >> > > > > > https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
> >> > > > > >
> >> > > > > > Signed-off-by: Bin Meng 
> >> > > > > > ---
> >> > > > > >
> >> > > > > > (no changes since v1)
> >> > > > > >
> >> > > > > >  hw/core/uboot_image.h | 213 
> >> > > > > > --
> >> > > > > >  1 file changed, 142 insertions(+), 71 deletions(-)
> >> > > > > >
> >> > > > >
> >> > > > > Ping?
> >> > > >
> >> > > > Ping?
> >> > >
> >> > > Richard, is that you to pick up this series?
> >> > >
> >> >
> >> > Ping?
> >>
> >> Ping? Can you please indicate who is the right person to pick up this
> >> series? Thanks.
> >>
> >
> > I pinged several times, but there's radio silence, sigh. Can you
> > please let me know who is supposed to pick up this series?
>
> The only file that includes this is hw/core/loader.c so I would assume
> that's in Alistair's domain. However it's not well matched by
> MAINTAINERS and has only seen periodic updates since it's inclusion in
> 2007.
>
> Alistair can you take this and update MAINTAINERS so it doesn't fall
> through the cracks again?

Thanks!

Applied to riscv-to-apply.next

I'll update MAINTAINERS as well

Alistair

>
>
> >
> > Regards,
> > Bin
>
>
> --
> Alex Bennée
>



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-05-06 Thread Alex Bennée


Bin Meng  writes:

> +more
>
> On Tue, May 3, 2022 at 11:44 AM Bin Meng  wrote:
>>
>> On Thu, Apr 28, 2022 at 4:43 PM Bin Meng  wrote:
>> >
>> > On Fri, Apr 22, 2022 at 11:00 AM Bin Meng  wrote:
>> > >
>> > > +Richard
>> > >
>> > > On Wed, Apr 20, 2022 at 4:16 PM Bin Meng  wrote:
>> > > >
>> > > > On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  wrote:
>> > > > >
>> > > > > On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  wrote:
>> > > > > >
>> > > > > > From: Bin Meng 
>> > > > > >
>> > > > > > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
>> > > > > >
>> > > > > > [1] 
>> > > > > > https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
>> > > > > >
>> > > > > > Signed-off-by: Bin Meng 
>> > > > > > ---
>> > > > > >
>> > > > > > (no changes since v1)
>> > > > > >
>> > > > > >  hw/core/uboot_image.h | 213 
>> > > > > > --
>> > > > > >  1 file changed, 142 insertions(+), 71 deletions(-)
>> > > > > >
>> > > > >
>> > > > > Ping?
>> > > >
>> > > > Ping?
>> > >
>> > > Richard, is that you to pick up this series?
>> > >
>> >
>> > Ping?
>>
>> Ping? Can you please indicate who is the right person to pick up this
>> series? Thanks.
>>
>
> I pinged several times, but there's radio silence, sigh. Can you
> please let me know who is supposed to pick up this series?

The only file that includes this is hw/core/loader.c so I would assume
that's in Alistair's domain. However it's not well matched by
MAINTAINERS and has only seen periodic updates since it's inclusion in
2007.

Alistair can you take this and update MAINTAINERS so it doesn't fall
through the cracks again? 


>
> Regards,
> Bin


-- 
Alex Bennée



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-05-06 Thread Bin Meng
+more

On Tue, May 3, 2022 at 11:44 AM Bin Meng  wrote:
>
> On Thu, Apr 28, 2022 at 4:43 PM Bin Meng  wrote:
> >
> > On Fri, Apr 22, 2022 at 11:00 AM Bin Meng  wrote:
> > >
> > > +Richard
> > >
> > > On Wed, Apr 20, 2022 at 4:16 PM Bin Meng  wrote:
> > > >
> > > > On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  wrote:
> > > > >
> > > > > On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  wrote:
> > > > > >
> > > > > > From: Bin Meng 
> > > > > >
> > > > > > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
> > > > > >
> > > > > > [1] 
> > > > > > https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
> > > > > >
> > > > > > Signed-off-by: Bin Meng 
> > > > > > ---
> > > > > >
> > > > > > (no changes since v1)
> > > > > >
> > > > > >  hw/core/uboot_image.h | 213 
> > > > > > --
> > > > > >  1 file changed, 142 insertions(+), 71 deletions(-)
> > > > > >
> > > > >
> > > > > Ping?
> > > >
> > > > Ping?
> > >
> > > Richard, is that you to pick up this series?
> > >
> >
> > Ping?
>
> Ping? Can you please indicate who is the right person to pick up this
> series? Thanks.
>

I pinged several times, but there's radio silence, sigh. Can you
please let me know who is supposed to pick up this series?

Regards,
Bin



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-05-02 Thread Bin Meng
On Thu, Apr 28, 2022 at 4:43 PM Bin Meng  wrote:
>
> On Fri, Apr 22, 2022 at 11:00 AM Bin Meng  wrote:
> >
> > +Richard
> >
> > On Wed, Apr 20, 2022 at 4:16 PM Bin Meng  wrote:
> > >
> > > On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  wrote:
> > > >
> > > > On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  wrote:
> > > > >
> > > > > From: Bin Meng 
> > > > >
> > > > > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
> > > > >
> > > > > [1] 
> > > > > https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
> > > > >
> > > > > Signed-off-by: Bin Meng 
> > > > > ---
> > > > >
> > > > > (no changes since v1)
> > > > >
> > > > >  hw/core/uboot_image.h | 213 
> > > > > --
> > > > >  1 file changed, 142 insertions(+), 71 deletions(-)
> > > > >
> > > >
> > > > Ping?
> > >
> > > Ping?
> >
> > Richard, is that you to pick up this series?
> >
>
> Ping?

Ping? Can you please indicate who is the right person to pick up this
series? Thanks.

Regards,
Bin



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-04-28 Thread Bin Meng
On Fri, Apr 22, 2022 at 11:00 AM Bin Meng  wrote:
>
> +Richard
>
> On Wed, Apr 20, 2022 at 4:16 PM Bin Meng  wrote:
> >
> > On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  wrote:
> > >
> > > On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  wrote:
> > > >
> > > > From: Bin Meng 
> > > >
> > > > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
> > > >
> > > > [1] https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
> > > >
> > > > Signed-off-by: Bin Meng 
> > > > ---
> > > >
> > > > (no changes since v1)
> > > >
> > > >  hw/core/uboot_image.h | 213 --
> > > >  1 file changed, 142 insertions(+), 71 deletions(-)
> > > >
> > >
> > > Ping?
> >
> > Ping?
>
> Richard, is that you to pick up this series?
>

Ping?



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-04-21 Thread Bin Meng
+Richard

On Wed, Apr 20, 2022 at 4:16 PM Bin Meng  wrote:
>
> On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  wrote:
> >
> > On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  wrote:
> > >
> > > From: Bin Meng 
> > >
> > > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
> > >
> > > [1] https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
> > >
> > > Signed-off-by: Bin Meng 
> > > ---
> > >
> > > (no changes since v1)
> > >
> > >  hw/core/uboot_image.h | 213 --
> > >  1 file changed, 142 insertions(+), 71 deletions(-)
> > >
> >
> > Ping?
>
> Ping?

Richard, is that you to pick up this series?

Regards,
Bin



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-04-20 Thread Bin Meng
On Tue, Apr 12, 2022 at 9:11 AM Bin Meng  wrote:
>
> On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  wrote:
> >
> > From: Bin Meng 
> >
> > Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
> >
> > [1] https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
> >
> > Signed-off-by: Bin Meng 
> > ---
> >
> > (no changes since v1)
> >
> >  hw/core/uboot_image.h | 213 --
> >  1 file changed, 142 insertions(+), 71 deletions(-)
> >
>
> Ping?

Ping?



Re: [PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-04-11 Thread Bin Meng
On Thu, Mar 24, 2022 at 9:48 PM Bin Meng  wrote:
>
> From: Bin Meng 
>
> Sync uboot_image.h from upstream U-Boot v2022.01 release [1].
>
> [1] https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h
>
> Signed-off-by: Bin Meng 
> ---
>
> (no changes since v1)
>
>  hw/core/uboot_image.h | 213 --
>  1 file changed, 142 insertions(+), 71 deletions(-)
>

Ping?



[PATCH v2 1/2] hw/core: Sync uboot_image.h from U-Boot v2022.01

2022-03-24 Thread Bin Meng
From: Bin Meng 

Sync uboot_image.h from upstream U-Boot v2022.01 release [1].

[1] https://source.denx.de/u-boot/u-boot/-/blob/v2022.01/include/image.h

Signed-off-by: Bin Meng 
---

(no changes since v1)

 hw/core/uboot_image.h | 213 --
 1 file changed, 142 insertions(+), 71 deletions(-)

diff --git a/hw/core/uboot_image.h b/hw/core/uboot_image.h
index 608022de6e..18ac293359 100644
--- a/hw/core/uboot_image.h
+++ b/hw/core/uboot_image.h
@@ -1,23 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
+ * (C) Copyright 2008 Semihalf
+ *
  * (C) Copyright 2000-2005
  * Wolfgang Denk, DENX Software Engineering, w...@denx.de.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, see .
- *
  
  * NOTE: This header file defines an interface to U-Boot. Including
  * this (unmodified) header file in another file is considered normal
@@ -31,50 +17,83 @@
 
 /*
  * Operating System Codes
+ *
+ * The following are exposed to uImage header.
+ * New IDs *MUST* be appended at the end of the list and *NEVER*
+ * inserted for backward compatibility.
  */
-#define IH_OS_INVALID  0   /* Invalid OS   */
-#define IH_OS_OPENBSD  1   /* OpenBSD  */
-#define IH_OS_NETBSD   2   /* NetBSD   */
-#define IH_OS_FREEBSD  3   /* FreeBSD  */
-#define IH_OS_4_4BSD   4   /* 4.4BSD   */
-#define IH_OS_LINUX5   /* Linux*/
-#define IH_OS_SVR4 6   /* SVR4 */
-#define IH_OS_ESIX 7   /* Esix */
-#define IH_OS_SOLARIS  8   /* Solaris  */
-#define IH_OS_IRIX 9   /* Irix */
-#define IH_OS_SCO  10  /* SCO  */
-#define IH_OS_DELL 11  /* Dell */
-#define IH_OS_NCR  12  /* NCR  */
-#define IH_OS_LYNXOS   13  /* LynxOS   */
-#define IH_OS_VXWORKS  14  /* VxWorks  */
-#define IH_OS_PSOS 15  /* pSOS */
-#define IH_OS_QNX  16  /* QNX  */
-#define IH_OS_U_BOOT   17  /* Firmware */
-#define IH_OS_RTEMS18  /* RTEMS*/
-#define IH_OS_ARTOS19  /* ARTOS*/
-#define IH_OS_UNITY20  /* Unity OS */
+enum {
+   IH_OS_INVALID   = 0,/* Invalid OS   */
+   IH_OS_OPENBSD,  /* OpenBSD  */
+   IH_OS_NETBSD,   /* NetBSD   */
+   IH_OS_FREEBSD,  /* FreeBSD  */
+   IH_OS_4_4BSD,   /* 4.4BSD   */
+   IH_OS_LINUX,/* Linux*/
+   IH_OS_SVR4, /* SVR4 */
+   IH_OS_ESIX, /* Esix */
+   IH_OS_SOLARIS,  /* Solaris  */
+   IH_OS_IRIX, /* Irix */
+   IH_OS_SCO,  /* SCO  */
+   IH_OS_DELL, /* Dell */
+   IH_OS_NCR,  /* NCR  */
+   IH_OS_LYNXOS,   /* LynxOS   */
+   IH_OS_VXWORKS,  /* VxWorks  */
+   IH_OS_PSOS, /* pSOS */
+   IH_OS_QNX,  /* QNX  */
+   IH_OS_U_BOOT,   /* Firmware */
+   IH_OS_RTEMS,/* RTEMS*/
+   IH_OS_ARTOS,/* ARTOS*/
+   IH_OS_UNITY,/* Unity OS */
+   IH_OS_INTEGRITY,/* INTEGRITY*/
+   IH_OS_OSE,  /* OSE  */
+   IH_OS_PLAN9,/* Plan 9   */
+   IH_OS_OPENRTOS, /* OpenRTOS */
+   IH_OS_ARM_TRUSTED_FIRMWARE, /* ARM Trusted Firmware */
+   IH_OS_TEE,  /* Trusted Execution Environment */
+   IH_OS_OPENSBI,  /* RISC-V OpenSBI */
+   IH_OS_EFI,  /* EFI Firmware (e.g. GRUB2) */
+
+   IH_OS_COUNT,
+};
 
 /*
  * CPU Architecture Codes (supported by Linux)
+ *
+ * The following are exposed to uImage header.
+ * New IDs *MUST* be