**** BEGIN LOGGING AT Tue Jan 08 02:59:56 2008 Jan 08 09:59:20 rwhitby: here ? Jan 08 09:59:27 Or Kaloz: here ? Jan 08 10:01:40 hi exovii, did you get the MAC? Jan 08 10:01:47 Weedy: what? Jan 08 10:02:19 yes Jan 08 10:02:26 nice Jan 08 10:02:45 i copied the patch for nas100d (fetch_mac.patch) and adapted for the fvx Jan 08 10:03:16 When openWRT boots, ifconfig shows the right MAC address, but i still have the annoying "MII read failed" message... Jan 08 10:04:53 exovii: you may not have the correct PHY addresses in the board code Jan 08 10:05:11 i think so, but i don't know how to grab it... Jan 08 10:05:17 hi rwhitby ! Jan 08 10:05:22 have you compared what is in the board code with the printout from the stock firmware? Jan 08 10:05:23 exovii? Jan 08 10:06:14 you mean in arch/arm/mach-ixp4xx/xxx-setup.c ? Jan 08 10:13:14 I saw that the PHY address is set in arch/arm/mach-ixp4xx/xxx-setup.c through the patch xxx_mac_plat_info.patch, but i didn't find the data in the Netgear source code... Jan 08 10:14:50 Another thing i don't understand: Jan 08 10:14:52 Redboot shows 3 network interfaces (NPE eth0, NPE eth1 and RTL8169) but the fvx seems to have 4 physical interfaces (WAN1, WAN2, LAN switch and LAN gigabit port). Jan 08 10:14:54 How do you understand that ? Jan 08 10:35:18 whoa! exovii: i'm having the same problem with a wg302 Jan 08 10:35:45 I thought Kaloz finished the job ! ;) Jan 08 10:36:00 http://forum.openwrt.org/viewtopic.php?pid=61409#p61409 Jan 08 10:36:26 i've noticed i'm not getting any "ixp4xx_mac driver 0.3.1: eth0 on NPE-B with PHY[0] initialized" Jan 08 10:36:51 cdtdaddy: wg302v1 != wg302v2 Jan 08 10:36:54 morning Jan 08 10:37:02 'morning Jan 08 10:37:17 i've followed this: http://wiki.openwrt.org/OpenWrtDocs/Hardware/Netgear/WG302 Jan 08 10:37:24 seems to be for v1 Jan 08 10:38:35 simply people doesn't seem to be able to spot that the kernel is only for v2 :P Jan 08 10:38:52 if you want to have support for the v1, I can fix that up, too.. but only next week Jan 08 10:39:21 ok, if i can do something to help, let me know Jan 08 10:39:54 Kaloz: d'oh !;) Jan 08 10:40:12 if you could put a factory dmesg into that wiki page, it could come handy Jan 08 10:40:31 exovii: what doh? :P told you I will have time for your crap next week as well ;) Jan 08 10:40:53 i'll post it later today Jan 08 10:42:08 netgear firmware is buggy... i 'm looking forward to make wg302 works with a "real" firmware :D Jan 08 10:46:50 cdtdaddy: +1 Jan 08 10:47:00 +1? Jan 08 10:47:05 Kaloz, fix all of ar7 plox Jan 08 10:47:30 cdtdaddy: i agree ! Jan 08 10:47:44 d'oh ! ;D Jan 08 10:48:22 Weedy: I wouldn't touch ar7 even with a stick Jan 08 10:48:23 :P Jan 08 10:48:53 \oL do u want my dlink for free ? Jan 08 10:49:28 nah, it's enough for me for being infected with broadcom :) I don't need another platform that gives me headache :) Jan 08 10:49:34 but thanks for the offer :) Jan 08 10:49:50 all the arm, ppc and other gear is enough fun for me for now :) Jan 08 10:56:18 re Jan 08 10:56:47 shit hits the fan when 6 racks arrive in pallets and i didn't have my coffee yet Jan 08 10:56:56 s/in/on/ Jan 08 11:19:51 Kaloz: do you remember where you found the PHY data for the WG302 ? Jan 08 11:20:02 Can't find it... :( Jan 08 11:20:11 you are using a wrong kernel, don't you? Jan 08 11:20:12 I'll be back soon ! Jan 08 12:11:51 i use the kernel of the Netgear source code. Of course, it is patched... Jan 08 12:38:24 In the Netgear file arch/arm/mach-ixp4xx/xx-setup.c, there is no reference to ethernet ports, only flash and serial... Jan 08 13:01:09 exovii: it's likely to be hard-coded in the intel driver (which they may not have released source for) Jan 08 13:01:36 exovii: where is the openwrt page URL again for your device? Jan 08 13:02:13 rwhitby: http://wiki.openwrt.org/OpenWrtDocs/Hardware/Netgear/FVX538 Jan 08 13:02:48 So, how to retrieve this f...ing data ? Jan 08 13:03:00 ixp400_eth: ixp0 is using NPEB and the PHY at address 4 Jan 08 13:03:00 ixp400_eth: ixp1 is using NPEC and the PHY at address 12 Jan 08 13:03:30 i'm sorry... :| Jan 08 13:05:18 that was in the bootlog from the vendor firmware, printed out by the intel proprietary ethernet driver Jan 08 13:05:36 There are 3 parameters in target/linux/ixp4xx/patches-2.6.23/xx-mac_plat_info.patch: phy, rxq and txreadyq. Jan 08 13:05:38 how to find rxq and txreadyq ? Jan 08 13:06:10 Another thing i don't understand: Jan 08 13:06:12 Redboot shows 3 network interfaces (NPE eth0, NPE eth1 and RTL8169) but the fvx seems to have 4 physical interfaces (WAN1, WAN2, LAN switch and LAN gigabit port). Jan 08 13:06:13 How do you understand that ? Jan 08 13:06:53 dunno - do you have hires photos of the internals so we can see the chip numbers? Jan 08 13:07:49 exovii: in all existing ixp4xx boards, rxq is 3 for the first interface and 4 for the second Jan 08 13:08:03 i had photos but i lost them. Do you think it could be useful ? Jan 08 13:08:09 and txreadyq is 20 and 21 respectively Jan 08 13:08:21 photos are the very most important thing Jan 08 13:08:48 So, i could take photos again... Jan 08 13:09:02 Thanks for these informations Jan 08 13:10:37 try those phy parameters - you will hopefully get lucky Jan 08 13:11:12 porting new boards is have guesswork, and half noticing patterns in existing boards ... Jan 08 13:11:18 s/have/half/ Jan 08 13:25:14 i'll try them this evening. If these work, it'll be time: Jan 08 13:25:15 - to understand how the fvx can have 4 ethernet ports although there is only 3 ethernet interfaces Jan 08 13:25:17 - to deal with RTL8169 Jan 08 13:25:18 To be continued... Jan 08 14:03:47 Kaloz, Kaloz : it worked!!! Jan 08 14:03:51 :D Jan 08 14:04:20 Kaloz: i've followed your hints Jan 08 14:04:42 i've found this: Jan 08 14:04:44 ixp425_eth: ixp0 is using the PHY at address 30 Jan 08 14:04:44 ixp425_eth: ixp1 is using the PHY at address 1 Jan 08 14:05:57 and i've changed .phy in ixdp425_plat_eth !!! Jan 08 14:06:13 now my wg302v1 ping the world :DDD Jan 08 14:06:33 ok, it's an hack but it's a good starting point :D Jan 08 14:08:57 it's a quite ugly hack, and hardly something real :P did you post the oritigal boot messages to the wiki? Jan 08 14:09:56 :\ Jan 08 14:09:59 yeah Jan 08 14:10:01 one sec Jan 08 14:10:02 :D Jan 08 14:12:18 Kaloz: here http://pastebin.com/d5c8aeb03 Jan 08 14:12:30 note 2 things: Jan 08 14:12:45 1) i had to set my mac address manually Jan 08 14:13:07 2) there is a :P after Machine: Intel IXDP425 Development Platform Jan 08 14:13:37 to see that actually i'm using my hackedversion Jan 08 14:14:25 so... it's real!!! :P Jan 08 14:14:43 cdtdaddy: and where's the factory dmesg? :) Jan 08 14:15:14 i've take that from here: http://forum1.netgear.com/showthread.php?t=150&page=2 Jan 08 14:16:11 right now have no factory fw in serial port range Jan 08 14:16:14 :) Jan 08 14:17:22 cdtdaddy: about your hack - am I right to think the original firmwar edetected 32mb of ram, and your hack shows 16mb? ;) Jan 08 14:17:44 dunno Jan 08 14:18:03 that's bad Jan 08 14:18:05 :( Jan 08 14:18:10 bu it pings :) Jan 08 14:18:12 *but Jan 08 14:18:42 I would like you to confirm that the factory firmware detects 32mb or not Jan 08 14:18:49 then I'll crate a testimage for you Jan 08 14:18:57 here is the modified ixdp425-setup.c http://pastebin.com/d58fec583 Jan 08 14:18:58 ok Jan 08 14:19:11 i have to take a ladder for reach one of my ap Jan 08 14:19:13 :) Jan 08 14:19:22 so... brb Jan 08 14:23:45 ok Jan 08 14:23:48 i'm booting Jan 08 14:25:18 here it is: http://pastebin.com/d614462d6 Jan 08 14:26:01 Memory: 32MB = 32MB total Jan 08 14:26:07 :O Jan 08 14:26:52 Memory: 16MB = 16MB total .. hacking ixdp425 Jan 08 14:27:37 i'll post this output to the wiki too Jan 08 14:27:59 florian * r10142 /trunk/ (3 files in 3 dirs): Add back Sitecom WL-105b support Jan 08 14:29:26 cdtdaddy: not needed. the fact the factory firmware detect 32MB is enough for me Jan 08 14:31:11 ok Jan 08 14:31:19 what does it mean? Jan 08 14:31:21 :D Jan 08 14:32:17 tvm, indeed!! Jan 08 14:32:20 :) Jan 08 14:32:23 tyvm Jan 08 14:32:39 simply that I will add a hack for it :) Jan 08 14:33:00 :)) Jan 08 14:38:22 omg i'll reflash all my 8 netgear... >:D Jan 08 14:42:45 you have 8 v1 units? Jan 08 14:42:45 :D Jan 08 14:46:24 yeah Jan 08 14:46:26 :D Jan 08 14:46:33 2 on my desk Jan 08 14:46:51 omg y'll go for mesh :D Jan 08 14:47:02 :) Jan 08 14:47:05 :)) Jan 08 15:08:10 nah, i'm getting an hp jornada for its sh3 Jan 08 17:07:29 pavlov * r10143 /packages/net/dhcp/ (Makefile files/dhcpd.init): update to dhcpd 3.1.0 and change bootup option to be quiet (not display the copyright on every start) Jan 08 17:41:44 pavlov * r10144 /trunk/target/linux/x86/Makefile: bump to 2.6.23.12 Jan 08 18:21:26 pavlov * r10145 /trunk/target/linux/generic-2.6/patches-2.6.23/150-netfilter_imq.patch: update to the latest imq patch for 2.6.23 from http://www.actusa.net/~linuximq/ Jan 08 20:29:17 rwhitby: fvx wiki page updated with pictures... Jan 08 20:37:41 rwhitby: i patched xx-setup.c with the right phy address. Still have "MII read failed"... Jan 08 20:37:47 An idea ? ;) Jan 08 20:56:22 pavlov * r10146 /packages/net/dhcp/Makefile: install omshell and supporting libs Jan 08 21:11:27 rwhitby: here ? Jan 08 22:00:37 exovii: no idea - do you have the netgear source for the intel driver in a place where I can see it? Jan 08 22:06:59 just one more test, i think i made a mistake... Jan 08 22:19:21 rwhitby: no more luck... Jan 08 22:28:40 pavlov * r10147 /trunk/ (6 files in 3 dirs): updated iproute2 to 2.6.23 + latest debian patches + latest esfq. deleted patches have been merged upstream. note, this also brings in the necessary esfq changes in the kernel Jan 08 22:29:53 ^--- test and report if any of you run into issues with that Jan 08 22:31:28 pavlov * r10148 /trunk/package/iproute2/Makefile: md5sum was left out Jan 08 23:18:24 pavlov * r10149 /packages/net/ntpd/ (Makefile files/ntp.conf): move the drift file to /tmp since it gets written a fair amount, bump release and fix whitespace Jan 09 01:05:33 rwhitby * r10150 /trunk/target/linux/ixp4xx/config-default: Forgot to commit the config change Jan 09 02:32:20 Any devs able to check this in? https://dev.openwrt.org/ticket/2997 it's a one liner fix Jan 09 02:36:04 rwhitby * r10151 /trunk/target/linux/ixp4xx/patches-2.6.23/ (4 files): Consolidated fsg3 support into a single patch, identical to the one in the nlsu2-linux kernel repository Jan 09 02:46:59 thepeople * r10152 /trunk/package/ar7-atm/patches/150-tasklet_mode.patch: fix broken patch file from #2997 Jan 09 02:47:40 nabcore: commited Jan 09 02:47:55 thank you! **** ENDING LOGGING AT Wed Jan 09 02:59:58 2008