**** BEGIN LOGGING AT Thu Dec 12 02:59:59 2013 Dec 12 08:12:14 zajec: about reading PHY registers, check this post: https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/022850.html Dec 12 08:43:13 funny :) that's my post. and i was just about to comment on this to [florian] :D Dec 12 08:43:53 basically what i wanted to say: maybe this is also the problem that we are seeing on newer TP-Links TL-WR1043ND where the WAN port is disabled by the bootloader Dec 12 10:10:28 kaloz r39037 trunk/target/linux/omap/ profiles/00-default.mk profiles * [omap]: add a default profile file Dec 12 12:58:16 eigma: this is sth ar71xx specific Dec 12 12:58:32 eigma: /sys/devices/platform/ag71xx-mdio.0 doesn't exist on other platforms Dec 12 12:58:37 eigma: i'm using bcm47xx Dec 12 13:11:05 here's how atheros handles reading/writing phy registers: http://gpl.back2roots.org/source/fritzbox/7270_5.05/GPL-release_kernel/linux/drivers/net/ag7240/tools/ethreg.c Dec 12 13:11:16 ethreg is their little debug tool for PHY registers Dec 12 13:12:09 S26_RD_PHY <- this looks like custom ioctls Dec 12 13:13:14 well the registers for PHY access is probably something that is platform specific Dec 12 13:13:39 I mean the ioctl numbers are custom and only valid for ar71xx when using the atheros driver Dec 12 13:14:02 yes Dec 12 13:14:58 basically ethtool could be modified to write to phy registers directly Dec 12 13:17:11 heffer: but not by using the custom atheros ioctls Dec 12 13:17:19 correct Dec 12 13:19:27 http://lxr.free-electrons.com/source/include/uapi/linux/sockios.h#L81 <- are the correct ones to use Dec 12 13:19:53 should be quite easy to hack uop a userspace app to read out registers Dec 12 13:20:24 yeah. and it would be useful too. unfortunately i don't have the time to do it atm :/ Dec 12 13:21:19 heffer: well, zajec wants one, and I'm sure he's competent enough to write one for himself ;) Dec 12 13:21:49 so then for the record: i'd be interested as well :D Dec 12 13:26:02 ;) Dec 12 13:26:17 you're using me! ;) Dec 12 13:26:37 :P Dec 12 13:28:28 is ther kernel interface ready for that? SIOCGMIIREG and SIOCSMIIREG? Dec 12 13:33:24 yes Dec 12 13:33:24 https://groups.google.com/forum/#!topic/comp.os.linux.embedded/VOA0K3kLZec Dec 12 13:40:19 Thanks! Dec 12 15:18:01 hmmm, how can I force /tmp/run/hostapd-phy0.conf to be regenerated ? Dec 12 15:18:08 running "wifi" no longer seems to do that ? Dec 12 15:20:03 hmm, seems it does, then why doesn't it add what I added in hostapd.sh Dec 12 15:22:51 did you edit /lib/netifd/hostapd.sh ? Dec 12 15:22:58 /lib/wifi is only used by legacy stuff anymore Dec 12 15:23:12 ah Dec 12 15:23:14 cheers Dec 12 17:13:17 blogic: finally a seguridadwireless user could access to the livebox 2.1 bootloaders and the firm (openwrt) Dec 12 17:13:24 what are the next steps? Dec 12 17:14:00 i mean: the dts file and how to generate an openwrt image for it Dec 12 17:22:43 i ask this because astoria published only the sources for the Easybox 904 LTE Dec 12 17:23:09 and it is a bit different than the livebox Dec 12 17:27:32 Xu Liang's code is a bit hard to read :-/ Dec 12 17:28:13 too hard for me, to be honest Dec 12 17:36:54 had anybody success with the Easybox 904 LTE? Dec 12 17:37:21 have had* Dec 12 17:49:13 ok, time to gpl-violations... Dec 12 17:50:24 rockchip/mediatek, don't bother Dec 12 17:50:43 or, well, bother Dec 12 17:50:50 but don't expect any sort of outcome from it :) Dec 12 17:59:29 Pteridium: how did he do it ? Dec 12 18:00:02 he still don't know :$ Dec 12 18:00:20 ;) Dec 12 18:00:33 but he go to make a dump of the whole flash Dec 12 18:01:09 what do you need? Dec 12 18:02:20 the bootlog: http://foro.seguridadwireless.net/openwrt/astoria-networks-arv7519-de-ya-com-ahora-orange/msg297231/#msg297231 Dec 12 18:02:57 and the partition table: http://foro.seguridadwireless.net/openwrt/astoria-networks-arv7519-de-ya-com-ahora-orange/msg297192/#msg297192 Dec 12 18:06:50 the bootlog only shows the usb irqs, but not the gpios :( Dec 12 18:11:27 blogic: also he can a access to openwrt Dec 12 18:45:20 well Dec 12 18:45:25 how did he flash the uboot ? Dec 12 18:46:05 he didn't flashed nothing Dec 12 18:46:18 it comes as secon stage bootloader Dec 12 18:46:23 second* Dec 12 18:48:08 blogic: do you know the easybox 904? Dec 12 18:48:27 seems that the livebox is the little brother Dec 12 18:48:47 i have both, yes Dec 12 18:49:57 perfect. what must we do to support it with openwrt? Dec 12 18:50:26 we=seguridadwireless team Dec 12 18:57:03 well Dec 12 18:57:08 luka: ping Dec 12 18:57:13 do oyu have a livebox2.1 ? Dec 12 18:57:22 if not i can send you 1 to make uboot :-D Dec 12 18:57:33 i have a semi working dts Dec 12 18:57:46 i had 1 unit where uboot was open and 3 where it is locked Dec 12 18:57:52 but i found the uart boot pins Dec 12 18:58:20 once i know how to access uboot it will be a matter of 1 hour work to make the rest work Dec 12 18:59:43 do you know the uart boot pins? Great! Dec 12 19:03:20 blogic: board for a uboot support seems like a good trade ;) Dec 12 19:03:29 blogic: feel free to send it Dec 12 19:03:34 blogic: Lesgar accidentally accessed the brn-boot administrator mode and then erased partitions 3 and 4. Once erased the password disappears. Dec 12 19:03:54 http://foro.seguridadwireless.net/openwrt/astoria-networks-arv7519-de-ya-com-ahora-orange/msg297252/#msg297252 Dec 12 19:04:11 sorry, it is in spanish Dec 12 19:07:23 ok Dec 12 20:04:48 is uhttpd capable of loggin? Dec 12 20:05:36 especially the mod_ubus Dec 12 22:46:19 [florian]: are you around and have a few minutes to discuss my ar71xx mdio phy power-up issue? **** ENDING LOGGING AT Fri Dec 13 03:00:00 2013