起動中に
ここでは設定されている情報を見ることが出来る。
? でコマンド一覧を見ることが出来る。
フラッシュロムの情報
環境変数を表示
U-bootのバージョン
日時がおかしかったので直してみた。
Hit any key to stop autoboot: 3と表示されているときに何かキーを押すとフラッシュロムに入っているU-bootのコマンドプロンプトに変わる。
ここでは設定されている情報を見ることが出来る。
? でコマンド一覧を見ることが出来る。
Marvell>> ? ? - alias for 'help' base - print or set address offset board_info -show board information. boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootend - with micon. send bootend. bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol bubt - Burn an image on the Boot Flash. buzzer - with micon. buzzer command. cmp - memory compare cp - memory copy cpumap - Display CPU memory mapping settings. crc32 - checksum calculation date - get/set/reset date & time diskboot- boot from IDE device echo - echo args to console erase - erase FLASH memory ext2load- load binary file from a Ext2 filesystem ext2ls- list files in a directory (default /) fan_control - with micon. fan control . fan_rpm - with micon. fan get rpm. flinfo - print FLASH memory information get_sw - without micon. get switch status. go - start application at address 'addr' hdd_power - hdd power control . help - print online help ide - IDE sub-system led - without micon. call led control routine(for debug). led_blink - with micon. led blink control setting. led_cpu_mcon - with micon. led cpu micon control setting. led_on_off - with micon. led on off control setting. loop - infinite loop on address range md - memory display micon - with micon. command(2byte hex) -data(witin 32byte hex) mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nm - memory modify (constant address) pci - list and access PCI Configuraton Space 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 resetenv - Return all environment variable to default. saveenv - save environment variables to persistent storage security -device -command -options -password setenv - set environment variables shutdown - with micon. Poff . sw_power - with micon. software power control interface tftpboot- boot image via network using TFTP protocol usb_power - without micon. usb power control . version - print monitor version
Marvell>> base Base Address: 0x00000000
基板の情報 Marvell>> board_info board configuration VGPP_CONFIG_NUM= 2 BoardId = 24 (0x0018) gBoardId = 24 (0x0018) power control bit hdd_power = 1 (0x0002) usb_power = 9 (0x0200) led control bit led_info = 3 (0x0008) led_power = 0 (0x0001) led_alarm = 2 (0x0004) fan control bit fan_full = 14 (0x4000) fan_lock = 6 (0x0040) sw control bit sw_init = 7 (0x0080) sw_power = 8 (0x0100) sw_raid = 255 (0x0000) sw_auto_power = 10 (0x0400)
フラッシュロムの情報
Marvell>> flinfo Bank # 1: SST SST39VF020 (2 Mbit) Size: 256 kB,Bus Width: 1, device Width: 1. Flash base: 0xfffc0000,Number of Sectors: 64 Type: REGULAR. Sector Start Addresses: 00000000 (RO) 00001000 (RO) 00002000 (RO) 00003000 (RO) 00004000 (RO) 00005000 (RO) 00006000 (RO) 00007000 (RO) 00008000 (RO) 00009000 (RO) 0000a000 (RO) 0000b000 (RO) 0000c000 (RO) 0000d000 (RO) 0000e000 (RO) 0000f000 (RO) 00010000 (RO) 00011000 (RO) 00012000 (RO) 00013000 (RO) 00014000 (RO) 00015000 (RO) 00016000 (RO) 00017000 (RO) 00018000 (RO) 00019000 (RO) 0001a000 (RO) 0001b000 (RO) 0001c000 (RO) 0001d000 (RO) 0001e000 (RO) 0001f000 (RO) 00020000 (RO) 00021000 (RO) 00022000 (RO) 00023000 (RO) 00024000 (RO) 00025000 (RO) 00026000 (RO) 00027000 (RO) 00028000 (RO) 00029000 (RO) 0002a000 (RO) 0002b000 (RO) 0002c000 (RO) 0002d000 (RO) 0002e000 (RO) 0002f000 (RO) 00030000 (RO) 00031000 (RO) 00032000 (RO) 00033000 (RO) 00034000 (RO) 00035000 (RO) 00036000 (RO) 00037000 (RO) 00038000 (RO) 00039000 (RO) 0003a000 (RO) 0003b000 (RO) 0003c000 (RO) 0003d000 (RO) 0003e000 (RO) 0003f000 Bank # 2: missing or unknown FLASH type
Marvell>> get_sw Usage: get_sw - without micon. get switch status. sw_status = 0x0001
Marvell>> pci Scanning PCI devices on bus 0 BusDevFun VendorId DeviceId Device Class Sub-Class _____________________________________________________________ 00.00.00 0x11ab 0x5182 Memory controller 0x80
環境変数を表示
Marvell>> printenv bootargs=$(bootargs_base) $(bootargs_root) baudrate=115200 loads_echo=0 ipaddr=192.168.11.150 serverip=192.168.11.1 rootpath=/nfs/arm cpuName=926 CASset=min MALLOC_len=4 bootargs_end=:::DB88FXX81:eth0:none ethact=egiga0 ethaddr=XX:XX:XX:XX:XX:XX buffalo_ver=BOOTVER=1.13 buffalo_minor_ver=BOOT_MINOR_VER=1.00 build_time=21:04:03 initrd=initrd.buffalo kernel=uImage.buffalo bootargs_base=console=ttyS0,115200 mem=64m bootargs_root=root=/dev/sda2 rw initrd=0x00800040,15M panic=5 def_tftp=tftp 0x00100000 $(kernel); tftp 0x00800000 $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpboot=yes; bootm 0x00100000 0x00800000 stdin=serial stdout=serial stderr=serial enaMonExt=no enaFlashBuf=yes enaCpuStream=no ethprime=egiga0 bootdelay=3 disaMvPnp=no overEthAddr=no usb0Mode=host usb1Mode=host filesize=603638 force_tftp=1 bootcmd=tftp 0x00100000 $(kernel); tftp 0x00800000 $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpboot=yes; bootm 0x00100000 0x00800000 Environment size: 1016/4092 bytes Marvell>>
U-bootのバージョン
Marvell>> version U-Boot 1.1.1 (Jan 7 2008 - 21:04:08) Marvell version: 1.12.1 - TINY
日時がおかしかったので直してみた。
Marvell>> date Date: 2164-25-44 (Wednesday) Time: 23:01:44 Marvell>> help date date [MMDDhhmm[[CC]YY][.ss]] date reset - without arguments: print date & time - with numeric argument: set the system date & time - with 'reset' argument: reset the RTC Marvell>> date 082515512019 Date: 2019-08-25 (Sunday) Time: 15:51:00 Marvell>>
コメント
コメントを投稿