**** BEGIN LOGGING AT Fri Oct 03 03:00:00 2014 Oct 03 04:33:13 morning :) Oct 03 04:39:27 Devastator: hey, you live in Europe? USA? Oct 03 04:39:28 ;) Oct 03 04:39:37 Brazil haha Oct 03 04:39:54 but I'm used to Europe timezone, so.. it's morning! hahah Oct 03 04:40:18 :) Oct 03 04:40:36 are you an operator here or #openwrt? Oct 03 04:40:47 I think the topic could be changed after BB release Oct 03 04:41:14 i'm not Oct 03 04:41:21 but good point Oct 03 04:43:19 zajec do you happen to build your own images? Oct 03 04:53:31 Devastator: sure, how else I could commit anything? ;) Oct 03 04:56:16 zajec heheh true.. I would like to ask you a favour, or at least some guidance: I'm trying very hard to build my own image with a bigger rootfs but kernel md5sum changes everytime and then I can't use official repos because kernel doesn't match, do you have any idea or can try to build one image for me with the same kernel md5sum as the official images? Oct 03 04:58:16 1) why rootfs doesn't use the whole space for you? Oct 03 04:58:38 2) does OpenWrt really refuse to use repos because of mismatching md5? there must be a way to change it Oct 03 04:59:09 Devastator: pastebin your boot log Oct 03 05:00:19 zajec because cavium octeon only have a generic profile yet Oct 03 05:00:51 paste bin boot log Oct 03 05:00:55 i have no idea of this platform Oct 03 05:01:00 need to see how it works Oct 03 05:01:40 zajec can it be from the image it is currently running? Oct 03 05:01:45 it has the mismatch problem :P Oct 03 05:02:11 sure Oct 03 05:03:27 zajec codepad.org/MefPXpRE Oct 03 05:03:33 opss Oct 03 05:03:38 zajec http://codepad.org/MefPXpRE Oct 03 05:07:32 oh, it has a normal hard driver for storage Oct 03 05:08:00 oh, it's a USB disk Oct 03 05:08:02 but still Oct 03 05:08:43 does this USB has one partition with squashfs.img on it? Oct 03 05:10:23 zajec two, one is fat with kernel and kernel md5, rootfs is in another ext4 partition Oct 03 05:12:29 when I first flashed this router it had a 148MB FAT partition, a 2GB ext4 and 1.7GB unallocated, then I repartitioned it to 3.7GB ext4 Oct 03 05:15:18 ok, unfortuantely i don't know how partitioning works for USB drives :| Oct 03 05:15:31 but you should make OpenWrt use packages repo anyway I believe Oct 03 05:15:34 Google for the error you get Oct 03 05:18:49 zajec I think normal packages are ok, only kmod-packages or kernel related packages that gives headaches :) Oct 03 05:19:18 ok, that may be expected Oct 03 05:19:25 but you still should be able to force that Oct 03 05:24:45 zajec if I use --force-depends it install Oct 03 05:25:09 but well, would be nice to have something close to official ones Oct 03 05:41:32 zajec thank you for your help Oct 03 05:42:15 I wonder if there is a .config somewhere that matches the md5sum of official builds, than I can compare Oct 03 06:23:16 build #194 of adm8668 is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/adm8668/builds/194 Oct 03 09:14:48 build #786 of brcm63xx is complete: Failure [failed compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/brcm63xx/builds/786 Oct 03 09:19:25 build #705 of ppc44x is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/ppc44x/builds/705 Oct 03 10:01:29 if you're building your own images, why do you need to be able to use the standard package repos? Oct 03 10:29:56 Hauke: hi :) you missed some recent bcm53xx fun Oct 03 10:30:21 (i mean changes over last 2 days afair) Oct 03 10:41:01 rmilecki r42754 trunk/target/linux/bcm53xx/image/Makefile * bcm53xx: build R6250 firmware with "Other Regions" region Oct 03 10:57:30 cyrus r42755 trunk/package/base-files/files/etc/uci-defaults/12_network-generate-ula * base-files: remove a 'not found' error message during system boot Oct 03 11:04:45 jogo r42756 trunk/target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch * brcm63xx: fix wrong fixups pointer Oct 03 11:05:19 zajec: I was busy with non linux/openwrt related stuff Oct 03 11:05:30 what happened? Oct 03 11:05:45 i've backported upstreamed bcma patches Oct 03 11:05:51 sent some ARM patches for inclusion Oct 03 11:05:58 not sure if they will make 3.18 Oct 03 11:06:06 probably not Oct 03 11:06:07 added GPIO chip support Oct 03 11:06:12 added LEDs for R6250 Oct 03 11:06:18 and kind-of buttons support Oct 03 11:06:18 nice Oct 03 11:06:25 however it's polled... not working that cool Oct 03 11:06:32 i used 200ms polling interval Oct 03 11:06:51 but using irqs should not be so hard? Oct 03 11:07:01 in theory Oct 03 11:07:13 in practice i couldn't get any button IRQ, no idea why Oct 03 11:07:26 i was getting UART IRQs for every char Oct 03 11:07:30 but not buttons Oct 03 11:07:33 have to work more on that Oct 03 11:07:41 hmm strange Oct 03 11:07:57 could it be that gpio uses a different irq? Oct 03 11:08:24 irqs are not limited any more, the nand core has 8 irqs Oct 03 11:09:11 i got a bit lost in buttons IRQ Oct 03 11:09:15 i was looking at this arch code Oct 03 11:09:43 I think what Broadcom did in arch code is... well, re-implementation of IRQ domain Oct 03 11:09:52 they have many interrupts that don't seem to be coming from the hw Oct 03 11:12:12 zajec: can you point he to the file Oct 03 11:12:30 sec Oct 03 11:19:54 Hauke: R8000-V1.0.0.46_1.0.17_src/components/opensource/linux/linux-2.6.36/arch/arm/plat-brcm/bcm5301x.c Oct 03 11:20:04 don't look at R7000, because it isn't there Oct 03 11:21:50 Hauke: soc_cca_irq_enable Oct 03 11:21:59 ok thanks Oct 03 11:23:55 Hauke: AFAIU it uses soc_cca_irq_handler as IRQ 117 handler, then it checks for GPIO IRQ bit and calls soc_cca_gpio_handle if needed Oct 03 11:24:09 soc_cca_gpio_handle does all this polarity magic Oct 03 11:24:14 yes it looks like the irq domain stuff Oct 03 11:24:45 AFAIR it fakes IRQ using generic_handle_irq Oct 03 11:25:27 yes Oct 03 11:26:11 for some reason my INTSTATUS register never has SOC_CHIPCOMON_A_INTMASK_GPIO bit Oct 03 11:26:22 i only had SOC_CHIPCOMON_A_INTMASK_UART bit set Oct 03 11:26:44 Hauke: how we should handle BCM4709? Oct 03 11:26:53 have you seen: /* Enable GPIO interrupts in ChipcommonA */ Oct 03 11:26:53 should we create a new DTS file for it? Oct 03 11:27:09 Hauke: i think I did Oct 03 11:27:14 but may need to check it again Oct 03 11:27:31 how different is bcm4709? Oct 03 11:28:00 well... i don't see any difference Oct 03 11:28:05 except for UART clock aybe Oct 03 11:29:09 how did the uart clock changed? Oct 03 11:29:24 bcm4709 has 3 PCIe controllers is that correct? Oct 03 11:29:48 you should ignore that Oct 03 11:29:56 I have BCM4708 with 3 controllers Oct 03 11:30:02 so it's not constant Oct 03 11:30:38 ok Oct 03 11:30:40 Hauke: https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git/tree/drivers/bcma/driver_gpio.c#n162 Oct 03 11:30:47 Hauke: so driver_gpio.c enables GPIO interrupts Oct 03 11:30:53 so it should be working for me Oct 03 11:30:59 still, it didn't Oct 03 11:31:29 hmm strange Oct 03 12:25:28 build #751 of orion is complete: Failure [failed compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/orion/builds/751 Oct 03 12:52:43 basic rust on openwrt, whee http://pastebay.net/1501643 Oct 03 12:54:13 is it another one of these hipster languages? Oct 03 12:54:50 probably Oct 03 12:55:25 been looking at using something like D/go/? for a while, Oct 03 12:55:39 lua hasn't been as productive as I'd hoped. Oct 03 12:58:01 one major critique about lua has been the lack of a proper ecosystem (like python has) Oct 03 12:58:11 not sure if using even more niche languages will help with that Oct 03 12:59:45 build #674 of sibyte is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/sibyte/builds/674 Oct 03 13:02:19 totally agree Oct 03 13:08:04 file is 1meg anyway, completley useless for running embedded :) Oct 03 13:43:53 build #686 of avr32 is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/avr32/builds/686 Oct 03 14:22:29 Hauke: can you look at [PATCH][RFC] bcma: fill core details for every device Oct 03 14:22:50 it's needed to fill of_device for ChipCommon Oct 03 14:23:00 zajec: yes I am currently going through my mails Oct 03 14:23:02 ok :) Oct 03 14:23:38 Yes I know that we need some changes for chipcommon, I already had a patch prepared, but yours looks better Oct 03 14:26:24 Hauke: do you know if any MIPS BCM47XX patches has been picked? Oct 03 14:26:40 zajec: no I do not know Oct 03 14:26:40 can't see anything in http://git.linux-mips.org/?p=ralf/upstream-sfr.git;a=summary Oct 03 14:29:36 I think this tree still misses many other mips patches Oct 03 14:30:06 i'll try to write Ralf Oct 03 14:30:17 zajec: thanks Oct 03 14:38:48 Hauke: what is BSP? Oct 03 14:38:50 Broadcom BSP Oct 03 14:39:04 board support packagehttps://en.wikipedia.org/wiki/Board_support_package Oct 03 16:40:10 is there some example of using libuci to iterate over all configs in a file/package? Oct 03 16:40:29 zajec: you mean all sections? Oct 03 16:40:31 I found uci_lookup_next: http://lxr.mein.io/source/uci/uci.h#L321 and I guess I need it Oct 03 16:40:37 yes Oct 03 16:40:55 I want to read all "config interface", one by one Oct 03 16:41:10 http://lxr.mein.io/source/rpcd/uci.c#L508 Oct 03 16:41:41 oh... how did i miss that Oct 03 16:41:43 thanks! Oct 03 18:01:43 build #777 of at91 is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/at91/builds/777 Oct 03 18:04:35 build #609 of iop32x is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/iop32x/builds/609 Oct 03 19:18:11 need someone to remind me location of user script Oct 03 19:18:20 i remember there was a place to put user script Oct 03 19:18:26 that will be called on DHCP response Oct 03 19:18:33 when my WAN gets an IP Oct 03 19:18:39 build #200 of brcm2708 is complete: Failure [failed compile_4] Build details are at http://buildbot.openwrt.org:8010/builders/brcm2708/builds/200 Oct 03 19:18:40 I can't Google it :| Oct 03 19:19:30 i think dnsmasq or sth got a condition like [ -x /user/dhcp.sh ] && /user/dhcp.sh Oct 03 19:46:19 got it! udhcpc.user!! Oct 03 22:29:54 zajec: it used to be /etc/udhcpc.user Oct 03 23:21:20 build #93 of brcm63xx.smp is complete: Success [build successful] Build details are at http://buildbot.openwrt.org:8010/builders/brcm63xx.smp/builds/93 Oct 03 23:30:47 build #552 of octeon is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/octeon/builds/552 **** ENDING LOGGING AT Sat Oct 04 03:00:00 2014