**** BEGIN LOGGING AT Mon Jul 19 02:59:56 2010 Jul 19 03:40:07 build #83 of brcm63xx is complete: Exception [exception] Build details are at http://tksite.gotdns.org:8010/builders/brcm63xx/builds/83 Jul 19 03:40:09 build #84 of avr32 is complete: Failure [failed compile_12] Build details are at http://tksite.gotdns.org:8010/builders/avr32/builds/84 Jul 19 04:08:14 build #58 of xburst is complete: Failure [failed compile_10] Build details are at http://tksite.gotdns.org:8010/builders/xburst/builds/58 Jul 19 05:34:53 build #78 of sibyte is complete: Exception [exception] Build details are at http://tksite.gotdns.org:8010/builders/sibyte/builds/78 Jul 19 05:58:25 build #72 of cobalt is complete: Failure [failed shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/cobalt/builds/72 Jul 19 05:59:00 build #75 of octeon is complete: Failure [failed shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/octeon/builds/75 Jul 19 06:45:14 build #70 of etrax is complete: Failure [failed compile_3] Build details are at http://tksite.gotdns.org:8010/builders/etrax/builds/70 Jul 19 06:46:57 build #70 of gemini is complete: Exception [exception] Build details are at http://tksite.gotdns.org:8010/builders/gemini/builds/70 Jul 19 06:59:08 build #89 of atheros is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/atheros/builds/89 Jul 19 07:27:07 build #80 of brcm47xx is complete: Exception [exception] Build details are at http://tksite.gotdns.org:8010/builders/brcm47xx/builds/80 Jul 19 07:58:42 build #66 of iop32x is complete: Failure [failed compile] Build details are at http://tksite.gotdns.org:8010/builders/iop32x/builds/66 Jul 19 08:39:55 build #85 of ar71xx is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/ar71xx/builds/85 Jul 19 08:49:22 hello Jul 19 11:28:23 kaloz * r22287 /trunk/target/linux/mx2/patches-2.6.34/ (020-fix-usb-ioresource.patch 030-lzma.patch): remove unneeded patches Jul 19 11:30:29 kaloz * r22288 /trunk/target/linux/ (at91/Makefile ep93xx/Makefile etrax/Makefile): fixup some boardnames Jul 19 11:35:07 kaloz * r22289 /trunk/ (24 files in 24 dirs): update kernel versions Jul 19 11:35:32 kaloz * r22290 /trunk/include/kernel-version.mk: we don't care about the md5sums for -rc kernels Jul 19 12:00:25 build #74 of ep93xx is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/ep93xx/builds/74 Jul 19 12:00:27 build #71 of mpc52xx is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/mpc52xx/builds/71 Jul 19 12:00:29 build #66 of adm5120 is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/adm5120/builds/66 Jul 19 12:00:32 build #64 of kirkwood is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/kirkwood/builds/64 Jul 19 12:11:33 swalker * r22291 /packages/libs/liboping/Makefile: [packages] liboping: update to 1.4.0, add a noping package for the ncurses app Jul 19 12:13:50 hcg * r22292 /trunk/target/linux/omap35xx/gumstix/profiles/gumstix.mk: [gumstix] replace dropbear with openssh Jul 19 12:29:43 hcg * r22293 /trunk/target/linux/omap35xx/gumstix/profiles/gsjava.mk: [gumstix] Remove profile no longer required Jul 19 12:32:20 kaloz * r22294 /trunk/target/linux/ (imx21/ imx21/Makefile mx2/): rename the mx2 target to imx21 Jul 19 17:25:28 hi all Jul 19 17:41:12 I'm porting openwrt to a new board, actually the leds arent properly handled Jul 19 17:41:19 how can i find the right gpios ? Jul 19 17:45:53 poke them with gpioctl maybe and then measure the currencies I'd say Jul 19 17:51:34 ok i will try that Jul 19 17:52:35 in some cases its obvious e.g. if a led lights up or the board gets resetted Jul 19 17:54:25 ok i'm building it :) Jul 19 18:26:03 hum it say it can't open /dev/gpio... Jul 19 18:27:08 is kmod-gpio-dev for that ? Jul 19 18:27:16 probably Jul 19 18:28:08 and i'm experiencing problem with nvram Jul 19 18:28:47 i have check that /dev/mtblock4 contains the nvram and it's ok i can see the values before scrambled signs Jul 19 18:30:00 but nvram show say it can't open nvram Jul 19 18:31:22 then its probably not in broadcom format or uses an unknown version Jul 19 18:32:56 that's really possible since even the bootloader require an additional header on the firmware to boot it Jul 19 18:36:18 can you upload a dump somewhere? Jul 19 18:41:05 yes Jul 19 18:43:32 http://vangelis.is-a-geek.com/images/NVRAM.BIN Jul 19 18:44:21 it sound really possible that they use some special magic thing or something like that because they have removed the nvram.c source in their source release Jul 19 18:46:00 clem-vangelis: the userspace nvram util expects the nvram to start at erase_block_size - 0x2000 (0xe000) but yours start as 0x0 Jul 19 18:46:15 it looks like ordinary bcm nvram though Jul 19 18:49:42 oh ok Jul 19 18:50:00 I'll prepare a patch, yould be good if you could try Jul 19 18:50:47 i can try it as soon as it's ready Jul 19 18:51:46 that's for the device you help me with the special header Jul 19 18:53:45 in the source code they have released, they forget(?) to remove nvram_linux.c and as you said offset is 0x0 :) Jul 19 19:04:02 http://luci.subsignal.org/~jow/nvram-offset-0.patch -p0 against trunk Jul 19 19:04:22 thanks Jul 19 19:14:36 booting... Jul 19 19:17:46 doesn't work :/ i will make a full clean and try again Jul 19 19:19:04 by the way is it normal that i can't do mtd unlock nvram ? Jul 19 19:32:57 that's ok for the gpios :) Jul 19 19:33:10 but without nvram no router detection no ? Jul 19 20:07:27 hauke * r22295 /trunk/target/linux/brcm47xx/ (config-2.6.33 patches-2.6.33/): brcm47xx: remove kernel 2.6.33 Jul 19 20:25:23 hauke * r22296 /trunk/target/linux/ (60 files in 10 dirs): brcm47xx: prepare brcm47xx patches for sending to mainline. Jul 19 20:37:31 xMff: after a fresh build it still doesn't work :/ Jul 19 20:37:58 clem-vangelis: ok Jul 19 20:38:17 clem-vangelis: but mtdpart4 is called "nvram" ? Jul 19 20:38:25 yes Jul 19 20:38:29 ok Jul 19 20:39:53 mtd0: 00020000 00010000 "cfe" Jul 19 20:39:53 mtd1: 001d0000 00010000 "linux" Jul 19 20:39:53 mtd2: 000f4c00 00010000 "rootfs" Jul 19 20:39:53 mtd3: 00060000 00010000 "rootfs_data" Jul 19 20:39:53 mtd4: 00010000 00010000 "nvram" Jul 19 20:42:07 even with mtd unlock nvram i get : could not open device nvram Jul 19 20:42:19 can you strace it? Jul 19 20:42:45 how can i do that ? install strace ? Jul 19 20:42:56 opkg install strace; strace nvram show Jul 19 20:43:38 ok Jul 19 20:51:01 sorry for the time i have to rebuild an image since i don't have a lot of space on the device i put as many thing is i can has module Jul 19 20:52:35 http://pastebin.com/xuFKVxwY Jul 19 21:03:54 shame on my, the cast-fu in my previous patch was wrong Jul 19 21:05:12 clem-vangelis: same url, updated patch Jul 19 21:05:38 clem-vangelis: revert the other changes before... svn revert -R package/nvram Jul 19 21:06:30 thanks Jul 19 21:09:57 but if i'm unable to unlock nvram ( mtd unlock nvram) nvram apps will be unable too to unlock it no ? Jul 19 21:10:53 what error do you get? Jul 19 21:11:13 Could not open mtd device: nvram Jul 19 21:11:18 same for mtd4 instead of nvram Jul 19 21:11:28 did you wrote your own flashmap? Jul 19 21:11:33 :q Jul 19 21:11:42 oops, wrong window Jul 19 21:11:42 ;) Jul 19 21:11:49 hum no Jul 19 21:11:56 clem-vangelis: try it anyway Jul 19 21:12:02 ok Jul 19 21:12:05 nvram util I mean Jul 19 21:12:24 the flashmap is detected by bcm47xx-flash.c no? Jul 19 21:12:29 right Jul 19 21:12:37 wondered whether nvram is write protected maybe Jul 19 21:13:02 i have modified it to detect the stupid edimax header but didn't touch it anymore Jul 19 21:14:16 i know that the chip is in byte mode instead of word mode Jul 19 21:14:27 claudio * r22297 /trunk/ (2 files in 2 dirs): [kernel] pwm: export the generic pwm api as module Jul 19 21:14:39 but as the trx header rewriting is working well i don't think it can't write the flash Jul 19 21:33:08 it's working ! Jul 19 21:34:58 whats the board name again? Jul 19 21:35:15 ps-1208mfg Jul 19 21:35:28 https://forum.openwrt.org/viewtopic.php?pid=112016#p112016 Jul 19 21:35:38 reading is working but not writing Jul 19 21:35:59 paste /proc/mtd again Jul 19 21:36:04 and the map printed in dmesg Jul 19 21:37:24 http://pastebin.com/aatfZUvC Jul 19 21:43:27 and here is the modified bcm47xx-flash : http://vangelis.is-a-geek.com/images/bcm47xx-flash.c Jul 19 21:44:03 i have only modified find_cfe_size and init_mtd_partitions Jul 19 21:45:14 s/init_mtd_partition/find_root Jul 19 21:45:32 hauke * r22298 /trunk/target/linux/brcm47xx/ (12 files in 2 dirs): brcm47xx: write boardflags correct into sprom Jul 19 21:54:33 xMff: thanks a lot for your help and your time, i have to go, will be back tomorrow afternoon Jul 19 21:54:44 np. ciao Jul 19 21:55:38 a last thing Jul 19 21:55:57 is nvram still really used by openwrt ? Jul 19 21:56:43 only in certain drivers (ssb, tg3, b44, b43, wl) Jul 19 21:57:07 ok Jul 19 21:57:14 ++ Jul 19 22:20:11 jow * r22299 /trunk/package/nvram/ (Makefile src/cli.c src/nvram.c src/nvram.h): [package] nvram: handle nvram at varying offsets within the eraseblock (fixes Edimax PS-1208mfg with FLSH at offset 0) Jul 20 00:27:42 mirko * r22300 /packages/Xorg/lib/qt4/Makefile: qt4: do not compile parts which require nptl support when no nptl support is available (as uClibc < 0.9.32) Jul 20 01:54:04 nbd * r22301 /trunk/package/mac80211/ (18 files in 2 dirs): mac80211: update to wireless-testing 2010-07-16 Jul 20 01:54:09 nbd * r22302 /trunk/package/mac80211/patches/800-mac80211_aggr_fix.patch: mac80211: fix aggregation on WDS AP interfaces Jul 20 01:54:14 nbd * r22303 /trunk/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c: ar71xx: set default values for the fifo cfg registers on AR724x Jul 20 01:54:18 nbd * r22304 /trunk/package/ (crda/Makefile hostapd/Makefile mac80211/Makefile): move the crda dependency to the kmod-cfg80211 package, get rid of crda's dependency on mac80211. this fixes circular dependency issues Jul 20 01:54:24 nbd * r22305 /trunk/target/linux/generic/ (9 files in 5 dirs): kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs in a fixed location in RAM to recover them after the reboot and make them available to user space using debugfs Jul 20 02:52:54 nbd, can you give me an example how to find the 'crash log' in debugfs? Jul 20 02:55:37 if the system crashed, then the crash log will be in /sys/kernel/debug/crashlog after the reboot Jul 20 02:55:46 you need to clean your kernel tree after svn up to get this feature **** ENDING LOGGING AT Tue Jul 20 02:59:56 2010