2015-11-12 23:46:22

by Satay Epic

[permalink] [raw]
Subject: ARM Linux Kernel Update

Hello,

I've an ARM SL3516 board with Linux 2.6.15 and I've tool-chain setup.
I could able to compile the GPL source. This board has red-boot.

I would like to update the kernel to 3.8.24. My first attempt so not
sure about anything I should know, gotchas etc.

Any advice about the compilation , config will be appreciated.

Redboot has option to upgrade kernel. So I guess I can use it once I
get the kernel image compiled.

I tried using the existing ".config" but not sure some SL3512
specific options would work?

Looking at the distribution, I don't see the "mach-sl2312" listed.
Can you just copy it from the old distribution and does it work this
way?

There is this "mach-gemini" but it seems only for some W boards.

Thanks in advance


2015-11-13 01:13:09

by Albino B Neto

[permalink] [raw]
Subject: Re: ARM Linux Kernel Update

2015-11-12 21:46 GMT-02:00 Satay Epic <[email protected]>:
> Hello,
>
> I've an ARM SL3516 board with Linux 2.6.15 and I've tool-chain setup.
> I could able to compile the GPL source. This board has red-boot.
>
> I would like to update the kernel to 3.8.24. My first attempt so not
> sure about anything I should know, gotchas etc.
>
> Any advice about the compilation , config will be appreciated.
>
> Redboot has option to upgrade kernel. So I guess I can use it once I
> get the kernel image compiled.
>
> I tried using the existing ".config" but not sure some SL3512
> specific options would work?
>
> Looking at the distribution, I don't see the "mach-sl2312" listed.
> Can you just copy it from the old distribution and does it work this
> way?
>
> There is this "mach-gemini" but it seems only for some W boards.
>
> Thanks in advance

add mailing linux-arm-kernel.

Albino

2015-11-13 01:07:56

by Satay Epic

[permalink] [raw]
Subject: Re: ARM Linux Kernel Update

Thanks Albino

On Thu, Nov 12, 2015 at 4:43 PM, Albino B Neto <[email protected]> wrote:
> 2015-11-12 21:46 GMT-02:00 Satay Epic <[email protected]>:
>> Hello,
>>
>> I've an ARM SL3516 board with Linux 2.6.15 and I've tool-chain setup.
>> I could able to compile the GPL source. This board has red-boot.
>>
>> I would like to update the kernel to 3.8.24. My first attempt so not
>> sure about anything I should know, gotchas etc.
>>
>> Any advice about the compilation , config will be appreciated.
>>
>> Redboot has option to upgrade kernel. So I guess I can use it once I
>> get the kernel image compiled.
>>
>> I tried using the existing ".config" but not sure some SL3512
>> specific options would work?
>>
>> Looking at the distribution, I don't see the "mach-sl2312" listed.
>> Can you just copy it from the old distribution and does it work this
>> way?
>>
>> There is this "mach-gemini" but it seems only for some W boards.
>>
>> Thanks in advance
>
> add mailing linux-arm-kernel.
>
> Albino

2015-11-13 09:41:08

by Arnd Bergmann

[permalink] [raw]
Subject: Re: ARM Linux Kernel Update

On Thursday 12 November 2015 22:43:53 Albino B Neto wrote:
> 2015-11-12 21:46 GMT-02:00 Satay Epic <[email protected]>:
> > Hello,
> >
> > I've an ARM SL3516 board with Linux 2.6.15 and I've tool-chain setup.
> > I could able to compile the GPL source. This board has red-boot.
> >
> > I would like to update the kernel to 3.8.24. My first attempt so not
> > sure about anything I should know, gotchas etc.
> >
> > Any advice about the compilation , config will be appreciated.

3.8.24 is also really old already, try going to 4.1 or 4.3 right away,
and submit any patches that you might need for integration into
mainline Linux once you are done.

See http://git.openwrt.org/?p=openwrt.git;a=tree;f=target/linux/gemini;h=b74c3d8f0100e2ac8a4d71c4d23c082db2993e63;hb=HEAD

for a tree that has some of the missing parts for gemini, including a
config and some drivers that might be helpful. This is based on 4.1
and should be easy enough to forward-port to 4.3 if you want.

> > I tried using the existing ".config" but not sure some SL3512
> > specific options would work?

Start with the config-4.1 file from openwrt.

> > Looking at the distribution, I don't see the "mach-sl2312" listed.
> > Can you just copy it from the old distribution and does it work this
> > way?
> >
> > There is this "mach-gemini" but it seems only for some W boards.

mach-gemini is what you want.

Arnd

2015-11-14 19:57:25

by Satay Epic

[permalink] [raw]
Subject: Re: ARM Linux Kernel Update

Thanks Arnd. I will try it out.

On Fri, Nov 13, 2015 at 1:40 AM, Arnd Bergmann <[email protected]> wrote:
> On Thursday 12 November 2015 22:43:53 Albino B Neto wrote:
>> 2015-11-12 21:46 GMT-02:00 Satay Epic <[email protected]>:
>> > Hello,
>> >
>> > I've an ARM SL3516 board with Linux 2.6.15 and I've tool-chain setup.
>> > I could able to compile the GPL source. This board has red-boot.
>> >
>> > I would like to update the kernel to 3.8.24. My first attempt so not
>> > sure about anything I should know, gotchas etc.
>> >
>> > Any advice about the compilation , config will be appreciated.
>
> 3.8.24 is also really old already, try going to 4.1 or 4.3 right away,
> and submit any patches that you might need for integration into
> mainline Linux once you are done.
>
> See http://git.openwrt.org/?p=openwrt.git;a=tree;f=target/linux/gemini;h=b74c3d8f0100e2ac8a4d71c4d23c082db2993e63;hb=HEAD
>
> for a tree that has some of the missing parts for gemini, including a
> config and some drivers that might be helpful. This is based on 4.1
> and should be easy enough to forward-port to 4.3 if you want.
>
>> > I tried using the existing ".config" but not sure some SL3512
>> > specific options would work?
>
> Start with the config-4.1 file from openwrt.
>
>> > Looking at the distribution, I don't see the "mach-sl2312" listed.
>> > Can you just copy it from the old distribution and does it work this
>> > way?
>> >
>> > There is this "mach-gemini" but it seems only for some W boards.
>
> mach-gemini is what you want.
>
> Arnd