From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 28 21:00:11 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19661329 for ; Sun, 28 Dec 2014 21:00:11 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 085381320 for ; Sun, 28 Dec 2014 21:00:11 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBSL0AIG075257 for ; Sun, 28 Dec 2014 21:00:10 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201412282100.sBSL0AIG075257@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-wireless@FreeBSD.org Subject: Problem reports for freebsd-wireless@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 28 Dec 2014 21:00:10 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2014 21:00:11 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 163312 | [panic] [ath] kernel panic: page fault with ath0 Open | 166190 | [ath] TX hangs and frames stuck in TX queue Open | 166357 | [ath] 802.11n TX stall when the first frame in th Open | 169362 | [ath] AR5416: radar pulse PHY errors sometimes in 5 problems total for which you should take action. From owner-freebsd-wireless@FreeBSD.ORG Fri Jan 2 23:12:00 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3E0AE78 for ; Fri, 2 Jan 2015 23:12:00 +0000 (UTC) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 78EC81A4D for ; Fri, 2 Jan 2015 23:12:00 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id va2so54630318obc.10 for ; Fri, 02 Jan 2015 15:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=0qfkYn50hg7PXduc56R1GsYL+BA3zs8iUxoeNVCskHE=; b=Dq1l3ljbIbqJduNI6NY2Sgr27RISeCYYlhIFKIj+YGaKhbwCECHWqcXfJj8HkryQ4m pvM/CrWqEh+ATkMP0Yy+S2eIdnj9pZtla0C2fKViwd+AYY/BsCNBvR/0fFmEcQmx5PXh Q4wldu82JZKsBUuM5MNsSiFG2zeB8C5ILJZhkkLl1JMrwrZjPTAqFbCWvOyfLenAITb+ nvRwWgM2f1mcEz+MMnzAA5Ll1+wXKRNcq9lzfAqXQUXazEHmY2l6RmMENUrS+APfSLMB /FieMCfltmDYcvRe4r8aNm+KSOIy80pNppTD1ONCszv8VFCgOpQuUzLc+gfCJg4K8fUf MzCQ== MIME-Version: 1.0 X-Received: by 10.60.124.69 with SMTP id mg5mr46682390oeb.73.1420240319774; Fri, 02 Jan 2015 15:11:59 -0800 (PST) Received: by 10.182.23.111 with HTTP; Fri, 2 Jan 2015 15:11:59 -0800 (PST) Date: Sat, 3 Jan 2015 02:11:59 +0300 Message-ID: Subject: TP-Link TL-WDR4300 Support From: Mike To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 23:12:00 -0000 Hello! This is device which probably supported by FreeBSD/MIPS + Atheros drivers. Serial console pinout on 4pin connector is: Vcc/GND/RX/TX To get uboot prompt while router boots you should type "tpl" and press enter quickly while uboot outputs "Autobooting in 1 seconds". Here is uboot env: U-Boot 1.1.4 (Jun 17 2013 - 12:31:57) U-boot DB120 DRAM: 128 MB id read 0x100000ff flash size 8MB, sector count = 128 Flash: 8 MB Using default environment PCIe Reset OK!!!!!! In: serial Out: serial Err: serial Net: ag934x_enet_initialize... No valid address in Flash. Using fixed address wasp reset mask:c03300 WASP ----> S17 PHY * : cfg1 0x7 cfg2 0x7114 eth0: ba:be:fa:ce:08:41 athrs17_reg_init: complete eth0 up eth0 Autobooting in 1 seconds db12x> db12x> printenv bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) bootcmd=bootm 0x9f020000 bootdelay=1 baudrate=115200 ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41 ipaddr=192.168.1.111 serverip=192.168.1.100 dir= lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize;cp.b $fileaddr 0x9f000000 $filesize lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f050000 +0x630000;cp.b $fileaddr 0x9f050000 $filesize lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize;cp.b $fileaddr 0x9f680000 $filesize stdin=serial stdout=serial stderr=serial ethact=eth0 Environment size: 686/65532 bytes db12x> -- With best regards from Russia, Mike From owner-freebsd-wireless@FreeBSD.ORG Fri Jan 2 23:27:35 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36603389 for ; Fri, 2 Jan 2015 23:27:35 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8AC21C5B for ; Fri, 2 Jan 2015 23:27:34 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id a1so24903315wgh.9 for ; Fri, 02 Jan 2015 15:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lcfFRNPv9hHM6LMnWxkTDN7TblI8Wrnj0zyEWf8f3yc=; b=vmsenk8KgMqW9YmWZ/A+MC6G0SfUzgYDafMcJrOoCIvQOannCmSDa1b4d571uWUJUL QkRh8G+HIbeEL6BUyMhumERC9v7oQi3rKaTzoAYmsNyQ8tArya5rjKb1L0TbcPhlI1zt t/FARqiIc2/11onk89LkX1tHYcP1b9jFdouL2WamigkeFe60dHHllUqFyBrgiUe20cHO JeRtEQZI31jP5pz58afQ2HQtpfheBNppBx9Ne67sWECnnr4duPc2QmxDdF0Kn8FJmj6x 0WN0ybs53woQNZTfopUlz9v8xLHQDNQ7Qe6Ksl2KU7TnCSvuNzPVJeu9LPINlw6dsbFu E9ug== MIME-Version: 1.0 X-Received: by 10.194.24.103 with SMTP id t7mr155544275wjf.15.1420241253084; Fri, 02 Jan 2015 15:27:33 -0800 (PST) Received: by 10.216.41.136 with HTTP; Fri, 2 Jan 2015 15:27:33 -0800 (PST) In-Reply-To: References: Date: Fri, 2 Jan 2015 15:27:33 -0800 Message-ID: Subject: Re: TP-Link TL-WDR4300 Support From: Adrian Chadd To: Mike Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 23:27:35 -0000 Hah, looks like the exact same layout as the atheros reference design DB120. On 2 January 2015 at 15:11, Mike wrote: > Hello! > This is device which probably supported by FreeBSD/MIPS + Atheros drivers. > Serial console pinout on 4pin connector is: > Vcc/GND/RX/TX > To get uboot prompt while router boots you should type "tpl" and press > enter quickly while uboot outputs "Autobooting in 1 seconds". > Here is uboot env: > U-Boot 1.1.4 (Jun 17 2013 - 12:31:57) > > U-boot DB120 > > > DRAM: 128 MB > id read 0x100000ff > flash size 8MB, sector count = 128 > Flash: 8 MB > Using default environment > > PCIe Reset OK!!!!!! > In: serial > Out: serial > Err: serial > Net: ag934x_enet_initialize... > No valid address in Flash. Using fixed address > wasp reset mask:c03300 > WASP ----> S17 PHY * > : cfg1 0x7 cfg2 0x7114 > eth0: ba:be:fa:ce:08:41 > athrs17_reg_init: complete > eth0 up > eth0 > Autobooting in 1 seconds > db12x> > db12x> printenv > bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs > init=/sbin/init > mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) > bootcmd=bootm 0x9f020000 > bootdelay=1 > baudrate=115200 > ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41 > ipaddr=192.168.1.111 > serverip=192.168.1.100 > dir= > lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize;cp.b > $fileaddr 0x9f000000 $filesize > lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f050000 > +0x630000;cp.b $fileaddr 0x9f050000 $filesize > lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 > +$filesize;cp.b $fileaddr 0x9f680000 $filesize > stdin=serial > stdout=serial > stderr=serial > ethact=eth0 > > Environment size: 686/65532 bytes > db12x> > > -- > With best regards from Russia, Mike From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 3 00:25:57 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0DD30DF8 for ; Sat, 3 Jan 2015 00:25:57 +0000 (UTC) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C69492575 for ; Sat, 3 Jan 2015 00:25:56 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id uy5so54819072obc.4 for ; Fri, 02 Jan 2015 16:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=fc7GGhxr/h3ix+jjYFJZjMq1BSO5/70pkYs+hXwfptw=; b=pjenuXYuLNgBdstcyUFVYLPxX7m0j/QNWChAWY5Ux0iKuJuQ6gWHIBkTZf1HeZ34Cc OicCaRm/Jr3uEVuscqE8FA2SHG1bsyE7yoNwEoFZDb3hsQeSY7c4WZ5QUrnlvnoMlsd+ i3QDBHu/RUKZ+MZu6lEZD7gJ4CyVc7ZOcDzKc8oP3Ku43xIre2CkZbCjnCr5sTGhKKM4 FLWAX8sB/hi+RcBTuwAhZlVPlgtzp8LKpdydL75gRfSr3EDFUA9LJudA51UBPxttHa0D BELfeqoyRCYIxH1GrGOYB1hbimFIBfdfFcsAuQfemaFCcoKzXa4YnxvOZovnEvz8p7cy P47Q== MIME-Version: 1.0 X-Received: by 10.202.4.5 with SMTP id 5mr44384438oie.22.1420244756033; Fri, 02 Jan 2015 16:25:56 -0800 (PST) Received: by 10.182.23.111 with HTTP; Fri, 2 Jan 2015 16:25:56 -0800 (PST) Date: Sat, 3 Jan 2015 03:25:56 +0300 Message-ID: Subject: TP-Link TL-WDR4300 Support From: Mike To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2015 00:25:57 -0000 Ok, original TP-Link uboot is refusing to accept images without TP-Link header and lacks many useful commands, so I reflashed mine TP-Link with alternative U-Boot to quickly check, will it boot FreeBSD or not. In case someone else wants to do it too, here is what I did: 1. Downloaded compiled pepe2k uboot (https://github.com/pepe2k/u-boot_mod) from https://raw.githubusercontent.com/gwlim/Openwrt_Firmware/master/TP-Link_TL-WDR3500-3600-43XX-WM4350R/TP-Link_TL-WDR3500-3600-43XX-WM4350R_Overclock_Section/uboot_for_tp-link_tl-wdr3600-43x0_oc_600_400_200.bin 2. Flashed from original TP-Link uboot: tftpboot 0x80800000 uboot_for_tp-link_tl-wdr3600-43x0_oc_600_400_200.bin erase 0x9F000000 +0x10000 cp.b 0x80800000 0x9F000000 0x10000 reset 3. After that FreeBSD started booting. Pastebin: http://pastebin.mozilla.org/8156450 4. I should warn, that printenv is changed dramatically after this uboot update: Before: bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) bootcmd=bootm 0x9f020000 bootdelay=1 baudrate=115200 ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41 ipaddr=192.168.1.111 serverip=192.168.1.100 dir= lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize;cp.b $fileaddr 0x9f000000 $filesize lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f050000 +0x630000;cp.b $fileaddr 0x9f050000 $filesize lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize;cp.b $fileaddr 0x9f680000 $filesize stdin=serial stdout=serial stderr=serial ethact=eth0 After: bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) bootcmd=bootm 0x9F020000 bootdelay=1 baudrate=115200 ipaddr=192.168.1.1 serverip=192.168.1.2 bootfile="firmware.bin" loadaddr=0x80800000 ncport=6666 uboot_addr=0x9F000000 uboot_name=uboot.bin uboot_size=0x10000 uboot_upg=if ping $serverip; then tftp $loadaddr $uboot_name && if itest.l $filesize == $uboot_size; then erase $uboot_addr +$filesize && cp.b $loadaddr $uboot_addr $filesize && echo OK!; else echo ERROR! Wrong file size!; fi; else ERROR! Server not reachable!; fi firmware_addr=0x9F020000 firmware_name=firmware.bin firmware_upg=if ping $serverip; then tftp $loadaddr $firmware_name && erase $firmware_addr +$filesize && cp.b $loadaddr $firmware_addr $filesize && echo OK!; else ERROR! Server not reachable!; fi stdin=serial stdout=serial stderr=serial ethact=eth0 -- With best regards from Russia, Mike From owner-freebsd-wireless@FreeBSD.ORG Sat Jan 3 03:05:45 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2EA0C05 for ; Sat, 3 Jan 2015 03:05:44 +0000 (UTC) Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 771731D65 for ; Sat, 3 Jan 2015 03:05:44 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u56so5188422wes.30 for ; Fri, 02 Jan 2015 19:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AHbaWxByoW3WSBzujFiQD/Fg94lTKi1ynHTq0XLE0Sg=; b=gEdwO/U8Yq7/owCrf5uQIg9nBymD2OjiwLbvMs7OYFYJA2JMzlH91bHXkokBwspWNu bJF055iTTvHVHycJUhW+yqZI0/vcXO+8mbZentrQeuY36fc4uy4c6G6tE+ECndkKlf6b AcHYVj6boOgGvdyI7dXkVxrWgMRsUCSgykpXl9k6ReV/W/4iZVlfE59RZ2bL/uE8Sc4A 629Xwtxas3Z5/yq9zpLyBNyJXRem/LvTI76GyS6Pp9cnM0r9MnQpmk3n6WheMa1FV22/ 8ROf3Xm/YAZy/dyWdeUkp+VgO6BaboFM4B9GzUwpgxFRFgyATGHmm28E4YT38xbyuefT h8JA== MIME-Version: 1.0 X-Received: by 10.194.24.103 with SMTP id t7mr156775571wjf.15.1420254343015; Fri, 02 Jan 2015 19:05:43 -0800 (PST) Received: by 10.216.41.136 with HTTP; Fri, 2 Jan 2015 19:05:42 -0800 (PST) In-Reply-To: References: Date: Fri, 2 Jan 2015 19:05:42 -0800 Message-ID: Subject: Re: TP-Link TL-WDR4300 Support From: Adrian Chadd To: Mike Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2015 03:05:45 -0000 Hi! Yup. It seems that I'll have to update the mktplinkfw stuff with more up to date board information. (Wonder if I can buy one of these things locally..) -a On 2 January 2015 at 16:25, Mike wrote: > Ok, original TP-Link uboot is refusing to accept images without > TP-Link header and lacks many useful commands, so I reflashed mine > TP-Link with alternative U-Boot to quickly check, will it boot FreeBSD > or not. > In case someone else wants to do it too, here is what I did: > 1. Downloaded compiled pepe2k uboot > (https://github.com/pepe2k/u-boot_mod) from > https://raw.githubusercontent.com/gwlim/Openwrt_Firmware/master/TP-Link_TL-WDR3500-3600-43XX-WM4350R/TP-Link_TL-WDR3500-3600-43XX-WM4350R_Overclock_Section/uboot_for_tp-link_tl-wdr3600-43x0_oc_600_400_200.bin > 2. Flashed from original TP-Link uboot: > tftpboot 0x80800000 uboot_for_tp-link_tl-wdr3600-43x0_oc_600_400_200.bin > erase 0x9F000000 +0x10000 > cp.b 0x80800000 0x9F000000 0x10000 > reset > 3. After that FreeBSD started booting. Pastebin: > http://pastebin.mozilla.org/8156450 > 4. I should warn, that printenv is changed dramatically after this uboot update: > Before: > bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs > init=/sbin/init > mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) > bootcmd=bootm 0x9f020000 > bootdelay=1 > baudrate=115200 > ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41 > ipaddr=192.168.1.111 > serverip=192.168.1.100 > dir= > lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize;cp.b > $fileaddr 0x9f000000 $filesize > lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f050000 > +0x630000;cp.b $fileaddr 0x9f050000 $filesize > lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 > +$filesize;cp.b $fileaddr 0x9f680000 $filesize > stdin=serial > stdout=serial > stderr=serial > ethact=eth0 > After: > bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs > init=/sbin/init > mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) > bootcmd=bootm 0x9F020000 > bootdelay=1 > baudrate=115200 > ipaddr=192.168.1.1 > serverip=192.168.1.2 > bootfile="firmware.bin" > loadaddr=0x80800000 > ncport=6666 > uboot_addr=0x9F000000 > uboot_name=uboot.bin > uboot_size=0x10000 > uboot_upg=if ping $serverip; then tftp $loadaddr $uboot_name && if > itest.l $filesize == $uboot_size; then erase $uboot_addr +$filesize && > cp.b $loadaddr $uboot_addr $filesize && echo OK!; else echo ERROR! > Wrong file size!; fi; else ERROR! Server not reachable!; fi > firmware_addr=0x9F020000 > firmware_name=firmware.bin > firmware_upg=if ping $serverip; then tftp $loadaddr $firmware_name && > erase $firmware_addr +$filesize && cp.b $loadaddr $firmware_addr > $filesize && echo OK!; else ERROR! Server not reachable!; fi > stdin=serial > stdout=serial > stderr=serial > ethact=eth0 > > > -- > With best regards from Russia, Mike