OpenWrt Forum Archive

Topic: OpenWRT for Buffalo WZR-HP-AG300H (Japanese)?

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello.

I have a new device from Buffalo but OpenWRT does not work on it. Would you please build an OpenWRT image for this perfect device. DD-WRT already had some release.

Device homepage:
http://buffalo.jp/products/catalog/netw … hp-ag300h/

Hardware information:
CPU:
-AR7161

Network:
-AR9223
-AR9220
-AR8316

Memory:
-2 flash, 16MB each, 32MB total.
-2 RAM chip, 128MB total.

bBoot log:

BUFFALO U-BOOT Ver 1.00
  == CPU:680MHz, DDR:340MHz, AHB:170MHz ==
AP96 (ar7100) U-boot 0.0.1
DRAM:  128 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 265k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
Stack Pointer at: 83f6bf98
Now running in RAM - U-Boot at: 83fbc000
flash bank #0 found 16 MB flash [MX25L128-45E, blk:0x10000, sectors:256]
flash bank #1 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256]
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Memory Test
uboot use  83F6BFB0 - 84000000
Memory Test start(80000000) end(83F00000) size(03F00000)
Pattern 00000000  Writing...  Reading...
Memory Test start(84000000) end(88000000) size(04000000)
Pattern 00000000  Writing...  Reading...
Memory Test OK
### buf_ver=[1.00] U-Boot Ver.=[1.00]
### build_date(env)=[Jun  1 2010 - 13:48:44] build_date(bin)=[Jun  1 2010 - 13:4
8:44]
ag7100_enet_initialize...
Reading MAC Address from ENV(0x83f8c2f1)
Port 0, Neg Success
Port 1, Neg Success
Port 2, Neg Success
Port 3, Neg Success
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010
eth0: Phy Speth0: 02:aa:bb:cc:dd:20
eth0 up
Reading MAC Address from ENV(0x83f8c2f1)
Port 4, Neg Success
eth1: Phy Specific Status=0010
eth1: 02:aa:bb:cc:dd:21
eth1 up
eth0  02:AA:BB:CC:DD:20
, eth1  02:AA:BB:CC:DD:21

eth0 link down

tftp server(receive) go, waiting:2[sec]
eth0 link down
Load address: 0x84000000

TftpServer Timeout;
no file was loaded.
change bootargs
console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7100
-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@32
0k(ART),64k@8128k(properties),8192k@8192k(flash1),16384k@16384k(flash2) mem=128M

## Booting image at bf060000 ...

U-boot env:

ar7100> printenv
bootargs=console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdpar
ts=ar7100-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootf
s),64k@320k(ART),64k@8128k(properties),8192k@8192k(flash1),16384k@16384k(flash2)

bootcmd=bootm BF060000
baudrate=115200
ethaddr=02:AA:BB:CC:DD:20
ipaddr=192.168.11.1
serverip=192.168.11.2
fw_eaddr=BF060000 BEFFFFFF
uboot_eaddr=BF000000 BF03FFFF
u_fw=erase $fw_eaddr; cp.fw $fileaddr BF060000 $filesize; bootm BF060000;
ut_fw=tftp $tmp_ram firmware.bin; erase $fw_eaddr; cp.fw $fileaddr BF060000 $fil
esize; bootm BF060000;
ut_uboot=tftp $tmp_ram u-boot.bin; protect off $uboot_eaddr; erase $uboot_eaddr;
 cp.b $fileaddr BF000000 $filesize;
melco_id=RD_BB10020
hw_rev=0
uboot_ethaddr=02:AA:BB:CC:DD:20
DEF-p_wireless_ath00_11bg-authmode=psk
DEF-p_wireless_ath00_11bg-crypto=tkip+aes
DEF-p_wireless_ath00_11bg-authmode_ex=mixed-psk
DEF-p_wireless_ath10_11a-authmode=psk
DEF-p_wireless_ath10_11a-crypto=tkip+aes
DEF-p_wireless_ath10_11a-authmode_ex=mixed-psk
custom_id=0
buf_ver=1.00
region=JP
tmp_ram=84000000
tmp_bottom=88000000
build_date=Jun  1 2010 - 13:48:44
DEF-p_wireless_ath00_11bg-wpapsk=48r5vv7yvtwtw
DEF-p_wireless_ath10_11a-wpapsk=48r5vv7yvtwtw
pincode=42420705
tftp_wait=2
buf_crc=6978B849
stdin=serial
stdout=serial
stderr=serial
loadaddr=84000000
ethact=eth0

Environment size: 1330/65532 bytes

I'm very happy to provide additional information needed for building OpenWRT image for this device.

How about OpenWRT for Buffalo WZR-HP-AG300H (US) then?
They are now shipping in the US.  (Try Google shopping)

I just took delivery of a pair of these new units and would like to get OpenWRT on them.  I can't be the only person in this boat.

TIA

wzr-hp-ag300h support added in r27076

The discussion might have continued from here.