OpenWrt Forum Archive

Topic: U-Boot mod for routers with AR9331/AR9344

The content of this topic has been archived between 3 Apr 2015 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Hi fjorger!
Actually I've got two modules, one untouched smile
Does this work even if its not openwrt as default?

Thanks!

Hello,

Yes, that area is present on stock firmware too (needed for WIFI to work properly).
The problem is accessing using Telnet or SSH on stock firmware to copy the info you need to your computer (backup).
Nonetheless you can always move to openwrt (without touching those areas - art and uboot).

Regards,

fjorger.

Hi pepe2k:

I have a board TL-WR740N Ver:5.3 which has AR9331 Soc, the flash is Spantion FL032PIF,Manuf Id 0x1, DeviceId0 0x2, DeviceId1 0x15
if using atheros defualt bootloader,the board can works, bellow is boot log.

U-Boot 1.1.4 (Jun 13 2013 - 02:57:04)
AP121 (ar9331) U-boot

DRAM:  16 MB
Top of RAM usable for U-Boot at: 81000000
Reserving 139k for U-Boot at: 80fdc000
Reserving 192k for malloc() at: 80fac000
Reserving 44 Bytes for Board Info at: 80fabfd4
Reserving 36 Bytes for Global Data at: 80fabfb0
Reserving 128k for boot params() at: 80f8bfb0
Stack Pointer at: 80f8bf98
Now running in RAM - U-Boot at: 80fdc000
Flash Manuf Id 0x1, DeviceId0 0x2, DeviceId1 0x15
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
Fetching MAC Address from 0x80ff4068
Fetching MAC Address from 0x80ff4068
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:11:50:eb
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:11:50:ec
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Hit any key to stop autoboot:  0
ar7240>

But I replaced it with your bootloader uboot_for_wr740n_v4.bin which is downloaded from "http://www.tech-blog.pl/pliki/u-boot_for_tp-link_AR9331_by_pepe2k.tar.gz",the board cannot work, in other words, the board cannot boot again, I tried to restart the board many times,and found no any info at serial console.

Could you help to update the uboot which suppor the flash? thanrk you very much!

Best regards!

great work and less picture:) i was test this on wr703,but with write large flash chip,like 8mbyte,16mbyte,it's kind very slowly:( that's the kind good reason to mod the upload server on it.use tftp is very fast,but with this http sever(i think it has be called uip),is kind really slowly.

wwxsyf wrote:

I have a board TL-WR740N Ver:5.3 which has AR9331 Soc, the flash is Spantion FL032PIF,Manuf Id 0x1, DeviceId0 0x2, DeviceId1 0x15

This model has only 16 MB RAM and 2 MB FLASH... it isn't supported by OpenWrt... buy something better.

wwxsyf wrote:

if using atheros defualt bootloader,the board can works, bellow is boot log.

[...]

But I replaced it with your bootloader uboot_for_wr740n_v4.bin which is downloaded from "http://www.tech-blog.pl/pliki/u-boot_for_tp-link_AR9331_by_pepe2k.tar.gz",the board cannot work, in other words, the board cannot boot again, I tried to restart the board many times,and found no any info at serial console.

Could you help to update the uboot which suppor the flash? thanrk you very much!

This problem isn't related to FLASH chip type. This version of U-Boot can work with unrecognized chip too.
I don't have this device so I can't check why it isn't working with my modification...

slboat wrote:

i was test this on wr703,but with write large flash chip,like 8mbyte,16mbyte,it's kind very slowly:( that's the kind good reason to mod the upload server on it.use tftp is very fast,but with this http sever(i think it has be called uip),is kind really slowly.

Web server isn't a problem, uploading is as fast as in TFTP mode or even faster... Probably you don't know how NOR FLASH (and not only) works. If you want to save any data in FLASH you need to erase it first. So, firmware upgrade mode in this modification does 4 things, one by one: downloads firmware from browser to RAM, erases FLASH, copies firmware from RAM to FLASH and reboots the device.

(Last edited by pepe2k on 14 Jun 2013, 11:11)

http://see.sl088.com/w/images/d/d7/JustCapIt4684.jpg
it seems only four byte for one second,no flush,the uip is kind suck if use this work type,i know some about flash chip,i belive that's you talk nor flash,if use page write and erase,it should not need so slow,take about 40 minute to a 8mbyte flash chip,is not fast at all.

if i wasn't wrong,mips is take from some other route's uip to wr703.use it to flash the art and uboot are prefect fine,but for the fulll-flash,it's not do the best work

slboat wrote:

http://see.sl088.com/w/images/d/d7/JustCapIt4684.jpg
it seems only four byte for one second,no flush,the uip is kind suck if use this work type,i know some about flash chip,i belive that's you talk nor flash,if use page write and erase,it should not need so slow,take about 40 minute to a 8mbyte flash chip,is not fast at all.

Your English is horrible... I don't know what do you mean and what are you using but... it's not my modification (the image which you have included). In my modification there isn't any bytes counter!

Full upgrade firmware on WR703N which 16 MB FLASH shouldn't take more than 45 sec. Usually it takes about 30 s. So, you are doing something wrong or you have bought cheap, not original or broken FLASH chips? If you have problem with data uploading, check your network cables or... change browser.

slboat wrote:

if i wasn't wrong,mips is take from some other route's uip to wr703.use it to flash the art and uboot are prefect fine,but for the fulll-flash,it's not do the best work

No, it's the same uIP version.

pepe2k wrote:
slboat wrote:

http://see.sl088.com/w/images/d/d7/JustCapIt4684.jpg
it seems only four byte for one second,no flush,the uip is kind suck if use this work type,i know some about flash chip,i belive that's you talk nor flash,if use page write and erase,it should not need so slow,take about 40 minute to a 8mbyte flash chip,is not fast at all.

Your English is horrible... I don't know what do you mean and what are you using but... it's not my modification (the image which you have included). In my modification there isn't any bytes counter!

Full upgrade firmware on WR703N which 16 MB FLASH shouldn't take more than 45 sec. Usually it takes about 30 s. So, you are doing something wrong or you have bought cheap, not original or broken FLASH chips? If you have problem with data uploading, check your network cables or... change browser.

slboat wrote:

if i wasn't wrong,mips is take from some other route's uip to wr703.use it to flash the art and uboot are prefect fine,but for the fulll-flash,it's not do the best work

No, it's the same uIP version.

yes,the engilish i use is really bad:(, i think you are right,i still use the old mips's uboot,i got do some new test.

another fun part,it now have a mini http server,so why not put the setmac with the page...like
http://192.168.1.1/mac.html


and with a index page-like welcome page in
http://192.168.1.1/index.html
with here you can chooice what you like to do,

slboat wrote:

another fun part,it now have a mini http server,so why not put the setmac with the page...like
http://192.168.1.1/mac.html

and with a index page-like welcome page in
http://192.168.1.1/index.html
with here you can chooice what you like to do,

If you need that kind of functionalities... you can add them by yourself. And don't forget to publish your sources! smile

pepe2k wrote:
slboat wrote:

another fun part,it now have a mini http server,so why not put the setmac with the page...like
http://192.168.1.1/mac.html

and with a index page-like welcome page in
http://192.168.1.1/index.html
with here you can chooice what you like to do,

If you need that kind of functionalities... you can add them by yourself. And don't forget to publish your sources! smile

yep!cool!it's really cool mod,i always wonder why tp-link dont remove the tips"no vaild address in flash".
i add it to my todo list,http://see.sl088.com/wiki/WR703_Uboot_%E5%B8%A6Web%E7%9A%84Mod%E7%89%88%E6%9C%AC

i think mips should marge this to the web-failsafe project.it's a very great mod.
(i problelly use too many cool,any way,cool mod and cool site.)

slboat wrote:

yep!cool!it's really cool mod,i always wonder why tp-link dont remove the tips"no vaild address in flash".
i add it to my todo list,http://see.sl088.com/wiki/WR703_Uboot_%E5%B8%A6Web%E7%9A%84Mod%E7%89%88%E6%9C%AC

"no vaild address in flash" information is hard coded, TP-Link version of U-Boot doesn't take MAC from FLASH. But, it doesn't matter, because it's only for U-Boot runtime, so you can use any valid MAC. My modification uses MAC from FLASH and has also option to change MAC address in FLASH in U-Boot command line.

Hi pepe2k:

Thank you for your busy schedule to reply me


pepe2k wrote:
wwxsyf wrote:

I have a board TL-WR740N Ver:5.3 which has AR9331 Soc, the flash is Spantion FL032PIF,Manuf Id 0x1, DeviceId0 0x2, DeviceId1 0x15

This model has only 16 MB RAM and 2 MB FLASH... it isn't supported by OpenWrt... buy something better.
->Yes, the model only 2M Flash, I have replaced it with 4M flash which part number is Spantion FL032PIF


wwxsyf wrote:

if using atheros defualt bootloader,the board can works, bellow is boot log.

[...]

But I replaced it with your bootloader uboot_for_wr740n_v4.bin which is downloaded from "http://www.tech-blog.pl/pliki/u-boot_for_tp-link_AR9331_by_pepe2k.tar.gz",the board cannot work, in other words, the board cannot boot again, I tried to restart the board many times,and found no any info at serial console.

Could you help to update the uboot which suppor the flash? thanrk you very much!

This problem isn't related to FLASH chip type. This version of U-Boot can work with unrecognized chip too.
I don't have this device so I can't check why it isn't working with my modification...
->Got it, I will try to update the uboot again and check the results, thank you very much!

slboat wrote:

i was test this on wr703,but with write large flash chip,like 8mbyte,16mbyte,it's kind very slowly:( that's the kind good reason to mod the upload server on it.use tftp is very fast,but with this http sever(i think it has be called uip),is kind really slowly.

Web server isn't a problem, uploading is as fast as in TFTP mode or even faster... Probably you don't know how NOR FLASH (and not only) works. If you want to save any data in FLASH you need to erase it first. So, firmware upgrade mode in this modification does 4 things, one by one: downloads firmware from browser to RAM, erases FLASH, copies firmware from RAM to FLASH and reboots the device.

i make a full trying for this mod uboot,it's great,very fast,but not yet support the mx's 16m flash chip.
and in the flash web page,i can go flash art page and uboot page,that's great.
but it seems have a wired problem,sometimes the route doesnot start at all,(about 3times in 10 times),i test on tree route them are same problem,just plug in fast the power,and plug out fast.

slboat wrote:

but it seems have a wired problem,sometimes the route doesnot start at all,(about 3times in 10 times),i test on tree route them are same problem,just plug in fast the power,and plug out fast.

Read my previous posts very carefully... I know about this bug and I have already a solution - it will be added in next release.

as i can see,if we plug out at this timeing:


Hit any key to stop autobooting:  1

it may case this problem

i not found the bug you talk about...my bad english not give me mush help:(

Please, just wait for new version... it will solve your problem.

Hi fjorger!
I've manged to solve the wifi problem. However restoring the ART wasn't sufficient, i also needed to change the MAC-address from the UBOOT console. Changed from 65:51:7e:01:6e:4a  -> 64:51:7e:01:6e:4a.

How come that 65:.... isn't working but 64:... is?

Thanks!

pepe2k wrote:

Just a small but very important notice: I found a bug in my project. So, if you want to use it, please wait for the next release which I'm going to publish in next days.

In very rare cases (2 from 20 different routers) this bug may result in silent crash the U-Boot at PLL register setting stage (so it won't boot and a hardware reset is needed). This bug is not critical - it doesn't occur every time.

It took me couple of days to discover the reason and then test the solution.

i found it:) it's same,i upload a video for it.

sevikcla wrote:

Hi fjorger!
I've manged to solve the wifi problem. However restoring the ART wasn't sufficient, i also needed to change the MAC-address from the UBOOT console. Changed from 65:51:7e:01:6e:4a  -> 64:51:7e:01:6e:4a.

How come that 65:.... isn't working but 64:... is?

Thanks!

Hi sevikcla,

Glad you make it.
About the wrong MAC, maybe the other "65" isn't valid?? Probably pepe2K knows why it happened!

Best Regards,

fjorger,

(Last edited by fjorger on 17 Jun 2013, 12:15)

another problem
<code>
uboot>
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:128k(u-boot),3904(firmware),64k(ART)
bootcmd=bootm 0x9F020000
bootdelay=1
baudrate=115200
ipaddr=192.168.1.1
serverip=192.168.1.2
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc;version;

Environment size: 343 bytes

uboot> setenv serverip 192.168.2.100
uboot> tftpboot 0x81000000 tftpboot' - try 'help'
## Error: unknown command '
uboot> tftpboot 0x81000000 uboot_for_wr703n.bin
Link down: eth1
Ethernet mode (duplex/speed): 1/100 Mbps
*** ERROR: `ethaddr' not set
Link down: eth1
uboot>
</code>
it seems lost the ethaddr at defalut setting

(Last edited by slboat on 17 Jun 2013, 12:16)

sevikcla wrote:

Hi pepe2k!
I just installed your modified U-boot version on a  WLM113 module, which should be almost identically to wr703n, according to the manufacturers. It works great except for the WIFI, when I run wifi from the cmd prompt I get

root@OpenWrt:~# wifi
Configuration file: /var/run/hostapd-phy0.conf
Could not set interface wlan0 flags (UP): Cannot assign requested address
nl80211: Could not set interface 'wlan0' UP
nl80211 driver initialization failed.
Failed to start hostapd for phy0

I have also tested the MR3020 version of the uboot and openwrt. Same issue.

Since I'm a novice on openwrt it would be great if you could point me in the right direction on how to solve this.

Console dump

*****************************************
*      U-Boot 1.1.4  (Apr 22 2013)      *
*****************************************

AP121 (AR9331) U-Boot for TL-MR3020

DRAM:  32 MB
FLASH: Macronix MX25L320 (4 MB)

LED on during eth initialization...

## Error: MAC address stored in flash is invalid!
Using fixed address!
## Error: MAC address stored in flash is invalid!
Using fixed address!
Hit any key to stop autobooting:  0

Booting image at: 0x9F020000...
Uncompressing kernel image...
OK
Starting kernel...

[    0.000000] Linux version 3.3.8 (x@Ubuntu) (gcc version 4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #25 Thu Jun 13 12:32:06 CEST 2013
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29156k/32768k available (2084k kernel code, 3612k reserved, 397k data, 208k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR703N v1
[    0.350000] bio: create slab <bio-0> at 0
[    0.360000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.390000] TCP reno registered
[    0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] NET: Registered protocol family 1
[    0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 56
[    0.440000] io scheduler noop registered
[    0.450000] io scheduler deadline registered (default)
[    0.450000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.460000] console [ttyATH0] enabled, bootconsole disabled
[    0.460000] console [ttyATH0] enabled, bootconsole disabled
[    0.480000] m25p80 spi0.0: found mx25l3205d, expected m25p80
[    0.480000] m25p80 spi0.0: mx25l3205d (4096 Kbytes)
[    0.490000] 5 tp-link partitions found on MTD device spi0.0
[    0.490000] Creating 5 MTD partitions on "spi0.0":
[    0.500000] 0x000000000000-0x000000020000 : "u-boot"
[    0.510000] 0x000000020000-0x0000000fe404 : "kernel"
[    0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.520000] 0x0000000fe404-0x0000003f0000 : "rootfs"
[    0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.540000] mtd: partition "rootfs" set to be root filesystem
[    0.550000] mtd: partition "rootfs_data" created automatically, ofs=370000, len=80000
[    0.550000] 0x000000370000-0x0000003f0000 : "rootfs_data"
[    0.560000] 0x0000003f0000-0x000000400000 : "art"
[    0.570000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.590000] ag71xx_mdio: probed
[    0.590000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.150000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.160000] TCP cubic registered
[    1.160000] NET: Registered protocol family 17
[    1.160000] 8021q: 802.1Q VLAN Support v1.8
[    1.170000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.180000] Freeing unused kernel memory: 208k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    6.560000] JFFS2 notice: (404) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 12 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [    8.390000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    8.390000] Backport based on wireless-testing.git master-2012-09-07
[    8.400000] compat.git: wireless-testing.git
[    8.430000] cfg80211: Calling CRDA to update world regulatory domain
[    8.440000] cfg80211: World regulatory domain updated:
[    8.440000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.450000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.460000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.460000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.470000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.480000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.720000] SCSI subsystem initialized
[    8.860000] usbcore: registered new interface driver usbfs
[    8.860000] usbcore: registered new interface driver hub
[    8.870000] usbcore: registered new device driver usb
[    9.350000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[    9.350000] cfg80211: Calling CRDA for country: US
[    9.360000] cfg80211: Regulatory domain changed to country: US
[    9.360000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.370000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    9.380000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    9.390000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.390000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.400000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.410000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    9.840000] PPP generic driver version 2.4.2
[    9.890000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.010000] NET: Registered protocol family 24
[   10.040000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.050000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   10.050000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   10.090000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   10.110000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   10.110000] hub 1-0:1.0: USB hub found
[   10.110000] hub 1-0:1.0: 1 port detected
[   10.140000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)

it may seems you have two wifi interface in it.

and it have two mac address maybe...do you try reset all the setting to default?

and if you dont wana reset,you may try this

rm -f /etc/config/wireless; wifi detect > /etc/config/wireless

it happen to me,if replace the mac address in the uboot
http://see.sl088.com/w/images/b/b4/JustCapIt4805.jpg

(Last edited by slboat on 17 Jun 2013, 12:19)

slboat wrote:

another problem [...]

Try to set ethaddr in U-Boot env.

And PLEASE, use "Edit" in your posts!

(Last edited by pepe2k on 17 Jun 2013, 12:19)

pepe2k wrote:
slboat wrote:

another problem [...]

Try to set ethaddr in U-Boot env.

And PLEASE, use "Edit" in your posts!

i see it work,but you may put it in the default setting,the orgin version is use ipaddr not use ethaddr.

uboot> setenv ethaddr 192.168.2.1
uboot> tftpboot 0x81000000 uboot_for_wr703n.bin
Link down: eth1
Using eth0 device
TFTP from server 192.168.2.100; our IP address is 192.168.2.1
Filename 'uboot_for_wr703n.bin'.
Load address: 0x81000000