• help
    ath> help
    ?       - alias for 'help'
    autoscr - run script from memory
    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
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - invoke DHCP client to obtain IP/boot params
    download - Download Image or Uboot to flash
    echo    - echo args to console
    erase   - erase FLASH memory
    ethreg    - S26 PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    hwclear - clear hardware variables to persistent storage
    hwcommit - save hardware variables to persistent storage
    hwget   - Hardware variables get
    hwset   - Hardware variables set
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loop    - infinite loop on address range
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
    pll erase
    pll get
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    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
    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

  • version
    ath> version
    BUFFALO U-Boot Ver 1.06 (Apr  3 2014 - 16:26:57)

  • printenv
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),8256k(mib0),64k(ART)
    bootcmd=bootm 0x9fe80000
    uu=tftp 0x80060000 bhr4grv2-uboot.bin; erase 0x9f000000 +0x40000; cp.b ${fileaddr} 0x9f000000 ${filesize}
    uk=tftp 0x80060000 bhr4grv2-kernel.bin; erase 0x9fe80000 +0x170000; cp.b ${fileaddr} 0x9fe80000 ${filesize}
    uf=tftp 0x80060000 bhr4grv2-rootfs-squashfs.bin; erase 0x9f050000 +de0000 ; cp.b ${fileaddr} 0x9f050000 ${filesize}
    inspection_env=set bootargs console=ttyS0,115200 rootfstype=ramfs rdinit=/etc/preinit rw board=RUBBERDUCK mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),14528k(rootfs),1472k(kernel),64k(art),16000k@0x50000(firmware) mem=64M 
    ramboot=set bootargs console=ttyS0,115200 rootfstype=ramfs rdinit=/etc/preinit rw root=/dev/ram0 mtdparts=ath-nor0:256k(u-boot)ro,64k(u-boot-env),14528k(rootfs),1472k(kernel),64k(art);tftp 0x81000000 bhr4grv2-uImage-initramfs-gzip.bin;bootm 0x81000000 
    resetenv=protect off 1:4-4;erase 1:4-4 
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap135${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
    Environment size: 1567/65532 bytes

  • mii device
    ath> mii device
    MII devices: 'eth0' 'eth1' 
    Current device: 'eth0'

  • md.l 0x18050028 1
    ath> md.l 0x18050028 1
    18050028: 96000000    ....

  • md.l 0x18050048 1
    ath> md.l 0x18050048 1
    18050048: 03000101    ....




以下に詳細を記入するか、アイコンをクリックしてログインしてください。 ロゴ アカウントを使ってコメントしています。 ログアウト /  変更 )

Google フォト

Google アカウントを使ってコメントしています。 ログアウト /  変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト /  変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト /  変更 )

%s と連携中