**** BEGIN LOGGING AT Wed Jul 17 02:59:59 2013 Jul 17 03:22:36 build #275 of ixp4xx is complete: Success [build successful] Build details are at http://buildbot.openwrt.org:8010/builders/ixp4xx/builds/275 Jul 17 03:47:16 build #268 of ar71xx is complete: Failure [failed shell_14] Build details are at http://buildbot.openwrt.org:8010/builders/ar71xx/builds/268 Jul 17 03:51:51 build #219 of octeon is complete: Failure [failed shell_12] Build details are at http://buildbot.openwrt.org:8010/builders/octeon/builds/219 Jul 17 04:53:24 blogic: ping Jul 17 05:50:09 build #241 of gemini is complete: Failure [failed shell_14] Build details are at http://buildbot.openwrt.org:8010/builders/gemini/builds/241 Jul 17 08:12:54 blogic: ping again ;-) Jul 17 09:46:45 blogic r37376 trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh * ramips: add sysupgarde support for wl-330n3g Jul 17 10:44:05 hi Jul 17 11:18:02 build #248 of mcs814x is complete: Success [build successful] Build details are at http://buildbot.openwrt.org:8010/builders/mcs814x/builds/248 Jul 17 11:30:54 i am trying to get an mcp2515 running via spi-interface of the carambola board. for me it is the first time to modify/write code at the kernel level and it seems difficult to me to get startet. has anybody an advice on how to start? Jul 17 11:31:48 i am planing to do as described here http://lnxpps.de/can2udp/openwrt/ but on an ar71xx Jul 17 11:34:02 i modified the mach-carambola2.c ( http://pastebin.com/G1sEE5dq ) but i am not sure if this ist the correct file i should work with. Jul 17 11:35:44 is there a way to build this as an module and for if there is... where do i find the documentation on how to do it? Jul 17 11:42:32 Acinonyx: i have seen that you are familiar with the ar71xx, any advice you could give me? Jul 17 11:43:20 with the spi stuff you need to make sure that you leave the parts that are important for accessing the flash chip Jul 17 11:43:50 no idea how the chip select is handled for flash vs external devices Jul 17 11:46:03 the ar71xx has 3 chipselects... the first one ist used 4 uart and the second one is used for m25p80 (i think its the flash) the SPI_CS_0 is the only one remaining... Jul 17 11:47:15 evilt0ne_: you should multiplex it Jul 17 11:47:27 evilt0ne_: do you only want to use 1 extra spi device ? Jul 17 11:47:35 the flash chip seems to be attached to CS0 Jul 17 11:47:50 it is Jul 17 11:48:17 * blogic opens the docs Jul 17 11:48:50 blogic: this is the first time, i am working at this level and actually i do not understand everything Jul 17 11:50:07 the carambola2 pin 19 says spi cs Jul 17 11:50:16 blogic: if there is a posability to get in there two controllers via this spi-device by spitching the cs, i would like to try it Jul 17 11:50:33 should be possible Jul 17 11:50:42 as you can use a gpio to drive the cs line Jul 17 11:51:31 wouldn't that be verry slow compared to the controller? Jul 17 11:51:36 nope Jul 17 11:51:41 its only the cs line Jul 17 11:51:50 and your can bus talks a 1Mhz max Jul 17 11:51:55 or was it 2mhz ? Jul 17 11:52:17 anyhow, the mcp2515 only goes up to a certain speed Jul 17 11:52:32 blogic: which docs did you open ? ;) Jul 17 11:52:39 http://8devices.com/media/files/Carambola2.pdf Jul 17 11:52:46 page 2 Jul 17 11:53:04 cs0 is attached to the m25p80 Jul 17 11:53:10 cs1 and 2 are used by uart Jul 17 11:53:19 so you need to use a gpio for the cs lines Jul 17 11:56:17 blogic: http://de.scribd.com/doc/132231193/AR9331-datasheet sais B49 Jul 17 11:56:18 GPIO2SPI_CS_0 Jul 17 11:56:32 page 15 Jul 17 11:56:36 ok, i have to be a pedant here Jul 17 11:56:47 please do not paste links to NDA covered datasheets ;) Jul 17 11:56:54 sorry Jul 17 11:56:57 no worry Jul 17 11:57:04 didn't found another Jul 17 11:57:07 haha Jul 17 11:57:08 ;) Jul 17 11:57:36 i guess you will need to use a gpio for a cs line Jul 17 11:57:43 or sacrifice the uart Jul 17 11:58:17 nbd: :) Jul 17 11:58:20 that is evil Jul 17 11:58:56 ok i still need help to get an entrypoint of understanding how to programm a module like this Jul 17 11:58:56 using a gpio is evil as well Jul 17 11:59:18 i wonder why they exported cs0 as-is Jul 17 11:59:24 if it's being used by the flash chip Jul 17 11:59:29 maybe they added a mux gpio somewhere Jul 17 11:59:41 well you can use /CS0 Jul 17 11:59:51 ? Jul 17 12:00:00 well Jul 17 12:00:08 the m25p80 is on CS0 Jul 17 12:00:21 so you can use !CS0 as a CS i guess Jul 17 12:00:25 oh, right Jul 17 12:01:16 so i guess you could use CS1 in the driver but not set the inmux for it Jul 17 12:01:27 keep cs1 as a uart and then use a software CS int he kernel Jul 17 12:01:45 the lantiq spi driver has the option to use the hw cs or gpio cs Jul 17 12:01:55 depends on how the ar71xx spi core works Jul 17 12:02:09 evilt0ne_: keep us updated ;) Jul 17 12:02:30 i have a carambola2 here and am trying to make usb device work Jul 17 12:02:40 evilt0ne_: do you need the usb host port ? Jul 17 12:04:05 blogic: not if i am able to get two of those controller running Jul 17 12:04:25 ok Jul 17 12:04:43 you can turn the usb host to a device Jul 17 12:04:51 and make it talk uart Jul 17 12:05:01 that would free the 2 uart ports Jul 17 12:05:16 i am afraid, that actually i can not... Jul 17 12:05:30 ok Jul 17 12:05:33 why ? Jul 17 12:06:10 i did not really understand how to work with the source i got Jul 17 12:06:23 and where to find the relatied documentation Jul 17 12:06:33 i am starting and trying Jul 17 12:07:16 i was hoping to get information about where to start and how to get more information... Jul 17 12:08:18 the onlything i was able to do was modifying the mach-carambola2.c the way i did and i do not even know if this is the right palce to implement the canfoo Jul 17 12:08:32 changing it will not be enough Jul 17 12:08:38 ok Jul 17 12:08:42 because you need to somehow take care of sharing the bus with the flash chip Jul 17 12:08:49 so you probably need to read some more source code Jul 17 12:08:56 including the spi bus driver Jul 17 12:10:16 is there a good howto out there which helps me making a module out of it? Jul 17 12:11:04 i don't think so Jul 17 12:11:13 you're going to have to work on figuring out that stuff on your own Jul 17 12:11:14 or is it, because i have to figure out how to share the bus with the flash chip, impossible to just build id as lkm Jul 17 12:11:17 ... Jul 17 12:11:22 ok Jul 17 12:11:32 big thx nbd blogic Jul 17 12:11:57 i-d +t Jul 17 12:13:42 one last question... any advice about which ide, is the most confortable for such work? Jul 17 12:14:14 vi Jul 17 12:14:16 :) Jul 17 12:14:50 hehe... okok Jul 17 12:21:23 build #342 of brcm63xx is complete: Failure [failed shell_14] Build details are at http://buildbot.openwrt.org:8010/builders/brcm63xx/builds/342 Jul 17 13:00:32 nbd: where do i find the spi driver? Jul 17 13:01:42 drivers/spi/ Jul 17 13:02:29 thanks Jul 17 13:03:07 drivers/spi/spi-ath79.c Jul 17 13:04:06 ./build_dir/toolchain-mips_r2_gcc-4.7-linaro_uClibc-0.9.33.2/linux-dev/include/linux/spi Jul 17 13:04:11 ?? Jul 17 13:04:17 there is no such file Jul 17 13:05:21 build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.10.1/drivers/spi/spi-ath79.c Jul 17 13:05:21 ok inside the toolchain... there is Jul 17 13:05:53 nice kernelversion Jul 17 13:15:29 everything else is old ;) Jul 17 14:00:02 nbd r37377 trunk/package/kernel/mac80211/patches/200-ath5k_pci_dependency.patch * ath5k: fix AHB support dependency (#13896) Jul 17 14:00:52 nbd r37378 branches/attitude_adjustment/package/mac80211/patches/200-ath5k_pci_dependency.patch * ath5k: fix AHB support dependency (#13896) Jul 17 14:02:31 KanjiMonster: is this normal in a bcm6368 with hw_rng driver loaded? "Entropy: 153/4096" Jul 17 14:03:55 this is the board: http://wiki.openwrt.org/toh/comtrend/vr3025un Jul 17 14:06:05 <[florian]> Pteridium: yes, bcm6368 has a hardware random number generator Jul 17 14:06:18 <[florian]> and as far as I know, this is the only one for now Jul 17 14:07:05 but available entropy seems to be a bit low Jul 17 14:07:16 <[florian]> where does this output come from? Jul 17 14:07:34 <[florian]> is it some rng-tool or? Jul 17 14:08:15 no: echo " Entropy:" $(cat /proc/sys/kernel/random/entropy_avail)/$(cat /proc/sys/kernel/random/poolsize) Jul 17 14:08:42 http://wiki.openwrt.org/doc/howto/snippets In the bottom of the page. Jul 17 14:08:50 <[florian]> do both actually relate? afair you need to feed the entropy pool with one of your hardware random generator hardware Jul 17 14:08:57 <[florian]> so basically starting rngd for instance Jul 17 14:10:03 ok, then bcm63xx_rng is not enough Jul 17 14:10:25 rng tools are needed Jul 17 14:10:29 <[florian]> you need rngd to feed the entropy pool Jul 17 14:11:56 ok, now understand: rngd interfaces with the driver to feed entropy pool Jul 17 14:12:06 <[florian]> exactly yes Jul 17 14:12:34 <[florian]> I don't know if busybox has some rngd daemon, I don't think it has Jul 17 14:12:44 <[florian]> but it could be a nice contribution Jul 17 14:12:55 <[florian]> then we could use an hotplug/procd script to spawn it to feed the entropy pool Jul 17 14:14:58 but if the target SoC has not rng hardware that rngd is useless, no? Jul 17 14:15:57 i go to take a look at busybox Jul 17 14:20:08 build #328 of brcm47xx is complete: Failure [failed shell_14] Build details are at http://buildbot.openwrt.org:8010/builders/brcm47xx/builds/328 Jul 17 14:24:15 Hello everyone, buildbot site seems to be offline. Is it by purpose or it is just down? Jul 17 14:24:42 I used to watch openwrt buildbot site to monitor which packages gets broken. Jul 17 14:28:11 <[florian]> Pteridium: yes, which is the reason why I'd want to use hotplug/procd Jul 17 14:28:22 <[florian]> Pteridium: to spawn it only if the relevant driver/hardware is available Jul 17 14:31:18 seems that busybox has rng tools: http://buildroot-busybox.2317881.n4.nabble.com/git-commit-rng-tools-bump-to-version-4-td37277.html Jul 17 14:31:35 looking for more info... Jul 17 14:59:58 build #337 of at91 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org:8010/builders/at91/builds/337 Jul 17 15:09:44 [florian]: found this old patch; http://lists.busybox.net/pipermail/busybox/2008-August/066784.html Jul 17 15:10:10 http://comments.gmane.org/gmane.linux.busybox/25079 Jul 17 15:17:52 build #234 of mpc52xx is complete: Success [build successful] Build details are at http://buildbot.openwrt.org:8010/builders/mpc52xx/builds/234 Jul 17 15:41:54 ciao Jul 17 16:17:12 mhei r37379 packages/lang/php5-pecl-http/Makefile * php5-pecl-http: disable libevent support (fixes #13742) Jul 17 16:17:14 mhei r37380 packages/lang/ php5-pecl-libevent/patches/101-openwrt-libevent-libdir.patch php5-pecl-libevent/Makefile php5-pecl-libevent/patches/100-openwrt-libevent-include.patch * php5-pecl-libevent: upgrade to 0.1.0 Jul 17 16:17:15 mhei r37381 packages/lang/php5-pecl-http/Makefile * php5-pecl-http: upgrade to 1.7.6 Jul 17 16:41:52 <[florian]> hello mhei Jul 17 16:51:26 hi Jul 17 17:17:12 blogic: ping-a-ling-a-ling Jul 17 17:21:41 blogic: /me wants to help get remote syslogging debugged and fixed in trunk, still broken Jul 17 17:21:53 or was as of last night anyway Jul 17 17:33:07 luka r37382 trunk/package/boot/uboot-envtools/files/ar71xx * [package] uboot-env: add config for the ALFA NETWORKS Hornet-UB (AP121U) Jul 17 18:33:08 [florian]: This is the best i can do with busybox rngd. http://pastebin.com/RXZ0RCdD Jul 17 18:33:22 and this is the old patch: http://pastebin.com/pF8RqTUP Jul 17 18:33:45 still didn't tested it Jul 17 18:34:46 would be better to send this to the mailing list? Jul 17 20:23:54 build #311 of cobalt is complete: Failure [failed shell_14] Build details are at http://buildbot.openwrt.org:8010/builders/cobalt/builds/311 Jul 17 21:29:13 build #291 of rb532 is complete: Failure [failed shell_12] Build details are at http://buildbot.openwrt.org:8010/builders/rb532/builds/291 Jul 17 21:33:27 build #323 of orion is complete: Failure [failed compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/orion/builds/323 Jul 17 21:35:47 build #291 of ppc44x is complete: Failure [failed shell_12] Build details are at http://buildbot.openwrt.org:8010/builders/ppc44x/builds/291 Jul 17 22:26:32 luka r37383 trunk/package/ utils/busybox/Makefile utils/busybox/files/ntp base-files/Makefile base-files/files/etc/init.d/sysntpd * [package] base-files/busybox: move ntpd init script from base-files to busybox Jul 17 22:51:03 wigyori r37384 trunk/ target/linux/imx23/modules.mk package/kernel/linux/modules/usb.mk * imx23: ChipIdea changes Jul 17 23:00:06 oops, i created a ticket but forgot to fill in the keywords field. can it still get populated? Jul 18 00:17:06 build #275 of sibyte is complete: Failure [failed shell_12] Build details are at http://buildbot.openwrt.org:8010/builders/sibyte/builds/275 Jul 18 01:17:52 build #277 of xburst is complete: Failure [failed shell_12] Build details are at http://buildbot.openwrt.org:8010/builders/xburst/builds/277 **** ENDING LOGGING AT Thu Jul 18 02:59:58 2013