ここを参考にTFTPを使用せずUSBメモリから起動させた
まず必要なファイルを用意してFATでフォーマットされたUSBメモリに書き込んでおく
$ wget http://dev.gentoo.org/~armin76/arm/sheevaplug/install/uImage_kwplug $ wget http://dev.gentoo.org/~armin76/arm/sheevaplug/install/sheevaplug.initramfs
次にU-Bootに入ってusb startとfatls usb 2を実行する
なんか色々関係ないファイルも混ざってるけどこんな感じに表示される
Marvell>> usb start
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
scanning bus for storage devices... Device NOT ready
Request Sense returned 02 3A 00
3 Storage Device(s) found
Marvell>> fatls usb 2
11399168 gentoo.efimg
gentoo.efimg.mountpoint/
137207808 image.squashfs
isolinux/
0 livecd
7236 readme.txt
2048 boot.cat
198 boot.msg
209505 elilo.efi
950 f2.msg
1468 f3.msg
1352 f4.msg
1401 f5.msg
879 f6.msg
1461 f7.msg
2662320 gentoo
6305658 gentoo.igz
24576 isolinux.bin
32256 ldlinux.sys
57 kernels.msg
160280 memtest86
1935313 system.map-gentoo
556 syslinux.cfg
1766 id_rsa
387 id_rsa.pub
3869250 sheevaplug.initramfs
2664248 uimage_kwplug
25 file(s), 2 dir(s)
Marvell>>
カーネルを起動するのに必要な設定を書き込んで一度再起動
Marvell>> setenv arcNumber 2097 Marvell>> setenv mainlineLinux yes Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> reset
起動したら再度usb startをして今度は実際に読み込んで起動させる
Marvell>> fatload usb 2 0x8000000 sheevaplug.initramfs reading sheevaplug.initramfs 3869250 bytes read Marvell>> fatload usb 2 0x2000000 uImage_kwplug reading uImage_kwplug 2664248 bytes read Marvell>> setenv bootargs console=ttyS0,115200 root=/dev/ram rw Marvell>> bootm 0x2000000 0x8000000
あとはなにを入れるなりお好きなように
0 件のコメント:
コメントを投稿