Transferring files using serial console 沒有網路時,利用 RS232 傳檔: 1. lrzsz --> 利用 putty 直接拉了檔案往該視窗裡丟,就能上傳檔案了 要拉檔案出來也很方便哦,下這樣的指令後, sz 檔名, 它就會問你要檔案要存在哪兒 2. 利用 busybox rx --> 還沒試過 3. 使用檔案傳輸方式,但只能傳 ASCII 檔案。 target$ cat >file >> 傳完用 CTRL+D 結束 host$ minicom 如果是用 XShell 或其他,可以用傳檔方式 CTRL+A S +-[Upload]--+ | zmodem | | ymodem | | xmodem | | kermit | |>ascii< | +-----------+ 如果要傳 binary 檔,要先用 uuencode 轉成 ASCII host$ uuencode 8821au.ko < 8821au.ko > encode.file | | | | --- > 檔名 | --------------- > uudecode 出來的檔名 target> cat >file ## Ctrl-D 結束 target> busybox uudecode < encode.file ## decode ascii to binary 可以得到 8821au.ko PS: 用 Xshell 傳檔 ASCII 檔時,大檔案有時會有問題。size 不對,新版沒試過。 Sec