Re: [OpenWrt-Devel] Serial port question - Atheros

2010-03-23 Thread RHS Linux User
Hi, Thanks. I'll try your idea later today :). There are three entries for shell terminals in inittab. One confuses me "tty/0". Any idea what that entry is for? Wiz p.s.- my last change, yesterday, modifying preinit gave a kernel panic and I had to rebuild the whole mess. The joys

[OpenWrt-Devel] compile havp with clamav contentscanner

2010-03-23 Thread Vipul M Sawant
Hello, I am trying to compile havp (HTTP AntiVirus Proxy) on x86 kamikaze with libclamav. The clamav version is 0.95.3. in the following Makefile for havp, path -L/home/vsawant/Documents/projects/routers/openwrtsrc/build_dir/target-i386_uClibc-0.9.30.1/clamav-0.95.3/ipkg-install/usr/lib is specif

[OpenWrt-Devel] compile clamav with --enable-debug option

2010-03-23 Thread Vipul M Sawant
Hello, I am trying to compile clamav 0.95.3 for kamikaze x86 using configure option "--enable-debug" to include debug symbols. The compile process fails with error message "mbox.c:96:22: error: execinfo.h: No such file or directory". Is any package or module needs to be installed? (The clamav is c

Re: [OpenWrt-Devel] [PATCH] Add libowfat package

2010-03-23 Thread Oliver Ripka
Does this policy apply only to new packages or to all patches? In any case https://dev.openwrt.org/wiki/SubmittingPatches suggests that patches should be submitted to the mailing list. Oliver According to Travis Kemen on Mon, Mar 22, 2010 at 07:45:41PM -0500: > Added r20376, next time a patch at

Re: [OpenWrt-Devel] Howto debug init scripts like preinit?

2010-03-23 Thread Brian Hutchinson
Thanks to everyone for the great suggestions! Since I'm new at going this deep into shell debugging (and almost never on a embedded target) I'll have to check out each of these suggestions as I've never heard of some of them. Is it possible to start preinit with -x and redirect the output to the

[OpenWrt-Devel] [PATCH] kernel: fix xen-fbdev description

2010-03-23 Thread Stijn Tintel
This patch fixes the description for KernelPackage xen-fbdev caused by a typo in xen.mk. Signed-off-by: Stijn Tintel diff --git a/package/kernel/modules/xen.mk b/package/kernel/modules/xen.mk index e5f62ae..2252af4 100644 --- a/package/kernel/modules/xen.mk +++ b/package/kernel/modules/xen.mk @@

[OpenWrt-Devel] [PATCH 0/2] Add support for ar8316.

2010-03-23 Thread Jonas Gorski
These patches enhance the ar8216 driver with support for the ar8316 switch chip. Most changes are taken from the S16 driver in the TP-Link TLWR741ND sources, the AVM Fritz!Box 7390 sources, or directly read out values of the RouterStation Pro. The behaviour for ar8216 should be unaffected, but lac

[OpenWrt-Devel] [PATCH 1/2] Add support for the ar8316 switch.

2010-03-23 Thread Jonas Gorski
This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices. --- .../generic-2.6/files/drivers/net/phy/ar8216.c | 233 .../generic-2.6/files/drivers/n

[OpenWrt-Devel] [PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.

2010-03-23 Thread Jonas Gorski
Add the ar8216 driver to the ar71xx target, and add network configurations for the RouterStation Pro and the RouterBoard RB-450G. --- .../base-files/etc/defconfig/rb-450g/network | 27 .../etc/defconfig/routerstation-pro/network| 11 target/linux/ar7

Re: [OpenWrt-Devel] [PATCH] kernel: fix xen-fbdev description

2010-03-23 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > This patch fixes the description for KernelPackage xen-fbdev caused by a > typo in xen.mk. Committed in r20389 - thanks! ~ JoW -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozde

Re: [OpenWrt-Devel] Howto debug init scripts like preinit?

2010-03-23 Thread Weedy
On Tue, Mar 23, 2010 at 9:04 AM, Brian Hutchinson wrote: > Thanks to everyone for the great suggestions! > > Since I'm new at going this deep into shell debugging (and almost > never on a embedded target) I'll have to check out each of these > suggestions as I've never heard of some of them. > > I

Re: [OpenWrt-Devel] [PATCH 0/2] Add support for ar8316.

2010-03-23 Thread Stijn Tintel
On 23-03-10 16:20, Jonas Gorski wrote: > These patches enhance the ar8216 driver with support for the ar8316 > switch chip. Most changes are taken from the S16 driver in the > TP-Link TLWR741ND sources, the AVM Fritz!Box 7390 sources, or directly > read out values of the RouterStation Pro. > > The

Re: [OpenWrt-Devel] [PATCH] Add libowfat package

2010-03-23 Thread Spudz76
That official submission policy is a bit outdated and we intend to update it at some point. Due to the issues with email clients and inline patches being mangled more often than not, the current best method that works no matter what is to create a ticket in Trac, attach your patch(es) to it, and r

[OpenWrt-Devel] [PATCH v2 0/2] Add support for ar8316.

2010-03-23 Thread Jonas Gorski
Changes: v1 -> v2: * Fixed whitespace issues. * Added issue with port numbering to this email. --- These patches enhance the ar8216 driver with support for the ar8316 switch chip. Most changes are taken from the S16 driver in the TP-Link TLWR741ND sources, the AVM Fritz!Box 7390 sources, or

[OpenWrt-Devel] [PATCH v2 1/2] Add support for the ar8316 switch.

2010-03-23 Thread Jonas Gorski
This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices. --- .../generic-2.6/files/drivers/net/phy/ar8216.c | 231 .../generic-2.6/files/drivers/n

[OpenWrt-Devel] [PATCH v2 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.

2010-03-23 Thread Jonas Gorski
Add the ar8216 driver to the ar71xx target, and add network configurations for the RouterStation Pro and the RouterBoard RB-450G. --- .../base-files/etc/defconfig/rb-450g/network | 26 .../etc/defconfig/routerstation-pro/network| 10 +++ target/linux/ar71

Re: [OpenWrt-Devel] Howto debug init scripts like preinit?

2010-03-23 Thread Daniel Dickinson
On Tue, 2010-03-23 at 09:04 -0400, Brian Hutchinson wrote: > Thanks to everyone for the great suggestions! > > Since I'm new at going this deep into shell debugging (and almost > never on a embedded target) I'll have to check out each of these > suggestions as I've never heard of some of them. >

Re: [OpenWrt-Devel] Howto debug init scripts like preinit?

2010-03-23 Thread Brian Hutchinson
> You won't see anything from preinit with set -x because when preinit is > first called there is no stdin/stdout. Ah, I didn't think of that! > >> >> I didn't think about running wireshark to capture the script output >> ... I'll have to look into that.  I'm well versed in wireshark. >> >> What

Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-23 Thread Pawel Pastuszak
Hi Nico, I was able to get my ramdisk booting, the main problem in my view was the RPATH was being set for runtime compiling and i believe the system was looking for the RPATH not RPATH+ /lib + /usr/lib in the search path when it was booting. So what i changed was not to create RPATH but adding r