[U-Boot] u-boot <=> kernel compatibility?

Greetings,
is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
Thanks,
Dagg.

On Sat, Nov 04, 2017 at 07:22:06AM +0100, daggs wrote:
Greetings,
is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
There is generally not, but what is your actual error? Thanks!

Hi,
Le 04/11/2017 à 19:37, Tom Rini a écrit :
On Sat, Nov 04, 2017 at 07:22:06AM +0100, daggs wrote:
Greetings, is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
There is generally not, but what is your actual error? Thanks!
I *guess* that the vendor's U-Boot performs some initializations missing from mainline U-Boot but necessary for the vendor's kernel to boot.
Cheers, Chris

Greetings Chris,
Hi,
Le 04/11/2017 à 19:37, Tom Rini a écrit :
On Sat, Nov 04, 2017 at 07:22:06AM +0100, daggs wrote:
Greetings, is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
There is generally not, but what is your actual error? Thanks!
I *guess* that the vendor's U-Boot performs some initializations missing from mainline U-Boot but necessary for the vendor's kernel to boot.
I can confirm that kernel 4.12.x boots with 2017.07. because there is such a big difference between the versions I thought maybe it is a kernel diff. I didn't tried to boot kernel 4.12.x with the vendor's uboot however, I might try it next. thanks for the idea.
Dagg.

Greetings Tom,
Sent: Saturday, November 04, 2017 at 8:37 PM From: "Tom Rini" trini@konsulko.com To: daggs daggs@gmx.com Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] u-boot <=> kernel compatibility?
On Sat, Nov 04, 2017 at 07:22:06AM +0100, daggs wrote:
Greetings,
is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
There is generally not, but what is your actual error? Thanks!
the last print I see is Starting kernel ... using prints I was able to trace the call to armv8_switch_to_el2, if I'm not mistaken, this is a asm code in the kernel I'm trying to boot, am I wrong?
Thanks,
Dagg.

Greetings Tom,
Sent: Saturday, November 04, 2017 at 8:37 PM From: "Tom Rini" trini@konsulko.com To: daggs daggs@gmx.com Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] u-boot <=> kernel compatibility?
On Sat, Nov 04, 2017 at 07:22:06AM +0100, daggs wrote:
Greetings,
is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
There is generally not, but what is your actual error? Thanks!
the last print I see is Starting kernel ... using prints I was able to trace the call to armv8_switch_to_el2, if I'm not mistaken, this is a asm code in the kernel I'm trying to boot, am I wrong?
Thanks,
Dagg.
Tom, am I right in the assumption above?
Dagg.

Hi,
Le 08/11/2017 à 09:11, daggs a écrit :
Greetings Tom,
Sent: Saturday, November 04, 2017 at 8:37 PM From: "Tom Rini" trini@konsulko.com To: daggs daggs@gmx.com Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] u-boot <=> kernel compatibility?
On Sat, Nov 04, 2017 at 07:22:06AM +0100, daggs wrote:
Greetings,
is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
There is generally not, but what is your actual error? Thanks!
the last print I see is Starting kernel ... using prints I was able to trace the call to armv8_switch_to_el2, if I'm not mistaken, this is a asm code in the kernel I'm trying to boot, am I wrong?
Thanks,
Dagg.
Tom, am I right in the assumption above?
Dagg.
I am neither Tom nor a U-Boot expert but *think* "Starting kernel ..." comes from U-Boot, not the kernel.
Cheers, Chris

Greetings Chris,
Sent: Wednesday, November 08, 2017 at 12:21 PM From: "Chris Moore" moore@free.fr To: daggs daggs@gmx.com, "Tom Rini" trini@konsulko.com Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] u-boot <=> kernel compatibility?
Hi,
Le 08/11/2017 à 09:11, daggs a écrit :
Greetings Tom,
Sent: Saturday, November 04, 2017 at 8:37 PM From: "Tom Rini" trini@konsulko.com To: daggs daggs@gmx.com Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] u-boot <=> kernel compatibility?
On Sat, Nov 04, 2017 at 07:22:06AM +0100, daggs wrote:
Greetings,
is there a minimum kernel version limitation on the latest release of u-boot? the reason I'm asking is that I'm unable to boot a arm board with latest u-boot and the vendor's kernel which is based on kernel 3.14.x
There is generally not, but what is your actual error? Thanks!
the last print I see is Starting kernel ... using prints I was able to trace the call to armv8_switch_to_el2, if I'm not mistaken, this is a asm code in the kernel I'm trying to boot, am I wrong?
Thanks,
Dagg.
Tom, am I right in the assumption above?
Dagg.
I am neither Tom nor a U-Boot expert but *think* "Starting kernel ..." comes from U-Boot, not the kernel.
Cheers, Chris
that is correct, the actual print comes from u-boot but after the print u-boot preforms additional code that ends up in calling armv8_switch_to_el2. I assume that armv8_switch_to_el2 is defined in kernel, am I correct?
Thanks,
Dagg.
participants (3)
-
Chris Moore
-
daggs
-
Tom Rini