[OpenWrt-Devel] Where is bluez and madplay in trunk?

2014-09-21 Thread Ernesto

Hi,

I'm using trunk sources. After

./script/feeds update -a

I used to be able to find for instance madplay and bluez, but now I 
can't.


Should I be doing something different to get them?

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


Re: [OpenWrt-Devel] Where is bluez and madplay in trunk?

2014-09-21 Thread Ernesto

Hi Jiri,

thanks for your answer. I read the link and went to

https://github.com/openwrt/packages-abandoned

where there are some packages, but not the ones I was looking for. 
However I was able to install them by adding into feeds.conf:


src-svn expackages svn://svn.openwrt.org/openwrt/packages

By the way, both packages compile. I think it would be good having this 
(and many others, I suppose) packages around until reported broken.


Regards.

El 21/09/2014 12:06, Jiří Šlachta escribió:

Hello Ernesto,

please read the following statement about the decision of abandoning
the old packages feed:

https://lists.openwrt.org/pipermail/openwrt-devel/2014-June/025810.html

Regards,
Jiri

Dne 21/09/2014 v 16:55 Ernesto napsal(a):

Hi,

I'm using trunk sources. After

./script/feeds update -a

I used to be able to find for instance madplay and bluez, but now I 
can't.


Should I be doing something different to get them?

Regards!
___
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] mpd breaks openwrt compilation

2014-09-14 Thread Ernesto

Hi Jiří,

you were right, I was missing gettext. Such a rookie mistake.

Thanks!!

El 14/09/2014 05:25, Jiří Šlachta escribió:

Hello Ernesto,

I suppose you are missing some dependencies. According to your output,
it seems that you might be missing the GNU gettext library.

If you are using Debian/Ubuntu, it is enough to call:

aptitude install gettext

or

apt-get install gettext

I would also recommend adding more feeds into your buildroot, since the
feed installation does only mean that the installed packages are 
visible

in the menuconfig. Consequently, the selected packages from menuconfig
should be located within the compiled and generated system image. The
recommendation only comes from the point that you might be missing some
dependencies.

I would also recommend to visit the OpenWrt wiki page to see what 
packages
are required to have OpenWrt buildroot fully functional. See the 
dependencies

on the link below:

http://wiki.openwrt.org/doc/howto/buildroot.exigence

Kind regards,
Jiri

Dne 13/09/2014 v 23:34 Ernesto napsal(a):

Hi again,

El 13/05/2014 14:24, Ernesto escribió:

I'm compiling trunk r40755. I can add some feeds:

./scripts/feeds update
./scripts/feeds install luci-light alsa-utils bluez-utils

and with menuconfig I can select those packages and compile all 
right.

But when I add mpd:

./scripts/feeds install mpd

and select it with menuconfig, the compilation breaks with the 
following error:




I tried compiling one more time today, and the same error occurs, only 
with different glib version:


checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or 
use the
*** GNU gettext library. 
(http://www.gnu.org/software/gettext/gettext.html


Makefile:101: recipe for target 
'/hulk/bwf/mnt_trunk/trunk/openwrt/build_dir/host/glib-2.41.1/.configured' 
failed
make[3]: *** 
[/hulk/bwf/mnt_trunk/trunk/openwrt/build_dir/host/glib-2.41.1/.configured] 
Error 1
make[3]: Leaving directory 
'/hulk/bwf/mnt_trunk/trunk/openwrt/feeds/packages/libs/glib2'
package/Makefile:174: recipe for target 
'package/feeds/packages/glib2/host/compile' failed

make[2]: *** [package/feeds/packages/glib2/host/compile] Error 2
make[2]: Leaving directory '/hulk/bwf/mnt_trunk/trunk/openwrt'
package/Makefile:171: recipe for target 
'/hulk/bwf/mnt_trunk/trunk/openwrt/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.package_compile' 
failed
make[1]: *** 
[/hulk/bwf/mnt_trunk/trunk/openwrt/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.package_compile] 
Error 2

make[1]: Leaving directory '/hulk/bwf/mnt_trunk/trunk/openwrt'
/hulk/bwf/mnt_trunk/trunk/openwrt/include/toplevel.mk:171: recipe for 
target 'world' failed

make: *** [world] Error 2

I used git and don't know if the svn revision equivalent would be

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42514 
3c298f89-4303-0410-b956-a3cf2f4a3e73




I compiled mpd successfully in trunk r39441, but I can't recreate the
feed state at that time.

Any suggestion?


I hope someone can shed some light into this.

Regards.
___
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] mpd breaks openwrt compilation

2014-09-13 Thread Ernesto

Hi again,

El 13/05/2014 14:24, Ernesto escribió:

I'm compiling trunk r40755. I can add some feeds:

./scripts/feeds update
./scripts/feeds install luci-light alsa-utils bluez-utils

and with menuconfig I can select those packages and compile all right.
But when I add mpd:

./scripts/feeds install mpd

and select it with menuconfig, the compilation breaks with the 
following error:




I tried compiling one more time today, and the same error occurs, only 
with different glib version:


checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or use 
the
*** GNU gettext library. 
(http://www.gnu.org/software/gettext/gettext.html


Makefile:101: recipe for target 
'/hulk/bwf/mnt_trunk/trunk/openwrt/build_dir/host/glib-2.41.1/.configured' 
failed
make[3]: *** 
[/hulk/bwf/mnt_trunk/trunk/openwrt/build_dir/host/glib-2.41.1/.configured] 
Error 1
make[3]: Leaving directory 
'/hulk/bwf/mnt_trunk/trunk/openwrt/feeds/packages/libs/glib2'
package/Makefile:174: recipe for target 
'package/feeds/packages/glib2/host/compile' failed

make[2]: *** [package/feeds/packages/glib2/host/compile] Error 2
make[2]: Leaving directory '/hulk/bwf/mnt_trunk/trunk/openwrt'
package/Makefile:171: recipe for target 
'/hulk/bwf/mnt_trunk/trunk/openwrt/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.package_compile' 
failed
make[1]: *** 
[/hulk/bwf/mnt_trunk/trunk/openwrt/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.package_compile] 
Error 2

make[1]: Leaving directory '/hulk/bwf/mnt_trunk/trunk/openwrt'
/hulk/bwf/mnt_trunk/trunk/openwrt/include/toplevel.mk:171: recipe for 
target 'world' failed

make: *** [world] Error 2

I used git and don't know if the svn revision equivalent would be

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42514 
3c298f89-4303-0410-b956-a3cf2f4a3e73




I compiled mpd successfully in trunk r39441, but I can't recreate the
feed state at that time.

Any suggestion?


I hope someone can shed some light into this.

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


[OpenWrt-Devel] Good jtag usb adapter

2014-08-14 Thread Ernesto

Hi,

I'd like to enter into the jtag world, and looking for a cheap usb 
adapter, like this ones:


http://www.dx.com/p/avr-jtag-usb-debugging-emulator-downloader-deep-blue-312848#.U-y5hxpVHeQ
http://www.dx.com/p/j-link-v8-arm-usb-jtag-adapter-emulator-black-149039#.U-y5jBpVHeQ
http://www.dx.com/p/ulink2-usb-jtag-emulator-arm7-arm9-cortex-ulink-ii-debug-adapter-156978#.U-y5nBpVHeQ

I wonder if one of this would work with the chipsets we find in 
openwrt-supported devices, like Broadcom and Atheros.


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


[OpenWrt-Devel] mpd breaks openwrt compilation

2014-05-15 Thread Ernesto

Hi all,

I'm compiling trunk r40755. I can add some feeds:

./scripts/feeds update
./scripts/feeds install luci-light alsa-utils bluez-utils

and with menuconfig I can select those packages and compile all right. 
But when I add mpd:


./scripts/feeds install mpd

and select it with menuconfig, the compilation breaks with the following 
error:


make[3]: Entering directory 
'/hulk/bwf/mnt_trunk/trunk/feeds/packages/libs/glib2'
(cd /hulk/bwf/mnt_trunk/trunk/build_dir/host/glib-2.37.7/; if [ -x 
configure ]; then cp -fpR 
/hulk/bwf/mnt_trunk/trunk/scripts/config.{guess,sub} 
/hulk/bwf/mnt_trunk/trunk/build_dir/host/glib-2.37.7//   /bin/bash 
./configure CC=gcc CFLAGS=-O2 
-I/hulk/bwf/mnt_trunk/trunk/staging_dir/host/include 
CPPFLAGS=-I/hulk/bwf/mnt_trunk/trunk/staging_dir/host/include 
LDFLAGS=-L/hulk/bwf/mnt_trunk/trunk/staging_dir/host/lib 
SHELL=/bin/bash --target=x86_64-linux-gnu --host=x86_64-linux-gnu 
--build=x86_64-linux-gnu --program-prefix= --program-suffix= 
--prefix=/hulk/bwf/mnt_trunk/trunk/staging_dir/host 
--exec-prefix=/hulk/bwf/mnt_trunk/trunk/staging_dir/host 
--sysconfdir=/hulk/bwf/mnt_trunk/trunk/staging_dir/host/etc 
--localstatedir=/hulk/bwf/mnt_trunk/trunk/staging_dir/host/var 
--sbindir=/hulk/bwf/mnt_trunk/trunk/staging_dir/host/bin ; fi )

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes

... some lines removed ...

checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or use 
the
*** GNU gettext library. 
(http://www.gnu.org/software/gettext/gettext.html


Makefile:99: recipe for target 
'/hulk/bwf/mnt_trunk/trunk/build_dir/host/glib-2.37.7/.configured' 
failed
make[3]: *** 
[/hulk/bwf/mnt_trunk/trunk/build_dir/host/glib-2.37.7/.configured] Error 
1
make[3]: Leaving directory 
'/hulk/bwf/mnt_trunk/trunk/feeds/packages/libs/glib2'
package/Makefile:159: recipe for target 
'package/feeds/packages/glib2/host/compile' failed

make[2]: *** [package/feeds/packages/glib2/host/compile] Error 2
make[2]: Leaving directory '/hulk/bwf/mnt_trunk/trunk'
package/Makefile:156: recipe for target 
'/hulk/bwf/mnt_trunk/trunk/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.package_compile' 
failed
make[1]: *** 
[/hulk/bwf/mnt_trunk/trunk/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.package_compile] 
Error 2

make[1]: Leaving directory '/hulk/bwf/mnt_trunk/trunk'
/hulk/bwf/mnt_trunk/trunk/include/toplevel.mk:169: recipe for target 
'world' failed

make: *** [world] Error 2


I compiled mpd successfully in trunk r39441, but I can't recreate the 
feed state at that time.


Any suggestion?

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


[OpenWrt-Devel] Is RTL8676 supported?

2014-03-23 Thread Ernesto

Hi all,

does OpenWRT actually support RTL8676 based systems?

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


Re: [OpenWrt-Devel] Kernel panic when using ohci usb devices in trunk

2014-02-01 Thread Ernesto

Jonas,

El 13/01/2014 09:24, Jonas Gorski escribió:
On Sat, Jan 11, 2014 at 6:35 PM, Ernesto forosylis...@ernet.com.ar 
wrote:

Hi all,

I'm trying to add USB support to a broadcom 6328 based board, named
96328dg2x2. I used the definition of another board, 963281TAN, and 
added
.has_ehci0 = 1 and ohci0 too, and configured gpio10 as a led. With 
this, I

got to work usb-storage flawlessly.

When I insert a ohci usb device, like pl2303 usb to serial converter, 
the

system says:

root@OpenWrt:/# dmesg | grep USB
[7.188000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
[7.32] ehci-platform ehci-platform: new USB bus registered, 
assigned

bus number 1
[7.348000] ehci-platform ehci-platform: USB 2.0 started, EHCI 
1.00,

overcurrent ignored
[7.356000] hub 1-0:1.0: USB hub found
[7.38] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[7.392000] ohci-platform ohci-platform: new USB bus registered, 
assigned

bus number 2
[7.468000] hub 2-0:1.0: USB hub found
[   10.676000] cdc_acm: USB Abstract Control Model driver for USB 
modems and

ISDN adapters
[   10.784000] usbhid: USB HID core driver
[   10.812000] usbserial: USB Serial support registered for generic
[   10.872000] usbserial: USB Serial support registered for ark3116
[   11.16] usbserial: USB Serial support registered for pl2303
[  151.644000] usb 2-1: new full-speed USB device number 2 using
ohci-platform

The last message is the only indicator that a device has plugged, but 
it is
not recognized by drivers. The previous are included as relevant 
context.


Try current trunk, I just committed a fix for that in r39274.


I can confirm the ohci driver is working properly with r39441.

Thanks and regards.

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


[OpenWrt-Devel] Kernel panic when using ohci usb devices in trunk

2014-01-11 Thread Ernesto

Hi all,

I'm trying to add USB support to a broadcom 6328 based board, named 
96328dg2x2. I used the definition of another board, 963281TAN, and added 
.has_ehci0 = 1 and ohci0 too, and configured gpio10 as a led. With this, 
I got to work usb-storage flawlessly.


When I insert a ohci usb device, like pl2303 usb to serial converter, 
the system says:


root@OpenWrt:/# dmesg | grep USB
[7.188000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
[7.32] ehci-platform ehci-platform: new USB bus registered, 
assigned bus number 1
[7.348000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, 
overcurrent ignored

[7.356000] hub 1-0:1.0: USB hub found
[7.38] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[7.392000] ohci-platform ohci-platform: new USB bus registered, 
assigned bus number 2

[7.468000] hub 2-0:1.0: USB hub found
[   10.676000] cdc_acm: USB Abstract Control Model driver for USB modems 
and ISDN adapters

[   10.784000] usbhid: USB HID core driver
[   10.812000] usbserial: USB Serial support registered for generic
[   10.872000] usbserial: USB Serial support registered for ark3116
[   11.16] usbserial: USB Serial support registered for pl2303
[  151.644000] usb 2-1: new full-speed USB device number 2 using 
ohci-platform


The last message is the only indicator that a device has plugged, but it 
is not recognized by drivers. The previous are included as relevant 
context.


When I try to reboot the router, kernel panic:

procd: - shutdown -
[  921.192000] br-lan: port 1(eth0.1) entered disabled state
[  921.204000] device eth0.1 left promiscuous mode
[  921.208000] device eth0 left promiscuous mode
[  921.212000] br-lan: port 1(eth0.1) entered disabled state
procd: - reboot -
[  948.664000] bcm63xx_wdt: watchdog will restart system
[  990.612000] bcm63xx_wdt fire[#1]:
[  990.612000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.24 #15
[  990.612000] task: 802d53b0 ti: 802ce000 task.ti: 802ce000
[  990.612000] $ 0   :  10008401 8033 
[  990.612000] $ 4   : 10008400   00fe
[  990.612000] $ 8   :  8400 80e86580 80e86300
[  990.612000] $12   : 80c8ed00 64726573  80caae80
[  990.612000] $16   : 802d 802d 802867c4 0001
[  990.612000] $20   : 802d  80624e90 0001
[  990.612000] $24   :  8001c9e0
[  990.612000] $28   : 802ce000 802cfeb8  8004ffb4
[  990.612000] Hi: 00e6
[  990.612000] Lo: 80d63500
[  990.612000] epc   : 80010ae0 __r4k_wait+0x20/0x40
[  990.612000] Not tainted
[  990.612000] ra: 8004ffb4 cpu_startup_entry+0xb8/0x138
[  990.612000] Status: 10008403 KERNEL EXL IE
[  990.612000] Cause : 00800400
[  990.612000] PrId  : 0002a075 (Broadcom BMIPS4350)
[  990.612000] Modules linked in: pppoe ppp_async iptable_nat brcmsmac 
snd_usb_audio pppox ppp_generic pl2303 nf_nat_ipv4 nf_conntrack_ipv4 
mac80211 ipt_MASQUERADE cfg80211 ark3116 xt_time xt_
tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack 
xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT usbserial usbhid 
snd_usbmidi_lib slhc nf_nat_irc nf_nat_ftp nf_nat nf_def
rag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle 
iptable_filter ipt_REJECT ip_tables crc8 crc_ccitt cordic compat cdc_acm 
brcmutil hid evdev ip6t_REJECT ip6t_rt ip6t_hbh i
p6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw 
ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 
nf_conntrack nf_defrag_ipv6 msdos snd_compress snd_pcm_os
s snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep 
snd_page_alloc snd soundcore vfat fat bcma nls_cp437 ipv6 arc4 
crypto_blkcipher gpio_keys_polled usb_storage input_pollde
v ohci_hcd ehci_pci ehci_platform ehci_hcd sd_mod scsi_mod ext4 crc16 
jbd2 mbcache button_hotplug input_core usbcore nls_base usb_common 
crypto_hash
[  990.612000] Process swapper (pid: 0, threadinfo=802ce000, 
task=802d53b0, tls=)
[  990.612000] Stack :  802d 8032 80014bf4 012d 
802d 8032 8031
  8031992d 802ea91c  80309578 0059 001c  

  802ea2a4  803198e0  80601240  b8010100 
80624e90
  80737d80 80601240      

         


  ...
[  990.612000] Call Trace:
[  990.612000] [80010ae0] __r4k_wait+0x20/0x40
[  990.612000] [8004ffb4] cpu_startup_entry+0xb8/0x138
[  990.612000] [802ea91c] start_kernel+0x394/0x3b4
[  990.612000]
[  990.612000]
Code:     4220 03e8     
    

[  990.872000] ---[ end trace 14aec3a96c86d895 ]---
[  990.884000] Kernel panic - not syncing: Fatal exception in interrupt
[  990.884000] Rebooting in 3 seconds..
HELO90.884000] triggering watchdog soft-reset...
CPUI
L1CI

But while I 

Re: [OpenWrt-Devel] ADB P.DGA4001N with different hardware

2014-01-10 Thread Ernesto

Hi, I am still struggling with the board I described below:


I have an ADB P.DGA4001N, but it is a different hardware than what is
described in the wiki (http://wiki.openwrt.org/toh/adb/p.dg_a4001n1).
What I get in the console at boot time after unsuccessful flashing is:

CFE version 1.0.37-106.24 for A4001N TEF 0001 BCM96328 (32bit,SP,BE)
Build Date: Wed Dec  1 13:30:30 CET 2010 (sj1bovisem@thor)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name ID_W25X64, id 0xef17 size 8192KB
Total Flash size: 8192K with 2048 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb800

Board IP address  : 192.168.1.1:ff00
Host IP address   : 192.168.1.100
Gateway IP address:
Run from flash/host (f/h) : f
Default host run file name: vmlinux
Default host flash file name  : bcm963xx_fs_kernel
Boot delay (0-9 seconds)  : 1
Board Id (0-4): 96328dg2x2
Number of MAC Addresses (1-32): 11
Base MAC Address  : a4:52:6f:0c:ec:53
PSI Size (1-64) KBytes: 24
Enable Backup PSI [0|1]   : 0
System Log Size (0-256) KBytes: 0
Main Thread Number [0|1]  : 0


I flashed trunk into it, and it is working, thanks to Noltari among 
others. I modified arch/mips/bcm63xx/boards/board_bcm963xx.c, where I 
just copied the 963281TAN's definition and renamed as


static struct board_info __initdata board_96328dg2x2 = {
.name   = 96328dg2x2,
...

The problem now is that the USB port which is present in hardware is not 
recognized on the board. I can't see it with dmesg, lspci nor lsusb. 
Looking at other device's definitions, I see fields named .ehci0, .usbd, 
.ohci0, and I guess they might have something to do, but I tried adding 
those, and copiyng and renaming definitions of other devices with USB 
present without success.


Any help would be greatly appreciated.

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


Re: [OpenWrt-Devel] ADSL Drivers

2013-11-07 Thread Ernesto

Dear Rafal,

Thanks for your answer. I understand your point and agree with you 100%.

But what if I wanted to contact lorema anyway? Or any other user of whom 
I only had username? What should I do?


Regards.

El 07/11/2013 10:58, Rafał Miłecki escribió:

2013/11/6 Ernesto forosylis...@ernet.com.ar:
I've read on http://wiki.openwrt.org/inbox/adsl_support that a user 
named
lorema is making progress towards open ADSL drivers. I'd like to 
contact him
to ask information about how to replicate his experiences, but I don't 
know

how to find his email.

Where do you find this kind of info?


By looking at the linked OpenWrt forum thread [0] I can see that
lorema is trying to recompile leaked non-GPL sources.
If he success or not has no real meaning for OpenWrt or Linux world,
because that will be illegal to push his code to the kernel. I'm not
sure if it's even OK to distribute that code (I doubt a bit).

The right way to add support for ADSL is to:
1) Find a group that will write the specs. How they do this doesn't
matter. They can RE binary or whatever else they manage to. Please
remember that as soon as they get involved in that process, they won't
be allowed to work on GPL driver anymore.
2) Find a group that will use prepared specs to write a GPL driver.

It's called clean room engineering. It was previously used for
Broadcom wireless chipsets and resulted in b43 driver.

It seems that specs were started, but I guess they are far from being 
complete:

http://bcm63xx.sipsolutions.net/

[0] https://forum.openwrt.org/viewtopic.php?pid=120035#p120035

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


[OpenWrt-Devel] ADSL Drivers

2013-11-06 Thread Ernesto

Hi,

I've read on http://wiki.openwrt.org/inbox/adsl_support that a user 
named lorema is making progress towards open ADSL drivers. I'd like to 
contact him to ask information about how to replicate his experiences, 
but I don't know how to find his email.


Where do you find this kind of info?

I'm sorry if this email is not supposed to be on this list, I asked with 
email to the OpenWrt Relationship Manager without success, and I don't 
know where else to ask.


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


Re: [OpenWrt-Devel] ADSL propietary drivers for bcm6328 based board

2013-03-22 Thread Ernesto
Jonas,

 I have a bcm6328 based board, and I'd like to have its DSL capability
 working. I read there is no open source driver yet. Can anyone tell me
 if it is possible to compile some proprietary source code in order to
 test if it works?
 
 No. Well, mabye, if you had the source code (which isn't public, since
 it's proprietary) and modify it to work with the OpenWrt kernel. Which
 would likely require intimate knowledge of the driver's inner
 workings.
 
 On the other hand, I have the original firmware's kernel modules, e.g.
 adsldd.ko, which are compiled for some older kernel version (linux
 2.6.8, if I remember correctly). I wonder if I could downgrade the
 kernel version of OpenWrt in order to make it work.
 
 No. There is no OpenWrt version ever supporting such an old kernel,
 and the DSL driver requires a heavily modified network stack to work,
 which you would need to port to OpenWrt first (and re-import the
 broadcom mips code base so that any kernel functions expected by the
 driver are present).
 
 Regards
 Jonas

Thanks for clarifying.

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


[OpenWrt-Devel] ADSL propietary drivers for bcm6328 based board

2013-03-01 Thread Ernesto
Hi people,

I have a bcm6328 based board, and I'd like to have its DSL capability
working. I read there is no open source driver yet. Can anyone tell me
if it is possible to compile some proprietary source code in order to
test if it works?

On the other hand, I have the original firmware's kernel modules, e.g.
adsldd.ko, which are compiled for some older kernel version (linux
2.6.8, if I remember correctly). I wonder if I could downgrade the
kernel version of OpenWrt in order to make it work.

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


[OpenWrt-Devel] No wifi on ADB P.DGA4001N

2013-01-25 Thread Ernesto
Hi all,

I have an ADB P.DGA4001N with board id: 963281TAN.

I flashed
http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/brcm63xx/generic/openwrt-963281TAN-8M-flash-generic-squashfs-cfe.bin
with success, but the router has no wifi:

root@OpenWrt:/# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type=mac80211
wireless.radio0.channel=11
wireless.radio0.macaddr=00:00:00:00:00:00
wireless.radio0.hwmode=11g
wireless.radio0.disabled=0
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=ap
wireless.@wifi-iface[0].ssid=OpenWrt
wireless.@wifi-iface[0].encryption=none

root@OpenWrt:/# wifi
Configuration file: /var/run/hostapd-phy0.conf
Could not set interface wlan0 flags (UP): Cannot assign requested
address
nl80211: Could not set interface 'wlan0' UP
nl80211: Failed to add interface wlan0 into bridge br-lan: Invalid
argument
nl80211 driver initialization failed.
Failed to start hostapd for phy0

root@OpenWrt:/# cat /sys/class/ieee80211/phy0/macaddress 
00:00:00:00:00:00

dmesg shows this:

[   12.648000] PCI: Enabling device :01:00.0 ( - 0002)
[   12.656000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and
package 0x0A
[   12.664000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
0x800, rev 0x22, class 0x0)
[   12.672000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
0x812, rev 0x17, class 0x0)
[   12.68] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820,
rev 0x0F, class 0x0)
[   12.764000] bcma: bus0: Failed to get SPROM: -71
[   12.768000] bcma: bus0: Bus registered
[   13.064000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.072000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[   13.076000] Broadcom 43xx driver loaded [ Features: PNL ]

Any ideas?

Regards.

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


[OpenWrt-Devel] ADB P.DGA4001N with different hardware

2013-01-14 Thread Ernesto
Hi all,

I have an ADB P.DGA4001N, but it is a different hardware than what is
described in the wiki (http://wiki.openwrt.org/toh/adb/p.dg_a4001n1).
What I get in the console at boot time after unsuccessful flashing is:

CFE version 1.0.37-106.24 for A4001N TEF 0001 BCM96328 (32bit,SP,BE)
Build Date: Wed Dec  1 13:30:30 CET 2010 (sj1bovisem@thor)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name ID_W25X64, id 0xef17 size 8192KB
Total Flash size: 8192K with 2048 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb800

Board IP address  : 192.168.1.1:ff00  
Host IP address   : 192.168.1.100  
Gateway IP address:   
Run from flash/host (f/h) : f  
Default host run file name: vmlinux  
Default host flash file name  : bcm963xx_fs_kernel  
Boot delay (0-9 seconds)  : 1  
Board Id (0-4): 96328dg2x2  
Number of MAC Addresses (1-32): 11  
Base MAC Address  : a4:52:6f:0c:ec:53  
PSI Size (1-64) KBytes: 24  
Enable Backup PSI [0|1]   : 0  
System Log Size (0-256) KBytes: 0  
Main Thread Number [0|1]  : 0  

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb801) ...
Code Address: 0x8001, Entry Address: 0x8001
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x8001
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x8001
[0.00] Linux version 3.6.11 (fnord@tschunk) (gcc version 4.6.4
20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Tue Jan 8 02:28:17
UTC 2013
[0.00] Detected Broadcom 0x6328 CPU revision 10b0
[0.00] CPU frequency is 320 MHz
[0.00] 32MB of RAM installed
[0.00] registering 32 GPIOs
[0.00] board_bcm963xx: Boot address 0xb800
[0.00] board_bcm963xx: CFE version: A4001N-V0001
[0.00] board_bcm963xx: unknown bcm963xx board: 96328dg2x2
[0.00] bootconsole [early0] enabled
[0.00] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[0.00] Kernel panic - not syncing: unable to detect bcm963xx
board


After trying flashing several attitude adjustment and trunk binaries
through serial console without success (getting Kernel panic - not
syncing: unable to detect bcm963xx board) I followed instructions in
http://wiki.openwrt.org/doc/devel/add.new.device and modified attitude
adjustment's target/linux/brcm63xx/image/Makefile, adding the line

$(call
Image/Build/CFE,$(1),96328dg2x2,6328,96328dg2x2-8M-flash-generic,,--pad
4)

and 
build_dir/linux-brcm63xx/linux-3.3.8/arch/mips/bcm63xx/boards/board_bcm963xx.c,
where I simply copied the 963281TAN's definition and renamed as

static struct board_info __initdata board_96328dg2x2 = {
.name   = 96328dg2x2,
...

The resulting binary boots, but only the first time. I tried the
squashfs image as well as the jffs2, and I get the same result:

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb801) ...
Code Address: 0x8001, Entry Address: 0x8001
Linux file system CRC error.  Corrupted image?
web info: Waiting for connection on socket 0.
CFE

It seems to be related to jffs2's filesystem initialization, because if
I reboot after it is done, the device starts again, but after the
initialization, it will fail.

Any ideas on what I am missing?

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