[OpenWrt-Devel] Linux 4.x

Varka Bhadram varkabhadram at gmail.com
Mon Jun 8 08:00:49 EDT 2015


On 06/08/2015 05:27 PM, Baptiste Clenet wrote:

> 2015-06-08 13:49 GMT+02:00 Baptiste Clenet <bapclenet at gmail.com>:
>> 2015-06-08 10:53 GMT+02:00 Varka Bhadram <varkabhadram at gmail.com>:
>>> On 06/08/2015 01:36 PM, Baptiste Clenet wrote:
>>>
>>>>>> I've edited variable KERNEL_PATCHVER:=3.18 to KERNEL_PATCHVER:=4.0.4
>>>>>> in target/Linux/ramips/Makefile in order to get Linux 4.0.4 installed
>>>>>
>>>>> Also you need to specify the configuration file for 4.0.4 kernel.
>>>>>
>>>>> just copy the file target/linux/ramips/mt7628/config-3.18 as
>>>>> target/linux/ramips/mt7628/config-4.0
>>>>>
>>>>> I hope it will resolve this error.
>>>>>
>>>>> --
>>>>> Varka Bhadram
>>>>>
>>>> Thanks Varka, I copied the files, I'm trying to make now. On question
>>>> came up, what about patches? There are many patches for Linux 3.18, is
>>>> there any for Linux 4.0? target/linux/ramips/mt7628 only contains a
>>>> folder for 3.18 patches.
>>>
>>> There may be so-many patches merged into 4.0 from patches-3.18 directory..?
>>>
>>> I just created a directory with the name patches-4.0 under
>>> target/linux/ramips/ .
>>>
>>> I think its a bad solution. But the build was successful and able generate
>>> the
>>> binaries in bin/ramips directory. I don't know whether these binaries
>>> working
>>> or not. I don't have hardware to test these binaries.
> Why is it a bad solution?

We may miss few patches which are required by 4.0.

After testing the generated binaries with h/w without any problem
then it will be good.

-- 
Varka Bhadram
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list