[OpenWrt-Devel] Hooks for preconfiguring the system before cutting images

2010-09-19 Thread Philip Prindeville
What's involved in having a script (such as $topdir/localize) that can be run after the system has been compiled and installed but before the actual ext2 or squashfs images get cut? For instance, I might want to run a sed script that does things like preconfigures wifi, sets system.foreground

[OpenWrt-Devel] [PATCH] net5501 -- turn on optimization

2010-09-19 Thread Philip Prindeville
Left optimization out of the target CFLAGS. Signed-off-by: Philip A. Prindeville --- Index: target/linux/x86/net5501/target.mk === --- target/linux/x86/net5501/target.mk (revision 23097) +++ target/linux/x86/net5501/target.mk (wo

Re: [OpenWrt-Devel] [PATCH] generic: add rtl8366rb switch port rate/disable and vlan fid support

2010-09-19 Thread Philip Prindeville
There are a lot of magic numbers in this code, like 64 and 16383 appearing in several places. Can they be done as #define manifest constants instead? Or better yet, perhaps as const uint's so they're visible in a source-level debugger. Thanks, -Philip On 9/19/10 5:35 PM, Roman Yeryomin w

Re: [OpenWrt-Devel] [PATCH] generic: add rtl8366rb switch port rate/disable and vlan fid support

2010-09-19 Thread Roman Yeryomin
Hi! Ok.. first sorry for the delay, second thanks for comments! Let's split this. Here is a patch for port rate, port and qos enable/disable support. Roman On 2 September 2010 10:47, Gabor Juhos wrote: > 2010.08.26. 1:17 keltezéssel, Roman Yeryomin írta: >> Using this patch it's possible to defi

[OpenWrt-Devel] [PATCH] Geos -- new x86 subtarget definition

2010-09-19 Thread Philip Prindeville
This defines the Geos platform from Traverse Technologies in AUS. This is a Geode LX800 with 512MB of DDR400 memory, 2 8139CP interfaces, 2 Solos ADSL2+ interfaces, USB, serial console, CF slot, and miniPCI slot. Requires the earlier posted patch entitles "Allow targets/subtargets to customize

[OpenWrt-Devel] [PATCH v2] Allow targets/subtargets to customize module options

2010-09-19 Thread Philip Prindeville
Targets can capture options required for a module explicitly in a trivial way: target.mk: MOD_OPTIONS_gpio_cs5535:=mask=0x0E48 major=252 Tested for instances of multiple modules, like lib80211. Fixed name clash. Signed-off-by: Philip A. Prindeville Index: include/kernel.mk =

[OpenWrt-Devel] Packages are compiled without being in any dependency

2010-09-19 Thread Nuno Gonçalves
When there are several packages in the same Makefile, and one is selected on "make menuconfig", all dependencies are compiled(but not installed), even of the packages that were not selected. Example: select gdbserver on "make menuconfig", and then "make". On the make progress "libreadline" will l

[OpenWrt-Devel] [PATCH] Allow targets/subtargets to customize module options

2010-09-19 Thread Philip Prindeville
Targets can capture options required for a module explicitly in a trivial way: target.mk: MOD_OPTIONS_gpio_cs5535:=mask=0x0E48 major=252 Tested for instances of multiple modules, like lib80211. Signed-off-by: Philip A. Prindeville Index: include/kernel.mk ==

Re: [OpenWrt-Devel] [PATCH] Fix missing dependency in solos-pci module

2010-09-19 Thread Florian Fainelli
Le Sunday 19 September 2010 00:02:36, Philip Prindeville a écrit : > Modinfo for solos-pci tells us that it has a dependency on "atm", but > this isn't captured in the Makefile. > > Signed-off-by: Philip A. Prindeville Applied in r23086, thanks! -- Florian signature.asc Description: This is a

Re: [OpenWrt-Devel] Build system fix for cross-checking DEPENDS?

2010-09-19 Thread Florian Fainelli
Hi Philip, Le Sunday 19 September 2010 00:13:22, Philip Prindeville a écrit : > I just posted in a previous email a fix which added a missing dependency > for solos-pci to include atm as part of its list of build dependencies. > > I.e.: > > DEPENDS:=...@target_x86@ +kmod-atm > > where the lat