Re: [OpenWrt-Devel] au1000 - 3.14 tested needed / ethernet-MAC random
* Weimarnetz e.V., Vorstand/Vereinsvorsitzender: Bastian Bittorf bitt...@bluebottle.com [08.12.2014 21:01]: * Bruno Randolf b...@thinktube.com [02.12.2014 13:50]: I just tested it: up running, PCI got detected, Wifi works, looking good... :) the same here, ethernet + wifi working. what is strange: the ethernet-mac is always changing after each reboot. not sure if this was also the case with 3.10 - bruno can you see this too? ping bruno? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
Hi Bastian, Sorry for the delay. On 12/08/2014 08:01 PM, Bastian Bittorf wrote: what is strange: the ethernet-mac is always changing after each reboot. not sure if this was also the case with 3.10 - bruno can you see this too? Yes, I can confirm this. I just checked: The same happens on 14.07 with kernel 3.10.49 so we haven't noticed this problem since a while... what is also strange: 'yamonenv' is installed, but simply does not work. i never used it before, so i'am not sure if it was ever working... yanmonenv works over here (tested on 14.07 and trunk): root@OpenWrt:/# yamonenv -a memsize=0x0400 prompt=YAMON start=go 0xbfd0 root=/dev/mtdblock/0 modetty0=115200,n,8,1,none modetty1=115200,n,8,1,none bootserport=tty0 ethaddr=00.0e.56.00.00.f7 ipaddr=192.168.1.1 subnetmask=255.255.255.0 gateway=0.0.0.0 bootprot=tftp bootserver=192.168.1.9 bootfile=vmlinux-mtx.srec MAC=0 cubeID=247 tftp=load /vmlinux.srec; go . root=/dev/mtdblock/0 flash=go 0xbfd0 root=/dev/mtdblock/0 startwaittime=30 load= lo=load /vmlinux.srec Greetings, bruno ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
* Bruno Randolf b...@einfach.org [10.12.2014 11:47]: On 12/08/2014 08:01 PM, Bastian Bittorf wrote: what is strange: the ethernet-mac is always changing after each reboot. not sure if this was also the case with 3.10 - bruno can you see this too? Yes, I can confirm this. I just checked: The same happens on 14.07 with kernel 3.10.49 so we haven't noticed this problem since a while... when looking into the source, ./build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.26/drivers/net/ethernet/amd/au1000_eth.c there is in static int au1000_probe(struct platform_device *pdev) {} a hint: /* Set a random MAC since no valid provided by platform_data. */ so, does this mean we have not applied DTS to this target? what is also strange: 'yamonenv' is installed, but simply does not work. i never used it before, so i'am not sure if it was ever working... yanmonenv works over here (tested on 14.07 and trunk): strange - i have only a 'T-Mobile InternetBox TMD SB1-S' here. Do you have a real cube? I'am rebuilding now and will check again why 'yamonenv' does not output anything here. partitions look like: root@box:~ cat /proc/mtd dev:size erasesize name mtd0: 01c0 0002 rootfs mtd1: 0194 0002 rootfs_data mtd2: 0010 0002 yamon mtd3: 002c 0002 kernel mtd4: 0004 0002 yamon env bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
On 12/10/2014 11:30 AM, Bastian Bittorf wrote: so, does this mean we have not applied DTS to this target? Very likely. I don't remember how we got the MAC addr set before DT. what is also strange: 'yamonenv' is installed, but simply does not work. i never used it before, so i'am not sure if it was ever working... yanmonenv works over here (tested on 14.07 and trunk): strange - i have only a 'T-Mobile InternetBox TMD SB1-S' here. Do you have a real cube? I'am rebuilding now and will check again why 'yamonenv' does not output anything here. partitions look like: For me yamonenv works on both the cube and the internet box. Maybe your YAMON environment is messed up and has a bad checksum? Not sure, would need to check the code of yamonenv, but I don't have the time to do that right now. bruno ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
* Bruno Randolf b...@einfach.org [10.12.2014 13:31]: For me yamonenv works on both the cube and the internet box. Maybe your YAMON environment is messed up and has a bad checksum? Not sure, would need to check the code of yamonenv, but I don't have the time to do that right now. thanks, i checked the source of yamonenv and it seems that mtd3 is hardcoded but here it is mtd4. ugly. how does your partition table look? - bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
* Bruno Randolf b...@thinktube.com [02.12.2014 13:50]: I just tested it: up running, PCI got detected, Wifi works, looking good... :) the same here, ethernet + wifi working. what is strange: the ethernet-mac is always changing after each reboot. not sure if this was also the case with 3.10 - bruno can you see this too? the workaround here is to fetch it from partition yamon env: #!/bin/sh . /lib/functions.sh . /lib/functions/system.sh PARTITION=$( find_mtd_part yamon env ) MAC=$( sed -n '/ethaddr/{n;p;}' $PARTITION | tail -n1 ) MAC=$( macaddr_canonicalize $MAC ) ucidef_set_interface_macaddr lan $MAC # in my case: 00:0e:56:00:0f:c5 # - the same which is on the sticker on the bottom side what is also strange: 'yamonenv' is installed, but simply does not work. i never used it before, so i'am not sure if it was ever working... bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
Hi John, Thanks! I just tested it: up running, PCI got detected, Wifi works, looking good... :) root@OpenWrt:/# uname -a Linux OpenWrt 3.14.25 #1 Mon Dec 1 20:42:17 WET 2014 mips GNU/Linux bruno On 12/01/2014 04:55 PM, John Crispin wrote: Hi, i pushed 3.14 support for au1000. i have no hw for testing so this is only compile tested and hence i left 3.10 as default. can someone test 3.14 so we can set it as default please. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
ok i will set it as default in that case, thanks for testing On 02/12/2014 13:19, Bruno Randolf wrote: Hi John, Thanks! I just tested it: up running, PCI got detected, Wifi works, looking good... :) root@OpenWrt:/# uname -a Linux OpenWrt 3.14.25 #1 Mon Dec 1 20:42:17 WET 2014 mips GNU/Linux bruno On 12/01/2014 04:55 PM, John Crispin wrote: Hi, i pushed 3.14 support for au1000. i have no hw for testing so this is only compile tested and hence i left 3.10 as default. can someone test 3.14 so we can set it as default please. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] au1000 - 3.14 tested needed
Hi, i pushed 3.14 support for au1000. i have no hw for testing so this is only compile tested and hence i left 3.10 as default. can someone test 3.14 so we can set it as default please. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] au1000 - 3.14 tested needed
* John Crispin blo...@openwrt.org [01.12.2014 18:02]: i pushed 3.14 support for au1000. i have no hw for testing so this is only compile tested and hence i left 3.10 as default. can someone test 3.14 so we can set it as default please. will test on the weekend with real HW - bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel