Was this page helpful?

Install Debian on sheevaplug

文章連結:http://www.cyrius.com/debian/kirkwoo...g/install.html

安裝說明:

  • Debian version: Lenny
  • SDHC 4GB x 1

安裝開始

下載 Debian Installer Image

選擇 Lenny 版的 uImage 及 uInitrd
http://www.cyrius.com/debian/kirkwoo...g/install.html

準備 SDHC 卡

將 SDHC 使用 Windows 將卡格式化成 FAT 檔案系統,然後複製這兩個檔案至 SDHC 卡,不要建立任何目錄。

設定 U-Boot

// 檢查 U-Boot version 需 3.4.19 以後,才有支援 SDHC 開機,請參閱 U-Boot 升級

// 設定 U-Boot,以下僅適用於標準的 Sheevaplug,若是 eSATA, DockStar 請參考原文說明。

setenv mainlineLinux yes
setenv arcNumber 2097
saveenv
reset

重新開機後,執行以下 U-Boot 指令載入 Installer image

mmcinit
fatload mmc 0:1 0x00800000 /uImage
fatload mmc 0:1 0x01100000 /uInitrd

繼續以下指令,進入開機程序

setenv bootargs console=ttyS0,115200 base-installer/initramfs-tools/driver-policy=most mirror/suite=stable apt-setup/local0/repository="http://people.debian.org/~tbm/orion lenny main" apt-setup/local0/key=http://people.debian.org/~tbm/orion/68FD549F
bootm 0x00800000 0x01100000
安裝 Debian

Language

-> English

Country

->Other -> Asia -> Taiwan

Local Setting

-> United States - en_US.UTF-8

Hostname

-> debian

Domain Name

-> localdomain

Debian archive mirror country

-> Taiwan
-> ftp.tw.debian.org

HTTP proxy

-> 空白

Tips:

過程中如果出現下載失敗,請選擇 retry 或其他 mirror 站

Set up users and password

-> 設定 root 密碼
-> 新增一個用戶
-> 設定用戶的密碼

Partitioning method

-> use entire disk ->

Select disk to partition

-> MMC/SD card #1 (mmcblk0) - 4.0 GB SD 00000

Partitioning scheme

-> All files in one partition

Partition disks 

-> #5 logical 227.5 MB f swap swap
-> Delete the partition
-> Finish partitioning and write change to disk

Tips:

刪除 swap 磁區

Do you want to return to the partitioning menu?

-> No (不要使用 swap 繼續安裝)

Write the changes to disks?

-> Yes

Tips:

網路安裝過程中,若有出現檔案錯誤,請選擇 continue 回到前步驟,重新安裝一次。

Kernel to install

-> linux-image-2.6-kirkwood

Participate in the package usage survey?

-> No

Choose software to install

-> Standard system, 其餘不選

 

安裝 Debian 完成

設定 U-Boot 從 SDHC 開機
setenv bootargs_console console=ttyS0,115200
setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000'
saveenv

立即開機指令

run bootcmd
Was this page helpful?
標籤 (Edit tags)
  • No tags
您必須 登入 才能發佈評論。
Powered by MindTouch Core