タグ: AR9132

WZR-HP-G301NH stock -> OpenWrt (ath79)

やっとここまで来たのでメモ。
(ar71xxのイメージ生成コードを現在のコードに読み替えてfactoryファーム作ったけれども、ar71xxのfactoryファームでOpenWrt化した事例が少ない(ほとんどtftpファーム)のは何故だろうとか)

cgi.c(3381) UploadCgi :x:btpd STOP-SUCCESS (0 sec)
MidLayer.c(544) ML_RemoveFileInDirectory :DEBUG:ent->d_name = gatedesc.xml
MidLayer.c(544) ML_RemoveFileInDirectory :DEBUG:ent->d_name = ligd.gif
MidLayer.c(544) ML_RemoveFileInDirectory :DEBUG:ent->d_name = L3FwdSCPD.xml
MidLayer.c(544) ML_RemoveFileInDirectory :DEBUG:ent->d_name = gateicfgSCPD.xml
MidLayer.c(544) ML_RemoveFileInDirectory :DEBUG:ent->d_name = gateconnSCPD.xml
MidLayer.c(544) ML_RemoveFileInDirectory :DEBUG:ent->d_name = gateinfoSCPD.xml
MidLayer.c(544) ML_RemoveFileInDirectory :DEBUG:ent->d_name = messages
ip_nat_pptp version 3.0 unloaded
ip_conntrack_pptp version 3.1 unloaded
cgi.c(3596) UploadCgi :x:MEMORY CHECK...
MidLayer.c(1914) ML_CheckMemory :X:MemFree = 37812
MidLayer.c(1918) ML_CheckMemory :X:Buffers = 3216
MidLayer.c(1922) ML_CheckMemory :X:Cached = 11444
MidLayer.c(1926) ML_CheckMemory :X:Active = 9192
MidLayer.c(1930) ML_CheckMemory :X:Inactive = 6460
cgi.c(2776) Check_TagVersion :INFO :pTarget = WZR-HP-G300NH : a_pProduct = WZR-HP-G300NH
cgi.c(2681) check_specification :DEBUG:U-bootSpecification  = M_00000001(JP)
cgi.c(2684) check_specification :DEBUG:NewFirmSpecification = M_ffffffff
cgi.c(4165) UploadCgi :INFO:(iUbootHwRev):3 (iHwVersion):3 ...tag[hwv]...
watchdogd-ath.c(42) watchdog_stop :WD:Watchdog Stopped
watchdogd.c(11) watchdogd_term :WD:Terminate Watchdog Daemon
VAP-IF UP COUNT = 0
debug : Enter [BRCTL_ADD_IF] 
cgi.c(4203) UploadCgi :ERR:wlconfig_down() call 
rcUtil.c(2917) Wireless_Rmmod :ERR:####### Wireless_Rmmod #########
VAP-IF UP COUNT = 0
VAP-IF UP COUNT = 0
VAP-IF UP COUNT = 0
VAP-IF UP COUNT = 0
rcUtil.c(2949) Wireless_Rmmod :####:rmmod ath_ahb : SUCCESS
ag7100_ring_free Freeing at 0x83506400
ag7100_ring_free Freeing at 0x836f6000
Badness in local_bh_enable at kernel/softirq.c:140
Call Trace: []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  [] 
Badness in local_bh_enable at kernel/softirq.c:140
Call Trace: []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  [] 
Badness in local_bh_enable at kernel/softirq.c:140
Call Trace: []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  [] 
Badness in local_bh_enable at kernel/softirq.c:140
Call Trace: []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  [] 
ag7100_ring_free Freeing at 0x83506000
ag7100_ring_free Freeing at 0x83261000
BUFFALO: stop polling thread
ag7100_cleanup Freeing at 0x834c4000
ag7100_cleanup Freeing at 0x834e0000
AG7100: cleanup done
cgi.c(4251) UploadCgi :X:begin update firmware size 7208964
Restarting system.
.


BUFFALO U-BOOT Ver 1.07
AP83--539 (ar9100) U-boot 0.0.12
64 MB
Memory Test (address line)
Memory Test start(0x00000000) end(0x04000000) size(67108864)
Data line test start:0x00000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA 
Address line test start:0x00000000 len:0x4000000 pattern 0xAAAAAAAA 0x55555555  
Fill test patnum:5 
fill Pattern 5555AAAA  Writing...   Reading...
fill Pattern AAAA5555  Writing...   Reading...
fill Pattern 0000FFFF  Writing...   Reading...
fill Pattern FFFF0000  Writing...   Reading...
fill Pattern AAAAAAAA  Writing...   Reading...
Top of RAM usable for U-Boot at: 84000000
Reserving 275k for U-Boot at: 83fb8000
Reserving 256k for malloc() at: 83f78000
Reserving 44 Bytes for Board Info at: 83f77fd4
Reserving 36 Bytes for Global Data at: 83f77fb0
Reserving 128k for boot params() at: 83f57fb0
Stack Pointer at: 83f57f98
Now running in RAM - U-Boot at: 83fb8000
Dev ID2:2222
Dev ID3:2201
Name: AMD-SPANSION Flash id: 0x1227E, Size: 33554432 bytes.
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Memory Test
uboot use  83F57FB0 - 84000000
Memory Test start(80000000) end(83F00000) size(03F00000)
Pattern 00000000  Writing...  Reading...
Memory Test OK
### buf_ver=[1.07] U-Boot Ver.=[1.07]
### build_date(env)=[Dec 21 2009 - 10:37:30] build_date(bin)=[Dec 21 2009 - 10:37:30]
ag7100_enet_initialize...
: cfg1 0xf cfg2 0x7114
RTL8366 series driver, reading model-id...
  ID:0x5937, REV:0x0
rtl8366rb_phy_setup  ethUnit=0
Realtek 8366RB switch ID:0x5937 REV:0x3
Realtek Greeen Ethernet Setup
eth0: 02:aa:bb:cc:dd:1a
eth0 up
: cfg1 0x7 cfg2 0x7114
RTL8366 series driver, reading model-id...
eth1: 02:aa:bb:cc:dd:1a
eth1 up
eth0  02:AA:BB:CC:DD:1A
, eth1  02:AA:BB:CC:DD:1A

Trying eth0
eth0 is duplex
ag7100_check_link: _100BASET
dup 1 speed 100
CFG_PLL_FREQ=5
CFG_HZ=bebc200
cpu pll=1050
eth pll=1032
eth0 clk pll=13000a44
eth0 mii=12
eth0 cfg1=f
eth0 cfg2=7115
eth0 fcfg_0=1f1f00
eth0 fcfg_1=7ff0000
eth0 fcfg_2=fff
eth0 fcfg_3=780008
eth0 fcfg_4=3ffff
eth0 fcfg_5=3ffff

tftp server(receive) go, waiting:4[sec]
Trying eth1
eth1 link down
FAIL
Trying eth0
eth0 is duplex
ag7100_check_link: _100BASET
Load address: 0x81f00000
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad

TftpServer Timeout;
no file was loaded.
## Booting image at be060000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.66
   Created:      2018-08-25   4:23:41 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1589409 Bytes =  1.5 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 4.14.66 (musashino205@Taiha.Net) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7931-7b0aaec124)) #0 Fri Aug 24 15:28:48 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is Buffalo WZR-HP-G301NH
[    0.000000] SoC: Atheros AR9132 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 58340K/65536K available (3708K kernel code, 148K rwdata, 896K rodata, 1192K init, 212K bss, 7196K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 400.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007897] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.094148] pid_max: default: 32768 minimum: 301
[    0.099055] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.105654] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.117809] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.127672] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.133846] pinctrl core: initialized pinctrl subsystem
[    0.140249] NET: Registered protocol family 16
[    0.172933] clocksource: Switched to clocksource MIPS
[    0.179370] NET: Registered protocol family 2
[    0.184771] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.191743] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.198157] TCP: Hash tables configured (established 1024 bind 1024)
[    0.204706] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.210549] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.217168] NET: Registered protocol family 1
[    0.226674] Crashlog allocated RAM at address 0x3f00000
[    0.233474] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.246817] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.252632] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.273043] io scheduler noop registered
[    0.276963] io scheduler deadline registered (default)
[    0.282491] ar7200-usb-phy usb-phy: phy reset is missing
[    0.288949] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.296238] console [ttyS0] disabled
[    0.299857] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 12500000) is a 8250
[    0.308430] console [ttyS0] enabled
[    0.308430] console [ttyS0] enabled
[    0.315455] bootconsole [early0] disabled
[    0.315455] bootconsole [early0] disabled
[    0.325150] 1e000000.cfi: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002201
[    0.335285] Amd/Fujitsu Extended Query Table at 0x0040
[    0.340461]   Amd/Fujitsu Extended Query version 1.3.
[    0.345565] number of CFI chips: 1
[    0.353772] 5 fixed-partitions partitions found on MTD device 1e000000.cfi
[    0.360698] Creating 5 MTD partitions on "1e000000.cfi":
[    0.366098] 0x000000000000-0x000000040000 : "u-boot"
[    0.372163] 0x000000040000-0x000000060000 : "u-boot-env"
[    0.378582] 0x000000060000-0x000001fc0000 : "firmware"
[    0.392540] 2 uimage-fw partitions found on MTD device firmware
[    0.398572] 0x000000060000-0x000000200000 : "kernel"
[    0.404604] 0x000000200000-0x000001fc0000 : "rootfs"
[    0.410503] mtd: device 4 (rootfs) set to be root filesystem
[    0.416287] 1 squashfs-split partitions found on MTD device rootfs
[    0.422508] 0x000000740000-0x000001fc0000 : "rootfs_data"
[    0.428946] 0x000001fc0000-0x000001fe0000 : "user_property"
[    0.435612] 0x000001fe0000-0x000002000000 : "art"
[    0.441964] Realtek RTL8366RB ethernet switch driver version 0.2.4
[    0.448319] rtl8366rb rtl8366: cannot find mdio node phandle
[    0.454051] rtl8366rb rtl8366: using GPIO pins 19 (SDA) and 20 (SCK)
[    0.460601] rtl8366rb rtl8366: RTL5937 ver. 3 chip found
[    0.553890] libphy: rtl8366: probed
[    0.559405] libphy: Fixed MDIO Bus: probed
[    0.904778] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    0.914674] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    1.255273] ag71xx 1a000000.eth: connected to PHY at rtl8366:04 [uid=001cc961, driver=Generic PHY]
[    1.265168] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
[    1.274277] NET: Registered protocol family 10
[    1.284564] Segment Routing with IPv6
[    1.288389] NET: Registered protocol family 17
[    1.292908] 8021q: 802.1Q VLAN Support v1.8
[    1.304347] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.318794] Freeing unused kernel memory: 1192K
[    1.323379] This architecture does not have kernel memory protection.
[    2.060078] init: Console is alive
[    2.063850] init: - watchdog -
[    2.475987] random: fast init done
[    3.715189] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.912355] usbcore: registered new interface driver usbfs
[    3.918048] usbcore: registered new interface driver hub
[    3.923545] usbcore: registered new device driver usb
[    3.967370] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.984873] SCSI subsystem initialized
[    3.994880] ehci-platform: EHCI generic platform driver
[    4.000444] ehci-platform 1b000100.usb: EHCI Host Controller
[    4.006232] ehci-platform 1b000100.usb: new USB bus registered, assigned bus number 1
[    4.014254] ehci-platform 1b000100.usb: irq 3, io mem 0x1b000100
[    4.042954] ehci-platform 1b000100.usb: USB 2.0 started, EHCI 1.00
[    4.050274] hub 1-0:1.0: USB hub found
[    4.054574] hub 1-0:1.0: 1 port detected
[    4.064262] usbcore: registered new interface driver usb-storage
[    4.071406] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.081075] init: - preinit -
[    5.509863] random: jshn: uninitialized urandom read (4 bytes read)
[    5.903788] random: jshn: uninitialized urandom read (4 bytes read)
[    6.141590] random: jshn: uninitialized urandom read (4 bytes read)
[    7.021486] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.027523] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.125870] urandom_read: 2 callbacks suppressed
[    7.125880] random: procd: uninitialized urandom read (4 bytes read)
[    8.093286] eth0: link up (1000Mbps/Full duplex)
[    8.097958] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.104876] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   10.319608] mount_root: loading kmods from internal overlay
[   10.371893] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   10.385991] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   11.083067] block: attempting to load /etc/config/fstab
[   11.091161] block: unable to load configuration (fstab: Entry not found)
[   11.098089] block: no usable configuration
[   11.103278] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   11.171017] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.314181] procd: - early -
[   11.317204] procd: - watchdog -
[   11.986992] procd: - watchdog -
[   11.990483] procd: - ubus -
[   12.050897] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.061550] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.068614] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.076273] procd: - init -
Please press Enter to activate this console.
[   12.333023] eth0: link down
[   12.798150] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.844798] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.879938] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   12.888062] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   12.925075] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.969275] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   13.081787] usbcore: registered new interface driver ums-alauda
[   13.090463] usbcore: registered new interface driver ums-cypress
[   13.099241] usbcore: registered new interface driver ums-datafab
[   13.107815] usbcore: registered new interface driver ums-freecom
[   13.116597] usbcore: registered new interface driver ums-isd200
[   13.125336] usbcore: registered new interface driver ums-jumpshot
[   13.134043] usbcore: registered new interface driver ums-karma
[   13.143189] usbcore: registered new interface driver ums-sddr09
[   13.151935] usbcore: registered new interface driver ums-sddr55
[   13.160927] usbcore: registered new interface driver ums-usbat
[   13.202164] xt_time: kernel timezone is -0000
[   13.290271] PPP generic driver version 2.4.2
[   13.297911] NET: Registered protocol family 24
[   13.460667] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
[   13.591307] kmodloader: done loading kernel modules from /etc/modules.d/*
[   32.171855] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   32.226501] jffs2_build_filesystem(): unlocking the mtd device... 
[   32.226515] done.
[   32.234735] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   33.282544] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   33.296405] eth0: link up (1000Mbps/Full duplex)
[   33.301081] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.379321] br-lan: port 1(eth0.1) entered blocking state
[   33.384834] br-lan: port 1(eth0.1) entered disabled state
[   33.390685] device eth0.1 entered promiscuous mode
[   33.395577] device eth0 entered promiscuous mode
[   33.478773] br-lan: port 1(eth0.1) entered blocking state
[   33.484280] br-lan: port 1(eth0.1) entered forwarding state
[   33.490131] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   33.649443] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   34.333154] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  127.812267] random: crng init done
[  127.815710] random: 1 urandom warning(s) missed due to ratelimiting



BusyBox v1.29.2 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r0+7934-79c55cabe2
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#
広告

WZR-HP-G300NH

これも今回大量にルータを頂いたうちの一台。
ath79 targetへサポート追加してみるにあたってのメモ

  • 型番: WZR-HP-G300NH A0A1
  • 基板シルク印刷: WZR-HP-G300NH Rev:V1, 21514WG300NH1A1 Rev:A1

U-Boot

  • help
    ar7100> help
    ?       - alias for 'help'
    TFTPS   - boot image via network as TFTP server
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    chpart  - change active partition
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - invoke DHCP client to obtain IP/boot params
    echo    - echo args to console
    erase   - erase FLASH memory
    exit    - exit script
    flinfo  - print FLASH memory information
    fsinfo  - print information about filesystems
    fsload  - load binary file from a filesystem image
    go      - start application at address 'addr'
    help    - print online help
    iminfo  - print header information for application image
    imls    - list all images found in flash
    itest   - return true/false on integer compare
    ledb    - LED test blink
    ledoff  - LED test off
    ledon   - LED test on
    ledt    - LED test toggle
    loadb   - load binary file over serial line (kermit mode)
    loads   - load S-Record file over serial line
    loady   - load binary file over serial line (ymodem mode)
    loop    - infinite loop on address range
    ls      - list files in a directory (default /)
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtdparts- define flash/nand partitions
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    ping    - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    set_inspection - set/unset inspection mode
    setenv  - set environment variables
    sleep   - delay execution for some time
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    autoscr - run script from memory
    

  • version
    ar7100> version 
    
    U-Boot 1.1.4 for BUFFALO AIRSTATION (Feb 16 2009 - 10:47:08)
    

  • printenv
    一部変更されている可能性もあるため参考程度。
    ar7100> printenv
    bootargs=console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar9100-nor0:256k(u-boot),128k(u-boot-env),1024k(uImage),31104k(rootfs),128k@32640k(ART),128k@32512k(properties)
    bootcmd=bootm 0xbe060000
    bootdelay=4
    baudrate=115200
    ethaddr=02:AA:BB:CC:DD:1A
    ipaddr=192.168.11.1
    serverip=192.168.11.2
    tmp_ram=81F00000
    tmp_bottom=83F00000
    fw_eaddr=BE060000 BFFDFFFF
    uboot_eaddr=BE000000 BE03FFFF
    u_fw=erase $fw_eaddr; cp.b $fileaddr BE060000 $filesize; bootm BE060000;
    ut_fw=tftp $tmp_ram firmware.bin; erase $fw_eaddr; cp.b $fileaddr BE060000 $filesize; bootm BE060000;
    ut_uboot=tftp $tmp_ram u-boot.bin; protect off $uboot_eaddr; erase $uboot_eaddr; cp.b $fileaddr BE000000 $filesize;
    melco_id=RD_BB08009
    hw_rev=0
    uboot_ethaddr=02:AA:BB:CC:DD:1A
    DEF-p_wireless_ath0_11bg-authmode=psk
    DEF-p_wireless_ath0_11bg-crypto=tkip+aes
    DEF-p_wireless_ath0_11bg-authmode_ex=mixed-psk
    custom_id=0
    buf_ver=1.02
    build_date=Feb 16 2009 - 10:47:08
    pincode=32483642
    DEF-p_wireless_ath0_11bg-wpapsk=gitc6j92x3wyn
    buf_crc=8C903080
    accept_open_rt_fmt=1
    region=JP
    tftp_wait=20
    stdin=serial
    stdout=serial
    stderr=serial
    loadaddr=81F00000
    ethact=eth1
    
    Environment size: 1142/131068 bytes
    

Kernel

LEDE-Projectファームインストール済みのため、とりあえず省略