[OpenWrt-Devel] (no subject)

2020-04-18 Thread Szabolcs Hubai


Hello,

This is my second attempt to fix the snapshot images for D-Link DIR 860L B1.


This device accepts uncompressed uImages as initramfs only.
>From the flash it expects LZMA compressed image and ignores the uImage header.


To create a bootable image, the LZMA packed kernel prepared with the LZMA loader
has to be packed again with LZMA.
For the initramfs, it needs an LZMA compressed uImage header too.

In the second LZMA compression stage I use the fastest compression ("-a0") to
save some CPU power.


In my previous attempt the "-d18" LZMA parameter needs 128K more space,
while "-d19" and above causes LZMA ERROR 1.

With this patch (LZMA loader + double LZMA compression) it needs 64K more space,
compared to the snapshot image, which uses "-d23" as default.




--
Regards,
Szabolcs


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


Re: [OpenWrt-Devel] (no subject)

2019-12-11 Thread Roger Pueyo Centelles | Guifi.net
Hi,

Have you checked https://openwrt.org/trademark ?

Cheers!

El 11/12/19 a les 20:43, sagar jain ha escrit:
>
> Can i sell OpenWRT based router ?
>
>  
>
> Sent from Mail  for
> Windows 10
>
>  
>
>
> ___
> 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] (no subject)

2019-12-11 Thread sagar jain
Can i sell OpenWRT based router ?

Sent from Mail for Windows 10

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


[OpenWrt-Devel] (no subject)

2019-08-28 Thread Bahram Sadooq
زبان چینی رابه انگلیسی تغییردهید
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2019-03-14 Thread EM DEZINE


Sent from Mail for Windows 10

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


[OpenWrt-Devel] (no subject)

2019-02-06 Thread simo mamuni
Code de admin
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2018-11-24 Thread Arian Sanusi


adding kmod-mt76x0e enables the 5GHz radio on the TP-Link wr902ac-v3


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


[OpenWrt-Devel] (no subject)

2018-09-06 Thread alex123


ubus default timeout is 30 seconds so having rpcd file timeout longer 
would be nice as some commands first need to gather data then output.



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


[OpenWrt-Devel] (no subject)

2018-05-21 Thread Eneas U de Queiroz via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.--- Begin Message ---
Since upgrading to 2.1.8 is a no-go, I'll try a backport of an upstream
patch.


--- End Message ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.infradead.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2017-08-09 Thread Shelly Coen
Hi Everyone,

Tomorrow we will have the prplwrt working group meeting at 9am PT/18:00 CEST.

Dial in information is below.


Agenda:
* OpenWrt Survey — let Shelly know if you want to review it one last time 
before it is broadcast
* Summit — reminder that Call for Proposals is open until the end of the month
* Highlights from other working group chairs/participants (CIG, Security)
* Other topics of interest

Looking forward to seeing you all in the call.

Thanks,

Shelly


Please join my meeting from your computer, tablet or smartphone.
https://global.gotomeeting.com/join/593743805

You can also dial in using your phone.
United States +1 (312) 757-3129

Access Code: 593-743-805

More phone numbers
Australia +61 2 8355 1040
Austria +43 7 2088 0034
Belgium +32 (0) 28 93 7018
Canada +1 (647) 497-9353
Denmark +45 69 91 88 64
Finland +358 (0) 923 17 0568
France +33 (0) 170 950 594
Germany +49 (0) 692 5736 7210
Ireland +353 (0) 15 360 728
Italy +39 0 247 92 13 01
Netherlands +31 (0) 208 080 219
New Zealand +64 9 909 7888
Norway +47 75 80 32 07
Spain +34 955 32 0845
Sweden +46 (0) 853 527 836
Switzerland +41 (0) 435 0167 13
United Kingdom +44 (0) 330 221 0088

First GoToMeeting? Try a test session: http://help.citrix.com/getready

Official GoToMeeting Help and Support
help.citrix.com
GoToMeeting support is here to help. Download, install and test GoToMeting 
software, read popular topics, user guides, and find resources that will help 
you host a successful online meeting.





Shelly Coen
Community Manager, prpl Foundation



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


Re: [OpenWrt-Devel] (no subject)

2016-06-17 Thread Yousong Zhou
On 14 June 2016 at 06:04, Jerome  wrote:
> To: openwrt-devel@lists.openwrt.org
> From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Poulin?= 
> Date: Mon, 13 Jun 2016 17:47:50 -0400
> Subject: [PATCH] micropython-lib: fix make install seldom fail
>
> - Since make install path was hardcoded inside the build dir, it can sometime
>   fail with cp indicating that source and destination are the same since make
>   install will copy all py file in build dir to install dir. In this case,
>   install dir is in build dir causing a loop.
> ---
>  lang/micropython-lib/Makefile | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>

Hi, Jerome

micropython-lib is maintained in packages feed hosted in github.
Please open a pr there with a signed-off-by line in the commit message
body [2].

 [1] https://github.com/openwrt/packages
 [2] 
https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md#commits-in-your-pull-requests-should

Cheers,
yousong

> diff --git a/lang/micropython-lib/Makefile b/lang/micropython-lib/Makefile
> index b8af737..aefb8f4 100644
> --- a/lang/micropython-lib/Makefile
> +++ b/lang/micropython-lib/Makefile
> @@ -22,6 +22,7 @@ PKG_SOURCE_VERSION:=bfbbf85a181d84e2494ea6f15be311734666bf67
>  PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION)
>  PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
>  PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
> +PKG_INSTALL_DIR:=$(BUILD_DIR)/_install_tmp
>  PKG_BUILD_PARALLEL:=1
>
>  include $(INCLUDE_DIR)/package.mk
> @@ -43,12 +44,12 @@ endef
>
>  MAKE_FLAGS:=\
> -C $(PKG_BUILD_DIR) \
> -   PREFIX=$(PKG_BUILD_DIR)/_install_tmp \
> +   PREFIX=$(PKG_INSTALL_DIR) \
> install
>
>  define Package/micropython-lib/install
> $(INSTALL_DIR) $(1)/usr/lib/micropython
> -   $(CP) $(PKG_BUILD_DIR)/_install_tmp/* $(1)/usr/lib/micropython
> +   $(CP) $(PKG_INSTALL_DIR)/* $(1)/usr/lib/micropython
>  endef
>
>  $(eval $(call BuildPackage,micropython-lib))
> --
> 2.7.4
> ___
> 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] (no subject)

2016-06-17 Thread Jerome
To: openwrt-devel@lists.openwrt.org
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Poulin?= 
Date: Mon, 13 Jun 2016 17:47:50 -0400
Subject: [PATCH] micropython-lib: fix make install seldom fail

- Since make install path was hardcoded inside the build dir, it can sometime
  fail with cp indicating that source and destination are the same since make
  install will copy all py file in build dir to install dir. In this case,
  install dir is in build dir causing a loop.
---
 lang/micropython-lib/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/micropython-lib/Makefile b/lang/micropython-lib/Makefile
index b8af737..aefb8f4 100644
--- a/lang/micropython-lib/Makefile
+++ b/lang/micropython-lib/Makefile
@@ -22,6 +22,7 @@ PKG_SOURCE_VERSION:=bfbbf85a181d84e2494ea6f15be311734666bf67
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION)
 PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
+PKG_INSTALL_DIR:=$(BUILD_DIR)/_install_tmp
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
@@ -43,12 +44,12 @@ endef
 
 MAKE_FLAGS:=\
-C $(PKG_BUILD_DIR) \
-   PREFIX=$(PKG_BUILD_DIR)/_install_tmp \
+   PREFIX=$(PKG_INSTALL_DIR) \
install
 
 define Package/micropython-lib/install
$(INSTALL_DIR) $(1)/usr/lib/micropython
-   $(CP) $(PKG_BUILD_DIR)/_install_tmp/* $(1)/usr/lib/micropython
+   $(CP) $(PKG_INSTALL_DIR)/* $(1)/usr/lib/micropython
 endef
 
 $(eval $(call BuildPackage,micropython-lib))
-- 
2.7.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2016-04-20 Thread Ben Barker
Hi,

I can see a couple of months ago a patch was submitted to allow the wr802n
to work as expected, but at the time it looks like it was rejected because
it was not submitted properly:

https://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039591.html

Do you know if any progress was made subsequent oto this? The 802n looks
like a great succesor to the 703n, which has been a great workhouse for
various projects for some time...
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] (no subject)

2016-03-25 Thread Michael Watson
Stijn,

Thank you.

The openwrt project is really amazing.  It must take years to get up to
speed.

R/
Mike

-Original Message-
From: francesco.borrom...@inventati.org
[mailto:francesco.borrom...@inventati.org] 
Sent: Friday, March 25, 2016 8:48 AM
To: Michael Watson
Cc: openwrt-devel@lists.openwrt.org
Subject: RE: [OpenWrt-Devel] (no subject)



Hi Mike,

Sorry, not technical enough to help out with that...

Hope someone else can help you out.

Cheers

Stijn

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


Re: [OpenWrt-Devel] (no subject)

2016-03-25 Thread francesco . borromini
Hi Mike,
Sorry, not technical enough to help out with that...
Hope someone else can help you out.
Cheers
Stijn
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] (no subject)

2016-03-25 Thread Michael Watson
Stijn,

Thank you.

Regrettably, I do not have one.  However, I just picket up a TL-WA850RE v2.
Based on the FCC page the TL-WA850RE v2 components appear to be the same as
the TL-WR841ND V10.  It this what is called the ap143 reference design?

QCA9533-BL3A SOC
Zentel A3S56D40gIP-50L RAM
Winbond 25Q32FVS1G (not clear - can't make out about half in the photo)

R/
Mike

-Original Message-
From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On
Behalf Of Stijn Segers
Sent: Friday, March 25, 2016 3:36 AM
To: openwrt-devel@lists.openwrt.org
Subject: [OpenWrt-Devel] (no subject)


Subject: [PATCH] ar71xx: Add preliminary TL-WR841N/ND v11 support

This patch adds preliminary support for the TP-Link TL-WR841N/ND to trunk.
It is similar to the already supported v10 [1]. I have added support based
on that topic but since I do not have the device myself I am looking for
testers. Trunk and stable images are available here: 

https://volatilesystems.org/dl/openwrt/tl-wr841n-v11/

(DNS might be flaky - if you use e.g. OpenDNS or Google's DNS the domain
should resolve).

Thanks for testing.

Stijn

[1]: https://forum.openwrt.org/viewtopic.php?id=61309

---
 target/linux/ar71xx/image/Makefile | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/image/Makefile
b/target/linux/ar71xx/image/Makefile
index 290e85b..595fba2 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -850,6 +850,13 @@ define Device/tl-wr841-v10
 TPLINK_HWID := 0x08410010
 endef
 
+define Device/tl-wr841-v11
+   $(Device/tplink-4mlzma)
+   BOARDNAME := TL-WR841N-v9
+   DEVICE_PROFILE := TLWR841
+   TPLINK_HWID := 0x08410011
+endef
+
 define Device/tl-wr842n-v1
 $(Device/tplink-8m)
 BOARDNAME := TL-MR3420
@@ -877,7 +884,7 @@ define Device/tl-wr847n-v8
 DEVICE_PROFILE := TLWR841
 TPLINK_HWID := 0x08470008
 endef
-TARGET_DEVICES += tl-wr841-v1.5 tl-wr841-v3 tl-wr841-v5 tl-wr841-v7
tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr842n-v1 tl-wr842n-v2 tl-wr843nd-v1
tl-wr847n-v8
+TARGET_DEVICES += tl-wr841-v1.5 tl-wr841-v3 tl-wr841-v5 tl-wr841-v7 
+tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr841-v11 tl-wr842n-v1 
+tl-wr842n-v2 tl-wr843nd-v1 tl-wr847n-v8
 
 define Device/tl-wr941nd-v2
 $(Device/tplink-4m)
-- 
2.1.4
___
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] (no subject)

2016-03-25 Thread Stijn Segers
Subject: [PATCH] ar71xx: Add preliminary TL-WR841N/ND v11 support

This patch adds preliminary support for the TP-Link TL-WR841N/ND to trunk.
It is similar to the already supported v10 [1]. I have added support based
on that topic but since I do not have the device myself I am looking for
testers. Trunk and stable images are available here: 

https://volatilesystems.org/dl/openwrt/tl-wr841n-v11/

(DNS might be flaky - if you use e.g. OpenDNS or Google's DNS the domain
should resolve).

Thanks for testing.

Stijn

[1]: https://forum.openwrt.org/viewtopic.php?id=61309

---
 target/linux/ar71xx/image/Makefile | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/image/Makefile 
b/target/linux/ar71xx/image/Makefile
index 290e85b..595fba2 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -850,6 +850,13 @@ define Device/tl-wr841-v10
 TPLINK_HWID := 0x08410010
 endef
 
+define Device/tl-wr841-v11
+   $(Device/tplink-4mlzma)
+   BOARDNAME := TL-WR841N-v9
+   DEVICE_PROFILE := TLWR841
+   TPLINK_HWID := 0x08410011
+endef
+
 define Device/tl-wr842n-v1
 $(Device/tplink-8m)
 BOARDNAME := TL-MR3420
@@ -877,7 +884,7 @@ define Device/tl-wr847n-v8
 DEVICE_PROFILE := TLWR841
 TPLINK_HWID := 0x08470008
 endef
-TARGET_DEVICES += tl-wr841-v1.5 tl-wr841-v3 tl-wr841-v5 tl-wr841-v7 
tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr842n-v1 tl-wr842n-v2 tl-wr843nd-v1 
tl-wr847n-v8
+TARGET_DEVICES += tl-wr841-v1.5 tl-wr841-v3 tl-wr841-v5 tl-wr841-v7 
tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr841-v11 tl-wr842n-v1 tl-wr842n-v2 
tl-wr843nd-v1 tl-wr847n-v8
 
 define Device/tl-wr941nd-v2
 $(Device/tplink-4m)
-- 
2.1.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2015-10-19 Thread L. D. Pinney
Subject: [PATCH] CC: ar71xx: Bitmain Antminer S1 & S3 cleanup

Sets the LEDs to boardname:color:led-name
Sets the LAN to eth0
Corrects the profile names in the Makefile and changes tabs to spaces 
in the Makefile 'define Device/' like the other devices.
Other corrections such as the Machine Name and HWIDs

Signed-off-by: L. D. Pinney 
---
 target/linux/ar71xx/base-files/etc/diag.sh 
|  6 ++-
 target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
| 10 ++---
 target/linux/ar71xx/base-files/etc/uci-defaults/02_network 
|  4 +-
 target/linux/ar71xx/base-files/lib/ar71xx.sh   
| 14 --
 target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c   
|  6 +--
 target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c   
|  8 ++--
 target/linux/ar71xx/files/arch/mips/ath79/mach-antrouter-r1.c  
| 98 --
 target/linux/ar71xx/generic/profiles/antminer.mk   
| 16 +++
 target/linux/ar71xx/image/Makefile 
| 20 -
 
target/linux/ar71xx/patches-3.18/904-MIPS-ath79-bitmain-antminer-s1-support.patch
  |  2 +-
 
target/linux/ar71xx/patches-3.18/905-MIPS-ath79-bitmain-antminer-s3-support.patch
  |  4 +-
 
target/linux/ar71xx/patches-3.18/907-MIPS-ath79-bitmain-antrouter-r1-support.patch
 | 45 ---
 tools/firmware-utils/src/mktplinkfw.c  
|  9 +++-
 13 files changed, 56 insertions(+), 186 deletions(-)

diff --git a/target/linux/ar71xx/base-files/etc/diag.sh 
b/target/linux/ar71xx/base-files/etc/diag.sh
index 9e30313..89fe53c 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -12,9 +12,11 @@ get_status_led() {
all0305)
status_led="eap7660d:green:ds4"
;;
-   antminer-s1|\
+   antminer-s1)
+   status_led="antminer-s1:green:system"
+   ;;
antminer-s3)
-   status_led="bitmain:green:system"
+   status_led="antminer-s3:green:system"
;;
ap132)
status_led="ap132:green:status"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds 
b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 88e966d..5241db2 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -32,14 +32,14 @@ all0315n)
;;
 
 antminer-s1)
-   ucidef_set_led_default "sys" "SYS" "bitmain:green:sys" "0"
-   ucidef_set_led_wlan "wlan" "WLAN" "bitmain:green:wlan" "phy0tpt"
+   ucidef_set_led_default "sys" "SYS" "antminer-s1:green:sys" "0"
+   ucidef_set_led_wlan "wlan" "WLAN" "antminer-s1:green:wlan" "phy0tpt"
;;
 
 antminer-s3)
-   ucidef_set_led_wlan "wlan" "WLAN" "bitmain:green:wlan" "phy0tpt"
-   ucidef_set_led_default "sys" "SYS" "bitmain:green:sys" "0"
-   ucidef_set_led_default "lan" "LAN" "bitmain:yellow:lan" "0"
+   ucidef_set_led_wlan "wlan" "WLAN" "antminer-s3:green:wlan" "phy0tpt"
+   ucidef_set_led_default "sys" "SYS" "antminer-s3:green:sys" "0"
+   ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0"
;;
 
 ap113)
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network 
b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index cbd7b13..5c38c54 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -322,6 +322,8 @@ dlan-pro-1200-ac)
;;
 
 all0305 |\
+antminer-s1 |\
+antminer-s3 |\
 aw-nr580 |\
 bullet-m |\
 cap4200ag |\
@@ -366,8 +368,6 @@ wp543)
ucidef_set_interface_lan "eth0"
;;
 
-antminer-s1 |\
-antminer-s3 |\
 dir-505-a1)
ucidef_set_interface_lan "eth1"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh 
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 6f5ff18..839abc7 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -107,11 +107,11 @@ tplink_board_detect() {
"015300"*)
model="EasyLink EL-MINI"
;;
-   "04440001"*)
-   model="BITMAIN ANTMINER S1"
+   "044401"*)
+   model="ANTMINER-S1"
;;
-   "04440003"*)
-   model="BITMAIN ANTMINER S3"
+   "044403"*)
+   model="ANTMINER-S3"
;;
"12"*)
model="MERCURY MAC1200R"
@@ -344,6 +344,12 @@ ar71xx_board_detect() {
*ALL0315N)
name="all0315n"
;;
+   *Antminer-S1)
+   name="antminer-s1"
+   ;;
+   

[OpenWrt-Devel] (no subject)

2015-07-29 Thread L. D. Pinney
Subject: [PATCH] ramips: Fix Ticket #20153 swap radio calibration data pointers 
on the RE6500

This patch fixes weak radio signal reported by nikola.georgiev

Signed-off-by: L. D. Pinney ldpin...@gmail.com
---
Patch applies to CC as well.

 target/linux/ramips/dts/RE6500.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/RE6500.dts 
b/target/linux/ramips/dts/RE6500.dts
index 0c33994..36d6218 100644
--- a/target/linux/ramips/dts/RE6500.dts
+++ b/target/linux/ramips/dts/RE6500.dts
@@ -69,7 +69,7 @@
mt76@0,0 {
reg = 0x 0 0 0 0;
device_type = pci;
-   mediatek,mtd-eeprom = factory 0x8000;
+   mediatek,mtd-eeprom = factory 0x;
mediatek,2ghz = 0;
};
};
@@ -78,7 +78,7 @@
mt76@1,0 {
reg = 0x 0 0 0 0;
device_type = pci;
-   mediatek,mtd-eeprom = factory 0x;
+   mediatek,mtd-eeprom = factory 0x8000;
mediatek,5ghz = 0;
};
};
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2015-05-18 Thread Alison C.
Hey everybody,

I'm trying to build a Barrier Breaker image with OpenVswitch 2.3.1. However,
it fails with

{standard input}:1116: Error: unknown pseudo-op: `.tprelword'

error. I found [a Stack Overflow
thread](http://stackoverflow.com/questions/8872517)
that suggests this is due to a too old binutils or a version mismatch
between gcc and g++. However, I know i'm using the gcc, g++, binutils in the
buildroot environment, whose versions are as follows:

[11:42:40] 
erinacity:~/Code/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin
alisonc $ ./mips-openwrt-linux-uclibc-gcc --version | head -1
mips-openwrt-linux-uclibc-gcc (OpenWrt/Linaro GCC 4.8-2014.04 r45620) 4.8.3

alisonc $ ./mips-openwrt-linux-uclibc-g++ --version | head -1
mips-openwrt-linux-uclibc-g++ (OpenWrt/Linaro GCC 4.8-2014.04 r45620) 4.8.3

alisonc $ ./mips-openwrt-linux-uclibc-as --version | head -1
GNU assembler (GNU Binutils) 2.22

The relevant snippet of the build log is below the fold, full build log is
[here](http://sprunge.us/aNKc), and i can pass along any other info that's
necessary.

How do i go about fixing this? Should i switch to a different OVS version? a
different OpenWrt version? I was able to build successfully a while ago with
Attitude Adjustment and OVS 1.9.0. Thanks in advance.

Cheers,
Alison



make[6]: Entering directory
`/home/alisonc/Code/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.1'
depbase=`echo lib/coverage.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CC   --mode=compile
mips-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I.-I ./include -I
./lib -I ./lib 
-I/home/alisonc/Code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
  
-I/home/alisonc/Code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
-I/home/alisonc/Code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/alisonc/Code/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/alisonc/Code/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include
 -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith
-Wdeclaration-after-statement -Wno-format-zero-length -Wswitch-enum
-Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align
-Wmissing-prototypes -Wmissing-field-initializers
-I/home/alisonc/Code/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.1/lib
-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16
-minterlink-mips16 -std=gnu99 -MT lib/coverage.lo -MD -MP -MF
$depbase.Tpo -c -o lib/coverage.lo lib/coverage.c \
mv -f $depbase.Tpo $depbase.Plo
OpenWrt-libtool: compile:  mips-openwrt-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I ./include -I ./lib -I ./lib
-I/home/alisonc/Code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
-I/home/alisonc/Code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
-I/home/alisonc/Code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/alisonc/Code/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/alisonc/Code/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include
-Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith
-Wdeclaration-after-statement -Wno-format-zero-length -Wswitch-enum
-Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align
-Wmissing-prototypes -Wmissing-field-initializers
-I/home/alisonc/Code/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.1/lib
-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16
-minterlink-mips16 -std=gnu99 -MT lib/coverage.lo -MD -MP -MF
lib/.deps/coverage.Tpo -c lib/coverage.c -o lib/coverage.o
{standard input}: Assembler messages:
{standard input}:1116: Error: unknown pseudo-op: `.tprelword'
make[6]: *** [lib/coverage.lo] Error 1
make[6]: Leaving directory
`/home/alisonc/Code/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.1'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/alisonc/Code/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/alisonc/Code/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.1'
make[3]: ***
[/home/alisonc/Code/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.1/.built]
Error 2
make[3]: Leaving directory
`/home/alisonc/Code/openwrt/feeds/openvswitch/openvswitch'
make[2]: *** [package/feeds/openvswitch/openvswitch/compile] Error 2
make[2]: Leaving directory `/home/alisonc/Code/openwrt'
make[1]: ***

[OpenWrt-Devel] (no subject)

2015-02-23 Thread marvie melliza
https://lists.openwrt.org/cgi-bin/mailman/confirm/openwrt-devel/20d2b3e1caa737fae52aa05e7568d63432844198
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2015-01-19 Thread Karl Palsson

Hi,

The wiki page for http://wiki.openwrt.org/doc/howto/hardware.button
refers to https://dev.openwrt.org/changeset/37336 procd: make old
button hotplug rules work until all packages are migrated

Which imply that procd took over hotplug buttons, and that there's a
proper way that packages should migrate to a new form.  Is there any
example of what this new form is?  Existing hotplug scripts are just
working as is, but are they going to go away?

Sincerely,
Karl Palsson


-- 
Sent using Mailpile, Free Software from www.mailpile.is___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] (no subject)

2015-01-19 Thread John Crispin


On 19/01/2015 16:54, Karl Palsson wrote:
 
 Hi,
 
 The wiki page for
 http://wiki.openwrt.org/doc/howto/hardware.button refers to
 https://dev.openwrt.org/changeset/37336 procd: make old button
 hotplug rules work until all packages are migrated
 
 Which imply that procd took over hotplug buttons, and that there's
 a proper way that packages should migrate to a new form.  Is
 there any example of what this new form is?  Existing hotplug
 scripts are just working as is, but are they going to go away?
 

have a look at /etc/rc.button/*

 Sincerely, Karl Palsson
 
 
 
 
 ___ 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] (no subject)

2014-11-26 Thread Daniel Golle
The following changes since commit 576d8531a744377b1c9e322d8d1533474064b880:

  [ar71xx]: fix the r6100's wan led name (2014-11-26 11:38:59 +)

are available in the git repository at:

  https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git 

for you to fetch changes up to cd4f739b2d35744b6b9dacfa1e4edcaf6e2337d5:

  oxnas: change visible board name (2014-11-26 14:04:50 +0100)


Daniel Golle (2):
  oxnas: ehci: rename vendor prefix plxtch to plxtech
  oxnas: change visible board name

 target/linux/oxnas/Makefile| 2 +-
 target/linux/oxnas/files/arch/arm/boot/dts/ox820.dtsi  | 2 +-
 target/linux/oxnas/files/drivers/usb/host/ehci-oxnas.c | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2014-11-26 Thread Martijn Zilverschoon
Patch to add the buildprofile for the GL-Init-6408A-v1 and the GL-Inet-6416A-v1
Both devices are identical, only difference is one comes with 8MB flash and the 
other with 16MB flash

Official website: http://www.gl-inet.com/w/?page_id=241lang=en
Comprehensive list of specs: https://revspace.nl/GL-Inet
Official ebay store: 
http://www.ebay.com/sch/alfie.zhao/m.html?_nkw=_armrs=1_ipg=_from=
Official amazon store: 
http://www.amazon.com/gp/aag/main?ie=UTF8seller=A364119SDJA4QG
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2014-03-07 Thread W. Michael Petullo
From 4454a29846b8c580dc380b108cfa8e48a13ff67a Mon Sep 17 00:00:00 2001
From: W. Michael Petullo m...@flyn.org
Date: Fri, 7 Mar 2014 21:58:27 -0500
Subject: [PATCH 3/6] Add base plugins for GStreamer 1.0
To: openwrt-devel@lists.openwrt.org

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-base/Makefile  | 237 +
 .../gst1-plugins-base/patches/001-no_docs.patch|  36 
 .../gst1-plugins-base/patches/002-no_tests.patch   |  38 
 .../patches/003-no_translations.patch  |  49 +
 4 files changed, 360 insertions(+)
 create mode 100644 multimedia/gst1-plugins-base/Makefile
 create mode 100644 multimedia/gst1-plugins-base/patches/001-no_docs.patch
 create mode 100644 multimedia/gst1-plugins-base/patches/002-no_tests.patch
 create mode 100644 
multimedia/gst1-plugins-base/patches/003-no_translations.patch

diff --git a/multimedia/gst1-plugins-base/Makefile 
b/multimedia/gst1-plugins-base/Makefile
new file mode 100644
index 000..00d9b3e
--- /dev/null
+++ b/multimedia/gst1-plugins-base/Makefile
@@ -0,0 +1,237 @@
+#
+# Copyright (C) 2008-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:=gst1-plugins-base
+PKG_VERSION:=1.2.3
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-base-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-base-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-base/
+PKG_MD5SUM:=17aeabfbcd232526f50c9bee375f1b97
+
+PKG_BUILD_DEPENDS:= gstreamer1 liboil
+PKG_CONFIG_DEPENDS:= \
+   CONFIG_PACKAGE_gst1-mod-alsa \
+   CONFIG_PACKAGE_gst1-mod-app \
+   CONFIG_PACKAGE_gst1-mod-audioconvert \
+   CONFIG_PACKAGE_gst1-mod-audiorate \
+   CONFIG_PACKAGE_gst1-mod-audioresample \
+   CONFIG_PACKAGE_gst1-mod-audiotestsrc \
+   CONFIG_PACKAGE_gst1-mod-gio \
+   CONFIG_PACKAGE_gst1-mod-ogg \
+   CONFIG_PACKAGE_gst1-mod-tcp \
+   CONFIG_PACKAGE_gst1-mod-theora \
+   CONFIG_PACKAGE_gst1-mod-videotestsrc \
+   CONFIG_PACKAGE_gst1-mod-volume \
+   CONFIG_PACKAGE_gst1-mod-vorbis \
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+# -liconv crept in from pkg-config, to be revisited later
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-base
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (base)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts1-plugins-base/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other libraries and
+ plugins from the base plugins collection.
+endef
+
+
+GST_COND_SELECT = $(patsubst %,$(if 
$(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   \
+   $(call GST_COND_SELECT,alsa) \
+   --disable-alsa-test \
+   $(call GST_COND_SELECT,app) \
+   $(call GST_COND_SELECT,audioconvert) \
+   $(call GST_COND_SELECT,audiorate) \
+   $(call GST_COND_SELECT,audioresample) \
+   $(call GST_COND_SELECT,audiotestsrc) \
+   --disable-cdparanoia \
+   --disable-ffmpegcolorspace \
+   --disable-freetypetest \
+   $(call GST_COND_SELECT,gio) \
+   --disable-gnome_vfs \
+   --disable-gst_v4l \
+   --disable-libvisual \
+   $(call GST_COND_SELECT,ogg) \
+   --disable-oggtest \
+   --disable-pango \
+   --disable-subparse \
+   $(call GST_COND_SELECT,tcp) \
+   $(call GST_COND_SELECT,theora) \
+   --disable-videorate \
+   --disable-videoscale \
+   $(call GST_COND_SELECT,videotestsrc) \
+   $(call GST_COND_SELECT,volume) \
+   $(call GST_COND_SELECT,vorbis) \
+   --disable-vorbistest \
+   --disable-x \
+   --disable-xshm \
+   --disable-xvideo \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+   \
+   --with-audioresample-format=int \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Build/InstallDev
+   $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/include/gstreamer-$(GST_VERSION)/* \
+   $(1)/usr/include/gstreamer-$(GST_VERSION)/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/libgst*-$(GST_VERSION).{la,so*} \
+   $(1)/usr/lib/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( 

[OpenWrt-Devel] (no subject)

2014-03-07 Thread W. Michael Petullo
From f45f723f81bfa889556526f0a5c0ce7ae5ff10b3 Mon Sep 17 00:00:00 2001
From: W. Michael Petullo m...@flyn.org
Date: Fri, 7 Mar 2014 22:34:17 -0500
Subject: [PATCH 4/6] Good plugins for GStreamer 1.0.
To: openwrt-devel@lists.openwrt.org

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-good/Makefile  | 175 +
 .../gst1-plugins-good/patches/001-no_docs.patch|  22 +++
 .../gst1-plugins-good/patches/002-no_tests.patch   |  22 +++
 .../patches/003-no_translations.patch  |  33 
 4 files changed, 252 insertions(+)
 create mode 100644 multimedia/gst1-plugins-good/Makefile
 create mode 100644 multimedia/gst1-plugins-good/patches/001-no_docs.patch
 create mode 100644 multimedia/gst1-plugins-good/patches/002-no_tests.patch
 create mode 100644 
multimedia/gst1-plugins-good/patches/003-no_translations.patch

diff --git a/multimedia/gst1-plugins-good/Makefile 
b/multimedia/gst1-plugins-good/Makefile
new file mode 100644
index 000..e3a560a
--- /dev/null
+++ b/multimedia/gst1-plugins-good/Makefile
@@ -0,0 +1,175 @@
+## Copyright (C) 2009-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:=gst1-plugins-good
+PKG_VERSION:=1.0.7
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
+PKG_MD5SUM:=e4b1c825475a9b478fe29e8e9f34516f
+
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-good
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (good)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts-plugins-good/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other plugins from
+ the good plugins collection.
+endef
+
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   \
+   --disable-aalib \
+   --disable-alpha \
+   --disable-annodex \
+   --disable-apetag \
+   --disable-auparse \
+   --disable-avi \
+   --disable-bz2 \
+   --disable-cairo \
+   --disable-directsound \
+   --disable-dv1394 \
+   --disable-effectv \
+   --disable-esd \
+   --disable-flv \
+   --disable-flx \
+   --disable-gconf \
+   --disable-gconftool \
+   --disable-gdk_pixbuf \
+   --disable-goom \
+   --disable-goom2k1 \
+   --disable-gst_v4l2 \
+   --disable-hal \
+   --disable-jpeg \
+   --disable-law \
+   --disable-libcaca \
+   --disable-libdv \
+   --disable-libpng \
+   --disable-matroska \
+   --disable-monoscope \
+   --disable-osx_audio \
+   --disable-osx_video \
+   --disable-pulse \
+   --disable-qtdemux \
+   --disable-rtspmanager \
+   --disable-smpte \
+   --disable-shout2 \
+   --disable-speex \
+   --disable-sunaudio \
+   --disable-taglib \
+   --disable-videobox \
+   --disable-videocrop \
+   --disable-videofilter \
+   --disable-videomixer \
+   --disable-wavpack \
+   --disable-x \
+   --disable-xshm \
+   --disable-xvideo \
+   --disable-y4m \
+   --disable-zlib \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Package/gst1-plugins-good/install
+   /bin/true
+endef
+
+
+# 1: short name
+# 2: description
+# 3: dependencies on other gstreamer libraries (short name)
+# 4: dependencies on other gstreamer plugins (short name)
+# 5: dependencies on other packages
+define GstBuildPlugin
+
+  GST_DEPENDS += +gst1-mod-$(1)
+
+  define Package/gst1-mod-$(1)
+$(call Package/gstreamer1/Default)
+TITLE+= $(2) plugin (good)
+DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach 
p,$(4),+gst1-mod-$$(p)) $(5)
+  endef
+
+  define Package/gst1-mod-$(1)/description
+   $(call Package/gstreamer1/description/Default)
+   .
+   This package contains the GStreamer $(2) plugin.
+  endef
+
+  define Package/gst1-mod-$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
+   $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+   )
+  endef
+
+  $$(eval $$(call 

[OpenWrt-Devel] (no subject)

2014-03-07 Thread W. Michael Petullo
From 4648b73df7eff02ff7f8633b06bb4a48bb172d9b Mon Sep 17 00:00:00 2001
From: W. Michael Petullo m...@flyn.org
Date: Fri, 7 Mar 2014 22:34:56 -0500
Subject: [PATCH 6/6] Ugly plugins for GStreamer 1.0.
To: openwrt-devel@lists.openwrt.org

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-ugly/Makefile  | 135 +
 .../gst1-plugins-ugly/patches/001-no_docs.patch|  24 
 .../gst1-plugins-ugly/patches/002-no_tests.patch   |  24 
 .../patches/003-no_translations.patch  |  35 ++
 4 files changed, 218 insertions(+)
 create mode 100644 multimedia/gst1-plugins-ugly/Makefile
 create mode 100644 multimedia/gst1-plugins-ugly/patches/001-no_docs.patch
 create mode 100644 multimedia/gst1-plugins-ugly/patches/002-no_tests.patch
 create mode 100644 
multimedia/gst1-plugins-ugly/patches/003-no_translations.patch

diff --git a/multimedia/gst1-plugins-ugly/Makefile 
b/multimedia/gst1-plugins-ugly/Makefile
new file mode 100644
index 000..dd75e66
--- /dev/null
+++ b/multimedia/gst1-plugins-ugly/Makefile
@@ -0,0 +1,135 @@
+#
+# Copyright (C) 2009-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:=gst1-plugins-ugly
+PKG_VERSION:=1.2.3
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-ugly-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-ugly-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/
+PKG_MD5SUM:=7ae60e2f759f58f32af5fcdc3c9193c4
+
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
+PKG_CONFIG_DEPENDS:= \
+   CONFIG_PACKAGE_gst1-mod-asf \
+   CONFIG_PACKAGE_gst1-mod-lame \
+   CONFIG_PACKAGE_gst1-mod-mad \
+   CONFIG_PACKAGE_gst1-mod-mpeg2dec \
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-ugly
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (ugly)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts-plugins-ugly/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other plugins from
+ the ugly plugins collection.
+endef
+
+
+GST_COND_SELECT = $(patsubst %,$(if 
$(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   \
+   --disable-a52dec \
+   --disable-amrnb \
+   --disable-amrwb \
+   $(call GST_COND_SELECT,asf) \
+   --disable-cdio \
+   --disable-dvdlpcmdec \
+   --disable-dvdread \
+   --disable-dvdsub \
+   --disable-iec958 \
+   $(call GST_COND_SELECT,lame) \
+   $(call GST_COND_SELECT,mad) \
+   $(call GST_COND_SELECT,mpeg2dec) \
+   --disable-mpegaudioparse \
+   --disable-mpegstream \
+   --disable-realmedia \
+   --disable-sidplay \
+   --disable-synaesthesia \
+   --disable-twolame \
+   --disable-x264 \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Package/gst1-plugins-ugly/install
+   /bin/true
+endef
+
+
+# 1: short name
+# 2: description
+# 3: dependencies on other gstreamer libraries (short name)
+# 4: dependencies on other gstreamer plugins (short name)
+# 5: dependencies on other packages
+define GstBuildPlugin
+
+  GST_DEPENDS += +gst1-mod-$(1)
+
+  define Package/gst1-mod-$(1)
+$(call Package/gstreamer1/Default)
+TITLE+= $(2) plugin (ugly)
+DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach 
p,$(4),+gst1-mod-$$(p)) $(5)
+  endef
+
+  define Package/gst1-mod-$(1)/description
+   $(call Package/gstreamer1/description/Default)
+   .
+   This package contains the GStreamer $(2) plugin.
+  endef
+
+  define Package/gst1-mod-$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
+   $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+   )
+  endef
+
+  $$(eval $$(call BuildPackage,gst1-mod-$(1)))
+endef
+
+$(eval $(call GstBuildPlugin,asf,ASF demuxer,audio riff rtp rtsp sdp tag,,))
+$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib))
+$(eval $(call GstBuildPlugin,mad,MP3 decoder (using MAD),audio tag,,+libid3tag 
+libmad))
+$(eval $(call GstBuildPlugin,mpeg2dec,MPEG decoder,video,,+libmpeg2))
+
+$(eval $(call BuildPackage,gst1-plugins-ugly))
diff --git a/multimedia/gst1-plugins-ugly/patches/001-no_docs.patch 

[OpenWrt-Devel] (no subject)

2014-03-07 Thread W. Michael Petullo
From 42ce62f764ec046620fbdc2120f1891a22dd966b Mon Sep 17 00:00:00 2001
From: W. Michael Petullo m...@flyn.org
Date: Fri, 7 Mar 2014 21:57:00 -0500
Subject: [PATCH 2/6] Many applications are starting to require GStreamer 1.0,
 which is API-incompatible with GStreamer 0.10. The name gstreamer1 allows
 GStreamer 0.10 and 1.0 to coexist, in a manner similar to gtk1 and gtk2.
To: openwrt-devel@lists.openwrt.org

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gstreamer1/Makefile | 189 +
 multimedia/gstreamer1/patches/001-no_docs.patch|  37 
 multimedia/gstreamer1/patches/002-no_tests.patch   |  39 +
 .../gstreamer1/patches/003-no_translations.patch   |  48 ++
 4 files changed, 313 insertions(+)
 create mode 100644 multimedia/gstreamer1/Makefile
 create mode 100644 multimedia/gstreamer1/patches/001-no_docs.patch
 create mode 100644 multimedia/gstreamer1/patches/002-no_tests.patch
 create mode 100644 multimedia/gstreamer1/patches/003-no_translations.patch

diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile
new file mode 100644
index 000..d410960
--- /dev/null
+++ b/multimedia/gstreamer1/Makefile
@@ -0,0 +1,189 @@
+#
+# Copyright (C) 2008-2012 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:=gstreamer1
+PKG_VERSION:=1.2.3
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION)
+PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/
+PKG_MD5SUM:=8155b9c7574ccaa361cc504e8e0e72dc
+
+PKG_FIXUP:=autoreconf
+PKG_REMOVE_FILES:=autogen.sh aclocal.m4
+
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gstreamer1
+$(call Package/gstreamer1/Default)
+  TITLE+= framework
+  DEPENDS+= +libgstreamer1 \
+   +libgst1check \
+   +libgst1controller \
+   +libgst1net
+endef
+
+define Package/gstreamer1/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies on the other GStreamer
+ componenents.
+endef
+
+
+define Package/gstreamer1-utils
+$(call Package/gstreamer1/Default)
+  TITLE+= utilities
+  DEPENDS+= +libgstreamer1
+endef
+
+define Package/gstreamer1-utils/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This package contains the GStreamer utilities.
+endef
+
+
+define Package/libgstreamer1
+$(call Package/gstreamer1/Default)
+  TITLE+= library (core)
+  DEPENDS+= +glib2 +libpthread +libxml2
+endef
+
+define Package/libgstreamer1/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This package contains the GStreamer core library.
+endef
+  
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --enable-static \
+   --disable-examples \
+   --disable-tests \
+   --disable-valgrind \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+   -L$(ICONV_PREFIX)/lib -L$(INTL_PREFIX)/lib
+
+define Build/InstallDev
+   $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/include/gstreamer-$(GST_VERSION)/* \
+   $(1)/usr/include/gstreamer-$(GST_VERSION)/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \
+   $(1)/usr/lib/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
+   $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
+   $(1)/usr/lib/pkgconfig/ \
+   )
+   $(INSTALL_DIR) $(2)/share/aclocal
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/share/aclocal/* \
+   $(2)/share/aclocal/ \
+   )
+endef
+
+define Package/gstreamer1/install
+   /bin/true
+endef
+
+define Package/gstreamer1-utils/install
+   $(INSTALL_DIR) $(1)/usr/bin
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/bin/gst-launch* \
+   ./usr/bin/gst-inspect* \
+   ./usr/bin/gst-typefind* \
+   $(1)/usr/bin/ \
+   )
+endef
+
+define Package/libgstreamer1/install
+   $(INSTALL_DIR) $(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   

[OpenWrt-Devel] (no subject)

2014-03-07 Thread W. Michael Petullo
From ff2e304c49fc5efc549558f3c958ed439c1d942f Mon Sep 17 00:00:00 2001
From: W. Michael Petullo m...@flyn.org
Date: Fri, 7 Mar 2014 22:34:39 -0500
Subject: [PATCH 5/6] Bad plugins for GStreamer 1.0.
To: openwrt-devel@lists.openwrt.org

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-bad/Makefile   | 253 +
 .../gst1-plugins-bad/patches/000-gettext.patch |  45 
 2 files changed, 298 insertions(+)
 create mode 100644 multimedia/gst1-plugins-bad/Makefile
 create mode 100644 multimedia/gst1-plugins-bad/patches/000-gettext.patch

diff --git a/multimedia/gst1-plugins-bad/Makefile 
b/multimedia/gst1-plugins-bad/Makefile
new file mode 100644
index 000..b82b1dd
--- /dev/null
+++ b/multimedia/gst1-plugins-bad/Makefile
@@ -0,0 +1,253 @@
+#
+# Copyright (C) 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:=gst1-plugins-bad
+PKG_VERSION:=1.2.3
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-bad-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-bad-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/
+PKG_MD5SUM:=cfd6f303c8df2740b27cc63b945decef
+
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-bad
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (bad)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts1-plugins-bad/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other plugins from
+ the bad plugins collection.
+endef
+
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   --disable-nls   \
+   \
+   --disable-directsound \
+   --disable-directdraw \
+   --disable-osx_video \
+   --disable-quicktime \
+   --disable-vcd \
+   --disable-alsa \
+   --disable-assrender \
+   --disable-amrwb \
+   --disable-apexsink \
+   --disable-bz2 \
+   --disable-cdaudio \
+   --disable-celt \
+   --disable-cog \
+   --disable-dc1394 \
+   --disable-directfb \
+   --disable-dirac \
+   --disable-dts \
+   --disable-divx \
+   --disable-resindvd \
+   --disable-metadata \
+   --disable-faac \
+   --disable-faad \
+   --disable-fbdev \
+   --disable-flite \
+   --disable-gsm \
+   --disable-jack \
+   --disable-jp2k \
+   --disable-kate \
+   --disable-ladspa \
+   --disable-lv2 \
+   --disable-modplug \
+   --disable-mimic \
+   --disable-libmms \
+   --disable-mpeg2enc \
+   --disable-mplex \
+   --disable-musepack \
+   --disable-musicbrainz \
+   --disable-mythtv \
+   --disable-nas \
+   --disable-neon \
+   --disable-ofa \
+   --disable-rsvg \
+   --disable-timidity \
+   --disable-wildmidi \
+   --disable-sdl \
+   --disable-sdltest \
+   --disable-sndfile \
+   --disable-soundtouch \
+   --disable-spc \
+   --disable-gme \
+   --disable-swfdec \
+   --disable-theoradec \
+   --disable-xvid \
+   --disable-dvb \
+   --disable-wininet \
+   --disable-acm \
+   --disable-vdpau \
+   --disable-schro \
+   --disable-zbar \
+   --disable-vp8 \
+   --disable-librfb \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Package/gst1-plugins-ugly/install
+   /bin/true
+endef
+
+# 1: short name
+# 2: description
+# 3: dependencies on other gstreamer libraries (short name)
+# 4: dependencies on other packages
+define GstBuildLibrary
+
+  GST_DEPENDS += +libgst1$(1)
+
+  define Package/libgst1$(1)
+$(call Package/gstreamer1/Default)
+TITLE+= $(2) library (base)
+DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
+  endef
+
+  define Package/libgst1$(1)/description
+   $(call Package/gstreamer1/description/Default)
+   .
+   This package contains the GStreamer $(2) library.
+  endef
+
+  define Package/libgst1$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
+   $$(1)/usr/lib/ \
+   )
+  endef
+
+  $$(eval $$(call BuildPackage,libgst1$(1)))
+endef
+$(eval $(call GstBuildLibrary,photography,photography,,))
+
+
+# 1: short name
+# 2: description
+# 3: 

[OpenWrt-Devel] (no subject)

2014-03-07 Thread W. Michael Petullo
From 0e3d0fc4fef035b210250d927640e677f1f4bf88 Mon Sep 17 00:00:00 2001
From: W. Michael Petullo m...@flyn.org
Date: Fri, 7 Mar 2014 21:56:14 -0500
Subject: [PATCH 1/6] Fix build of glib2 on Fedora 20
To: openwrt-devel@lists.openwrt.org

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 libs/glib2/Makefile | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile
index 978e816..9c69ee6 100644
--- a/libs/glib2/Makefile
+++ b/libs/glib2/Makefile
@@ -57,6 +57,13 @@ define Build/Configure
);
 endef
 
+# Fix build on Fedora 20.
+define Host/Configure
+   $(call Host/Configure/Default, \
+   --disable-selinux \
+   );
+endef
+
 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) \
-- 
1.8.5.3
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2013-11-15 Thread Gerhard Bertelsmann
Hi,

I'm trying to get the second UART working on a WR841N v8.
The AR9341 SoC does have a AR9330 and a 8250 style UART,
which is normally the console.

I'm facing some problems to get it working. Does anybody
tried to get similar working ?

AFAIK the only difference between the AR934x high speed Uart and
the AR9330 Uart is the FIFO size (only 4 instead of 16 bytes)
and the missing DMA capability, which isn't used.

The existing AR9330-uart code in the kernel should provide
all necessary routines. To debug the code I'm using it as
module (please find attached code) with some light modifications
providing the necessary mods.

Here is the snpippet of the init code:

#define AR71XX_APB_BASE 0x1800
#define AR71XX_UART_SIZE0x100
#define AR934X_UART1_BASE  (AR71XX_APB_BASE + 0x0050)
#define AR934X_UART1_FIFO_SIZE  4

static struct resource ar933x_uart_resources[] = {
{
.start  = AR934X_UART1_BASE,
.end= AR934X_UART1_BASE + AR71XX_UART_SIZE - 1,
.flags  = IORESOURCE_MEM,
},
{
.start  = ATH79_MISC_IRQ(6),
.end= ATH79_MISC_IRQ(6),
.flags  = IORESOURCE_IRQ,
},
};

static struct platform_device ar933x_uart_device = {
.name   = DRIVER_NAME,
.id = -1,
.resource   = ar933x_uart_resources,
.num_resources  = ARRAY_SIZE(ar933x_uart_resources),
};


   platform_device_register(ar933x_uart_device);

Before loading the module, I see this:

root@OpenWrt:~# find /sys/ -name ar9*art
/sys/bus/platform/drivers/ar933x-uart
root@OpenWrt:~#
root@OpenWrt:~# show-gpio | head -4
   JP2 pin 9 GPIO00 O - UART1_TD
   JP2 pin 3 GPIO01 I l GPIO
   JP2 pin 5 GPIO02 O h GPIO
   JP2 pin 7 GPIO03 I - UART1_RD
root@OpenWrt:~# find /sys/ -name ar9*art
/sys/bus/platform/drivers/ar933x-uart

root@OpenWrt:~# ls -l /dev/ttyATH*
ls: /dev/ttyATH*: No such file or directory

root@OpenWrt:~# io -4 -l 0x14 0x1850
1850:  0266 0200  0282
18500010:  

Loading the module:

root@OpenWrt:~# modprobe ar934x_uart
root@OpenWrt:~# dmesg | tail -1
[ 1343.78] ar934x-uart: ttyATH0 at MMIO 0x1850 (irq = 14) is a AR933X 
UART

root@OpenWrt:~# find /sys/ -name ar9*art
/sys/bus/platform/devices/ar934x-uart
/sys/bus/platform/drivers/ar933x-uart
/sys/bus/platform/drivers/ar934x-uart
/sys/bus/platform/drivers/ar934x-uart/ar934x-uart
/sys/devices/platform/ar934x-uart
/sys/module/ar934x_uart

root@OpenWrt:~# io -4 -l 0x14 0x1850
1850:  0266 0200  0282
18500010:  
root@OpenWrt:~# ls -l /dev/ttyATH0
crw-rw-rw-1 root root  253,   0 Nov 15 20:43 /dev/ttyATH0

ttyATH0 was dynamicly generated. Reading the setup of ttyATH0 stty seems to
setup the registers.

root@OpenWrt:~# stty -a -F /dev/ttyATH0
speed 9600 baud;stty: /dev/ttyATH0
 line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = undef; eol2 = 
undef; swtch =
undef;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = 
^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff 
-iuclc -ixany -imaxbel
-iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt 
echoctl echoke
root@OpenWrt:~# io -4 -l 0x14 0x1850
1850:  0355 a008 004e0f88 0383
18500010:  

but a simple 'cat /dev/ttyATH0' doesn't show any data (there is a PIC MCU 
connected, which sends
a 0x55 and 0x66 every second). A put a printk just before a the tty is fed:

static void ar933x_uart_rx_chars(struct ar933x_uart_port *up)
{
   ...
   if ((up-port.ignore_status_mask  AR933X_DUMMY_STATUS_RD) == 0)
printk(KERN_INFO %s send 0x%02X to tty\n, __func__, 
ch);
tty_insert_flip_char(port, ch, TTY_NORMAL);

which show some data coming:

[ 2051.00] ar933x_uart_rx_chars send 0x55 to tty
[ 2052.00] ar933x_uart_rx_chars send 0x66 to tty
[ 2053.00] ar933x_uart_rx_chars send 0x55 to tty
[ 2054.00] ar933x_uart_rx_chars send 0x66 to tty

root@OpenWrt:~# cat /proc/interrupts
   CPU0
  4:  0  MIPS  eth0
  5:   3724  MIPS  eth1
  7: 274415  MIPS  timer
 11: 62  MISC  serial
 14: 32  MISC
 47:  0 dummy  ath9k
ERR:  0

but no output on 'cat /dev/ttyATH0'. The questions is : Why is there no data 
printed ?
There seems to be something missing in the tty_port setup. Does anybody have a 
hint ?

Regards

Gerd

ar934x_uart.c
Description: Binary data
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2011-11-14 Thread Daniel Golle
Index: target/linux/ar71xx/generic/profiles/allnet.mk
===
--- target/linux/ar71xx/generic/profiles/allnet.mk  (revision 0)
+++ target/linux/ar71xx/generic/profiles/allnet.mk  (revision 0)
@@ -0,0 +1,41 @@
+#
+# Copyright (C) 2011 Allnet GmbH
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/ALL0305
+   NAME:=Allnet ALL0305
+   PACKAGES:=kmod-madwifi -kmod-ath9k
+endef
+
+define Profile/ALL0305/Description
+   Package set for the Allnet ALL0305 dual-band congruent outdoor AP
+endef
+
+$(eval $(call Profile,ALL0305))
+
+define Profile/ALL0305-ath5k
+   NAME:=Allnet ALL0305 (ath5k foss driver)
+   PACKAGES:=kmod-ath5k -kmod-ath9k
+endef
+
+define Profile/ALL0305-ath5k/Description
+   Package set for the Allnet ALL0305 dual-band congruent outdoor AP
+   (using the ath5k foss wifi driver)
+endef
+
+$(eval $(call Profile,ALL0305-ath5k))
+
+define Profile/ALL0258N
+   NAME:=Allnet ALL0258N
+   PACKAGES:=uboot-envtools
+endef
+
+define Profile/ALL0258N/Description
+   Package set for the Allnet ALL0258N outdoor AP
+endef
+
+$(eval $(call Profile,ALL0258N))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2009-02-17 Thread Jan Willies
Index: sound/mpc/patches/01-uclibc.patch
===
--- sound/mpc/patches/01-uclibc.patch   (Revision 0)
+++ sound/mpc/patches/01-uclibc.patch   (Revision 0)
@@ -0,0 +1,15 @@
+Index: mpc-0.15/src/main.c
+===
+--- mpc-0.15.orig/src/main.c
 mpc-0.15/src/main.c
+@@ -190,7 +190,9 @@ static mpd_Connection * setup_connection
+ static struct command *
+ find_command(const char *name)
+ {
+-  for (unsigned i = 0; mpc_table[i].command != NULL; ++i)
++  unsigned i = 0;
++
++  for (i = 0; mpc_table[i].command != NULL; ++i)
+   if (strcmp(name, mpc_table[i].command) == 0)
+   return mpc_table[i];
+ 
Index: sound/mpc/Makefile
===
--- sound/mpc/Makefile  (Revision 14534)
+++ sound/mpc/Makefile  (Arbeitskopie)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpc
-PKG_VERSION:=0.14
+PKG_VERSION:=0.15
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=...@sf/musicpd
-PKG_MD5SUM:=f4218602342cf322872a41dfe0cc72e1
+PKG_MD5SUM:=48897aeb3a7ee5c64f30e56789f105a8
 
 include $(INCLUDE_DIR)/package.mk
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel