**** BEGIN LOGGING AT Fri Jul 08 02:59:58 2011 Jul 08 04:00:35 blogic: I hope it's good whiskey at least. Jul 08 04:01:06 I am desperately trying to understand what I should do with the FEATURES variable in a port makefile Jul 08 04:01:13 what are the available options? Jul 08 04:01:50 grep -R --exclude-dir=.svn -E '\' . Jul 08 04:02:15 that will give you a list of what's in use, though there are conceivably more options that aren't being used. Jul 08 04:03:05 I do not use svn. Jul 08 04:03:36 then skip the 2nd argument. Jul 08 04:03:55 or you can leave it... it won't do any harm. Jul 08 04:04:23 I do not understand this approach. How can a developer port effectively HIS board if there is no "reference" of the available options Jul 08 04:07:32 I didn't write it. I'm just telling you how I would do it. Jul 08 04:07:53 you can take or leave my suggestions. Jul 08 04:08:21 philipp64|laptop, I was already grepping around, but it's not very effective. Jul 08 04:08:31 besides it takes a while to grep about 7GB of stuff :) Jul 08 04:10:21 yeah... about 1.079s on my machine. Jul 08 04:10:58 plonk Jul 08 04:16:27 there's a very brief description in docs/adding.tex but it's not exhaustive. Jul 08 04:58:23 suit yourself. I tried to answer your questions. Jul 08 05:24:11 nbd * r27552 /trunk/package/mac80211/patches/ (2 files): mac80211: add pending crypto bugfixes Jul 08 05:24:31 nbd * r27553 /trunk/tools/firmware-utils/src/mkwrgimg.c: firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function Jul 08 05:35:47 gmp and darwin don't like each other unless -DPIC is specified in the CFLAGS Jul 08 05:36:00 at least 10.7 Jul 08 05:36:43 before i spend any time patching, can anyone help me with the openwrt way to append -DPIC to gmp CFLAGS in the Makefile? Jul 08 05:37:08 the makefile passes it on to configure through HOST_CONFIGURE_VARS Jul 08 05:37:20 where HOST_CFLAGS is used Jul 08 05:37:27 inside HOST_CONFIGURE_VARS Jul 08 05:37:50 how do I get -DPIC into HOST_CFLAGS for just the GMP package? Jul 08 05:40:08 I tried HOST_CFLAGS += -DPIC but it seems the -DPIC is then carried onto any of the following tools packages Jul 08 05:53:39 nbd * r27554 /trunk/package/mac80211/patches/570-mac80211_agg_buf_size.patch: mac80211: fix an interop issue with some broken 802.11n clients (#9436) Jul 08 06:54:49 philipp64|laptop: glengoyne Jul 08 06:54:53 its awesome Jul 08 07:18:31 nbd * r27555 /trunk/toolchain/uClibc/patches-0.9.32/970-uclibc_fts.patch: uClibc: fix messed up patch headers in fts patch (patch from #9671) Jul 08 08:17:58 nbd * r27556 /trunk/toolchain/gcc/Config.in: toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek) Jul 08 08:29:54 my device has only one ethernet port, no switch etc. how can I disable the wav/lan separation and make it "lan only"? Currently it boots up without an assigned IP so I must use the serial port Jul 08 08:30:25 <[florian]> alesan: just throw a default network configuration file in base-files for your target Jul 08 08:31:08 so the "Image configuration" entry in make menuconfig is of no use here? Jul 08 08:31:30 <[florian]> no Jul 08 08:31:59 hm... can you "explain"? Jul 08 08:32:11 that section only works when there is an onboard switch? Jul 08 08:32:52 <[florian]> no, that section works if you want to specify the default IP address in your image, for the LAN part only Jul 08 08:33:06 <[florian]> but the default network config file which has wan/lan is still used Jul 08 08:33:43 ok so Jul 08 08:34:09 I see the ./kirkwood/base-files-Dockstar/etc/config/network specifies DHCP for example Jul 08 08:44:00 [florian], http://pastebin.com/2Qwc7bMy Jul 08 08:44:05 do you tihnk this will suffice? Jul 08 08:44:22 in other config files there are references to the wan interface anyway Jul 08 08:44:28 do you think I should remove them all? Jul 08 08:44:53 <[florian]> yes, this file is fine Jul 08 08:44:59 for example in config/system there is: config rdate Jul 08 08:44:59 option interface wan Jul 08 08:45:14 <[florian]> you do not have to patch all the files Jul 08 08:45:29 similarly in timeserver, dhcp, firewall, ntpclinet Jul 08 08:45:48 so the only change is to eliminate the "type bridge" Jul 08 08:45:59 this will automagically do everything I need? Jul 08 08:46:09 seems too easy to be true ;) Jul 08 08:47:57 sorry to ask again the same question, but I did not really find a solution Jul 08 08:48:22 in the Makefile there is a variable called FEATURES; I was not really able to find a list of possible options and their meaning Jul 08 08:52:42 <[florian]> the list of features is in include/target.mk Jul 08 08:52:53 <[florian]> they just define whether the target supports a specific feature or not Jul 08 08:53:06 <[florian]> like generic gpio implementation, or ramdisk images etc ... Jul 08 08:53:23 <[florian]> about your lan configuration Jul 08 08:53:34 <[florian]> just create the proper configuration file for your borad Jul 08 08:53:43 <[florian]> you could even keep the bridge keyword that would not change many things Jul 08 08:54:19 well if I do not change it at all... why don't I get at least the default, 192.168.1.1 ip address assigned? Jul 08 08:54:40 <[florian]> is your ethernet interface named eth0, Jul 08 08:54:41 <[florian]> ? Jul 08 08:54:48 <[florian]> is your network driver loaded etc... ? Jul 08 08:54:48 yes Jul 08 08:54:53 yes it's compiled in Jul 08 08:55:02 what kind of device is this? Jul 08 08:55:08 if I simply do ifconfig eth0 192.168.1.1 at serial prompt, it works Jul 08 08:55:19 KanjiMonster, me? Jul 08 08:55:25 alesan: yes Jul 08 08:55:28 <[florian]> can you please paste /etc/config/network file that is used by default? Jul 08 08:55:47 it's a GMAC integrated in my SoC, even though we use a 10/100 phy on the board Jul 08 08:55:57 [florian], I did in that pastebin Jul 08 08:56:20 http://pastebin.com/2Qwc7bMy Jul 08 08:56:21 alesan: I meant more what arch and device/board name ;) Jul 08 08:56:23 on top there is the default Jul 08 08:56:44 KanjiMonster, it has an ARM926EJ as CPU core Jul 08 08:56:47 <[florian]> alesan: the default /etc/network/config should bring your interface up, so there must be something elese Jul 08 08:57:21 KanjiMonster, the chip is based on ST' SPEAr Jul 08 08:57:46 the board is done by my company but do not tell anybody I am porting OpenWRT to it Jul 08 08:57:58 it's only a hobby work for me Jul 08 08:58:00 :) Jul 08 08:58:11 alesan: ah, right, now I remember Jul 08 08:58:23 [florian], anything I should try tomorrow? Jul 08 08:59:09 I mean, I know eth0 is not up, but it works if I call ifconfig Jul 08 09:00:15 alesan: have you tried running "/etc/config/network restart" manually after booting? Jul 08 09:00:18 <[florian]> there must be something else which does not work Jul 08 09:00:37 KanjiMonster, I have not, I will try Jul 08 09:01:04 [florian], any suggestion to debug that? I can also capture the startup log on the serial console Jul 08 09:02:19 <[florian]> alesan: execute the scripts with /bin/sh -x Jul 08 09:02:39 hm... which scripts? Jul 08 09:03:30 <[florian]> for instance /etc/init.d/network restart Jul 08 09:03:41 ok Jul 08 09:03:47 ok good Jul 08 09:04:03 err yes Jul 08 09:04:17 alesan: ignore my command, that was bogus Jul 08 09:04:38 KanjiMonster, oh ok :) I did not see the wrong path Jul 08 09:04:46 I thought to init.d when I saw yours ;) Jul 08 09:04:50 that was a clear -ENOTENOUGHCOFFEE Jul 08 09:04:58 but good idea to execute with sh -x Jul 08 09:05:15 KanjiMonster, try to avoid coffee... it's best Jul 08 09:06:01 so I think once this detail is fixed I may even send the patch to the mailing list... maybe it will get accepted? Jul 08 09:06:28 oh only other thing, I had to append a "rootfstype=jffs2" to the kernel command line Jul 08 09:06:36 alesan: I have low blood pressure and coffee is helping there Jul 08 09:07:06 now my question is: if I am specifying jffs2 and using openwrt-SPEAr600--jffs2-128k.img why is it still trying to mount the squashfs split? Jul 08 09:07:23 KanjiMonster, I also have low pressure sometimes Jul 08 09:07:47 but I try to avoid coffee Jul 08 09:07:58 alesan: CONFIG_CMDLINE should help I think (see e.g. https://dev.openwrt.org/browser/trunk/target/linux/brcm63xx/config-2.6.39 ) Jul 08 09:09:11 KanjiMonster, yes I have modified that and it works Jul 08 09:09:22 but I am still confused why it is necessary... Jul 08 09:09:31 maybe it just is and that's it Jul 08 09:09:35 maybe I am doing something wrong Jul 08 09:10:14 alesan: if you usea jffs2 image there should be no squashfs Jul 08 09:10:31 there isn't indeed Jul 08 09:12:32 the split will still kick in if there's a "rootfs" partition - afaik it shouldn't do anything then, since it searches for a squashfs superblock, and shouldn't find any if it's jffs2 Jul 08 09:15:16 yes I modified my kernel to have a partition called "rootfs" Jul 08 09:15:37 should I not do that and simply provide a prover commandline? Jul 08 09:15:51 something like root=/dev/mtdblock3 rootfstype=jffs2 ? Jul 08 09:25:21 alesan: nah, having a rootfs partition is good; there'c code for automatically using any rootfs named partition as the root Jul 08 09:28:09 yeah but in that case I need to maintain a patch, if I simply specify it in the command line it's only one point I need to keep Jul 08 09:37:21 kaloz * r27557 /trunk/target/linux/generic/patches-3.0/ (4 files): [generic/3.0]: add mpcore_wdt fixes Jul 08 09:45:15 kaloz * r27558 /trunk/target/linux/cns3xxx/patches-3.0/ (9 files): [cns3xxx/3.0]: use the new upstream l2cache and wdt code, smaller changes, refresh patches Jul 08 11:19:09 kaloz * r27559 /trunk/toolchain/gcc/Config.in: [toolchain/gcc]: the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them Jul 08 14:29:58 blogic * r27560 /packages/utils/ (usb-modeswitch/Makefile usb-modeswitch-data/Makefile): Jul 08 14:29:58 packages/usb-modeswitch bump to 1.1.8 Jul 08 14:29:58 a new version of usb-modeswitch and usb-modeswitch-data is available. Jul 08 14:29:58 Signed-off-by: Daniel Golle Jul 08 14:40:36 blogic * r27561 /branches/backfire/package/ltq-tapidemo/Config.in: set correct board in tapidemo when building a falcon image Jul 08 15:00:33 argh, internal compiler error with trunk and uClibc: http://pastebin.com/dbDsF24s Jul 08 15:53:48 blogic: single malt or blended? Jul 08 16:16:29 what is blended ? :) Jul 08 16:19:31 it's when they take two different batches of whiskey and combine them... so it's not technically "single malt". Jul 08 16:20:16 i know Jul 08 16:20:22 some blended whiskeys are pretty good. Jul 08 16:20:34 i drink isngle malts if at all Jul 08 16:20:58 that's an expensive habit. Jul 08 16:21:04 ? Jul 08 16:21:07 its not a habit Jul 08 16:21:15 i buy 1 bottle /year Jul 08 16:21:25 sorry, should have said "taste". Jul 08 16:21:29 hehe Jul 08 16:23:01 I used to be a french wine snob, but it was costing me too much money. now I just hunt for bargain Spanish, Portuguese, and Chilean wines. and my wallet is fatter. :-) Jul 08 16:24:30 hmmm Jul 08 16:24:35 i hardly drink Jul 08 16:24:52 ok, i am off cya Jul 08 16:25:00 bye Jul 08 17:23:32 nbd * r27562 /trunk/package/mac80211/patches/ (7 files): ath9k: add more fixes for half/quarter rate support Jul 08 17:23:53 nbd * r27563 /trunk/package/mac80211/files/lib/wifi/mac80211.sh: ath9k: add a temporary uci option for setting the channel bandwidth Jul 08 17:28:39 can someone download and build my ppp version bump patch please? my DSL uses bridging... Jul 08 19:19:36 <^Willie^> if i wanna make changes to "target/linux/x86/config-default" must i do that directly in the file or will that be over writen when run make ? Jul 08 19:19:48 <^Willie^> some settings are not visible in menuconfig **** ENDING LOGGING AT Sat Jul 09 02:59:57 2011