* [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86
@ 2017-03-31 6:09 Stefan Roese
2017-04-01 4:23 ` Simon Glass
2017-04-05 2:38 ` Bin Meng
0 siblings, 2 replies; 4+ messages in thread
From: Stefan Roese @ 2017-03-31 6:09 UTC (permalink / raw)
To: u-boot
Checking 'is_zimage' at this time will always fail and therefore booting
a FIT style image will always lead to this error message:
"## Kernel loading failed (missing x86 kernel setup) ..."
This change now removes this check and booting of FIT images works just
fine.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
---
arch/x86/lib/bootm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c
index 3c3d9e1e80..75bab90225 100644
--- a/arch/x86/lib/bootm.c
+++ b/arch/x86/lib/bootm.c
@@ -100,7 +100,7 @@ static int boot_prep_linux(bootm_headers_t *images)
}
is_zimage = 1;
#if defined(CONFIG_FIT)
- } else if (images->fit_uname_os && is_zimage) {
+ } else if (images->fit_uname_os) {
ret = fit_image_get_data(images->fit_hdr_os,
images->fit_noffset_os,
(const void **)&data, &len);
--
2.12.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86
2017-03-31 6:09 [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86 Stefan Roese
@ 2017-04-01 4:23 ` Simon Glass
2017-04-05 2:38 ` Bin Meng
1 sibling, 0 replies; 4+ messages in thread
From: Simon Glass @ 2017-04-01 4:23 UTC (permalink / raw)
To: u-boot
On 31 March 2017 at 00:09, Stefan Roese <sr@denx.de> wrote:
> Checking 'is_zimage' at this time will always fail and therefore booting
> a FIT style image will always lead to this error message:
>
> "## Kernel loading failed (missing x86 kernel setup) ..."
>
> This change now removes this check and booting of FIT images works just
> fine.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> ---
> arch/x86/lib/bootm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86
2017-03-31 6:09 [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86 Stefan Roese
2017-04-01 4:23 ` Simon Glass
@ 2017-04-05 2:38 ` Bin Meng
2017-04-05 4:14 ` Bin Meng
1 sibling, 1 reply; 4+ messages in thread
From: Bin Meng @ 2017-04-05 2:38 UTC (permalink / raw)
To: u-boot
On Fri, Mar 31, 2017 at 2:09 PM, Stefan Roese <sr@denx.de> wrote:
> Checking 'is_zimage' at this time will always fail and therefore booting
> a FIT style image will always lead to this error message:
>
> "## Kernel loading failed (missing x86 kernel setup) ..."
>
> This change now removes this check and booting of FIT images works just
> fine.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> ---
> arch/x86/lib/bootm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86
2017-04-05 2:38 ` Bin Meng
@ 2017-04-05 4:14 ` Bin Meng
0 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2017-04-05 4:14 UTC (permalink / raw)
To: u-boot
On Wed, Apr 5, 2017 at 10:38 AM, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Fri, Mar 31, 2017 at 2:09 PM, Stefan Roese <sr@denx.de> wrote:
>> Checking 'is_zimage' at this time will always fail and therefore booting
>> a FIT style image will always lead to this error message:
>>
>> "## Kernel loading failed (missing x86 kernel setup) ..."
>>
>> This change now removes this check and booting of FIT images works just
>> fine.
>>
>> Signed-off-by: Stefan Roese <sr@denx.de>
>> Cc: Simon Glass <sjg@chromium.org>
>> Cc: Bin Meng <bmeng.cn@gmail.com>
>> ---
>> arch/x86/lib/bootm.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
applied to u-boot-x86, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-04-05 4:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 6:09 [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86 Stefan Roese
2017-04-01 4:23 ` Simon Glass
2017-04-05 2:38 ` Bin Meng
2017-04-05 4:14 ` Bin Meng
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.