On Jun 8, 2015 6:41 PM, "Baptiste Clenet" <[email protected]> wrote: > > 2015-06-08 14:46 GMT+02:00 Baptiste Clenet <[email protected]>: > > 2015-06-08 14:20 GMT+02:00 Varka Bhadram <[email protected]>: > >> On 06/08/2015 05:48 PM, Baptiste Clenet wrote: > >>> > >>> 2015-06-08 14:10 GMT+02:00 Varka Bhadram <[email protected]>: > >>>> > >>>> On 06/08/2015 05:27 PM, Baptiste Clenet wrote: > >>>>> > >>>>> 2015-06-08 13:49 GMT+02:00 Baptiste Clenet <[email protected]>: > >>>>>> > >>>>>> 2015-06-08 10:53 GMT+02:00 Varka Bhadram <[email protected]>: > >>>>>>> > >>>>>>> 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? > >>>>> > >>>>>>> I only copied one patch from patches-3.18 to 4.0 to fix one build > >>>>>>> error. > >>>>>>> i.e., 0103-MIPS-OWRTDTB.patch > >>>>>>> > > "/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/MT7628.dtb > DTB marker not found!" > Was it the error? > > I added 'trunk/target/linux/ramips/patches-4.0/0103-MIPS-OWRTDTB.patch' > but it didn't solve the problem. Do I need to tell OPENWRT to use > patches-4.0? > Try make target/linux/{clean,prepare} V=s make
> Baptiste > > >>>>>>> Hope it helps. Its just a shoot in the dark for your problem. > >>>>>>> > >>>>>>> Test it and update the results. > >>>>>>> > >>>>>>> Thanks > >>>>>>> > >>>>>>> -- > >>>>>>> Varka Bhadram > >>>>>>> > >>>>>> Without adding the patch 0103-MIPS-OWRTDTB.patch, I got an error: > >>>>>> > >>>>>> WARNING: kmod-6lowpan-iphc is not available in the kernel config - > >>>>>> generating empty package > >>>>>> > >>>>>> ... > >>>>>> > >>>>>> ERROR: module > >>>>>> > >>>>>> '/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/linux-4.0.4/net/bluetooth/rfcomm/rfcomm.ko' > >>>>>> is missing. > >>>>>> > >>>>>> This is about a package I added in menuconfig but I need them. Those > >>>>>> package worked well while compiling with Linux 3.18. Any idea? > >>>> > >>>> > >>>> What package did you add..? > >>> > >>> I added : > >>> - kmod-bluetooth > >>> - kmod-bluetooth_6lowpan > >>> - kmod-6lowpan > >>> - kmod-ieee802154 > >>> - kmod-ieee802154-6lowpan > >>> - kmod-ieee802154-drivers > >>> - kmod-mac802154 > >>> - kmod-wpan-at86rf230 > >>> - iw > >>> - wpan-tools > >> > >> > >> These are already came into OpenWrt with [1]. > >> > >> [1]: https://lists.openwrt.org/pipermail/openwrt-devel/2015-April/032515.html > >> > >> -- > >> Varka Bhadram > >> > > > > Yes, I saw, I meant by added "set in menuconfig". > > > > You meant that with or without those module, it should work? > > > > Baptiste
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
