[OpenWrt-Devel] [PATCH] wpan-tools: bump to wpan-tools-0.5
Signed-off-by: Varka Bhadram varkabhad...@gmail.com --- package/network/utils/wpan-tools/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/wpan-tools/Makefile b/package/network/utils/wpan-tools/Makefile index 87a5fb1..6c2559d 100644 --- a/package/network/utils/wpan-tools/Makefile +++ b/package/network/utils/wpan-tools/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wpan-tools -PKG_VERSION:=0.4 +PKG_VERSION:=0.5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://wpan.cakelab.org/releases/ -PKG_MD5SUM:=37575523d1543e06b11295f03a891fa7 +PKG_MD5SUM:=6226df405a98c13ec41bf4d1f0777d6b include $(INCLUDE_DIR)/package.mk -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] 6LoWPAN with OpenWRT
Hi Firas, On 07/09/2015 05:52 PM, Firas wrote: I'm using OpenWRT Kernel 3.18, and I haven't found separate support for 6LoWPAN. In this kernel there is only 6LoWPAN over Bluetooth ! 6LoWPAN over IEEE-802.15.4 support available in OpenWRT from the kernel version 4.0 [1] I want to use it with RF Module ! Right now kernel provides the support for the following 802.15.4 devices [2]. Also you can find the details at [3] o AT86RF230 o cc2520 o mrf24j40 o ATUSB module -- Varka Bhadram. [1]: http://git.openwrt.org/?p=openwrt.git;a=blob;f=package/kernel/linux/modules/wpan.mk;h=d4173ca4b1d7d9e51b1b3051d05aa3fe347086dc;hb=HEAD [2]: http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/drivers/net/ieee802154 [3]:http://wpan.cakelab.org http://wpan.cakelab.org/releases/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Openwrt on RB850gx2
On 06/10/2015 04:57 PM, ravin goyal wrote: Hi I need information regarding rb850gx2 which i unable to find online. I am trying to find out whether rb850gx2 supports openwrt platform or not. I checked openwrt website to know about the same but it looks like they have not updated regarding the device yet. Can anybody provide the required information about the device. By seeing [1] openwrt support this target I just did *make menuconfig* to search for this platform. Target System -- Atheros AR7xxx/AR9xxx Subtarget -- Mikrotik devices with NAND flash I hope it will help. [1]:https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c?rev=34239 -- Varka Bhadram ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Openwrt on RB850gx2
On 06/10/2015 05:11 PM, Varka Bhadram wrote: On 06/10/2015 04:57 PM, ravin goyal wrote: Hi I need information regarding rb850gx2 which i unable to find online. I am trying to find out whether rb850gx2 supports openwrt platform or not. I checked openwrt website to know about the same but it looks like they have not updated regarding the device yet. Can anybody provide the required information about the device. By seeing [1] openwrt support this target I just did *make menuconfig* to search for this platform. Target System -- Atheros AR7xxx/AR9xxx Subtarget -- Mikrotik devices with NAND flash I hope it will help. [1]:https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c?rev=34239 I gave you the wrong info. Sorry for the noise -- Varka Bhadram ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Linux 4.x
On 06/10/2015 12:35 PM, Baptiste Clenet wrote: 2015-06-09 6:05 GMT+02:00 Varka Bhadram varkabhad...@gmail.com: On 06/08/2015 07:32 PM, Baptiste Clenet wrote: 2015-06-08 15:23 GMT+02:00 Varka Bhadram varkabhad...@gmail.com: (...) Thanks Varka for your help! It compiles now without those module: - kmod-bluetooth - kmod-bluetooth_6lowpan - kmod-6lowpan - kmod-ieee802154 - kmod-ieee802154-6lowpan - kmod-ieee802154-drivers - kmod-mac802154 - kmod-wpan-at86rf230 - wpan-tools It's basically the same conf as yours. I don't get why those module would make an error since they worked well with Linux 3.18. Here are my tries: - kmod-6lowpan - kmod-ieee802154 - kmod-ieee802154-6lowpan - kmod-ieee802154-drivers Have you added this ? - kmod-mac802154 - kmod-wpan-at86rf230 Yes this packages weren't in OPENWRT Tree. I removed them and use the right ones now. - kmod-wpan-at86rf230 doesn't exist either, perhaps you meant kmod-at86rf230 under Wireless? Yes.. :-) I added: - kmod-at86rf230 - kmod-ieee802154 - kmod-mac802154 - kmod-ipv6 I got the following error: Package kmod-at86rf230 is missing dependencies for the following libraries: regmap-core.ko regmap-spi.ko Try this patch: diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk index 6b07809..412d70e 100644 --- a/package/kernel/linux/modules/wpan.mk +++ b/package/kernel/linux/modules/wpan.mk @@ -71,7 +71,7 @@ $(eval $(call KernelPackage,fakelb)) define KernelPackage/at86rf230 SUBMENU:=$(WPAN_MENU) TITLE:=AT86RF230 transceiver driver - DEPENDS:=+kmod-mac802154 + DEPENDS:=+kmod-mac802154 +kmod-regmap KCONFIG:=CONFIG_IEEE802154_AT86RF230 \ CONFIG_SPI=y \ CONFIG_SPI_MASTER=y @@ -107,7 +107,7 @@ $(eval $(call KernelPackage,cc2520)) define KernelPackage/ieee802154_6lowpan SUBMENU:=$(WPAN_MENU) TITLE:= 6LoWPAN support over IEEE-802.15.4 - DEPENDS:=@LINUX_4_0 +kmod-6lowpan + DEPENDS:=@LINUX_4_0 +kmod-6lowpan +kmod-ieee802154 KCONFIG:=CONFIG_IEEE802154_6LOWPAN FILES:= \ $(LINUX_DIR)/net/ieee802154/6lowpan/ieee802154_6lowpan.ko@ge4.0 \ -- 1.7.9.5 -- Varka Bhadram ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Linux 4.x
On 06/08/2015 07:32 PM, Baptiste Clenet wrote: 2015-06-08 15:23 GMT+02:00 Varka Bhadram varkabhad...@gmail.com: (...) Thanks Varka for your help! It compiles now without those module: - kmod-bluetooth - kmod-bluetooth_6lowpan - kmod-6lowpan - kmod-ieee802154 - kmod-ieee802154-6lowpan - kmod-ieee802154-drivers - kmod-mac802154 - kmod-wpan-at86rf230 - wpan-tools It's basically the same conf as yours. I don't get why those module would make an error since they worked well with Linux 3.18. Here are my tries: - kmod-6lowpan - kmod-ieee802154 - kmod-ieee802154-6lowpan - kmod-ieee802154-drivers Have you added this ? - kmod-mac802154 - kmod-wpan-at86rf230 This also. I don't see these packages in OpenWrt tree. Please use already existing package stuff... All these packages available in Kernel Modules - Wireless Drivers in your menuconfig. - wpan-tools -- ERROR: module '/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/linux-4.0.4/net/ieee802154/af_802154.ko' is missing. - kmod-bluetooth - kmod-bluetooth_6lowpan - kmod-6lowpan - kmod-ieee802154 - kmod-ieee802154-6lowpan - kmod-ieee802154-drivers - kmod-mac802154 - kmod-wpan-at86rf230 - wpan-tools ---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. -- Varka Bhadram ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Linux 4.x
On 06/08/2015 12:54 PM, Baptiste Clenet wrote: 2015-06-07 19:24 GMT+02:00 Baptiste Clenet bapcle...@gmail.com: Le 6 juin 2015 15:40, Roman Yeryomin leroi.li...@gmail.com a écrit : On 6 June 2015 at 09:21, Dirk Neukirchen dirkneukirc...@web.de wrote: On 05.06.2015 16:00, Baptiste Clenet wrote: Hi OpenWRT developers, Is there any plan to port OPENWRT on Linux 4.x? (Or is it already done?) - ar71xx: ar8216/ar8316/ar8xxx driver is broken on 8337N and some unknown router (reported yesterday on IRC) look at [3] if anybody is interested That was me, probably. I'm trying 4.0.4 on several ar71xx routers/APs, mostly Ubiquiti. All have the same problem: http://p.tet.rtu.lv/pbzn5sspm/wvtsep/raw I think the problem is inside ag71xx (ethernet driver) and related to timers and/or interrupts but not sure. Regards, Roman ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel Hi, Thanks for your answer, I'm using the board Ralink MT7628. I've just seen that MT7628 board has Linux 3.18 as default. May I change to Linux 4.0.4 ? Will it work ? I'm going to try tomorrow. Cheers, Baptiste 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 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Linux 4.x
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. I only copied one patch from patches-3.18 to 4.0 to fix one build error. i.e., 0103-MIPS-OWRTDTB.patch Hope it helps. Its just a shoot in the dark for your problem. Test it and update the results. Thanks -- Varka Bhadram ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Linux 4.x
On Jun 8, 2015 6:41 PM, Baptiste Clenet bapcle...@gmail.com wrote: 2015-06-08 14:46 GMT+02:00 Baptiste Clenet bapcle...@gmail.com: 2015-06-08 14:20 GMT+02:00 Varka Bhadram varkabhad...@gmail.com: On 06/08/2015 05:48 PM, Baptiste Clenet wrote: 2015-06-08 14:10 GMT+02:00 Varka Bhadram varkabhad...@gmail.com: On 06/08/2015 05:27 PM, Baptiste Clenet wrote: 2015-06-08 13:49 GMT+02:00 Baptiste Clenet bapcle...@gmail.com: 2015-06-08 10:53 GMT+02:00 Varka Bhadram varkabhad...@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? 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 openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Linux 4.x
On 06/08/2015 05:48 PM, Baptiste Clenet wrote: 2015-06-08 14:10 GMT+02:00 Varka Bhadram varkabhad...@gmail.com: On 06/08/2015 05:27 PM, Baptiste Clenet wrote: 2015-06-08 13:49 GMT+02:00 Baptiste Clenet bapcle...@gmail.com: 2015-06-08 10:53 GMT+02:00 Varka Bhadram varkabhad...@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? I only copied one patch from patches-3.18 to 4.0 to fix one build error. i.e., 0103-MIPS-OWRTDTB.patch 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 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Linux 4.x
On 06/08/2015 05:27 PM, Baptiste Clenet wrote: 2015-06-08 13:49 GMT+02:00 Baptiste Clenet bapcle...@gmail.com: 2015-06-08 10:53 GMT+02:00 Varka Bhadram varkabhad...@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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] wpan: remove duplicate DEPENDS
Signed-off-by: Varka Bhadram var...@cdac.in --- package/kernel/linux/modules/wpan.mk |1 - 1 file changed, 1 deletion(-) diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk index 8b25377..0b1f33a 100644 --- a/package/kernel/linux/modules/wpan.mk +++ b/package/kernel/linux/modules/wpan.mk @@ -110,7 +110,6 @@ define KernelPackage/ieee802154_6lowpan TITLE:= 6LoWPAN support over IEEE-802.15.4 DEPENDS:=@LINUX_4_0 KCONFIG:=CONFIG_IEEE802154_6LOWPAN - DEPENDS:=@LINUX_4_0 FILES:=$(LINUX_DIR)/net/ieee802154/6lowpan/ieee802154_6lowpan.ko AUTOLOAD:=$(call AutoLoad,91,ieee802154_6lowpan) endef -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] linux: modules: crypto: adds ccm package
This patch adds support crypto-ccm modules support. Signed-off-by: Varka Bhadram var...@cdac.in --- package/kernel/linux/modules/crypto.mk | 11 +++ 1 file changed, 11 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 4df2d73..ef5f3a9 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -314,6 +314,17 @@ endef $(eval $(call KernelPackage,crypto-ctr)) +define KernelPackage/crypto-ccm + TITLE:=Support for Counter with CBC MAC (CCM) + DEPENDS:=+kmod-crypto-ctr +kmod-crypto-aead + KCONFIG:=CONFIG_CRYPTO_CCM + FILES:=$(LINUX_DIR)/crypto/ccm.ko + AUTOLOAD:=$(call AutoLoad,09,ccm) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-ccm)) + define KernelPackage/crypto-pcbc TITLE:=Propagating Cipher Block Chaining CryptoAPI module DEPENDS:=+kmod-crypto-manager -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel