U-Boot

KURO-BOX/T4

U-Boot を見る。
Chcek U-Boot
U-Boot 2009.06-BUFFALO-svn1376 (Jul 11 2009 - 04:11:01) KURO-NAS/T4

CPU:   MPC8245/8241 Revision 1.4 at 262.144 MHz: 16 kB I-Cache 16 kB D-Cache
DRAM:  128 MB
FLASH:  4 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   RTL8169#0
Boot in 05 seconds ('s' to stop)...
ここで、s キーを押す
hit s key here.
Boot in 05 seconds ('s' to stop)...BUFFALO>>

help

BUFFALO>> help
?       - alias for 'help'
autoscr - DEPRECATED - use "source" command instead
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'
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dhcp    - boot image via network using DHCP/TFTP protocol
echo    - echo args to console
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fdt     - flattened device tree utility commands
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
imls    - list all images found in flash
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
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
md      - memory display
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
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
sata    - SATA sub system
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
source  - run script from memory
tftpboot- boot image via network using TFTP protocol
version - print monitor version
BUFFALO>> 

printenv


BUFFALO>> printenv
bootargs=root=/dev/sda2 console=ttyS1,57600 ${buffalo_ver}
bootcmd=run bootcmd1
bootdelay=5
baudrate=57600
autoload=no
stdin=serial
stdout=serial
stderr=serial
ipaddr=192.168.11.150
netmask=255.255.255.0
serverip=192.168.11.1
netretry=no
ldaddr=500000
hdpart=0:1
buffalo_ver=BOOTVER=0.00
kernel=uImage.buffalo
hdload=sata init;echo Loading sata ${hdpart}:${kernel};ext2load sata ${hdpart} ${ldaddr} ${kernel}
boothd=setenv bootargs root=/dev/sda2 console=ttyS1,57600 ${buffalo_ver};bootm ${ldaddr}#conf@2
hdboot=run hdload;run boothd
emboot=setenv bootargs root=/dev/ram0 console=ttyS1,57600 ${buffalo_ver};bootm ffc00000#conf@1
bootretry=30
bootcmd1=run hdboot;run emboot
bootcmd2=run emboot
ubfile=u-boot-kuro-nas-t4.bin
ubload=sata init;echo Loading ${hdpart}:${ubfile};ext2load sata ${hdpart} ${ldaddr} ${ubfile}
ubloadtftp=echo Loading ${serverip}:${ubfile};tftpboot ${ldaddr} ${serverip}:${ubfile}
ubsaddr=fff00000
ubeaddr=fff5ffff
ubflash=protect off ${ubsaddr} ${ubeaddr};era ${ubsaddr} ${ubeaddr};cp.b ${ldaddr} ${ubsaddr} ${filesize};cmp.b ${ldaddr} ${ubsaddr} ${filesize}
upgrade=run ubload ubflash
ethact=RTL8169#0

Environment size: 1127/65532 bytes
BUFFALO>>


KURO-BOX/T4
楽天市場



LCD
ハックの記録
LinkStation/玄箱 をハックしよう

ファームウェアのインストール / Install the firmware

Copyright (C) 2003-2009 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市