玄箱HG Update (4)
NetBSD/sandpointのインストールが完了したらFlashの0xFFFE0000アドレスにaltboot.binを書き込む。
=> protect off fffe0000 +20000 Un-Protected 9 sectors => erase fffe0000 +20000 Flash erase: first = 62 @ 0xfffe0000 last = 70 @ 0xffffe000 Flash erase: Done Erased 9 sectors => mw.b 1000000 ff 20000 => tftp 1000000 altboot.bin Using RTL8169#0 device TFTP from server 192.168.0.25; our IP address is 192.168.0.254 Filename 'altboot.bin'. Load address: 0x1000000 Loading: ############### done Bytes transferred = 75924 (12894 hex) => cp.b 1000000 fffe0000 20000 Copy to Flash... done => cmp.b 1000000 fffe0000 20000 Total of 131072 bytes were the same => protect on fffe0000 +20000 Protected 9 sectors => reset
ハードディスクから起動するように環境変数を設定。
=> setenv bootcmd cp.b fffe0000 1000000 20000\; go 1000000 wd0:netbsd => setenv bootdelay 3 => saveenv
再起動させて自動的にハードディスクからNetBSD/sandpointが起動すればインストール完了。