Re: [U-Boot] [PATCH] image/FIT: Add ramdisk load, entry address and OS tag inclusion

2012-09-02 Thread Wolfgang Denk
Dear Jagan,

In message <1343462542-1556-2-git-send-email-ja...@techved.org> you wrote:
> From: Jagannadha Sutradharudu Teki <402ja...@gmail.com>
> 
> This patch adds support to include Load, Entry address and OS tag
> of ramdisk on to FIT image through mkimage tool.
> 
> Signed-off-by: Jagannadha Sutradharudu Teki <402ja...@gmail.com>
> ---
>  common/image.c |7 ---
>  1 files changed, 4 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"Spock, did you see the looks on their faces?"
"Yes, Captain, a sort of vacant contentment."
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] image/FIT: Add ramdisk load, entry address and OS tag inclusion

2012-08-02 Thread jagan
Any point to consider this..or we have any solution that may not require
this change?

Regards,
Jagan.

On Sat, Jul 28, 2012 at 1:32 PM, Jagan <402ja...@gmail.com> wrote:

> From: Jagannadha Sutradharudu Teki <402ja...@gmail.com>
>
> This patch adds support to include Load, Entry address and OS tag
> of ramdisk on to FIT image through mkimage tool.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <402ja...@gmail.com>
> ---
>  common/image.c |7 ---
>  1 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/common/image.c b/common/image.c
> index 91954ac..70a112d 100644
> --- a/common/image.c
> +++ b/common/image.c
> @@ -2042,13 +2042,13 @@ void fit_image_print(const void *fit, int
> image_noffset, const char *p)
> printf("%s  Architecture: %s\n", p,
> genimg_get_arch_name(arch));
> }
>
> -   if (type == IH_TYPE_KERNEL) {
> +   if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_RAMDISK)) {
> fit_image_get_os(fit, image_noffset, &os);
> printf("%s  OS:   %s\n", p,
> genimg_get_os_name(os));
> }
>
> if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_STANDALONE) ||
> -   (type == IH_TYPE_FIRMWARE)) {
> +   (type == IH_TYPE_FIRMWARE) || (type == IH_TYPE_RAMDISK)) {
> ret = fit_image_get_load(fit, image_noffset, &load);
> printf("%s  Load Address: ", p);
> if (ret)
> @@ -2057,7 +2057,8 @@ void fit_image_print(const void *fit, int
> image_noffset, const char *p)
> printf("0x%08lx\n", load);
> }
>
> -   if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_STANDALONE)) {
> +   if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_STANDALONE) ||
> +   (type == IH_TYPE_RAMDISK)) {
> fit_image_get_entry(fit, image_noffset, &entry);
> printf("%s  Entry Point:  ", p);
> if (ret)
> --
> 1.7.0.4
>
>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] image/FIT: Add ramdisk load, entry address and OS tag inclusion

2012-07-28 Thread Jagan
From: Jagannadha Sutradharudu Teki <402ja...@gmail.com>

This patch adds support to include Load, Entry address and OS tag
of ramdisk on to FIT image through mkimage tool.

Signed-off-by: Jagannadha Sutradharudu Teki <402ja...@gmail.com>
---
 common/image.c |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/common/image.c b/common/image.c
index 91954ac..70a112d 100644
--- a/common/image.c
+++ b/common/image.c
@@ -2042,13 +2042,13 @@ void fit_image_print(const void *fit, int 
image_noffset, const char *p)
printf("%s  Architecture: %s\n", p, genimg_get_arch_name(arch));
}
 
-   if (type == IH_TYPE_KERNEL) {
+   if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_RAMDISK)) {
fit_image_get_os(fit, image_noffset, &os);
printf("%s  OS:   %s\n", p, genimg_get_os_name(os));
}
 
if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_STANDALONE) ||
-   (type == IH_TYPE_FIRMWARE)) {
+   (type == IH_TYPE_FIRMWARE) || (type == IH_TYPE_RAMDISK)) {
ret = fit_image_get_load(fit, image_noffset, &load);
printf("%s  Load Address: ", p);
if (ret)
@@ -2057,7 +2057,8 @@ void fit_image_print(const void *fit, int image_noffset, 
const char *p)
printf("0x%08lx\n", load);
}
 
-   if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_STANDALONE)) {
+   if ((type == IH_TYPE_KERNEL) || (type == IH_TYPE_STANDALONE) ||
+   (type == IH_TYPE_RAMDISK)) {
fit_image_get_entry(fit, image_noffset, &entry);
printf("%s  Entry Point:  ", p);
if (ret)
-- 
1.7.0.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot