All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] u-boot <=> kernel compatibility?
@ 2017-11-04  6:22 daggs
  2017-11-04 18:37 ` Tom Rini
  0 siblings, 1 reply; 8+ messages in thread
From: daggs @ 2017-11-04  6:22 UTC (permalink / raw)
  To: u-boot

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.

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

* [U-Boot] u-boot <=> kernel compatibility?
  2017-11-04  6:22 [U-Boot] u-boot <=> kernel compatibility? daggs
@ 2017-11-04 18:37 ` Tom Rini
  2017-11-05  5:08   ` Chris Moore
  2017-11-05  8:16   ` daggs
  0 siblings, 2 replies; 8+ messages in thread
From: Tom Rini @ 2017-11-04 18:37 UTC (permalink / raw)
  To: u-boot

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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171104/0a49806e/attachment.sig>

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

* [U-Boot] u-boot <=> kernel compatibility?
  2017-11-04 18:37 ` Tom Rini
@ 2017-11-05  5:08   ` Chris Moore
  2017-11-05  8:18     ` daggs
  2017-11-05  8:16   ` daggs
  1 sibling, 1 reply; 8+ messages in thread
From: Chris Moore @ 2017-11-05  5:08 UTC (permalink / raw)
  To: u-boot

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

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

* [U-Boot] u-boot <=> kernel compatibility?
  2017-11-04 18:37 ` Tom Rini
  2017-11-05  5:08   ` Chris Moore
@ 2017-11-05  8:16   ` daggs
  2017-11-08  8:11     ` daggs
  1 sibling, 1 reply; 8+ messages in thread
From: daggs @ 2017-11-05  8:16 UTC (permalink / raw)
  To: u-boot

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 at 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.

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

* [U-Boot] u-boot <=> kernel compatibility?
  2017-11-05  5:08   ` Chris Moore
@ 2017-11-05  8:18     ` daggs
  0 siblings, 0 replies; 8+ messages in thread
From: daggs @ 2017-11-05  8:18 UTC (permalink / raw)
  To: u-boot

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.

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

* [U-Boot] u-boot <=> kernel compatibility?
  2017-11-05  8:16   ` daggs
@ 2017-11-08  8:11     ` daggs
  2017-11-08 10:21       ` Chris Moore
  0 siblings, 1 reply; 8+ messages in thread
From: daggs @ 2017-11-08  8:11 UTC (permalink / raw)
  To: u-boot

> 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 at 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.

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

* [U-Boot] u-boot <=> kernel compatibility?
  2017-11-08  8:11     ` daggs
@ 2017-11-08 10:21       ` Chris Moore
  2017-11-09  9:18         ` daggs
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Moore @ 2017-11-08 10:21 UTC (permalink / raw)
  To: u-boot

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 at 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

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

* [U-Boot] u-boot <=> kernel compatibility?
  2017-11-08 10:21       ` Chris Moore
@ 2017-11-09  9:18         ` daggs
  0 siblings, 0 replies; 8+ messages in thread
From: daggs @ 2017-11-09  9:18 UTC (permalink / raw)
  To: u-boot

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 at 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 at 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.

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

end of thread, other threads:[~2017-11-09  9:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-04  6:22 [U-Boot] u-boot <=> kernel compatibility? daggs
2017-11-04 18:37 ` Tom Rini
2017-11-05  5:08   ` Chris Moore
2017-11-05  8:18     ` daggs
2017-11-05  8:16   ` daggs
2017-11-08  8:11     ` daggs
2017-11-08 10:21       ` Chris Moore
2017-11-09  9:18         ` daggs

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.