ftp で SheevaPlug に取り込む
root@debian:~# ftp 192.168.2.38 Connected to 192.168.2.38. 220 ude FTP server (GNU inetutils 1.5) ready. Name (192.168.2.38:root): yasunari 331 Password required for yasunari. Password: 230- Linux ude 2.6.16.16-arm1 #37 Tue May 20 10:01:57 JST 2008 armv5tejl 230- 230- The programs included with the Debian GNU/Linux system are free software; 230- the exact distribution terms for each program are described in the 230- individual files in /usr/share/doc/*/copyright. 230- 230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent 230- permitted by applicable law. 230 User yasunari logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 200 PORT command sucessful. 150 Opening ASCII mode data connection for '/bin/ls'. total 139160 -rw------- 1 yamasita 6509 Oct 2 01:24 .bash_history -rw-r--r-- 1 yamasita 220 Jan 24 2009 .bash_logout -rw-r--r-- 1 yamasita 3116 Jan 24 2009 .bashrc -rw------- 1 yamasita 344 Oct 2 22:10 .lesshst -rw-r--r-- 1 yamasita 675 Jan 24 2009 .profile -rwxrw-r-- 1 yamasita 142475264 Mar 19 2009 ubuntu-9.0.5.Release.jffs2 226 Transfer complete. ftp> bin 200 Type set to I. ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> get ubuntu-9.0.5.Release.jffs2 local: ubuntu-9.0.5.Release.jffs2 remote: ubuntu-9.0.5.Release.jffs2 200 PORT command sucessful. 150 Opening BINARY mode data connection for 'ubuntu-9.0.5.Release.jffs2' (142475264 bytes). ######################################################(略) 226 Transfer complete. 142475264 bytes received in 331.95 secs (419.1 kB/s) ftp> bye 221 Goodbye. root@debian:~#
root@debian:~# flash_eraseall -j /dev/mtd1 Erasing 128 Kibyte @ 1d20000 -- 5 % complete. Cleanmarker written at 1d20000. Skipping bad block at 0x01d40000 Erasing 128 Kibyte @ 4940000 -- 14 % complete. Cleanmarker written at 4940000. Skipping bad block at 0x04960000 Erasing 128 Kibyte @ 4dc0000 -- 15 % complete. Cleanmarker written at 4dc0000. Skipping bad block at 0x04de0000 Erasing 128 Kibyte @ 74e0000 -- 23 % complete. Cleanmarker written at 74e0000. Skipping bad block at 0x07500000 Erasing 128 Kibyte @ bce0000 -- 37 % complete. Cleanmarker written at bce0000. Skipping bad block at 0x0bd00000 Erasing 128 Kibyte @ ca00000 -- 39 % complete. Cleanmarker written at ca00000. Skipping bad block at 0x0ca20000 Skipping bad block at 0x0ca40000 Erasing 128 Kibyte @ 12760000 -- 58 % complete. Cleanmarker written at 12760000. Skipping bad block at 0x12780000 Erasing 128 Kibyte @ 12fa0000 -- 59 % complete. Cleanmarker written at 12fa0000. Skipping bad block at 0x12fc0000 Erasing 128 Kibyte @ 13520000 -- 60 % complete. Cleanmarker written at 13520000. Skipping bad block at 0x13540000 Erasing 128 Kibyte @ 14ae0000 -- 65 % complete. Cleanmarker written at 14ae0000. Skipping bad block at 0x14b00000 Erasing 128 Kibyte @ 14b20000 -- 65 % complete. Cleanmarker written at 14b20000. Skipping bad block at 0x14b40000 Erasing 128 Kibyte @ 14d40000 -- 65 % complete. Cleanmarker written at 14d40000. Skipping bad block at 0x14d60000 Erasing 128 Kibyte @ 14fe0000 -- 66 % complete. Cleanmarker written at 14fe0000. Skipping bad block at 0x15000000 Erasing 128 Kibyte @ 15540000 -- 67 % complete. Cleanmarker written at 15540000. Skipping bad block at 0x15560000 Erasing 128 Kibyte @ 15680000 -- 67 % complete. Cleanmarker written at 15680000. Skipping bad block at 0x156a0000 Erasing 128 Kibyte @ 176c0000 -- 73 % complete. Cleanmarker written at 176c0000. Skipping bad block at 0x176e0000 Erasing 128 Kibyte @ 1ac80000 -- 84 % complete. Cleanmarker written at 1ac80000. Skipping bad block at 0x1aca0000 Erasing 128 Kibyte @ 1fae0000 -- 99 % complete. Cleanmarker written at 1fae0000. root@debian:~#bad block って、いやだな
root@debian:~# nandwrite -p /dev/mtd1 ubuntu-9.0.5.Release.jffs2 -bash: nandwrite: command not found root@debian:~#ん?
root@debian:~# ls -l /usr/local/sbin/ total 0 root@debian:~#おわた
そりゃ、消したら消えるわな。楽し
←(前のページ) カーネルの更新 |
当月のハックの記録 SheevaPlug/玄柴(KURO-SHEEVA)をハックしよう トップ |
(次のページ)→ おわった |