Re: [OpenWrt-Devel] Introducing the LEDE project

2016-05-05 Thread Daniel Petre



On 05/05/2016 06:38 PM, Jonathan Bennett wrote:

There is plenty of blame to go around, I think.  Seems like the Lede
guys should have had the decency to at least inform the Openwrt
leadership privately that they were planning this venture.


If i read correctly the feedback from the LEDE guys (and many of the 
people in here) then it seems EVEN THEY did not had any serious real 
feedback since a while ago from the main OpenWrt "headquarters".


So.. what do you do when you ask (probably several times) and do not get 
any answer at all.. ?

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH][CC] Revert "ar71xx: change some TP-link modelnames (WR841, WA701, WA730)"

2016-04-26 Thread Daniel Petre



On 04/26/2016 10:37 AM, kwadronaut wrote:

On 26/04/16 09:28, John Crispin wrote:


i fail to extract from your mail what you are trying to tell us


Common sense: don't change names within a stable release.


Hi, i watched this conversation from the beginning and even if what you 
are saying makes sense the change is actually an improvement.



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] rsync mirror of download.openwrt.org ?

2016-04-12 Thread Daniel Petre

On 04/12/2016 06:33 PM, Jo-Philipp Wich wrote:

Hi Dape,

you need to ask Kaloz to setup rsync access for you I guess.


Not sure i have his e-mail at hand but would be cool if he can white 
list 62.231.75.130 so i can start rsync already and get back tomorrow 
with the url details for the mirror offered.


Thanks!



Regards,
Jo
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] rsync mirror of download.openwrt.org ?

2016-04-12 Thread Daniel Petre

On 04/12/2016 06:13 PM, Jo-Philipp Wich wrote:

Hi Daniel,

the entire downloads.openwrt.org is around 720GB while the 15.05.1
release is 36GB in total.


Thanks for replying. I see i have like 800 GB left on mirrors.linux.ro 
but i can find more space soon. Is there official openwrt mirroring 
instructions or it is just up to me how i download all the files?


Thanks!



Regards,
Jo
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] rsync mirror of download.openwrt.org ?

2016-04-11 Thread Daniel Petre

On 04/12/2016 12:54 AM, Laurent GUERBY wrote:

On Fri, 2016-03-25 at 19:02 +0100, Laurent GUERBY wrote:

On Sat, 2016-03-19 at 15:47 +0100, John Crispin wrote:


On 19/03/2016 14:10, Laurent GUERBY wrote:

Hi,

We've setup a mirror of openwrt on a 10G+ connection IPv4+v6, MPTCP
support using initial rsync from ba.mirror.garr.it :

http://openwrt.tetaneutral.net

But garr.it does not have 15.05.1, is there a way to directly rsync from
downloads.openwrt.org ? Or any other way ? (push would be okay if
needed).

Sincerely

Laurent GUERBY
AS197422 http://tetaneutral.net


i can rsync 15.05.1 to your server if that is ok for you ...


Ok for us :)


What's the space requirement for the whole Chaos Calmer release please? 
I'm interested in setting a mirror too..




Laurent

PS: public key request sent last sunday by mail
(may be lost somewhere ?)


Ping ?

Laurent
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Fwd: [OpenWrt-Commits] r47262 - trunk/target/linux/ar71xx/patches-4.1

2015-10-28 Thread Daniel Petre
Uhm, is there any chance for the wr841n v10 full support by Mr. Matthias 
Schiffer to be back ported to Chaos Calmer? After all it is not a "new device" 
but a subversion of an existing supported equipment..
Thanks!


 Forwarded Message 
Subject: [OpenWrt-Commits] r47262 - trunk/target/linux/ar71xx/patches-4.1
Date: Mon, 26 Oct 2015 10:01:34 +0100
From: openwrt-comm...@openwrt.org
Reply-To: OpenWrt SVN Commits 
To: openwrt-comm...@lists.openwrt.org

Author: blogic
Date: 2015-10-26 10:01:34 +0100 (Mon, 26 Oct 2015)
New Revision: 47262

Modified:
   
trunk/target/linux/ar71xx/patches-4.1/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch
   
trunk/target/linux/ar71xx/patches-4.1/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch
Log:
ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2

ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10.

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.

Signed-off-by: Matthias Schiffer 
Tested-by: Felix Kaechele 

Modified: 
trunk/target/linux/ar71xx/patches-4.1/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch
===
--- 
trunk/target/linux/ar71xx/patches-4.1/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch
  2015-10-26 09:01:28 UTC (rev 47261)
+++ 
trunk/target/linux/ar71xx/patches-4.1/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch
  2015-10-26 09:01:34 UTC (rev 47262)
@@ -413,12 +413,13 @@
  
id = ath79_reset_rr(AR71XX_RESET_REG_REV_ID);
major = id & REV_ID_MAJOR_MASK;
-@@ -152,6 +153,16 @@ static void __init ath79_detect_sys_type
+@@ -152,6 +153,17 @@ static void __init ath79_detect_sys_type
rev = id & AR934X_REV_ID_REVISION_MASK;
break;
  
 +  case REV_ID_MAJOR_QCA9533_V2:
 +  ver = 2;
++  ath79_soc_rev = 2;
 +  /* drop through */
 +
 +  case REV_ID_MAJOR_QCA9533:
@@ -430,15 +431,23 @@
case REV_ID_MAJOR_QCA9556:
ath79_soc = ATH79_SOC_QCA9556;
chip = "9556";
-@@ -170,7 +181,7 @@ static void __init ath79_detect_sys_type
+@@ -168,11 +180,12 @@ static void __init ath79_detect_sys_type
+   panic("ath79: unknown SoC, id:0x%08x", id);
+   }
  
-   ath79_soc_rev = rev;
+-  ath79_soc_rev = rev;
++  if (ver == 1)
++  ath79_soc_rev = rev;
  
 -  if (soc_is_qca955x())
+-  sprintf(ath79_sys_type, "Qualcomm Atheros QCA%s rev %u",
+-  chip, rev);
 +  if (soc_is_qca953x() || soc_is_qca955x())
-   sprintf(ath79_sys_type, "Qualcomm Atheros QCA%s rev %u",
-   chip, rev);
++  sprintf(ath79_sys_type, "Qualcomm Atheros QCA%s ver %u rev %u",
++  chip, ver, rev);
else
+   sprintf(ath79_sys_type, "Atheros AR%s rev %u", chip, rev);
+   pr_info("SoC: %s\n", ath79_sys_type);
 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
 @@ -105,6 +105,21 @@

Modified: 
trunk/target/linux/ar71xx/patches-4.1/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch
===
--- 
trunk/target/linux/ar71xx/patches-4.1/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch
  2015-10-26 09:01:28 UTC (rev 47261)
+++ 
trunk/target/linux/ar71xx/patches-4.1/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch
  2015-10-26 09:01:34 UTC (rev 47262)
@@ -452,7 +452,7 @@
return -ENODEV;
 --- a/arch/mips/ath79/setup.c
 +++ b/arch/mips/ath79/setup.c
-@@ -175,14 +175,29 @@ static void __init ath79_detect_sys_type
+@@ -176,6 +176,18 @@ static void __init ath79_detect_sys_type
rev = id & QCA955X_REV_ID_REVISION_MASK;
break;
  
@@ -471,19 +471,20 @@
default:
panic("ath79: unknown SoC, id:0x%08x", id);
}
+@@ -183,9 +195,12 @@ static void __init ath79_detect_sys_type
+   if (ver == 1)
+   ath79_soc_rev = rev;
  
-   ath79_soc_rev = rev;
- 
 -  if (soc_is_qca953x() || soc_is_qca955x())
--  sprintf(ath79_sys_type, "Qualcomm Atheros QCA%s rev %u",
 +  if (soc_is_qca953x() || soc_is_qca955x() || soc_is_qca9561())
-+  sprintf(ath79_sys_type, "Qualcomm Atheros QCA%s ver %u rev %u",
-+  chip, ver, rev);
+   sprintf(ath79_sys_type, "Qualcomm Atheros QCA%s ver %u rev %u",
+   chip, ver, rev);
 +  else if (soc_is_tp9343())
 +  sprintf(ath79_sys_type, "Qualcomm Atheros TP%s rev %u",
-   chip, rev);
++  chip, rev);
else
sprintf(ath79_sys_type, 

[OpenWrt-Devel] [PATCH][ar71xx] add support for tp-link wr841n v10 image generation

2015-10-07 Thread Daniel Petre
This adds support to generate images for tp-link wr841n v10 which is almost 
identical with tp-link wr841n v9 but with a faster cpu at 650 Mhz. Tested on a 
european version.

Signed-off-by: Daniel Petre <daniel.pe...@posteo.net>

--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -529,6 +529,13 @@ define Device/tl-wr841n-v9
 TPLINK_HWID := 0x08410009
 endef
 
+define Device/tl-wr841n-v10
+$(Device/tplink-4mlzma)
+BOARDNAME := TL-WR841N-v9
+DEVICE_PROFILE := TLWR841
+TPLINK_HWID := 0x08410010
+endef
+
 define Device/tl-wr842n-v2
 $(Device/tplink-8mlzma)
 BOARDNAME := TL-WR842N-v2
@@ -549,7 +556,7 @@ define Device/tl-wr847n-v8
 DEVICE_PROFILE := TLWR841
 TPLINK_HWID := 0x08470008
 endef
-TARGET_DEVICES += tl-wr841n-v8 tl-wr841n-v9 tl-wr842n-v2 tl-wr843nd-v1 
tl-wr847n-v8
+TARGET_DEVICES += tl-wr841n-v8 tl-wr841n-v9 tl-wr841n-v10 tl-wr842n-v2 
tl-wr843nd-v1 tl-wr847n-v8
 
 define Device/tl-wr941nd-v5
 $(Device/tplink-4mlzma)
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Excluding a certain module from a kernel mod packaging ?

2015-09-27 Thread Daniel Petre
On 09/27/2015 12:12 PM, Bastian Bittorf wrote:
> * Daniel Petre <daniel.pe...@posteo.net> [27.09.2015 11:10]:
>> Hey guys,
>> i am wondering what is the easiest way to exclude a certain module from 
>> being packaged?
>> For example i could use pptp from the "nf-nathelper-extra" package but i do 
>> not need the rest:
> 
> this is not supported IMHO, what you can do is:
> 
> copy 'nf-nathelper-extra', make your changed and name it 'mymodules'.
> select 'mymodules' and unselect 'nf-nathelper-extra'.
> 
Thanks! I thought i could also use something like "touch 
files/lib/modules/3.18.21/nf_conntrack_h323.ko" so that the OpenWrt packaging 
would put zero size files in the image (coupled with 
/etc/modules.d/nf-nathelper-extra commenting) but that requires me to pay 
attention to each kernel version change or automate that check somehow..
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Excluding a certain module from a kernel mod packaging ?

2015-09-27 Thread Daniel Petre
Hey guys,
i am wondering what is the easiest way to exclude a certain module from being 
packaged?
For example i could use pptp from the "nf-nathelper-extra" package but i do not 
need the rest:
 - amanda
 - h323
 - mms
 - proto_gre
 - sip
 - snmp_basic
 - broadcast
So i would like to only package the required module and not waste the space on 
a 4 MB flash router
with unused modules..
Thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] nexx wt3020 broken

2015-07-21 Thread Daniel Petre
On 07/21/2015 08:37 AM, John Crispin wrote:
 
 
 On 21/07/2015 07:24, John Crispin wrote:


 On 20/07/2015 22:19, Daniel Petre wrote:
 Hey guys,
 i am wondering why are the nexx wt3020 images being built for CC if they 
 are broken?

 https://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/

 Also can the maintainer of the nexx wt3020 patchset take a look at the 
 issue and solve the device bricking?


 ok, send him an email please and ask him to provide a fixup patch.

  John
 
 https://lists.openwrt.org/pipermail/openwrt-devel/2014-October/028815.html
 
 this is the original submission so you probably want to ping roger

Thanks, i have exchanged e-mails with Mr. Pueyo Centelles but until he has some 
free time
to check things (in august) here are my findings maybe it helps sort this 
problem:

- r43014 trunk works with wt3020 8M.

- r46419 CC does not work, led is dead, no traffic on eth and wifi (i do not 
have serial)

- r46061 trunk works, led blinking, eth and wifi !

I don't think there are any packages missing so maybe it is a kernel or image 
generation thing..?

 
   John
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Improve wifi speed up to 2 times in AP mode.

2015-07-14 Thread Daniel Petre
On 06/28/2015 09:16 PM, N.Leiten wrote:
 Hi.
 
 There's some general problem in hostapd configuration for several devices was 
 observed. In vanilla trunk versions of openwrt I got nearly 40-45Mbit/s speed 
 on Ralink RT5350 based devices and Atheros AR71xx platform (tp-link wr841nd). 
 The problem was in /var/run/hostapd-phy0.conf. It seems it is not enough just 
 set 'wmm_enable=1' to actually enable WME/WMM on interface, it also need all 
 WMM related keys be set. So I just added it with standart definitions from 
 hostapd.conf to /lib/netifd/hostapd.sh.
 
 As a result I got full 100Mbit/s on AR71XX platform and 70-80Mbit on Ralink. 
 I think it is good performance improvement at this moment.
 

Hi, this does not seem to make any difference in CC with a tp-link wdr3600..

 Patch was created against current trunk version.
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for tp-link wr740n v5.0 (EU)

2015-06-18 Thread Daniel Petre
On 06/18/2015 06:54 PM, valent.turko...@gmail.com wrote:
 Daniel thank you!
  Who will add V5 so
 it gets build?

OpenWrt developers of course :)
I tested my little patch, it works.

 
 Cheers,
 Valent.
 
 On 8 June 2015 at 17:47, Daniel Petre daniel.pe...@posteo.net wrote:
 TP-Link ships wr740n v5.0 to Romania (so probably everywhere except
 China) with 4 MB flash and 32 MB memory (confirmed by their local
 support). This patch adds support for the v5.0 clone of v4, i just
 tested it on my own v5.0 router and it works.

 Signed-off-by: Daniel Petre daniel.pe...@posteo.net

 Index: openwrt/target/linux/ar71xx/image/Makefile
 ===
 --- openwrt/target/linux/ar71xx/image/Makefile  (revision 45921)
 +++ openwrt/target/linux/ar71xx/image/Makefile  (working copy)
 @@ -443,6 +443,14 @@
  CONSOLE := ttyATH0,115200
  endef

 +define Device/tl-wr740n-v5
 +$(Device/tplink-4mlzma)
 +BOARDNAME := TL-WR741ND-v4
 +DEVICE_PROFILE := TLWR740
 +TPLINK_HWID := 0x0745
 +CONSOLE := ttyATH0,115200
 +endef
 +
  define Device/tl-wr741nd-v1
  $(Device/tplink-4m)
  BOARDNAME := TL-WR741ND
 @@ -472,7 +480,7 @@
  TPLINK_HWID := 0x07430002
  CONSOLE := ttyATH0,115200
  endef
 -TARGET_DEVICES += tl-wr740n-v4 tl-wr741nd-v1 tl-wr741nd-v2
 tl-wr741nd-v4 tl-wr743nd-v2
 +TARGET_DEVICES += tl-wr740n-v4 tl-wr740n-v5 tl-wr741nd-v1 tl-wr741nd-v2
 tl-wr741nd-v4 tl-wr743nd-v2

  define Device/tl-wr841n-v8
  $(Device/tplink-4mlzma)
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] fsf compliant kernel in OpenWrt trunk?

2015-06-14 Thread Daniel Petre
Apologies to hijack this thread but is there any way the OpenWrt kernel can be 
made fsf compliant? without any binary blobs, like librewrt? Thanks!

On 06/14/2015 02:04 PM, Marc Nicholas wrote:
 Create a directory called “files” in the root of your OpenWRT build 
 environment. Then within that files directory create /etc/firmware/ and copy 
 the firmware binary to this location.
 
 That will integrate the file into the build process and subsequent image.
 
 -m
 
 -- 
 Marc Nicholas
 CTO, Wimoto Technologies Inc.
 Unit 2, 300 Don Park Road, Markham, Ontario L3R 3A1 CANADA
 +1.416.414.6272
 
 On June 14, 2015 at 6:58:49 AM, Alpha Sparc (alphasp...@gmail.com 
 mailto:alphasp...@gmail.com) wrote:
 
 Hi all,

 Do you know how to copy a binary blob into /etc/firmware for a particular 
 router integrate in the build process?
 The target arch is lantiq.

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] adding tp-link wr740n v5.0 support

2015-06-08 Thread Daniel Petre
On 06/07/2015 04:38 AM, Daniel Petre wrote:
 Hello,
 so i just got the v5.0 version of tp-link wr740n and it seems its not a
 2 mb flash and 16 mb ram chinese version like stated in the wiki.

Just got replied by local tp-link (Romania) rep with confirmation that
the european version of v5.0 has 4 MB of flash and 32 MB of ram and I
updated the wiki aswell:

http://wiki.openwrt.org/toh/tp-link/tl-wr740n?#supported_versions

I guess i could open it up and solder serial on it if no one wants or
has time to hint me about the modifications of v4.x openwrt patches for
v5.0 but i would preffer to keep the warranty intact for a while..

 
 Took a look at the download page for the firmware at www.tp-link.ro and
 the firmware looks like a 4 mb flash variant. Here is binwalk of it:
 
 [dani@x220 Downloads]$ binwalk
 wr740nv5_wr741ndv5_en_3_16_9_up_boot\(150312\).bin
 
 DECIMAL   HEXADECIMAL DESCRIPTION
 
 4 0x4 TP-Link firmware header, firmware version:
 3.16.9, image version: ver. 1.0, product ID: 0x745, product
 version: 1, kernel load address: 0x80002000, kernel entry point:
 0x801D74B0, kernel offset: 512, kernel length: 895122, rootfs offset:
 1048576, rootfs length: 2883584, bootloader offset: 0, bootloader
 length: 48518
 14224 0x3790  U-Boot version string, U-Boot 1.1.4 (Mar
 12 2015 - 16:40:24)
 15568 0x3CD0  uImage header, header size: 64 bytes,
 header CRC: 0xA334F831, created: Thu Mar 12 10:40:25 2015, image size:
 33398 bytes, Data Address: 0x8001, Entry Point: 0x8001, data
 CRC: 0xC9CFC8E6, OS: Linux, CPU: MIPS, image type: Firmware Image,
 compression type: lzma, image name: u-boot image
 15632 0x3D10  LZMA compressed data, properties: 0x5D,
 dictionary size: 33554432 bytes, uncompressed size: 95708 bytes
 1315880x20204 TP-Link firmware header, firmware version:
 3.16.9, image version: ver. 1.0, product ID: 0x745, product
 version: 1, kernel load address: 0x80002000, kernel entry point:
 0x801D74B0, kernel offset: 512, kernel length: 895122, rootfs offset:
 1048576, rootfs length: 2883584, bootloader offset: 0, bootloader length: 0
 1320960x20400 LZMA compressed data, properties: 0x5D,
 dictionary size: 33554432 bytes, uncompressed size: 2589532 bytes
 1180160   0x120200Squashfs filesystem, little endian,
 version 4.0, compression:lzma, size: 2344073 bytes,  566 inodes,
 blocksize: 131072 bytes, created: Thu Mar 12 10:48:34 2015
 
 uncompressing the root shows the following 2.6.31 specific atheros
 kernel modules: ag7240_mod.ko, ath_rate_atheros.ko
 
 My question to the list is: would i manage to produce a valid firmware
 if i just replicate the patches from
 https://dev.openwrt.org/attachment/ticket/10492/tl-wr740n-v4.support.final.patch
 but with v5 related details added?
 
 Thanks!
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ar71xx: add support for tp-link wr740n v5.0 (EU)

2015-06-08 Thread Daniel Petre
TP-Link ships wr740n v5.0 to Romania (so probably everywhere except
China) with 4 MB flash and 32 MB memory (confirmed by their local
support). This patch adds support for the v5.0 clone of v4, i just
tested it on my own v5.0 router and it works.

Signed-off-by: Daniel Petre daniel.pe...@posteo.net

Index: openwrt/target/linux/ar71xx/image/Makefile
===
--- openwrt/target/linux/ar71xx/image/Makefile  (revision 45921)
+++ openwrt/target/linux/ar71xx/image/Makefile  (working copy)
@@ -443,6 +443,14 @@
 CONSOLE := ttyATH0,115200
 endef

+define Device/tl-wr740n-v5
+$(Device/tplink-4mlzma)
+BOARDNAME := TL-WR741ND-v4
+DEVICE_PROFILE := TLWR740
+TPLINK_HWID := 0x0745
+CONSOLE := ttyATH0,115200
+endef
+
 define Device/tl-wr741nd-v1
 $(Device/tplink-4m)
 BOARDNAME := TL-WR741ND
@@ -472,7 +480,7 @@
 TPLINK_HWID := 0x07430002
 CONSOLE := ttyATH0,115200
 endef
-TARGET_DEVICES += tl-wr740n-v4 tl-wr741nd-v1 tl-wr741nd-v2
tl-wr741nd-v4 tl-wr743nd-v2
+TARGET_DEVICES += tl-wr740n-v4 tl-wr740n-v5 tl-wr741nd-v1 tl-wr741nd-v2
tl-wr741nd-v4 tl-wr743nd-v2

 define Device/tl-wr841n-v8
 $(Device/tplink-4mlzma)
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] adding tp-link wr740n v5.0 support

2015-06-06 Thread Daniel Petre
Hello,
so i just got the v5.0 version of tp-link wr740n and it seems its not a
2 mb flash and 16 mb ram chinese version like stated in the wiki.

Took a look at the download page for the firmware at www.tp-link.ro and
the firmware looks like a 4 mb flash variant. Here is binwalk of it:

[dani@x220 Downloads]$ binwalk
wr740nv5_wr741ndv5_en_3_16_9_up_boot\(150312\).bin

DECIMAL   HEXADECIMAL DESCRIPTION

4 0x4 TP-Link firmware header, firmware version:
3.16.9, image version: ver. 1.0, product ID: 0x745, product
version: 1, kernel load address: 0x80002000, kernel entry point:
0x801D74B0, kernel offset: 512, kernel length: 895122, rootfs offset:
1048576, rootfs length: 2883584, bootloader offset: 0, bootloader
length: 48518
14224 0x3790  U-Boot version string, U-Boot 1.1.4 (Mar
12 2015 - 16:40:24)
15568 0x3CD0  uImage header, header size: 64 bytes,
header CRC: 0xA334F831, created: Thu Mar 12 10:40:25 2015, image size:
33398 bytes, Data Address: 0x8001, Entry Point: 0x8001, data
CRC: 0xC9CFC8E6, OS: Linux, CPU: MIPS, image type: Firmware Image,
compression type: lzma, image name: u-boot image
15632 0x3D10  LZMA compressed data, properties: 0x5D,
dictionary size: 33554432 bytes, uncompressed size: 95708 bytes
1315880x20204 TP-Link firmware header, firmware version:
3.16.9, image version: ver. 1.0, product ID: 0x745, product
version: 1, kernel load address: 0x80002000, kernel entry point:
0x801D74B0, kernel offset: 512, kernel length: 895122, rootfs offset:
1048576, rootfs length: 2883584, bootloader offset: 0, bootloader length: 0
1320960x20400 LZMA compressed data, properties: 0x5D,
dictionary size: 33554432 bytes, uncompressed size: 2589532 bytes
1180160   0x120200Squashfs filesystem, little endian,
version 4.0, compression:lzma, size: 2344073 bytes,  566 inodes,
blocksize: 131072 bytes, created: Thu Mar 12 10:48:34 2015

uncompressing the root shows the following 2.6.31 specific atheros
kernel modules: ag7240_mod.ko, ath_rate_atheros.ko

My question to the list is: would i manage to produce a valid firmware
if i just replicate the patches from
https://dev.openwrt.org/attachment/ticket/10492/tl-wr740n-v4.support.final.patch
but with v5 related details added?

Thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Designated Driver

2015-04-07 Thread Daniel Petre

+1

On 08/04/15 00:09, Bruno Randolf wrote:

+1

On 04/07/2015 08:47 PM, Hartmut Knaack wrote:

That Doodle poll turned out to be spamed/trolled, and everyone could even
change or delete other votes. Since this was just communicated over this
mailing list, and subscribers are at least basically verified, why not have a
good old fashioned poll?

Give your +1 answer on this mail if you prefer Designated Driver.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] ar71xx update to v3.18

2015-02-15 Thread Daniel Petre

On 15/02/15 21:49, John Crispin wrote:

Hi,

i just pushed the v3.18 support for ar71xx. i have tested this on
carambola2, unifi and wndr4300. the default is still at 3.14. please
start testing on more hardware.

to do so you need to set the kernel to 3.18 in
target/linux/ar71xx/Makefile as the default is still at 3.14.


Thank you, i can test tomorrow on tp-link mr3420 and tp-link wr703n.
Except what i am reading at:
http://kernelnewbies.org/Linux_3.18
are there any extra big advantages for OpenWrt since 3.14 ?



902-unaligned_access_hacks.patch was rebased, however there might be new
places in the stack that need the hack applied. testing for this is also
welcome.

John
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ar71xx: Add support for TP-Link MR12U v1 board

2015-02-11 Thread Daniel Petre
This patch adds support for the TL-MR12U board.

Signed-off-by: Daniel Petre daniel.pe...@gmail.com

Index: trunk/tools/firmware-utils/src/mktplinkfw.c
===
--- trunk/tools/firmware-utils/src/mktplinkfw.c (revision 44381)
+++ trunk/tools/firmware-utils/src/mktplinkfw.c (working copy)
@@ -33,6 +33,7 @@
 #define HWID_GL_INET_V10x0801
 #define HWID_GS_OOLITE_V1  0x3C000101
 #define HWID_TL_MR10U_V1   0x00100101
+#define HWID_TL_MR12U_V1   0x00120101
 #define HWID_TL_MR13U_V1   0x00130101
 #define HWID_TL_MR3020_V1  0x3021
 #define HWID_TL_MR3220_V1  0x3221
@@ -220,6 +221,11 @@
.hw_rev = 1,
.layout_id  = 4Mlzma,
}, {
+   .id = TL-MR12Uv1,
+   .hw_id  = HWID_TL_MR12U_V1,
+   .hw_rev = 1,
+   .layout_id  = 4Mlzma,
+   }, {
.id = TL-MR13Uv1,
.hw_id  = HWID_TL_MR13U_V1,
.hw_rev = 1,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][v2] ar71xx: Add profile and build image for TP-Link MR12U v1

2015-02-11 Thread Daniel Petre
This patch adds corrected profile and build image for the TL-MR12U board.

Unfortunately i cannot test the factory image since i can't find anywhere 
the original chinese firmware but 
the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin
worked just fine over a modified mr3040 factory image i managed to modify
to initially flash the mr12u from the original firmware.

Proper kernel support probably should be added since cat /proc/cpuinfo shows
MR13U.

Signed-off-by: Daniel Petre daniel.pe...@gmail.com

Index: target/linux/ar71xx/image/Makefile
===
--- trunk/target/linux/ar71xx/image/Makefile(revision 44407)
+++ trunk/target/linux/ar71xx/image/Makefile(working copy)
@@ -1386,6 +1386,7 @@
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR10U,tl-mr10u-v1,TL-MR10U,ttyATH0,115200,0x00100101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV1,tl-mr11u-v1,TL-MR11U,ttyATH0,115200,0x00110101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV2,tl-mr11u-v2,TL-MR11U,ttyATH0,115200,0x00110102,1,4Mlzma))
+$(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR12U,tl-mr12u-v1,TL-MR13U,ttyATH0,115200,0x00120101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR13U,tl-mr13u-v1,TL-MR13U,ttyATH0,115200,0x00130101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR3020,tl-mr3020-v1,TL-MR3020,ttyATH0,115200,0x3021,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR3040V1,tl-mr3040-v1,TL-MR3040,ttyATH0,115200,0x3041,1,4Mlzma))

Index: trunk/target/linux/ar71xx/generic/profiles/tp-link.mk
===
--- trunk/target/linux/ar71xx/generic/profiles/tp-link.mk   (revision 44393)
+++ trunk/target/linux/ar71xx/generic/profiles/tp-link.mk   (working copy)
@@ -48,7 +48,17 @@
 endef
 $(eval $(call Profile,TLMR11U))
 
+define Profile/TLMR12U
+   NAME:=TP-LINK TL-MR12U
+   PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
 
+define Profile/TLMR12U/Description
+   Package set optimized for the TP-LINK TL-MR12U.
+endef
+
+$(eval $(call Profile,TLMR12U))
+
 define Profile/TLMR13U
NAME:=TP-LINK TL-MR13U
PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ar71xx: Add user-space support for TP-Link MR12U v1

2015-02-11 Thread Daniel Petre
This patch adds user-space support for the TL-MR12U board based on the mr13u 
patches.

Signed-off-by: Daniel Petre daniel.pe...@gmail.com

Index: trunk/target/linux/ar71xx/base-files/etc/diag.sh
===
--- trunk/target/linux/ar71xx/base-files/etc/diag.sh(revision 44381)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh(working copy)
@@ -237,6 +237,7 @@
archer-c7 | \
tl-wdr4900-v2 | \
tl-mr10u | \
+   tl-mr12u | \
tl-mr13u | \
tl-wdr4300 | \
tl-wr703n | \

Index: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
===
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
(revision 44381)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
(working copy)
@@ -319,6 +319,7 @@
 rb-sxt5n |\
 tl-mr10u |\
 tl-mr11u |\
+tl-mr12u |\
 tl-mr13u |\
 tl-mr3020 |\
 tl-mr3040 |\

Index: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
===
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
(revision 44381)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
(working copy)
@@ -302,6 +302,7 @@
smart-300 | \
tl-mr10u | \
tl-mr11u | \
+   tl-mr12u | \
tl-mr13u | \
tl-mr3020 | \
tl-mr3040 | \
Index: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  (revision 44381)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  (working copy)
@@ -180,6 +180,9 @@
001101*)
model=TP-Link TL-MR11U
;;
+   001201*)
+   model=TP-Link TL-MR12U
+   ;;
001301*)
model=TP-Link TL-MR13U
;;
@@ -726,6 +729,9 @@
*TL-MR11U)
name=tl-mr11u
;;
+   *TL-MR12U)
+   name=tl-mr12u
+   ;;
*TL-MR13U)
name=tl-mr13u
;;
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ar71xx: Add profile and build image for TP-Link MR12U v1

2015-02-11 Thread Daniel Petre
This patch adds profile and build image for the TL-MR12U board.

Unfortunately i cannot test the factory image since i can't find anywhere 
the original chinese firmware but 
the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin
worked just fine over a modified mr3040 factory image i managed to modify
to initially flash the mr12u from the original firmware.

Proper kernel support probably should be added since cat /proc/cpuinfo shows
MR13U.

Signed-off-by: Daniel Petre daniel.pe...@gmail.com

Index: trunk/target/linux/ar71xx/image/Makefile
===
--- trunk/target/linux/ar71xx/image/Makefile(revision 44381)
+++ trunk/target/linux/ar71xx/image/Makefile(working copy)
@@ -1386,6 +1386,7 @@
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR10U,tl-mr10u-v1,TL-MR10U,ttyATH0,115200,0x00100101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV1,tl-mr11u-v1,TL-MR11U,ttyATH0,115200,0x00110101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV2,tl-mr11u-v2,TL-MR11U,ttyATH0,115200,0x00110102,1,4Mlzma))
+$(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR12U,tl-mr12u-v1,TL-MR12U,ttyATH0,115200,0x00120101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR13U,tl-mr13u-v1,TL-MR13U,ttyATH0,115200,0x00130101,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR3020,tl-mr3020-v1,TL-MR3020,ttyATH0,115200,0x3021,1,4Mlzma))
 $(eval $(call 
SingleProfile,TPLINK-LZMA,64kraw,TLMR3040V1,tl-mr3040-v1,TL-MR3040,ttyATH0,115200,0x3041,1,4Mlzma))

Index: trunk/target/linux/ar71xx/generic/profiles/tp-link.mk
===
--- trunk/target/linux/ar71xx/generic/profiles/tp-link.mk   (revision 44393)
+++ trunk/target/linux/ar71xx/generic/profiles/tp-link.mk   (working copy)
@@ -48,7 +48,17 @@
 endef
 $(eval $(call Profile,TLMR11U))
 
+define Profile/TLMR12U
+   NAME:=TP-LINK TL-MR12U
+   PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
 
+define Profile/TLMR12U/Description
+   Package set optimized for the TP-LINK TL-MR12U.
+endef
+
+$(eval $(call Profile,TLMR12U))
+
 define Profile/TLMR13U
NAME:=TP-LINK TL-MR13U
PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

2015-02-11 Thread Daniel Petre

On 11/02/15 15:32, 郭传鈜 wrote:

You don't need to copy the mach file and kernel patch again if the
firmware of mr13u works fine on mr12u.
Just use the following line in target/linux/ar71xx/image/Makefile:
$(eval $(call
SingleProfile,TPLINK-LZMA,64kraw,TLMR12U,tl-mr12u-v1,TL-MR13U,ttyATH0,115200,0x00120101,1,4Mlzma))


Thanks a lot, that worked!



2015-02-11 21:17 GMT+08:00 Daniel Petre daniel.pe...@gmail.com
mailto:daniel.pe...@gmail.com:

Hello awesome hackers,
i am trying to patch support for tp-link mr12u in trunk by
duplicating mr13u files with the proper changes specific to mr12u
but i am failing at kernel patching with:

make[3]: Entering directory '/home/dani/chaos_calmer/__target/linux'
make[4]: Entering directory
'/home/dani/chaos_calmer/__target/linux/ar71xx'
if [ -s

/home/dani/chaos_calmer/__build_dir/target-mips_34kc___uClibc-0.9.33.2/linux-ar71xx___generic/linux-3.14.32/patches/__series
]; then (cd

/home/dani/chaos_calmer/__build_dir/target-mips_34kc___uClibc-0.9.33.2/linux-ar71xx___generic/linux-3.14.32;
if quilt --quiltrc=- next /dev/null 21; then quilt --quiltrc=-
push -a; else quilt --quiltrc=- top /dev/null 21; fi ); fi
Applying patch platform/610-MIPS-ath79-__openwrt-machines.patch
patching file arch/mips/ath79/machtypes.h
patch:  malformed patch at line 192:  #endif /* _ATH79_MACHTYPE_H */

Patch platform/610-MIPS-ath79-__openwrt-machines.patch does not
apply (enforce with -f)
Makefile:24: recipe for target

'/home/dani/chaos_calmer/__build_dir/target-mips_34kc___uClibc-0.9.33.2/linux-ar71xx___generic/linux-3.14.32/.quilt___checked'
failed
make[4]: ***

[/home/dani/chaos_calmer/__build_dir/target-mips_34kc___uClibc-0.9.33.2/linux-ar71xx___generic/linux-3.14.32/.quilt___checked]
Error 1
make[4]: Leaving directory
'/home/dani/chaos_calmer/__target/linux/ar71xx'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/dani/chaos_calmer/__target/linux'
target/Makefile:21: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/dani/chaos_calmer'
target/Makefile:16: recipe for target

'/home/dani/chaos_calmer/__staging_dir/target-mips_34kc___uClibc-0.9.33.2/stamp/.target___compile'
failed
make[1]: ***

[/home/dani/chaos_calmer/__staging_dir/target-mips_34kc___uClibc-0.9.33.2/stamp/.target___compile]
Error 2
make[1]: Leaving directory '/home/dani/chaos_calmer'
/home/dani/chaos_calmer/__include/toplevel.mk:179
http://toplevel.mk:179: recipe for target 'world' failed
make: *** [world] Error 2

May i ask for review of my ugly hacked patches please? They are at:
http://codepad.org/vQbjmyrk

Thanks!
_
openwrt-devel mailing list
openwrt-devel@lists.openwrt.__org
mailto:openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-__bin/mailman/listinfo/openwrt-__devel
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

2015-02-11 Thread Daniel Petre

Hello awesome hackers,
i am trying to patch support for tp-link mr12u in trunk by duplicating 
mr13u files with the proper changes specific to mr12u but i am failing 
at kernel patching with:


make[3]: Entering directory '/home/dani/chaos_calmer/target/linux'
make[4]: Entering directory '/home/dani/chaos_calmer/target/linux/ar71xx'
if [ -s 
/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/patches/series 
]; then (cd 
/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32; 
if quilt --quiltrc=- next /dev/null 21; then quilt --quiltrc=- push 
-a; else quilt --quiltrc=- top /dev/null 21; fi ); fi

Applying patch platform/610-MIPS-ath79-openwrt-machines.patch
patching file arch/mips/ath79/machtypes.h
patch:  malformed patch at line 192:  #endif /* _ATH79_MACHTYPE_H */

Patch platform/610-MIPS-ath79-openwrt-machines.patch does not apply 
(enforce with -f)
Makefile:24: recipe for target 
'/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/.quilt_checked' 
failed
make[4]: *** 
[/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/.quilt_checked] 
Error 1

make[4]: Leaving directory '/home/dani/chaos_calmer/target/linux/ar71xx'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/dani/chaos_calmer/target/linux'
target/Makefile:21: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/dani/chaos_calmer'
target/Makefile:16: recipe for target 
'/home/dani/chaos_calmer/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.target_compile' 
failed
make[1]: *** 
[/home/dani/chaos_calmer/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.target_compile] 
Error 2

make[1]: Leaving directory '/home/dani/chaos_calmer'
/home/dani/chaos_calmer/include/toplevel.mk:179: recipe for target 
'world' failed

make: *** [world] Error 2

May i ask for review of my ugly hacked patches please? They are at:
http://codepad.org/vQbjmyrk

Thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)

2014-10-26 Thread Daniel Petre

On 26/10/14 21:00, Rafał Miłecki wrote:

On 24 October 2014 23:05, Daniel Petre daniel.pe...@gmail.com wrote:

On 24/10/14 23:41, Felix Fietkau wrote:


On 2014-10-24 22:36, Bastian Bittorf wrote:


All platforms which are using 3.10.x at the moment are upgraded.

Changelogs:
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58

Signed-off-by: Bastian Bittorf bitt...@bluebottle.com


Committed in r43049, thanks.



Good evening, is it too much to ask for a BB refresh too? Thanks!


I've backported KERNEL_PATCHVER changes:
https://dev.openwrt.org/changeset/43066/
https://dev.openwrt.org/changeset/43067/

Daniel: will you send a patch bumping the kernel?


I was hoping developers would just adapt Bastian's patch for BB branch..




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)

2014-10-24 Thread Daniel Petre



On 24/10/14 23:41, Felix Fietkau wrote:

On 2014-10-24 22:36, Bastian Bittorf wrote:

All platforms which are using 3.10.x at the moment are upgraded.

Changelogs:
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58

Signed-off-by: Bastian Bittorf bitt...@bluebottle.com

Committed in r43049, thanks.


Good evening, is it too much to ask for a BB refresh too? Thanks!



- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] mpcC85xx

2014-10-22 Thread Daniel Petre

On 22/10/14 11:33, Klaus Maus wrote:

Hi,

I am about to buy a TP-Link WDR4900 because of its powerful NAT
throughput (https://forum.openwrt.org/viewtopic.php?pid=244167#p244167)

Some say that this router with his rather uncommon platform mpcC85xx has
been abandoned. I'm not sure about this.



I built Barrier Breaker, r42961 for mine and with NAT it peaks at 415 
Mbit/s WAN - LAN with PPPoE.



Could you clarify the state of the future support this router or SoC
will have from your team? I won't buy it if it doesn't participate in
further development of OpenWrt.

Thank you in advance.

Klaus

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] mpc85xx: use wpad-mini in WDR4900 profile instead of wpad

2014-10-14 Thread Daniel Petre

On 14/10/14 13:32, John Crispin wrote:

applied in r42896, sorry about that ...



If it's not much trouble maybe BB branch too? I just got my wdr4900 
today ;-)




On 14/10/2014 10:02, Philipp Borgers wrote:

Someone accepted the patch in patchwork [1] but as far as I can see nobody
applied the patch. Could someone with the appropriate priveleges apply the patch
please?

Thanks a lot

Philipp

On Wed, Aug 06, 2014 at 02:09:09PM +0200, Philipp Borgers wrote:

This change makes the profile of WDR4900 more consistent with other router
specific profiles.

Signed-off-by: Philipp Borgers borg...@mi.fu-berlin.de
---
  target/linux/mpc85xx/profiles/tp-link.mk | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mpc85xx/profiles/tp-link.mk 
b/target/linux/mpc85xx/profiles/tp-link.mk
index abab0f0..47ddacd 100644
--- a/target/linux/mpc85xx/profiles/tp-link.mk
+++ b/target/linux/mpc85xx/profiles/tp-link.mk
@@ -9,7 +9,7 @@ define Profile/TLWDR4900
NAME:=TP-Link TL-WDR4900
PACKAGES:=\
kmod-usb-core kmod-usb2 kmod-usb2-fsl \
-   kmod-ath9k wpad
+   kmod-ath9k wpad-mini
  endef

  define Profile/TLWDR4900/Description
--
2.0.1


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] tp-link mr12u !

2014-10-02 Thread Daniel Petre

Hello,
just got this mini router and it's so small and neat!
Unfortunately it seems i cannot generate images with it using BB but 
people on the forum say it's similar to the tp-link mr3040:

https://forum.openwrt.org/viewtopic.php?id=45167

I tried to patch my BB toolchain with the modifications of:
target/linux/ar71xx/generic/profiles/tp-link.mk
target/linux/ar71xx/image/Makefile
tools/firmware-utils/src/mktplinkfw.c

and make clean and i can see the mr12u profile but no image will be 
generated after make..


Anyone would like to help a little? I don't have warranty on this router 
bought from DX so i hope i don't break it with a bad image :)


Thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] openwrt wiki captcha broken?

2014-09-21 Thread Daniel Petre
Hello, does any of the wiki page work for minor changes for anyone? I 
just cannot get past the captcha even if i type everything okay and even 
after i listen the audio to be sure..

Thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] ppp and cyassl backports for BB

2014-09-18 Thread Daniel Petre

Hello,
can the developers please backport changeset 42526, 42517 and 42525 to 
barrier breaker branch?

Thanks!

https://dev.openwrt.org/changeset/42526/
https://dev.openwrt.org/changeset/42525/
https://dev.openwrt.org/changeset/42517/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] gigabit router !

2014-08-30 Thread Daniel Petre



On 30/08/14 08:47, Bastian Bittorf wrote:

* Daniel Petre daniel.pe...@gmail.com [30.08.2014 07:42]:

is there any OpenWrt compatible gigabit router that can do more than
400 Mbit/s WAN to LAN except linksys wrt1900ac ?
I know netgear wndr3700/wndr3800 and tp-link wr1043nd do around
380-400 Mbit/s but is there any other hardware more powerful with
OpenWrt support?


you can just use a cheap x86-board with 2 x Gigabit RJ45, e.g.
GigaByte GA-J1900N-D3V


Thanks for the hint, i'm just using a setup like this but with another 
mini itx gigabyte board, a bit cheaper, with usb2. Works awesome but i 
was wondering about a wireless router with OpenWrt support more powerful..




bye, bastian


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] gigabit router !

2014-08-29 Thread Daniel Petre

Hello,
is there any OpenWrt compatible gigabit router that can do more than 400 
Mbit/s WAN to LAN except linksys wrt1900ac ?
I know netgear wndr3700/wndr3800 and tp-link wr1043nd do around 380-400 
Mbit/s but is there any other hardware more powerful with OpenWrt support?

Thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Lots of missing packages!

2014-08-13 Thread Daniel Petre



On 13/08/14 14:02, Steven Barth wrote:

What you see right now in RC3 will be there in the final as well, it
will just be split up into subdirectories and the unmaintained packages
oldpackages need to be manually enabled in /etc/opkg.conf on your
router before being installable using opkg.


So, are these lines gonna be valid in opkg.conf ?

src/gz base 
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/base
src/gz luci 
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci
src/gz management 
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/management
src/gz packages 
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/packages
src/gz routing 
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/routing
src/gz telephony 
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/telephony


Thanks!

In RC3 they are still all

together in one package repository.

There might be a few more packages in the final but what is in RC3 now
(rsync is still running btw.) is a pretty good estimate of what will be
there.


Cheers,

Steven


Am 13.08.2014 um 12:46 schrieb Aaron Z:

On Wed, Aug 13, 2014 at 4:13 AM, Steven Barth cy...@openwrt.org wrote:

The current status of oldpackages is this:
If you are using trunk and want to use the possibly outdated packages
you
have to enable the oldpackages feed and build them manually.
If you are using barrier breaker in the final version we will still
build
these outdated packages in binary form but won't enable the package
repository in opkg.conf by default, so you have to manually opt-in to
use
these packages. Some packages there might be broken due to changes in
the
SDK but this will hopefully get addressed before the final release.
The next
release after barrier breaker will not include any unmaintained
packages at
all not even as opt-in.

So, are the precompiled packages on openwrt.org [1] indicative of what
will be available for the final release of BB?
 From there on ar71xx, nano was missing from RC1, but is back for RC2
[2] and RC3 [3].
Looking in the same folder [1] for the packages that Valent mentioned
in his second ticket, I also see bluez-libs [4], bluez-utils [5],
/i2c-tools [6], ntpclient [7], picocom [8] and python [9] as
precompiled packages.
Will those still be available in the final release?

[1]
http://downloads.openwrt.org/barrier_breaker/14.07-rc2/ar71xx/generic/packages/

[2]
http://downloads.openwrt.org/barrier_breaker/14.07-rc2/ar71xx/generic/packages/nano_2.3.6-1_ar71xx.ipk

[3]
http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages/nano_2.3.6-1_ar71xx.ipk

[4]
http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages/bluez-libs_3.36-3_ar71xx.ipk

[5]
http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages/bluez-utils_3.36-12_ar71xx.ipk

[6]
http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages/i2c-tools_2013-12-15-1_ar71xx.ipk

[7]
http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages/ntpclient_2007_365-4_ar71xx.ipk

[8]
http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages/picocom_1.7-1_ar71xx.ipk

[9]
http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages/python_2.7.3-2_ar71xx.ipk



Aaron Z

A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
— Robert Heinlein, Time Enough for Love

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Picocom should be re-included in packages.

2014-08-12 Thread Daniel Petre



On 12/08/14 16:53, Alive4Ever wrote:

On latest Openwrt commits, picocom is missing. Formerly, picocom
was available on Utilities/Terminal section of menuconfig.

I think picocom should be re-included, because it's very handy
and usable for serial diagnostics, especially on systems with
only 4 MB of flash, such as TL MR3220.


Hello, do you want to share how you use picocom? Thanks!



Compared to minicom, picocom is smaller (62K vs 22K). Screen is
more powerful but it's too large for 4 MB flash.

Please consider to re-include picocom in the packages.

Thanks.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] Davfs2: added new package version 1.5

2014-08-05 Thread Daniel Petre

Hi Federico,
did you try configuring davfs2 with --disable-largefile to see if 
packaged size drops?


On 05/08/14 17:47, Federico Di Marco wrote:

From: Federico Di Marco fede...@gmail.com

Body of explanation:
A new package has been added in packages feed under net/davfs2
directory, porting a simple tool to mount a WebDAV resource as a
regular file system (please see
https://savannah.nongnu.org/projects/davfs2/ ) to OpenWRT. There was
also a previous ticket requesting the porting of this tool
(https://dev.openwrt.org/ticket/12843)

The patch consists of the following files:
- Makefile: standard makefile of OpenWRT packages which downloads from
the source code and compiles it into a package using the
uClibc++.
- files/davfs2.conf: configuration file for davfs2
- patches/010-main_code_fix.patch: minor fixes to allow the source
code to compile under uClibc (remove rpmatch function not present in
uclibc and other small corrections)


Sign-off:
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
 have the right to submit it under the open source license
 indicated in the file; or

(b) The contribution is based upon previous work that, to the best
 of my knowledge, is covered under an appropriate open source
 license and I have the right under that license to submit that
 work with modifications, whether created in whole or in part
 by me, under the same open source license (unless I am
 permitted to submit under a different license), as indicated
 in the file; or

(c) The contribution was provided directly to me by some other
 person who certified (a), (b) or (c) and I have not modified
 it.

(d) I understand and agree that this project and the contribution
 are public and that a record of the contribution (including all
 personal information I submit with it, including my sign-off) is
 maintained indefinitely and may be redistributed consistent with
 this project or the open source license(s) involved.

Signed-off-by: Federico Di Marco fede...@gmail.com

---

Diff output (according to https://dev.openwrt.org/wiki/SubmittingPatches/Diff)


diff -uprN packages/net/davfs2/files/davfs2.conf
mypackages/net/davfs2/files/davfs2.conf
--- packages/net/davfs2/files/davfs2.conf 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/files/davfs2.conf 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,9 @@
+#
+# davfs2 configuration file
+# please see http://linux.die.net/man/5/davfs2.conf for details
+#
+
+dav_user nobody
+dav_group nogroup
+cache_dir /tmp/davfs2
+cache_size 4
diff -uprN packages/net/davfs2/Makefile mypackages/net/davfs2/Makefile
--- packages/net/davfs2/Makefile 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/Makefile 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,74 @@
+#
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=davfs2
+PKG_VERSION:=1.5.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
+#PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT :=zcat
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/davfs2
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Filesystem
+  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse
+  TITLE:=Mount a WebDAV resource as a regular file system.
+  URL:=http://savannah.nongnu.org/projects/davfs2/
+endef
+
+
+define Package/davfs2/description
+Web Distributed Authoring and Versioning (WebDAV), an extension to
the HTTP-protocol, allows authoring of resources
+on a remote web server. davfs2 provides the ability to access such
resources like a typical filesystem, allowing
+for use by standard applications with no built-in support for WebDAV.
+
+davfs2 is designed to fully integrate into the filesystem semantics
of Unix-like systems (mount, umount, etc.).
+davfs2 makes mounting by unprivileged users as easy and secure as possible.
+
+davfs2 does extensive caching to make the file system responsive, to
avoid unnecessary network traffic and
+to prevent data loss, and to cope for slow or unreliable connections.
+
+davfs2 will work with most WebDAV servers needing little or no configuration.
+
+endef
+
+
+define Package/davfs2/conffiles
+/etc/davfs2/davfs2.conf
+endef
+
+TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
+
+CONFIGURE_VARS += \
+#CXXFLAGS=-nostdinc++  \
+   LDFLAGS=$(TARGET_LDFLAGS) -L$(TOOLCHAIN_DIR)/usr/lib
-L$(TOOLCHAIN_DIR)/lib \
+# LIBS=-lgcc -lc -luClibc++ -lgcc_s
+
+
+define Build/Configure
+  $(call Build/Configure/Default,--with-neon=$(STAGING_DIR)/usr)
+endef
+
+define Package/davfs2/install
+ 

Re: [OpenWrt-Devel] [PATCH] [packages] Davfs2: added new package version 1.5

2014-08-05 Thread Daniel Petre



On 05/08/14 19:09, Federico Di Marco wrote:

No, not even tried. On ar71xx platform the final .ipk package size is
less than 43KB, is that too big ?!?!?


not that bad for a 8 Mb flash router but still pulls some extra libs..
thanks for the package, i was preparing one myself :)



-rw-r--r--1 root root 42487 Aug  5 16:03
davfs2_1.5.0-1_ar71xx.ipk

P.S. please reply also to me and not only to mailing list, thank you.

On Tue, Aug 5, 2014 at 16:58:25 CEST 2014 Daniel Petre daniel.petre at
gmail.com wrote:

Hi Federico,
did you try configuring davfs2 with --disable-largefile to see if
packaged size drops?

On Tue, Aug 5, 2014 at 4:47 PM, Federico Di Marco fede...@gmail.com wrote:

From: Federico Di Marco fede...@gmail.com

Body of explanation:
A new package has been added in packages feed under net/davfs2
directory, porting a simple tool to mount a WebDAV resource as a
regular file system (please see
https://savannah.nongnu.org/projects/davfs2/ ) to OpenWRT. There was
also a previous ticket requesting the porting of this tool
(https://dev.openwrt.org/ticket/12843)

The patch consists of the following files:
- Makefile: standard makefile of OpenWRT packages which downloads from
the source code and compiles it into a package using the
uClibc++.
- files/davfs2.conf: configuration file for davfs2
- patches/010-main_code_fix.patch: minor fixes to allow the source
code to compile under uClibc (remove rpmatch function not present in
uclibc and other small corrections)


Sign-off:
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
 have the right to submit it under the open source license
 indicated in the file; or

(b) The contribution is based upon previous work that, to the best
 of my knowledge, is covered under an appropriate open source
 license and I have the right under that license to submit that
 work with modifications, whether created in whole or in part
 by me, under the same open source license (unless I am
 permitted to submit under a different license), as indicated
 in the file; or

(c) The contribution was provided directly to me by some other
 person who certified (a), (b) or (c) and I have not modified
 it.

(d) I understand and agree that this project and the contribution
 are public and that a record of the contribution (including all
 personal information I submit with it, including my sign-off) is
 maintained indefinitely and may be redistributed consistent with
 this project or the open source license(s) involved.

Signed-off-by: Federico Di Marco fede...@gmail.com

---

Diff output (according to https://dev.openwrt.org/wiki/SubmittingPatches/Diff)


diff -uprN packages/net/davfs2/files/davfs2.conf
mypackages/net/davfs2/files/davfs2.conf
--- packages/net/davfs2/files/davfs2.conf 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/files/davfs2.conf 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,9 @@
+#
+# davfs2 configuration file
+# please see http://linux.die.net/man/5/davfs2.conf for details
+#
+
+dav_user nobody
+dav_group nogroup
+cache_dir /tmp/davfs2
+cache_size 4
diff -uprN packages/net/davfs2/Makefile mypackages/net/davfs2/Makefile
--- packages/net/davfs2/Makefile 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/Makefile 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,74 @@
+#
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=davfs2
+PKG_VERSION:=1.5.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
+#PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT :=zcat
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/davfs2
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Filesystem
+  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse
+  TITLE:=Mount a WebDAV resource as a regular file system.
+  URL:=http://savannah.nongnu.org/projects/davfs2/
+endef
+
+
+define Package/davfs2/description
+Web Distributed Authoring and Versioning (WebDAV), an extension to
the HTTP-protocol, allows authoring of resources
+on a remote web server. davfs2 provides the ability to access such
resources like a typical filesystem, allowing
+for use by standard applications with no built-in support for WebDAV.
+
+davfs2 is designed to fully integrate into the filesystem semantics
of Unix-like systems (mount, umount, etc.).
+davfs2 makes mounting by unprivileged users as easy and secure as possible.
+
+davfs2 does extensive caching to make the file system responsive, to
avoid unnecessary network traffic and
+to prevent data loss, and to cope for slow

Re: [OpenWrt-Devel] System Logs Reporting: IEEE 802.11: Could not add STA to kernel driver for Windows 7 clients

2014-07-03 Thread Daniel Petre

On 03/07/14 14:38, Derek  Vicky wrote:

Jow,
Thanks for the quick response.  Is there another USB wifi adapter
recommended to work in AP mode?


How about a AR9271 based one?

https://tehnoetic.com/tehnoetic-wireless-adapter-gnu-linux-libre-tet-n150

Now with so many wifi connected devices

in the house 7 clients doesn't go very far.  I see that the  rtl8192cu
is use in Raspbian but I don't know if its packaged for openwrt
(including USB version).
Cheers
 Derek


On 07/03/2014 06:37 AM, Jo-Philipp Wich wrote:

Hi,

this chipset cannot support more than 7 clients in AP mode. Its a
limitation of the chip firmware.

~ Jow



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] d-link dir-615 h1 without wifi on trunk !

2014-05-17 Thread Daniel Petre

On 16/05/14 21:50, Mikko Hissa wrote:


On 16 May 2014, at 14:18, Daniel Petre daniel.pe...@gmail.com
mailto:daniel.pe...@gmail.com wrote:


Hello,


Hi!


anyone has any idea about the fix for the wireless of d-link dir-615 h1 ?



In rt2800lib.c, remove line 7812:
   if (rt2x00_rt(rt2x00dev, RT3290) ||
*-rt2x00_rt(rt2x00dev, RT3352) ||*
  rt2x00_rt(rt2x00dev, RT5390) ||
  rt2x00_rt(rt2x00dev, RT5392))

(You’ll find it
in 
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/compat-wireless-2014-03-31/drivers/net/wireless/rt2x00)

Just do make without a clean and it’ll work.

There still are some problems with rt2x00 not limited to rt3352 (slow rx
etc.)…


Thanks, i managed to get a H2 to test (again), the fix worked and i get 
stable 30 Mbit/s download and around 15 Mbit/s upload.





https://dev.openwrt.org/ticket/16406

I just tried r40772 after a make clean and still no wireless:

rt2800_wmac 1018.wmac: failed to load eeprom property
ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM
data from 'soc_wmac.eeprom'.
ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3352, rev 0200 detected
ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0x3352
detected
ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device

thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] d-link dir-615 h1 without wifi on trunk !

2014-05-16 Thread Daniel Petre

Hello,
anyone has any idea about the fix for the wireless of d-link dir-615 h1 ?

https://dev.openwrt.org/ticket/16406

I just tried r40772 after a make clean and still no wireless:

rt2800_wmac 1018.wmac: failed to load eeprom property
ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM 
data from 'soc_wmac.eeprom'.

ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3352, rev 0200 detected
ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0x3352 
detected

ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device

thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Patch submission release based on OpenWRT trunk

2014-04-03 Thread Daniel Petre

On 03/04/14 20:52, Matthew Fatheree wrote:

Belkin Inc. would like to announce the patch submission release for WRT1900AC
which is based on OpenWRT trunk, the detail base revision is specified in
each release.



Hello Matthew,
any tests on WAN - LAN (ethernet) throughput available for WRT1900AC ?
I have a 500 Mbit/s Internet connection, upgrading soon to a 1 Gbit/s 
link, wondering if that dual cpu holds well..

Thanks!


This is the release version 1.1 of WRT1900AC Openwrt patch submission
OpenWRT git base revision: e97be7a104e5c809ae4638cf169823249a505698
OpenWRT svn base revision: 40006

The total size of the uncompressed files exceeds the 300k maximum for email 
attachments.
The patch files can be accessed using the link below:

Direct Link: ftp://Temp90523934364:tag43...@ftp.belkin.com/Temp90523934364

Thank you

Matthew Fatheree

__ Confidential 
This e-mail and any files transmitted with it are the property of Belkin 
International, Inc. and/or its affiliates, are confidential, and are intended 
solely for the use of the individual or entity to whom this e-mail is 
addressed. If you are not one of the named recipients or otherwise have reason 
to believe that you have received this e-mail in error, please notify the 
sender and delete this message immediately from your computer. Any other use, 
retention, dissemination, forwarding, printing or copying of this e-mail is 
strictly prohibited. Pour la version française: 
http://www.belkin.com/email-notice/French.html Für die deutsche Übersetzung: 
http://www.belkin.com/email-notice/German.html 
__
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] dropbear: update to 2013.62

2014-02-14 Thread Daniel Petre

On 14 Feb 2014, at 20:38, Catalin Patulea c...@vv.carleton.ca wrote:
 
 Looks like most of the growth is in new ECC support functions, with
 some small growth to existing functions. Curve25519 is the largest
 single contributor at 3 kB. Disabling Curve25519 brings the final
 binary size to 189,900 bytes.
 
 I'm personally very interested in ECC support, I have a hardware
 security key that stores ECDSA key pairs, that I want to use for
 authentication. I'm also interested in keeping as small a diff from
 upstream as possible. :-)
 

Hi, can’t you patch the dropbear Makefile to allow toggle package compile 
options for your needed extra functionality?

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 0/2] *** SUBJECT HERE ***

2014-01-31 Thread Daniel Petre

On 01/31/2014 01:49 PM, Oliver Ertl wrote:

Ok, you can delete the patches then. No need for the patch then :-(


Hey Oliver , it's just the patch guideline , Jonas trying to help you 
submit a full decent patch, no need to be upset ;-)





Am 31. Januar 2014 12:38:43 schrieb Jonas Gorski j...@openwrt.org:

On Fri, Jan 31, 2014 at 10:31 AM, Oliver Ertl 
oli...@ertls-netzwerk.de wrote:

 *** BLURB HERE ***

I guess you forgot to fill in something here.


Jonas

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] wget-nossl compile problem in trunk..

2013-09-30 Thread Daniel Petre
Hello, i'm sorry to post here but openwrt ticket system fails to 
interpret my ticket as anything but spam,


so i cannot compile wget-nossl , the error is this:

[..]

mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I. 
-I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT 
build_info.o -MD -MP -MF .deps/build_info.Tpo -c -o build_info.o 
build_info.c

mv -f .deps/build_info.Tpo .deps/build_info.Po
echo '/* version.c */'  version.c
echo '/* Autogenerated by Makefile - DO NOT EDIT */'  version.c
echo ''  version.c
echo 'const char *version_string = 1.14;'  version.c
echo 'const char *compilation_string = 'mipsel-openwrt-linux-uclibc-gcc 
-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\/etc/wgetrc\ 
-DLOCALEDIR=\/usr/share/locale\ -I.  -I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float ';' \

| sed -e 's/[\\]/\\/g' -e 's/\\//' -e 's/\\;$/;/'  version.c
echo 'const char *link_string = 'mipsel-openwrt-linux-uclibc-gcc  -Os 
-pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  \


-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/lib 
 -lz  -lpcre  ftp-opie.o ../lib/libgnu.a';' \

| sed -e 's/[\\]/\\/g' -e 's/\\//' -e 's/\\;$/;/'  version.c
mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I. 
-I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT 
version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c

mv -f .deps/version.Tpo .deps/version.Po
mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I. 
-I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT 
ftp-opie.o -MD -MP -MF .deps/ftp-opie.Tpo -c -o ftp-opie.o ftp-opie.c

mv -f .deps/ftp-opie.Tpo .deps/ftp-opie.Po
mipsel-openwrt-linux-uclibc-gcc  -Os -pipe -mno-branch-likely -mips32 
-mtune=mips32 -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float 
-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/lib 
 -o wget cmpt.o connect.o convert.o cookies.o ftp.o css_.o css-url.o 
ftp-basic.o ftp-ls.o hash.o host.o html-parse.o html-url.o http.o init.o 
log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o spider.o 
url.o warc.o utils.o exits.o build_info.o  version.o ftp-opie.o 
../lib/libgnu.a -lz  -lpcre
make[7]: Leaving directory 
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/src'
make[6]: Leaving directory 

[OpenWrt-Devel] zte h218n (bcm5357) wireless support

2013-09-30 Thread Daniel Petre

Hello,
Hauke was kind to add board support for this zte h218n router and so far 
booting ramdisk images with bgmac driver works okay, i can connect via 
pppoe and i get like 80 Mbit/s at speed tests but i am wondering if 
wireless will be supported in the near future..
Here are the revelant portions of dmesg when booting a bgmac and wl 
legacy driver:


[0.00] Linux version 3.10.13 (dani@x200) (gcc version 4.6.4 
(OpenWrt/Linaro GCC 4.6-2013.05 r38234) ) #6 Mon Sep 30 12:38:40 EEST 2013

[0.00] CPU revision is: 00019749 (MIPS 74Kc)
[0.00] bcm47xx: using bcma bus
[0.00] bcma: bus0: Found chip with id 0x5357, rev 0x02 and 
package 0x09
[0.00] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 
0x800, rev 0x26, class 0x0)
[0.00] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 
0x82C, rev 0x04, class 0x0)

[0.00] bcma: bus0: Found rev 9 PMU (capabilities 0x28A42A09)
[0.00] bcma: bus0: Found serial flash
[0.00] bcma: bus0: Found M25FL128 serial flash (size: 16384KiB, 
blocksize: 0x1, blocks: 256)

[0.00] bcma: bus0: Early bus registered

[..]

[0.064000] PCI: CLS 0 bytes, default 32
[2.888000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 
0x812, rev 0x1C, class 0x0)
[2.888000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 
0x82D, rev 0x03, class 0x0)
[2.888000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 
0x819, rev 0x05, class 0x0)
[2.888000] bcma: bus0: Core 5 found: DDR1/DDR2 Memory Controller 
(manuf 0x4BF, id 0x82E, rev 0x02, class 0x0)
[2.888000] bcma: bus0: Core 6 found: I2S (manuf 0x4BF, id 0x834, rev 
0x02, class 0x0)
[2.888000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, 
id 0x80E, rev 0x0B, class 0x0)
[2.892000] can not parse nvram name sb/1/rxpo2g(null) with value 
0xff got -34
[2.892000] can not parse nvram name sb/1/ag2(null) with value 0xff 
got -34
[2.892000] can not parse nvram name sb/1/ag3(null) with value 0xff 
got -34

[2.912000] bcma: bus0: Using SPROM revision 8 provided by platform.
[2.912000] bcma: bus0: PMU resource config unknown or not needed for 
device 0x5357
[2.912000] bcma: bus0: Workarounds unknown or not needed for device 
0x5357

[2.912000] bcma: bus0: Initializing MIPS core...
[2.912000] bcma: bus0: set_irq: core 0x0812, irq 3 = 3
[2.912000] bcma: bus0: set_irq: core 0x082d, irq 4 = 4
[2.912000] bcma: bus0: set_irq: core 0x0819, irq 5 = 5
[2.912000] bcma: bus0: set_irq: core 0x0800, irq 2 = 2
[2.912000] bcma: bus0: set_irq: core 0x0834, irq 2 = 2
[2.912000] bcma: bus0: IRQ reconfiguration done
[2.912000] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I
[2.912000] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[2.912000] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I
[2.912000] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I
[2.912000] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I
[2.912000] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I
[2.912000] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I
[2.912000] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[2.92] bcma: bus0: Bus registered

[..]

[3.716000] bgmac bcma0:1: Found PHY addr: 30 (NOREGS)
[3.728000] bgmac bcma0:1: Support for Roboswitch not implemented
[3.736000] libphy: bgmac mii bus: probed
[3.748000] b53_common: found switch: BCM5325, rev 4
[3.752000] (unregistered net_device): attached PHY driver [Broadcom 
B53 (2)] (mii_bus:phy_addr=bgmac-0-0:1e)

[3.764000] bgmac: Broadcom 47xx GBit MAC driver loaded
[3.776000] diag: kernel found a ZTE H218N
[3.78] diag: board was detected as ZTE H218N, but not gpio 
configuration available

[3.792000] diag: now trying legacy detect
[3.796000] diag: Router model not detected.
[3.804000] diag: kernel found a ZTE H218N
[3.812000] diag: board was detected as ZTE H218N, but not gpio 
configuration available

[3.82] diag: now trying legacy detect
[3.824000] diag: Router model not detected.

[..]

[8.488000] wl: module license 'unspecified' taints kernel.
[8.496000] Disabling lock debugging due to kernel taint
[8.568000] wl0: 5.10.56.27 driver failed with code 13
[8.572000] The attach callback failed, BCMA probe aborted
[8.58] SSB/BCMA glue driver successfully attached

also, this is the cpu:

root@OpenWrt:/sys/devices/bcma0:0# cat /proc/cpuinfo
system type : Broadcom BCM5357 (ZTE H218N)
machine : Unknown
processor   : 0
cpu model   : MIPS 74Kc V4.9
BogoMIPS: 249.34
wait instruction: no
microsecond timers  : yes
tlb_entries : 64
extra interrupt vector  : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 
0x0ffc, 0x0ffb, 0x0ffb]

isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented: mips16 dsp dsp2
shadow 

[OpenWrt-Devel] kernel update to 3.10.12

2013-09-15 Thread Daniel Petre
Hello, can we have 3.10.12 updated to OpenWrt trunk and patches 
refreshed please?


I managed to manually compile 3.10.11 without 030-timer_list_fix.patch 
which seems to be fixed upstream but some more patch reworking is 
required for 3.10.12 :


- 670-ipv6-allow-rejecting-with-source-address-failed-policy.patch
- 902-unaligned_access_hacks.patch

Thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [ar71xx] [kernel] Configure OBS4 line on TL-WR841N-v8/MR3420v2 its also fixes USB Power on MR3420v2 at last

2013-09-02 Thread Daniel Petre
Thanks a lot, just tested it on a mr3420 v2.1 and i can see the usb webcam and 
the led lits :)

On Sep 2, 2013, at 4:16 PM, Dmytro dioptimi...@gmail.com wrote:

 Signed-off-by: Dmytro dioptimi...@gmail.com
 ---
 enable_gpio4_control.patch___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [ramips] add profile for Dlink DIR-615 H1

2013-04-06 Thread Daniel Petre
Hello,
this adds the profile for Dlink DIR-615 H1 without the usb default packages
since this router does not have a usb port and while all the needed definitions
for building are already in target/linux/ramips/image/Makefile this also allows
users to select the exact target in RT305x based boards menuconfig for this 
router
and compile its firmware.

Signed-off-by: Daniel Petre d...@ip6.ro

Index: target/linux/ramips/rt305x/profiles/dlink.mk
===
--- target/linux/ramips/rt305x/profiles/dlink.mk(revision 0)
+++ target/linux/ramips/rt305x/profiles/dlink.mk(revision 0)
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/DIR615H1
+   NAME:=Dlink DIR-615 H1
+PACKAGES:=\
+-kmod-usb-core -kmod-usb-rt305x-dwc_otg \
+-kmod-ledtrig-usbdev
+endef
+
+define Profile/DIR615H1/Description
+   Package set for Dlink DIR-615 H1 board
+endef
+
+$(eval $(call Profile,DIR615H1))
+

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] target profile for Dlink DIR-615 H1

2013-04-05 Thread Daniel Petre
Hello,

in trunk, at Target System (Ralink RT288x/RT3xxx) - Target System
(Ralink RT288x/RT3xxx) - there is no Dlink DIR-615 H1 profile even if
there are entries in target/linux/ramips/image/Makefile regarding the
router..

the image it's built with the default all in rt305x selection but i
would like to tweak a little the settings for this router since the
default config for it it's broken (no correct lan config, leds messed
up, etc..)

any hints please? thanks!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] bird bump to 1.3.9

2013-04-04 Thread Daniel Petre
Hello,
this is bird version bump to 1.3.9 !

Signed-off-by: Daniel Petre d...@ip6.ro

Index: feeds/packages/net/bird/Makefile
===
--- feeds/packages/net/bird/Makefile(revision 36193)
+++ feeds/packages/net/bird/Makefile(working copy)
@@ -7,12 +7,12 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=bird
-PKG_VERSION:=1.3.7
+PKG_VERSION:=1.3.9
 PKG_RELEASE:=1

 PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
-PKG_MD5SUM:=c400b008ef834d9e7288dcdbe41b7c15
+PKG_MD5SUM:=86042560b5053dd008ba0b5ecbdde136
 PKG_BUILD_DEPENDS:=libncurses libreadline

 include $(INCLUDE_DIR)/package.mk
Index: feeds/packages/net/bird/patches/0001-change_config_name.patch
===
--- feeds/packages/net/bird/patches/0001-change_config_name.patch
(revision 36193)
+++ feeds/packages/net/bird/patches/0001-change_config_name.patch
(working copy)
@@ -1,20 +0,0 @@
-diff --git a/sysdep/config.h b/sysdep/config.h
-index 03399bd..bc5eb77 100644
 a/sysdep/config.h
-+++ b/sysdep/config.h
-@@ -46,11 +46,11 @@ typedef u16 word;
- #  endif
- #else
- #  ifdef DEBUGGING
--#define PATH_CONFIG bird.conf
--#define PATH_CONTROL_SOCKET bird.ctl
-+#define PATH_CONFIG bird4.conf
-+#define PATH_CONTROL_SOCKET bird4.ctl
- #  else
--#define PATH_CONFIG PATH_CONFIG_DIR /bird.conf
--#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR /bird.ctl
-+#define PATH_CONFIG PATH_CONFIG_DIR /bird4.conf
-+#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR /bird4.ctl
- #  endif
- #endif
-

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] bird bump to 1.3.9

2013-04-04 Thread Daniel Petre
Hello,
this is bird version bump to 1.3.9 while getting rid
of the previous path patch and just correcting init files.

Signed-off-by: Daniel Petre d...@ip6.ro

Index: feeds/packages/net/bird/Makefile
===
--- feeds/packages/net/bird/Makefile(revision 36194)
+++ feeds/packages/net/bird/Makefile(working copy)
@@ -7,12 +7,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bird
-PKG_VERSION:=1.3.7
+PKG_VERSION:=1.3.9
 PKG_RELEASE:=1
 
 PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
-PKG_MD5SUM:=c400b008ef834d9e7288dcdbe41b7c15
+PKG_MD5SUM:=86042560b5053dd008ba0b5ecbdde136
 PKG_BUILD_DEPENDS:=libncurses libreadline
 
 include $(INCLUDE_DIR)/package.mk
Index: feeds/packages/net/bird/files/bird4.init
===
--- feeds/packages/net/bird/files/bird4.init(revision 36194)
+++ feeds/packages/net/bird/files/bird4.init(working copy)
@@ -7,7 +7,7 @@
 SERVICE_WRITE_PID=1
 
 start() {
-   service_start /usr/sbin/bird4 -d
+   service_start /usr/sbin/bird4 -d -c /etc/bird4.conf
 #  ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird4loop )
 }
 
Index: feeds/packages/net/bird/files/bird4.conf
===
--- feeds/packages/net/bird/files/bird4.conf(revision 36194)
+++ feeds/packages/net/bird/files/bird4.conf(working copy)
@@ -8,7 +8,7 @@
 log syslog all;
 
 # Override router ID
-#router id 192.168.0.1;
+router id 192.168.1.1;
 
 # Turn on global debugging of all protocols
 #debug protocols all;
Index: feeds/packages/net/bird/files/bird6.init
===
--- feeds/packages/net/bird/files/bird6.init(revision 36194)
+++ feeds/packages/net/bird/files/bird6.init(working copy)
@@ -7,7 +7,7 @@
 SERVICE_WRITE_PID=1
 
 start() {
-   service_start /usr/sbin/bird6 -d
+   service_start /usr/sbin/bird6 -d -c /etc/bird6.conf
 #  ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird6loop )
 }
 
Index: feeds/packages/net/bird/files/bird6.conf
===
--- feeds/packages/net/bird/files/bird6.conf(revision 36194)
+++ feeds/packages/net/bird/files/bird6.conf(working copy)
@@ -8,7 +8,7 @@
 log syslog all;
 
 # Override router ID
-#router id 192.168.0.1;
+router id 1.1.168.192;
 
 # Turn on global debugging of all protocols
 #debug protocols all;
Index: feeds/packages/net/bird/patches/0001-change_config_name.patch
===
--- feeds/packages/net/bird/patches/0001-change_config_name.patch   
(revision 36194)
+++ feeds/packages/net/bird/patches/0001-change_config_name.patch   
(working copy)
@@ -1,20 +0,0 @@
-diff --git a/sysdep/config.h b/sysdep/config.h
-index 03399bd..bc5eb77 100644
 a/sysdep/config.h
-+++ b/sysdep/config.h
-@@ -46,11 +46,11 @@ typedef u16 word;
- #  endif
- #else
- #  ifdef DEBUGGING
--#define PATH_CONFIG bird.conf
--#define PATH_CONTROL_SOCKET bird.ctl
-+#define PATH_CONFIG bird4.conf
-+#define PATH_CONTROL_SOCKET bird4.ctl
- #  else
--#define PATH_CONFIG PATH_CONFIG_DIR /bird.conf
--#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR /bird.ctl
-+#define PATH_CONFIG PATH_CONFIG_DIR /bird4.conf
-+#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR /bird4.ctl
- #  endif
- #endif
- 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] pppoe-wan, RA and accept_ra=2

2013-03-22 Thread Daniel Petre
Hello,
few good months ago i bothered the ticket wiki about my trunks not
keeping a /128 address on the pppoe-wan.
cyrus took a look but nothing really was fixed for me..
could this commit be the fix of a regression brought into 3.7 and 3.8
kernels?

commit 280b2b998f326449aa18fe3d064c012deaaeaefb
Author: Lorenzo Colitti lore...@google.com
Date:   Sun Mar 3 20:46:46 2013 +

net: ipv6: Don't purge default router if accept_ra=2

[ Upstream commit 3e8b0ac3e41e3c88a5522d5df7212438ab51 ]

Setting net.ipv6.conf.interface.accept_ra=2 causes the kernel
to accept RAs even when forwarding is enabled. However, enabling
forwarding purges all default routes on the system, breaking
connectivity until the next RA is received. Fix this by not
purging default routes on interfaces that have accept_ra=2.

Signed-off-by: Lorenzo Colitti lore...@google.com
Acked-by: YOSHIFUJI Hideaki yoshf...@linux-ipv6.org
Acked-by: Eric Dumazet eduma...@google.com
Signed-off-by: David S. Miller da...@davemloft.net
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] proftpd: Bump to 1.3.4c

2013-03-19 Thread Daniel Petre
Index: Makefile
===
--- Makefile(revision 36092)
+++ Makefile(working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=proftpd
-PKG_VERSION:=1.3.4b
+PKG_VERSION:=1.3.4c
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.proftpd.org/distrib/source
-PKG_MD5SUM:=0871e0b93c9c3c88ca950b6d9a04aed2
+PKG_MD5SUM:=65f61e953bea249f8377e681594143a5
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1



Changelog for 1.3.4c:

  + Added Spanish translation.
  + Fixed several mod_sftp issues, including SFTPPassPhraseProvider,
handling of symlinks for REALPATH requests, and response code logging.
  + Fixed symlink race for creating directories when UserOwner is in effect.
  + Increased performance of FTP directory listings.

Signed-off-by: Daniel Petre d...@ip6.ro
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] pure-ftpd: Bump to 1.0.36

2013-03-19 Thread Daniel Petre
Index: feeds/packages/net/pure-ftpd/Makefile
===
--- feeds/packages/net/pure-ftpd/Makefile   (revision 36092)
+++ feeds/packages/net/pure-ftpd/Makefile   (working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pure-ftpd
-PKG_VERSION:=1.0.32
-PKG_RELEASE:=3
+PKG_VERSION:=1.0.36
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://download.pureftpd.org/pub/pure-ftpd/releases
-PKG_MD5SUM:=065211a4319e2089bd16b44c003eb0f8
+PKG_MD5SUM:=7899c75c1fed7dbad0352eb31080e066
 
 
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)


Relevant *nix Changelog:
• Support for external authentification handlers has been fixed.
• Directory listings can now report file sizes up to 1 exabyte.
• Per popular request, dot files are now hidden from directory listings 
when the -X flag is turned on.
• An old-standing bug has been fixed: when a file was renamed and 
overwrote an existing file, the quota wasn’t properly updated.
• SITE UTIME now supports the 2-arguments syntax in addition to the
5-arguments syntax.
• Support for the MFMT command has been implemented.
• A default directory can now be specified when using the LDAP backend.

Signed-off-by: Daniel Petre d...@ip6.ro
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 3/5] [packages] libjpeg-turbo: fix binary names to match what is built

2013-01-19 Thread Daniel Petre
btw: mjpg-streamer looks to me a bit smoother with libjpeg-turbo than libjpeg, 
the only drawback is l-t is a little bigger than the old lib..

On Jan 19, 2013, at 6:13 PM, Russell Senior russ...@personaltelco.net wrote:

 Ian == Ian Leonard antonla...@gmail.com writes:
 
 Signed-off-by: Russell Senior russ...@personaltelco.net
 PKG_NAME:=libjpeg-turbo PKG_VERSION:=1.2.1 -PKG_RELEASE:=1
 +PKG_RELEASE:=2
 
 define Package/jpeg-tools/install $(INSTALL_DIR) $(1)/usr/bin
 $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/{c,d}jpeg $(1)/usr/bin/ -
 $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jpeg{tran,gut} $(1)/usr/bin/
 + $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jpegtran $(1)/usr/bin/
 $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/{rd,wr}jpgcom $(1)/usr/bin/ -
 $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jpgtest $(1)/usr/bin/ +
 $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jcstest $(1)/usr/bin/
 
 Ian Looks good to me.
 
 I just found the change to the binary names in the libjpeg-turbo SVN
 repository in r643.  The binary jpeggut was actually jpegut (where ut
 stands for unit test), and was renamed to tjunittest.  jpegtest became
 tjbench.  Arguably, tjunittest shouldn't be installed anyway.
 Makefile.am lists it in noinst_PROGRAM.  Or perhaps it should only be
 installed in a separate testing/debugging package.
 
 jcstest stands for jpeg color space extentions tests, see r733.  Maybe
 should go into the separate testing/debugging package.
 
 I'll try to whip up a better patch.
 
 I don't use this package but, to quote David Woodhouse, it offended
 me by not building.
 
 
 -- 
 Russell Senior, President
 russ...@personaltelco.net
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Dlink DIR-615 H1 updated configs..

2013-01-01 Thread Daniel Petre
hello,
just recompiled r34964 for a dlink dir 615 h1, default /etc/config/network 
doesnt have wan and it works only after adding wan section and the switch 
config as below:

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option macaddr '00:0c:43:44:62:ed'

config interface 'wan'
option ifname 'eth0.2'
option proto 'pppoe'
option  username 'USERNAME'
option  password 'PASSWORD'
option  ipv6 '1'

config switch
option name rt305x
option reset 1
option enable_vlan 1

config switch_vlan
option device rt305x
option vlan 1
option ports '0 1 2 3 6t'

config switch_vlan
option device rt305x
option vlan 2
option ports '4 6t'

Also the wifi seems sometimes to not start after reboot, only if i run wifi 
manually with this config:

config wifi-device  radio0
option type mac80211
option channel  6
option hwmode   11ng
option path 'platform/rt2800_wmac.0'
option htmode   HT20
list ht_capab   GF
list ht_capab   SHORT-GI-20
list ht_capab   SHORT-GI-40
list ht_capab   TX-STBC
list ht_capab   RX-STBC12
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0

config wifi-iface
option device   radio0
option network  lan
option mode ap
option ssid dir615h1
option encryption none

if both these are fixed the router seems to work okay, wireless is fine (28 
Mbit/sec download, 34 Mbit/sec upload) the lan part i have yet to test.

thanks !
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Dlink DIR-615 H1 updated configs..

2013-01-01 Thread Daniel Petre
regarding wireless i can see in logread:

Sep  8 15:46:16 dir615h1 user.info sysinit: Configuration file: /var/run/hostap
d-phy0.conf
Sep  8 15:46:16 dir615h1 user.info sysinit: nl80211: Failed to add interface wl
an0 into bridge eth0.1: Operation not supported
Sep  8 15:46:16 dir615h1 user.info sysinit: nl80211 driver initialization faile
d.
Sep  8 15:46:16 dir615h1 user.info sysinit: Failed to start hostapd for phy0

On Jan 1, 2013, at 9:13 PM, Daniel Petre d...@ip6.ro wrote:

 hello,
 just recompiled r34964 for a dlink dir 615 h1, default /etc/config/network 
 doesnt have wan and it works only after adding wan section and the switch 
 config as below:
 
 config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
 
 config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option macaddr '00:0c:43:44:62:ed'
 
 config interface 'wan'
option ifname 'eth0.2'
option proto 'pppoe'
option  username 'USERNAME'
option  password 'PASSWORD'
option  ipv6 '1'
 
 config switch
option name rt305x
option reset 1
option enable_vlan 1
 
 config switch_vlan
option device rt305x
option vlan 1
option ports '0 1 2 3 6t'
 
 config switch_vlan
option device rt305x
option vlan 2
option ports '4 6t'
 
 Also the wifi seems sometimes to not start after reboot, only if i run wifi 
 manually with this config:
 
 config wifi-device  radio0
option type mac80211
option channel  6
option hwmode   11ng
option path 'platform/rt2800_wmac.0'
option htmode   HT20
list ht_capab   GF
list ht_capab   SHORT-GI-20
list ht_capab   SHORT-GI-40
list ht_capab   TX-STBC
list ht_capab   RX-STBC12
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0
 
 config wifi-iface
option device   radio0
option network  lan
option mode ap
option ssid dir615h1
option encryption none
 
 if both these are fixed the router seems to work okay, wireless is fine (28 
 Mbit/sec download, 34 Mbit/sec upload) the lan part i have yet to test.
 
 thanks !
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] r34740 trunk blockdev_direct_IO error..

2012-12-17 Thread Daniel Petre
hello,
trying to compile latest trunk (34740) for a tp-link wr1043nd and it stops at 
the below parts,
any ideas please? i did make clean, make dirclean, recompiled and still the 
same error..
thanks!

make[5]: Entering directory 
`/home/dani/OpenWRT/rtl8366/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.6.10'
scripts/kconfig/conf --silentoldconfig Kconfig
#
# configuration written to .config
#
make[5]: Leaving directory 
`/home/dani/OpenWRT/rtl8366/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.6.10'
  CHK include/linux/version.h
  CHK include/generated/utsrelease.h
  CALLscripts/checksyscalls.sh
stdin:1220:2: warning: #warning syscall kcmp not implemented [-Wcpp]
  CHK include/generated/compile.h
  CC  arch/mips/ath79/setup.o
In file included from include/linux/poll.h:12:0,
 from include/linux/rtc.h:123,
 from 
/home/dani/OpenWRT/rtl8366/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.6.10/arch/mips/include/asm/time.h:17,
 from arch/mips/ath79/setup.c:22:
include/linux/fs.h: In function 'blockdev_direct_IO':
include/linux/fs.h:2665:1: error: no return statement in function returning 
non-void [-Werror=return-type]
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/ath79/setup.o] Error 1
make[6]: *** [arch/mips/ath79] Error 2
make[5]: *** [arch/mips] Error 2
make[4]: *** 
[/home/dani/OpenWRT/rtl8366/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.6.10/.image]
 Error 2
make[4]: Leaving directory 
`/home/dani/OpenWRT/rtl8366/trunk/target/linux/ar71xx'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/dani/OpenWRT/rtl8366/trunk/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/home/dani/OpenWRT/rtl8366/trunk'
make[1]: *** 
[/home/dani/OpenWRT/rtl8366/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.target_install]
 Error 2
make[1]: Leaving directory `/home/dani/OpenWRT/rtl8366/trunk'
make: *** [world] Error 2
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] r34740 trunk blockdev_direct_IO error..

2012-12-17 Thread Daniel Petre

On Dec 17, 2012, at 11:36 PM, Felix Fietkau n...@openwrt.org wrote:

 On 2012-12-17 10:25 PM, Daniel Petre wrote:
 hello,
 trying to compile latest trunk (34740) for a tp-link wr1043nd and it stops 
 at the below parts,
 any ideas please? i did make clean, make dirclean, recompiled and still the 
 same error..
 thanks!
 Are you sure you ran make clean after updating to r34740?
 I did commit a fix for this issue in that rev.

thanks for replying, i did make clean and make dirclean but this time i 
resetted the menuconfig to default and selected again my options, seems okay 
now, it compiled without errors.

 
 - Felix

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 1/2 v3] mac80211/rt2x00: support Rt3352 with external PA

2012-11-13 Thread Daniel Petre
hello daniel,
tested these two patches on my dir-615 h1, 
activated the wifi interface, seems up but its acting just as until now, can't 
be seen from outside the router, i canțt see the essid..
serge patch still works great !
thanks!

On Nov 13, 2012, at 1:19 PM, Daniel Golle dgo...@allnet.de wrote:

 This is needed for WiFi to work e.g. on DIR-615 rev.H1.
 
 Signed-off-by: Daniel Golle dgo...@allnet.de
 
 create mode 100644 package/mac80211/patches/622-rt2x00-fix-rt3352-ext-pa.patch
 
 diff --git a/package/mac80211/patches/622-rt2x00-fix-rt3352-ext-pa.patch 
 b/package/mac80211/patches/622-rt2x00-fix-rt3352-ext-pa.patch
 new file mode 100644
 index 000..ab4f7b3
 --- /dev/null
 +++ b/package/mac80211/patches/622-rt2x00-fix-rt3352-ext-pa.patch
 @@ -0,0 +1,207 @@
 +--- a/drivers/net/wireless/rt2x00/rt2800lib.c
  b/drivers/net/wireless/rt2x00/rt2800lib.c
 +@@ -2271,15 +2271,18 @@ static void rt2800_config_channel(struct
 + /*
 +  * Change BBP settings
 +  */
 ++rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev-lna_gain);
 ++rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev-lna_gain);
 ++rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev-lna_gain);
 ++
 + if (rt2x00_rt(rt2x00dev, RT3352)) {
 + rt2800_bbp_write(rt2x00dev, 27, 0x0);
 + rt2800_bbp_write(rt2x00dev, 66, 0x26 + rt2x00dev-lna_gain);
 + rt2800_bbp_write(rt2x00dev, 27, 0x20);
 + rt2800_bbp_write(rt2x00dev, 66, 0x26 + rt2x00dev-lna_gain);
 ++rt2800_bbp_write(rt2x00dev, 86, 0x38);
 ++rt2800_bbp_write(rt2x00dev, 83, 0x6a);
 + } else {
 +-rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev-lna_gain);
 +-rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev-lna_gain);
 +-rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev-lna_gain);
 + rt2800_bbp_write(rt2x00dev, 86, 0);
 + }
 + 
 +@@ -3850,6 +3853,7 @@ static int rt2800_init_rfcsr(struct rt2x
 +  * Init RF calibration.
 +  */
 + if (rt2x00_rt(rt2x00dev, RT3290) ||
 ++rt2x00_rt(rt2x00dev, RT3352) ||
 + rt2x00_rt(rt2x00dev, RT5390) ||
 + rt2x00_rt(rt2x00dev, RT5392)) {
 + rt2800_rfcsr_read(rt2x00dev, 2, rfcsr);
 +@@ -4036,6 +4040,10 @@ static int rt2800_init_rfcsr(struct rt2x
 + rt2800_rfcsr_write(rt2x00dev, 31, 0x00);
 + return 0;
 + } else if (rt2x00_rt(rt2x00dev, RT3352)) {
 ++int tx0_int_pa = test_bit(CAPABILITY_INTERNAL_PA_TX0,
 ++  rt2x00dev-cap_flags);
 ++int tx1_int_pa = test_bit(CAPABILITY_INTERNAL_PA_TX1,
 ++  rt2x00dev-cap_flags);
 + rt2800_rfcsr_write(rt2x00dev, 0, 0xf0);
 + rt2800_rfcsr_write(rt2x00dev, 1, 0x23);
 + rt2800_rfcsr_write(rt2x00dev, 2, 0x50);
 +@@ -4069,15 +4077,30 @@ static int rt2800_init_rfcsr(struct rt2x
 + rt2800_rfcsr_write(rt2x00dev, 31, 0x80);
 + rt2800_rfcsr_write(rt2x00dev, 32, 0x80);
 + rt2800_rfcsr_write(rt2x00dev, 33, 0x00);
 +-rt2800_rfcsr_write(rt2x00dev, 34, 0x01);
 ++rfcsr =  0x01;
 ++if (!tx0_int_pa)
 ++rt2x00_set_field8(rfcsr, RFCSR34_TX0_EXT_PA, 1);
 ++if (!tx1_int_pa)
 ++rt2x00_set_field8(rfcsr, RFCSR34_TX1_EXT_PA, 1);
 ++rt2800_rfcsr_write(rt2x00dev, 34, rfcsr );
 + rt2800_rfcsr_write(rt2x00dev, 35, 0x03);
 + rt2800_rfcsr_write(rt2x00dev, 36, 0xbd);
 + rt2800_rfcsr_write(rt2x00dev, 37, 0x3c);
 + rt2800_rfcsr_write(rt2x00dev, 38, 0x5f);
 + rt2800_rfcsr_write(rt2x00dev, 39, 0xc5);
 + rt2800_rfcsr_write(rt2x00dev, 40, 0x33);
 +-rt2800_rfcsr_write(rt2x00dev, 41, 0x5b);
 +-rt2800_rfcsr_write(rt2x00dev, 42, 0x5b);
 ++rfcsr = 0x52;
 ++if (tx0_int_pa) {
 ++rt2x00_set_field8(rfcsr, RFCSR41_BIT1, 1);
 ++rt2x00_set_field8(rfcsr, RFCSR41_BIT4, 1);
 ++}
 ++rt2800_rfcsr_write(rt2x00dev, 41, rfcsr);
 ++rfcsr = 0x52;
 ++if (tx1_int_pa) {
 ++rt2x00_set_field8(rfcsr, RFCSR42_BIT1, 1);
 ++rt2x00_set_field8(rfcsr, RFCSR42_BIT4, 1);
 ++}
 ++rt2800_rfcsr_write(rt2x00dev, 42, rfcsr);
 + rt2800_rfcsr_write(rt2x00dev, 43, 0xdb);
 + rt2800_rfcsr_write(rt2x00dev, 44, 0xdb);
 + rt2800_rfcsr_write(rt2x00dev, 45, 0xdb);
 +@@ -4085,15 +4108,20 @@ static int rt2800_init_rfcsr(struct rt2x
 + rt2800_rfcsr_write(rt2x00dev, 47, 0x0d);
 + rt2800_rfcsr_write(rt2x00dev, 48, 0x14);
 + rt2800_rfcsr_write(rt2x00dev, 49, 0x00);
 +-rt2800_rfcsr_write(rt2x00dev, 50, 0x2d);
 +-rt2800_rfcsr_write(rt2x00dev, 51, 0x7f);
 +-

[OpenWrt-Devel] tp-link wr720n european version..

2012-09-13 Thread Daniel Petre
hello,
i just bought the european version of tp-link wr720n:

http://www.tp-link.com/en/products/details/?model=TL-WR720N

and i'm wondering if its possible to enslave it with openwrt :)

i opened it and made some pictures, you can check them here:

http://www.ip6.ro/firmware/wr720n/

you have there pics of ar9331, memory, serial (i think), the gui status
and firmware upgrade page..

if its a must i could solder a serial these days..

if anyone needs further info, i'm on freenode's #openwrt-devel as
dape, thanks !
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] tp-link wr720n european version..

2012-09-13 Thread Daniel Petre
On 09/13/2012 08:49 PM, Daniel Petre wrote:
 hello,
 i just bought the european version of tp-link wr720n:
 
 http://www.tp-link.com/en/products/details/?model=TL-WR720N
 
 and i'm wondering if its possible to enslave it with openwrt :)
 
 i opened it and made some pictures, you can check them here:
 
 http://www.ip6.ro/firmware/wr720n/
 
 you have there pics of ar9331, memory, serial (i think), the gui status
 and firmware upgrade page..
 
 if its a must i could solder a serial these days..
 
 if anyone needs further info, i'm on freenode's #openwrt-devel as
 dape, thanks !
 

thanks for trying K.,
so this has 16 mb ram, 2 mb flash and.. i think no serial whatsoever on
the board, i spent several minutes with dad measuring around and
checking milimeters of the board..

damn you tp-link, you crippled to half the eu version and let chinese
one doubled :)

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] dnsmasq syslog noise about packets received..

2012-07-15 Thread Daniel Petre
hello,
i commented the bit which sometimes fills the syslog with:
DHCP packet received on eth0.2 which has no address like it does
on my tp-link wr1043nd..

Signed-off-by: Daniel Petre d...@ip6.ro

Index: patches/105-interface-without-ip-noise.patch
===
--- patches/105-interface-without-ip-noise.patch(revision 0)
+++ patches/105-interface-without-ip-noise.patch(revision 0)
@@ -0,0 +1,11 @@
+--- a/src/dhcp.c
 b/src/dhcp.c
+@@ -275,7 +275,7 @@
+there is more than one address on the interface in the same subnet */
+   if (ioctl(daemon-dhcpfd, SIOCGIFADDR, ifr) == -1)
+ {
+-  my_syslog(MS_DHCP | LOG_WARNING, _(DHCP packet received on %s which 
has no address), ifr.ifr_name);
++  /* my_syslog(MS_DHCP | LOG_WARNING, _(DHCP packet received on %s which 
has no address), ifr.ifr_name); */
+   return;
+ }
+   else
Index: Makefile
===
--- Makefile(revision 32722)
+++ Makefile(working copy)
@@ -9,7 +9,7 @@

 PKG_NAME:=dnsmasq
 PKG_VERSION:=2.59
-PKG_RELEASE:=4
+PKG_RELEASE:=5

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] nginx 1.2.2 bump

2012-07-04 Thread Daniel Petre
hello, nginx 1.2.2 bump

Signed-off-by: Daniel Petre d...@ip6.ro

Index: Makefile
===
--- Makefile(revision 32596)
+++ Makefile(working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=nginx
-PKG_VERSION:=1.2.1
+PKG_VERSION:=1.2.2
 PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://nginx.org/download/
-PKG_MD5SUM:=ceacae12d66d1f021bf3737a0269b6f4
+PKG_MD5SUM:=53105bbe3ac9319db54d9eb46119695b

 PKG_BUILD_PARALLEL:=1
 PKG_INSTALL:=1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] dlink dir-615 h1 serial pinout

2012-03-12 Thread Daniel Petre
thanks! i guess i will use a multimeter to measure who is RX and TX 
tonight :)


On 12.03.2012 15:42, Mikko Hissa wrote:

No, the first one is VCC and the second one is GND.

d...@ip6.ro kirjoitti 12.3.2012 kello 15.37:


hello,
apologies for the slightly offtopic,
im trying to solder a serial to dlink dir615 h1 revision
and i was wondering if anyone got it right?

attached is the pic, i guess the left most is the GND and the two on 
the right are RX and TX ?


thanks!

dir615-h1_serial.jpg___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] dlink dir-615 h1 serial pinout

2012-03-12 Thread Daniel Petre

On 12.03.2012 15:46, Florian Fainelli wrote:

Hello,

Le 03/12/12 14:45, Daniel Petre a écrit :

thanks! i guess i will use a multimeter to measure who is RX and TX
tonight :)


thank you both, i have some pl2303 usb adapters , im gonna have some 
fun tonight :)




I you have a level shifter with separated TX/RX there are just two
combinations to try, and it's not like you will burn your
level-shifter now that the VCC and GND pins are known ;)



On 12.03.2012 15:42, Mikko Hissa wrote:

No, the first one is VCC and the second one is GND.

d...@ip6.ro kirjoitti 12.3.2012 kello 15.37:


hello,
apologies for the slightly offtopic,
im trying to solder a serial to dlink dir615 h1 revision
and i was wondering if anyone got it right?

attached is the pic, i guess the left most is the GND and the two 
on

the right are RX and TX ?

thanks!


dir615-h1_serial.jpg___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] dlink dir-615 h1 serial pinout

2012-03-12 Thread Daniel Petre

On 12.03.2012 18:15, Tomas Kopal wrote:
Be careful, pl2303 is not a level shifter, its USBtoSerial only. So 
you

may end up with something like +/-9V where 0-3.3V are expected!



hey, uhm.. this usb to serial with pl2303 works with 3.3v , i mean,
i already have several connected to some tp-links.. so i should be 
safe, right?



Tomas

On 2012-03-12 14:53, Daniel Petre wrote:

thank you both, i have some pl2303 usb adapters , im gonna have some
fun tonight :)


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] update hiawatha web server to 7.8.2

2011-11-25 Thread Daniel Petre

hello, patch to update hiawatha web server to 7.8.2

Signed-off-by: Daniel Petre d...@ip6.ro
---

Index: feeds/packages/net/hiawatha/Makefile
===
--- feeds/packages/net/hiawatha/Makefile(revision 29334)
+++ feeds/packages/net/hiawatha/Makefile(working copy)
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=hiawatha
-PKG_VERSION:=7.7
-PKG_RELEASE:=2
+PKG_VERSION:=7.8.2
+PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.hiawatha-webserver.org/files/
-PKG_MD5SUM:=7195c829c86f1ed37d314daa4e06d06b
+PKG_MD5SUM:=8aff3f8c759871ea1d1ff22e98030332

PKG_CONFIG_DEPENDS:= \
   CONFIG_IPV6 \
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] nginx update to 1.0.10

2011-11-25 Thread Daniel Petre
important fixes in changelog of 1.0.10 nginx from the current 1.0.8 in 
trunk:

http://nginx.org/en/CHANGES-1.0

Signed-off-by: Daniel Petre d...@ip6.ro
---

Index: feeds/packages/net/nginx/Makefile
===
--- feeds/packages/net/nginx/Makefile   (revision 29336)
+++ feeds/packages/net/nginx/Makefile   (working copy)
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=nginx
-PKG_VERSION:=1.0.8
+PKG_VERSION:=1.0.10
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nginx.org/download/
-PKG_MD5SUM:=1049e5fc6e80339f6ba8668fadfb75f9
+PKG_MD5SUM:=930b297b00fa1018fb0a1dd3e6b7e17e

PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1 


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] hostapd 2.0-devel oom issue?

2011-11-05 Thread Daniel Petre

hello,
well, meanwhile i compiled a clean trunk and relocated the router from 
office to home
and problems gone, perhaps the board got a little heated up, seems fine 
now except that i get

lots of:

ip_tables: iptables: loop hook 0 pos 1544 0021.

at serial console from time to time.

On 04.11.2011 14:27, Daniel Petre wrote:

hello,
i bugged this issue on irc too,
so, i updated my dlink 825 at the trunk version before the hostapd 
update,

it has: hostapd v0.8.x
and i updated today my wr1043n to the latest trunk and it has:
hostapd v2.0-devel

the problem i noticed this morning while being connected via wireless
to the tp-link 1043n
as soon as i scp, lets say, the factory firmware to /tmp its stalls
until its crashing the router,
resetting it.

it doesnt always crash, sometimes seem to oom and spit stuff like
this in dmesg:

http://pastebin.com/FYgX16Dk

could it be some hostapd issue ?

thanks!



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] hostapd 2.0-devel oom issue?

2011-11-04 Thread Daniel Petre

hello,
i bugged this issue on irc too,
so, i updated my dlink 825 at the trunk version before the hostapd 
update,

it has: hostapd v0.8.x
and i updated today my wr1043n to the latest trunk and it has: hostapd 
v2.0-devel


the problem i noticed this morning while being connected via wireless 
to the tp-link 1043n
as soon as i scp, lets say, the factory firmware to /tmp its stalls 
until its crashing the router,

resetting it.

it doesnt always crash, sometimes seem to oom and spit stuff like this 
in dmesg:


http://pastebin.com/FYgX16Dk

could it be some hostapd issue ?

thanks!

--
Daniel Petre,
System Administrator
RCS  RDS, Pitesti
Tel: 0348400426
Mobil: 0770048708
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] sysupgrade and tp-link wr703n

2011-11-03 Thread Daniel Petre

hello,
according to: https://dev.openwrt.org/changeset/28626
sysupgrade will kill hostapd which will terminate the link of someone 
connected to a tp-link wr703n,

a small device with only one ethernet port.

if i configured the router to connect to Internet via WAN (eth) and i 
am connected to the device via wireless

then it will disconnect me when im doing sysupgrade..

thanks!

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel