LS-GL:nvram コマンド


/usr/local/bin に nvram というコマンドを見つけた。
root@UDE:/usr/local/bin# nvram
root@UDE:/usr/local/bin#
あれ?
こういうときはヘルプ
root@UDE:/usr/local/bin# nvram -help
nvram Ver.1.00
nvram -c <printenv|del|set|get|eraseall|dump>
root@UDE:/usr/local/bin#
何か、怖いけど printenv ぐらいなら大丈夫か。
root@UDE:/usr/local/bin# nvram -c printenv
1: [bootargs=$(bootargs_base) $(bootargs_root)]
2: [baudrate=115200]
3: [loads_echo=0]
4: [ipaddr=192.168.11.150]
5: [serverip=192.168.11.1]
6: [rootpath=/nfs/arm]
7: [cpuName=926]
8: [CASset=min]
9: [MALLOC_len=4]
10: [ethprime=egiga0]
11: [bootargs_end=:::DB88FXX81:eth0:none]
12: [usb0Mode=host]
13: [usb1Mode=host]
14: [ethact=egiga0]
15: [ethaddr=00:16:01:35:xx:yy]
16: [stdin=serial]
17: [stdout=serial]
18: [stderr=serial]
19: [enaMonExt=no]
20: [enaFlashBuf=yes]
21: [enaCpuStream=no]
22: [buffalo_ver=BOOTVER=1.01]
23: [build_time=10:35:38]
24: [initrd=initrd.buffalo]
25: [kernel=uImage.buffalo]
26: [bootargs_base=console=ttyS0,115200]
27: [bootargs_root=root=/dev/sda2 rw initrd=0x00800040,15M panic=5]
28: [bootcmd=ide reset; ext2load ide 1:1 0x00100000 /$(kernel);ext2load ide 1:1 0x00800000 /$(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver);bootm 0x00100000 0x00800000]
29: [def_tftp=tftp 0x00100000 $(kernel);tftp 0x00800000 $(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver);bootm 0x00100000 0x00800000]
30: [bootdelay=3]
31: [disaMvPnp=no]
32: [overEthAddr=no]
root@UDE:/usr/local/bin#
むむ。uBoot が使うパラメータ?


LS-GL:起動音
ハックの記録
LinkStation/玄箱 をハックしよう

LS-GL:initrd

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