はじめに
前回はI-O DATAのNAS、HDL-AH2.0を分解して眺めるというとで分解を行いました。今回はUARTを繋いでログを見たり、ROMライターで吸い出したりします。
UARTのピンアサイン
基板表(SATA)がある側についている4ピンのピンヘッダがUARTです。ピンアサインはこんな感じでした。

ブートログ
電源投入時に一回U-Bootが起動し、その後すぐに電源が落ちてしまいます。
============================================================
HDL2-A series Initial boot loader
Copyright (C) 2008-2011 I-O DATA DEVICE, INC.
============================================================
** LOADER **
** MARVELL BOARD: HDL2A LE
U-Boot 1.1.4 (Mar 3 2014 - 16:59:02) MV : 3.5.9 I-O : 1.09
U-Boot code: 00600000 -> 0066FFF0 BSS: -> 006BDAE0
Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 13 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[512kB@f8000000] Flash: 512 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
その後、電源ボタンを押すと
============================================================
HDL2-A series Initial boot loader
Copyright (C) 2008-2011 I-O DATA DEVICE, INC.
============================================================
** LOADER **
** MARVELL BOARD: HDL2A LE
U-Boot 1.1.4 (Mar 3 2014 - 16:59:02) MV : 3.5.9 I-O : 1.09
U-Boot code: 00600000 -> 0066FFF0 BSS: -> 006BDAE0
Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 13 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[512kB@f8000000] Flash: 512 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
** Bad partition 1 **
** Bad partition 1 **
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
0 Storage Device(s) found
** Can't read from device 0 **
** Unable to use usb 0:0 for fatload **
** Can't read from device 0 **
** Unable to use usb 0:1 for fatload **
Failed to boot...
電源ボタンを押した後のログを見ると、SATAからの起動を試みた後に、USBの起動を試みてます。その後に、リセットボタンを押すと、
Failed to boot...
egiga0 no link
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
Retry count exceeded; starting again
egiga0 no link
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
⋮
こんな感じでネットワークからのイメージの取得を試みています。ブートを中止して、U-Bootのコンソールに入ってみたかったんですが、キーボードの入力が拒否されているようなので不可能でした。
USBメモリを挿してみる
USBからの起動を試みていそうなので、試しにFAT32のUSBを挿してみると、以下の様になりました(上部ログ省略)。
** Bad partition 1 **
** Bad partition 1 **
(Re)start USB...
USB: scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
** Partition 0 not valid on device 0 **
** Unable to use usb 0:0 for fatload **
reading l2a/uImage.l2a
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
** Unable to read "l2a/uImage.l2a" from usb 0:1 **
Failed to boot...
これから、/l2a/uImage.l2aと/l2a/initrd.imgを読み込むこみそうです。BuffaloのLS-VL用のDebian公式が作っているインストーラをダウンロードして拡張子をbuffaloからl2aに変えてみたところ、
** Bad partition 1 **
** Bad partition 1 **
(Re)start USB...
USB: scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
** Partition 0 not valid on device 0 **
** Unable to use usb 0:0 for fatload **
reading l2a/uImage.l2a
..................................................................................................................................................................................................................................................
2487683 bytes read
reading l2a/initrd.l2a
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
10610928 bytes read
## Starting secure boot ...
## Starting application at 0x00100000 ...
## Application terminated, rc = 0x0
................
## Booting image at 00800000 ...
Image Name: Debian kernel
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2487619 Bytes = 2.4 MB
Load Address: 01a00000
Entry Point: 01a00000
Verifying Checksum ... OK
OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.0-32-marvell ([email protected]) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 Debian 5.10.223-1 (2024-08-10)
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Buffalo Linkstation LS-VL
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env) root=/dev/sda2 initrd=0x2000040,16M rw model=HDL-A/H
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 235740K/262144K available (4784K kernel code, 827K rwdata, 1324K rodata, 300K init, 222K bss, 26404K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 22405 entries in 66 pages
[ 0.000000] ftrace: allocated 66 pages with 2 groups
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.000036] Switching to timer-based delay loop, resolution 5ns
[ 0.000171] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[ 0.000193] CPU: Testing write buffer coherency: ok
[ 0.000284] pid_max: default: 32768 minimum: 301
[ 0.000724] LSM: Security Framework initializing
[ 0.000926] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.001161] AppArmor: AppArmor initialized
[ 0.001305] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001327] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.004212] Setting up static identity map for 0x8200 - 0x823c
[ 0.004425] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[ 0.005297] devtmpfs: initialized
[ 0.009408] VFP support v0.3: not present
[ 0.009543] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.009571] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.009743] pinctrl core: initialized pinctrl subsystem
[ 0.011434] NET: Registered protocol family 16
[ 0.011921] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.012684] audit: initializing netlink subsys (disabled)
[ 0.013574] thermal_sys: Registered thermal governor 'fair_share'
[ 0.013584] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.013597] thermal_sys: Registered thermal governor 'step_wise'
[ 0.013606] thermal_sys: Registered thermal governor 'user_space'
[ 0.013685] cpuidle: using governor ladder
[ 0.013705] cpuidle: using governor menu
[ 0.013981] Feroceon L2: Enabling L2
[ 0.014017] Feroceon L2: Cache support initialised.
[ 0.016257] audit: type=2000 audit(0.012:1): state=initialized audit_enabled=0 res=1
[ 0.023783] No ATAGs?
[ 0.030318] clocksource: Switched to clocksource orion_clocksource
[ 0.065060] VFS: Disk quotas dquot_6.6.0
[ 0.065145] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.065734] AppArmor: AppArmor Filesystem Enabled
[ 0.066944] NET: Registered protocol family 2
[ 0.067109] IP idents hash table entries: 4096 ( TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.068050] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.068080] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.068178] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.068206] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.068427] NET: Registered protocol family 1
[ 0.068461] PCI: CLS 0 bytes, default 32
[ 0.068722] Trying to unpack rootfs image as initramfs...
[ 0.068753] Initramfs unpacking failed: invalid magic at start of compressed archive
[ 0.116758] Freeing initrd memory: 16388K
[ 0.117463] Initialise system trusted keyrings
[ 0.117539] Key type blacklist registered
[ 0.117792] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.121952] zbud: loaded
[ 0.122670] Key type asymmetric registered
[ 0.122685] Asymmetric key parser 'x509' registered
[ 0.122727] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.124719] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.126232] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[ 0.126270] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[ 0.126296] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[ 0.126351] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[ 0.126378] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 0.126400] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 0.126421] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 0.126438] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 0.126694] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[ 0.126712] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.126726] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[ 0.126738] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[ 0.126751] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[ 0.126761] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[ 0.126771] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff]
[ 0.126856] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[ 0.128030] PCI: bus0: Fast back to back transfers disabled
[ 0.128045] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.129035] PCI: bus1: Fast back to back transfers enabled
[ 0.129051] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.129188] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.129691] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.159417] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 0.159759] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.191398] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 0.191904] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.192801] printk: console [ttyS0] disabled
[ 0.192872] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 0.891571] printk: console [ttyS0] enabled
[ 0.897015] i2c /dev entries driver
[ 0.901305] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.907983] registered taskstats version 1
[ 0.912123] Loading compiled-in X.509 certificates
[ 0.919967] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27df14011249c2675ea8e5148542202005810584b25f'
[ 0.939463] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.947813] clk: Disabling unused clocks
[ 0.952053] List of all partitions:
[ 0.955577] No filesystem could mount root, tried:
[ 0.955580]
[ 0.961977] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.970280] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.0-32-marvell #1 Debian 5.10.223-1
[ 0.978577] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[ 0.984883] [<c0014c88>] (unwind_backtrace) from [<c0011b68>] (show_stack+0x18/0x1c)
[ 0.992670] [<c0011b68>] (show_stack) from [<c04acabc>] (panic+0xf0/0x328)
[ 0.999587] [<c04acabc>] (panic) from [<c062e5fc>] (mount_block_root+0x29c/0x330)
[ 1.007109] [<c062e5fc>] (mount_block_root) from [<c062e854>] (prepare_namespace+0x148/0x184)
[ 1.015670] [<c062e854>] (prepare_namespace) from [<c04b11f0>] (kernel_init+0x10/0x100)
[ 1.023709] [<c04b11f0>] (kernel_init) from [<c0008320>] (ret_from_fork+0x14/0x34)
[ 1.031308] Exception stack(0xc08e1fb0 to 0xc08e1ff8)
[ 1.036375] 1fa0: 00000000 00000000 00000000 00000000
[ 1.044591] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.052804] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.059453] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
どうやらramdiskが見つからなくてカーネルパニックを起こしています。問題なさそうなんですが、不思議な話です。
フラッシュの吸い出し
基板の表にある、フラッシュ(Microchip AT24C256C)をROMライタで吸い出してみます。

吸い出してみたところ、u-bootのenvは以下の感じです。
baudrate=115200
loads_echo=0
ipaddr=10.4.52.165
serverip=10.4.52.7
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
mtdids=nor0=spi_flash
mtdparts=mtdparts=spi_flash:448k(u-boot),64k@448k(env)
partition=nor0,2
console=console=ttyS0,115200
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage.l2a
loadaddr=0x800000
bootfile=/uImage.l2a
iover=1.05
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
ethact=egiga0
bootcmd=hdlfixwol;mw.b 0x800000 0x00 0x800000;mw.b 0x2000000 0x00 0x800000;hdlwake;ide reset;hdlstart;if ext2load ide 0:1 0x800000 /uImage.l2a && ext2load ide 0:1 0x2000000 /initrd.l2a && sbootm 0x800000 0x2000000; then; elif ext2load ide 1:1 0x800000 /uImage.l2a && ext2load ide 1:1 0x2000000 /initrd.l2a && sbootm 0x800000 0x2000000; then; else usb start; if fatload usb 0:0 0x800000 l2a/uImage.l2a && fatload usb 0:0 0x2000000 l2a/initrd.l2a && sbootm 0x800000 0x2000000; then; elif fatload usb 0:1 0x800000 l2a/uImage.l2a && fatload usb 0:1 0x2000000 l2a/initrd.l2a && sbootm 0x800000 0x2000000; then; elif echo Failed to boot... && hdlbtn && bootp 0x800000 uImage.l2a && bootp 0x2000000 initrd.l2a && sbootm 0x800000 0x2000000; then; else echo Give up to boot...; hdlpoff; fi; fi
bootargs=console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env) root=/dev/sda2 initrd=0x2000040,16M rw model=HDL-A/H
ethaddr=一応隠しておく
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=0
disaMvPnp=no
pcieTune=no
pcieTune1=no
bootcmdの部分をわかりやすく書き直すとこんな感じです。
bootcmd=
hdlfixwol;
mw.b 0x800000 0x00 0x800000;
mw.b 0x2000000 0x00 0x800000;
hdlwake;
ide reset;
hdlstart;
if ext2load ide 0:1 0x800000 /uImage.l2a &&
ext2load ide 0:1 0x2000000 /initrd.l2a &&
sbootm 0x800000 0x2000000; then
elif ext2load ide 1:1 0x800000 /uImage.l2a &&
ext2load ide 1:1 0x2000000 /initrd.l2a &&
sbootm 0x800000 0x2000000; then
else
usb start;
if fatload usb 0:0 0x800000 l2a/uImage.l2a &&
fatload usb 0:0 0x2000000 l2a/initrd.l2a &&
sbootm 0x800000 0x2000000; then
elif fatload usb 0:1 0x800000 l2a/uImage.l2a &&
fatload usb 0:1 0x2000000 l2a/initrd.l2a &&
sbootm 0x800000 0x2000000; then
elif echo Failed to boot... &&
hdlbtn &&
bootp 0x800000 uImage.l2a &&
bootp 0x2000000 initrd.l2a &&
sbootm 0x800000 0x2000000; then
else
echo Give up to boot...;
hdlpoff;
fi
fi
U-Bootのenvの変更
フラッシュの0x70004~0x70FFFがenvの保存領域(空きは00)で、0x70000~0x7003はCRC32の8bitでByte Swappingしたものなので、手動でバイナリを変更しました。uImageのヘッダのCRCみたいに00で埋める必要はなく、0x70004~0x70FFFだけのCRC32計算結果でよいです。

とりあえず、helpを表示させてみました。
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootext2 dev:boot_part1,boot_part2 addr boot_image linux_dev_name
bom memory
bootp - boot image via network using BootP/TFTP protocol
bubt - Burn an image on the Boot Flash.
came - Came Memory
chpart - change active partition
cmp - memory compare
cmpm - Compare Memory
cp - memory copy
cpumap - Display CPU memory mapping settings.
crc32 - checksum calculation
dclk - Display the MV device CLKs.
diskboot- boot from IDE device
echo - echo args to console
erase - erase FLASH memory
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fi - Find value in the memory.
flinfo - print FLASH memory information
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
g - start application at cached address 'addr'(default addr 0x40000)
go - start application at address 'addr'
hdlbtn - Button detection for HDL2-A
hdldelay - delay HDL2-A
hdlethphyread - eth phy read HDL2-A
hdlethphywrite - eth phy write HDL2-A
hdlfixwol - fix wol HDL2-A
hdlpoff - poweroff HDL2-A
hdlr8 - r8 HDL2-A
hdlrst - reset HDL2-A
hdlstart - cancel hdlwake command
hdlwake - reset HDL2-A 3 minutes later.
help - print online help
ide - IDE sub-system
ir - reading and changing MV internal register values.
loop - infinite loop on address range
ls - list files in a directory (default /)
map - Diasplay address decode windows
md - memory display
me - PCI master enable
mm - memory modify (auto-incrementing)
mp - map PCI BAR
mtdparts- define flash/nand partitions
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
phyRead - Read PCI-E Phy register
pciePhyWrite - Write PCI-E Phy register
phyRead - Read Phy register
phyWrite - Write Phy register
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
sbootm - secure boot HDL2-A
se - PCI Slave enable
setenv - set environment variables
sflash - read, write or erase the external SPI Flash.
sg - scanning the PHYs status
sp - Scan PCI bus.
switchRegRead - Read switch register
switchRegWrite - Write switch register
Temp - read chip Tj temp
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
ここでDebianが起動しない理由がわかりました。
sbootm - secure boot HDL2-A
です。mdで確認もしてみたりしたのですが、これのせいで、Ramdiskの値がぜんぜん違うものになってしまいます。
おわりに
次回はDebianのインストールをしてみます。