All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage
@ 2015-12-16  0:32 Marek Vasut
  2015-12-16  0:32 ` [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience Marek Vasut
  2015-12-16  5:38 ` [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage Thomas Chou
  0 siblings, 2 replies; 7+ messages in thread
From: Marek Vasut @ 2015-12-16  0:32 UTC (permalink / raw)
  To: u-boot

The uImage format is legacy for years now, enable support for the
fitImage format, which allows combining multiple files (kernel and
dtb) into a single file, offers better protection of the payload
and so on.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Thomas Chou <thomas@wytron.com.tw>
---
 configs/10m50_defconfig | 1 +
 configs/3c120_defconfig | 1 +
 2 files changed, 2 insertions(+)

V2: Move CONFIG_FIT into Kconfig
    Drop duplicate CONFIG_OF_LIBFDT definition

diff --git a/configs/10m50_defconfig b/configs/10m50_defconfig
index 0d18e8d..c179a0f 100644
--- a/configs/10m50_defconfig
+++ b/configs/10m50_defconfig
@@ -25,3 +25,4 @@ CONFIG_ALTERA_TSE=y
 CONFIG_SYS_NS16550=y
 CONFIG_TIMER=y
 CONFIG_ALTERA_TIMER=y
+CONFIG_FIT=y
diff --git a/configs/3c120_defconfig b/configs/3c120_defconfig
index 8bc13f3..2fdff87 100644
--- a/configs/3c120_defconfig
+++ b/configs/3c120_defconfig
@@ -26,3 +26,4 @@ CONFIG_ALTERA_JTAG_UART=y
 CONFIG_ALTERA_JTAG_UART_BYPASS=y
 CONFIG_TIMER=y
 CONFIG_ALTERA_TIMER=y
+CONFIG_FIT=y
-- 
2.1.4

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

* [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience
  2015-12-16  0:32 [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage Marek Vasut
@ 2015-12-16  0:32 ` Marek Vasut
  2015-12-16  5:39   ` Thomas Chou
  2015-12-16  5:38 ` [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage Thomas Chou
  1 sibling, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2015-12-16  0:32 UTC (permalink / raw)
  To: u-boot

Enable command auto completion and enable $version variable. This makes
working with U-Boot far more enjoyable.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Thomas Chou <thomas@wytron.com.tw>
---
 include/configs/10m50_devboard.h | 2 ++
 include/configs/3c120_devboard.h | 2 ++
 2 files changed, 4 insertions(+)

V2: Drop the default prompt setting

diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h
index 608127f..8dfe2a8 100644
--- a/include/configs/10m50_devboard.h
+++ b/include/configs/10m50_devboard.h
@@ -99,6 +99,8 @@
 					 CONFIG_ENV_SIZE - \
 					 CONFIG_SYS_MALLOC_LEN -	\
 					 0x10000)
+#define CONFIG_VERSION_VARIABLE
+#define CONFIG_AUTO_COMPLETE
 #define CONFIG_CMDLINE_EDITING
 
 #endif /* __CONFIG_H */
diff --git a/include/configs/3c120_devboard.h b/include/configs/3c120_devboard.h
index 6c9dc3f..2e94b69 100644
--- a/include/configs/3c120_devboard.h
+++ b/include/configs/3c120_devboard.h
@@ -102,6 +102,8 @@
 					 CONFIG_ENV_SIZE - \
 					 CONFIG_SYS_MALLOC_LEN -	\
 					 0x10000)
+#define CONFIG_VERSION_VARIABLE
+#define CONFIG_AUTO_COMPLETE
 #define CONFIG_CMDLINE_EDITING
 
 #endif /* __CONFIG_H */
-- 
2.1.4

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

* [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage
  2015-12-16  0:32 [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage Marek Vasut
  2015-12-16  0:32 ` [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience Marek Vasut
@ 2015-12-16  5:38 ` Thomas Chou
  2015-12-16 10:26   ` Marek Vasut
  1 sibling, 1 reply; 7+ messages in thread
From: Thomas Chou @ 2015-12-16  5:38 UTC (permalink / raw)
  To: u-boot

Hi Marek,

On 2015?12?16? 08:32, Marek Vasut wrote:
> The uImage format is legacy for years now, enable support for the
> fitImage format, which allows combining multiple files (kernel and
> dtb) into a single file, offers better protection of the payload
> and so on.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Thomas Chou <thomas@wytron.com.tw>
> ---
>   configs/10m50_defconfig | 1 +
>   configs/3c120_defconfig | 1 +
>   2 files changed, 2 insertions(+)
>
> V2: Move CONFIG_FIT into Kconfig
>      Drop duplicate CONFIG_OF_LIBFDT definition
>
> diff --git a/configs/10m50_defconfig b/configs/10m50_defconfig
> index 0d18e8d..c179a0f 100644
> --- a/configs/10m50_defconfig
> +++ b/configs/10m50_defconfig
> @@ -25,3 +25,4 @@ CONFIG_ALTERA_TSE=y
>   CONFIG_SYS_NS16550=y
>   CONFIG_TIMER=y
>   CONFIG_ALTERA_TIMER=y
> +CONFIG_FIT=y
> diff --git a/configs/3c120_defconfig b/configs/3c120_defconfig
> index 8bc13f3..2fdff87 100644
> --- a/configs/3c120_defconfig
> +++ b/configs/3c120_defconfig
> @@ -26,3 +26,4 @@ CONFIG_ALTERA_JTAG_UART=y
>   CONFIG_ALTERA_JTAG_UART_BYPASS=y
>   CONFIG_TIMER=y
>   CONFIG_ALTERA_TIMER=y
> +CONFIG_FIT=y
>

Amended with savedefconfig and applied to u-boot-nios. Thanks.

Best regards,
Thomas

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

* [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience
  2015-12-16  0:32 ` [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience Marek Vasut
@ 2015-12-16  5:39   ` Thomas Chou
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Chou @ 2015-12-16  5:39 UTC (permalink / raw)
  To: u-boot

Hi Marek,

On 2015?12?16? 08:32, Marek Vasut wrote:
> Enable command auto completion and enable $version variable. This makes
> working with U-Boot far more enjoyable.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Thomas Chou <thomas@wytron.com.tw>
> ---
>   include/configs/10m50_devboard.h | 2 ++
>   include/configs/3c120_devboard.h | 2 ++
>   2 files changed, 4 insertions(+)
>
> V2: Drop the default prompt setting
>
> diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h
> index 608127f..8dfe2a8 100644
> --- a/include/configs/10m50_devboard.h
> +++ b/include/configs/10m50_devboard.h
> @@ -99,6 +99,8 @@
>   					 CONFIG_ENV_SIZE - \
>   					 CONFIG_SYS_MALLOC_LEN -	\
>   					 0x10000)
> +#define CONFIG_VERSION_VARIABLE
> +#define CONFIG_AUTO_COMPLETE
>   #define CONFIG_CMDLINE_EDITING
>
>   #endif /* __CONFIG_H */
> diff --git a/include/configs/3c120_devboard.h b/include/configs/3c120_devboard.h
> index 6c9dc3f..2e94b69 100644
> --- a/include/configs/3c120_devboard.h
> +++ b/include/configs/3c120_devboard.h
> @@ -102,6 +102,8 @@
>   					 CONFIG_ENV_SIZE - \
>   					 CONFIG_SYS_MALLOC_LEN -	\
>   					 0x10000)
> +#define CONFIG_VERSION_VARIABLE
> +#define CONFIG_AUTO_COMPLETE
>   #define CONFIG_CMDLINE_EDITING
>
>   #endif /* __CONFIG_H */
>

Applied to u-boot-nios. Thanks.

Best regards,
Thomas

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

* [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage
  2015-12-16  5:38 ` [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage Thomas Chou
@ 2015-12-16 10:26   ` Marek Vasut
  2015-12-16 13:15     ` Thomas Chou
  0 siblings, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2015-12-16 10:26 UTC (permalink / raw)
  To: u-boot

On Wednesday, December 16, 2015 at 06:38:47 AM, Thomas Chou wrote:
> Hi Marek,
> 
> On 2015?12?16? 08:32, Marek Vasut wrote:
> > The uImage format is legacy for years now, enable support for the
> > fitImage format, which allows combining multiple files (kernel and
> > dtb) into a single file, offers better protection of the payload
> > and so on.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Thomas Chou <thomas@wytron.com.tw>
> > ---
> > 
> >   configs/10m50_defconfig | 1 +
> >   configs/3c120_defconfig | 1 +
> >   2 files changed, 2 insertions(+)
> > 
> > V2: Move CONFIG_FIT into Kconfig
> > 
> >      Drop duplicate CONFIG_OF_LIBFDT definition
> > 
> > diff --git a/configs/10m50_defconfig b/configs/10m50_defconfig
> > index 0d18e8d..c179a0f 100644
> > --- a/configs/10m50_defconfig
> > +++ b/configs/10m50_defconfig
> > @@ -25,3 +25,4 @@ CONFIG_ALTERA_TSE=y
> > 
> >   CONFIG_SYS_NS16550=y
> >   CONFIG_TIMER=y
> >   CONFIG_ALTERA_TIMER=y
> > 
> > +CONFIG_FIT=y
> > diff --git a/configs/3c120_defconfig b/configs/3c120_defconfig
> > index 8bc13f3..2fdff87 100644
> > --- a/configs/3c120_defconfig
> > +++ b/configs/3c120_defconfig
> > @@ -26,3 +26,4 @@ CONFIG_ALTERA_JTAG_UART=y
> > 
> >   CONFIG_ALTERA_JTAG_UART_BYPASS=y
> >   CONFIG_TIMER=y
> >   CONFIG_ALTERA_TIMER=y
> > 
> > +CONFIG_FIT=y
> 
> Amended with savedefconfig and applied to u-boot-nios. Thanks.

Thanks!

How exactly did you regenerate those defconfigs please ? Did you do just
make nnn_config ; make savedefconfig ; cp defconfig configs/nnn_defconfig
?

Best regards,
Marek Vasut

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

* [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage
  2015-12-16 10:26   ` Marek Vasut
@ 2015-12-16 13:15     ` Thomas Chou
  2015-12-16 13:35       ` Marek Vasut
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Chou @ 2015-12-16 13:15 UTC (permalink / raw)
  To: u-boot

Hi Marek,

On 2015?12?16? 18:26, Marek Vasut wrote:
>>> +CONFIG_FIT=y
>>
>> Amended with savedefconfig and applied to u-boot-nios. Thanks.
>
> Thanks!
>
> How exactly did you regenerate those defconfigs please ? Did you do just
> make nnn_config ; make savedefconfig ; cp defconfig configs/nnn_defconfig
> ?

Yes, make nnn_config ; make savedefconfig ; cp defconfig 
configs/nnn_defconfig .

Best regards,
Thomas

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

* [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage
  2015-12-16 13:15     ` Thomas Chou
@ 2015-12-16 13:35       ` Marek Vasut
  0 siblings, 0 replies; 7+ messages in thread
From: Marek Vasut @ 2015-12-16 13:35 UTC (permalink / raw)
  To: u-boot

On Wednesday, December 16, 2015 at 02:15:35 PM, Thomas Chou wrote:
> Hi Marek,

Hi!

> On 2015?12?16? 18:26, Marek Vasut wrote:
> >>> +CONFIG_FIT=y
> >> 
> >> Amended with savedefconfig and applied to u-boot-nios. Thanks.
> > 
> > Thanks!
> > 
> > How exactly did you regenerate those defconfigs please ? Did you do just
> > make nnn_config ; make savedefconfig ; cp defconfig configs/nnn_defconfig
> > ?
> 
> Yes, make nnn_config ; make savedefconfig ; cp defconfig
> configs/nnn_defconfig .

Thanks :)

Best regards,
Marek Vasut

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

end of thread, other threads:[~2015-12-16 13:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-16  0:32 [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage Marek Vasut
2015-12-16  0:32 ` [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience Marek Vasut
2015-12-16  5:39   ` Thomas Chou
2015-12-16  5:38 ` [U-Boot] [PATCH V2 1/2] nios2: Enable support for fitImage Thomas Chou
2015-12-16 10:26   ` Marek Vasut
2015-12-16 13:15     ` Thomas Chou
2015-12-16 13:35       ` Marek Vasut

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.