Pandaboard開不了機... - Linux

By Agatha
at 2014-01-16T17:05
at 2014-01-16T17:05
Table of Contents
謝謝D大的回覆哦~
剛剛拿備份的SD卡開機,使用fdisk -l顯示出所有儲存媒體資訊如下..
----------------------------------------------------------------------
Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
128 heads, 32 sectors/track, 15218 cylinders, total 62333952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 32 147455 73712 c W95 FAT32 (LBA)
/dev/mmcblk0p2 147456 31520767 15686656 83 Linux
Disk /dev/sda: 16.1 GB, 16138633216 bytes
128 heads, 32 sectors/track, 7695 cylinders, total 31520768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 32 147455 73712 c W95 FAT32 (LBA)
/dev/sda2 147456 31520767 15686656 83 Linux
----------------------------------------------------------------------
我待會兒打算直接dd /dev/mmcblk0p1到 /dev/sda1,再來回報成果哦^^
※ 引述《DEATHX (幽光)》之銘言:
: ※ 引述《BIAO (超越自己)》之銘言:
: : 各位板友大家好,
: : 小弟目前是在一SD卡上安裝Ubuntu Linux,
: : 不過就在昨晚編寫網頁(JavaScript)後..
: : 今天使用pietty要登入Linux系統時,卻一直顯示無法連線...
: : 將Pandaboard直接接電腦螢幕也沒有要求輸入使用者帳號密碼
: : (一片黑,可是螢幕右下角亮藍燈,且Pandaboard上的資料藍燈也有在閃爍)
: : 再將SD卡拿到winXP系統,可顯示硬碟為fat32,且內有一些檔案。
: : (我猜想也許是其他非winXP能識別的分割區無法顯示)
: : 嘗試著拿之前備份的SD卡插入Pandaboard,就能用SSH遠端登入了...
: : 懇請有經驗的板友們能提供意見..謝謝大家^^
: 我自己有在用freescale的開發板,裡面也有SD卡開機的模式。
: 我想這之間的經驗應該是共通的。
: 一塊包含u-boot, kernel跟initrd 還有rootfs 的SD卡,分割通常是這樣:
: p.s:這些位址不一定跟Pandaboard一致。
: === 0x0 ====
: fat table
: === 0x2 ====
: u-boot 跟 env
: === 0x600 ==
: kernel
: === 0x5000 =
: initrd
: === 0x10000=
: rootfs
: .....
: 注意到在rootfs之前都是raw io燒錄,你只要這段之中壞任何一個block
: 基本上這張卡就不能開機了。因為會載入出錯。
: 你提到插到windows可以看到檔案,證明0x0 ~ 0x2之間的fat table是好的。
: 又提到螢幕藍燈亮著,所以可能u-boot已經進去了。這邊要看最早初始化螢幕的是在
: u-boot或是kernel。
: 作法很簡單,把u-boot,kernel以及initrd重新dd寫一次應該就可以修好了。
--
--
剛剛拿備份的SD卡開機,使用fdisk -l顯示出所有儲存媒體資訊如下..
----------------------------------------------------------------------
Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
128 heads, 32 sectors/track, 15218 cylinders, total 62333952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 32 147455 73712 c W95 FAT32 (LBA)
/dev/mmcblk0p2 147456 31520767 15686656 83 Linux
Disk /dev/sda: 16.1 GB, 16138633216 bytes
128 heads, 32 sectors/track, 7695 cylinders, total 31520768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 32 147455 73712 c W95 FAT32 (LBA)
/dev/sda2 147456 31520767 15686656 83 Linux
----------------------------------------------------------------------
我待會兒打算直接dd /dev/mmcblk0p1到 /dev/sda1,再來回報成果哦^^
※ 引述《DEATHX (幽光)》之銘言:
: ※ 引述《BIAO (超越自己)》之銘言:
: : 各位板友大家好,
: : 小弟目前是在一SD卡上安裝Ubuntu Linux,
: : 不過就在昨晚編寫網頁(JavaScript)後..
: : 今天使用pietty要登入Linux系統時,卻一直顯示無法連線...
: : 將Pandaboard直接接電腦螢幕也沒有要求輸入使用者帳號密碼
: : (一片黑,可是螢幕右下角亮藍燈,且Pandaboard上的資料藍燈也有在閃爍)
: : 再將SD卡拿到winXP系統,可顯示硬碟為fat32,且內有一些檔案。
: : (我猜想也許是其他非winXP能識別的分割區無法顯示)
: : 嘗試著拿之前備份的SD卡插入Pandaboard,就能用SSH遠端登入了...
: : 懇請有經驗的板友們能提供意見..謝謝大家^^
: 我自己有在用freescale的開發板,裡面也有SD卡開機的模式。
: 我想這之間的經驗應該是共通的。
: 一塊包含u-boot, kernel跟initrd 還有rootfs 的SD卡,分割通常是這樣:
: p.s:這些位址不一定跟Pandaboard一致。
: === 0x0 ====
: fat table
: === 0x2 ====
: u-boot 跟 env
: === 0x600 ==
: kernel
: === 0x5000 =
: initrd
: === 0x10000=
: rootfs
: .....
: 注意到在rootfs之前都是raw io燒錄,你只要這段之中壞任何一個block
: 基本上這張卡就不能開機了。因為會載入出錯。
: 你提到插到windows可以看到檔案,證明0x0 ~ 0x2之間的fat table是好的。
: 又提到螢幕藍燈亮著,所以可能u-boot已經進去了。這邊要看最早初始化螢幕的是在
: u-boot或是kernel。
: 作法很簡單,把u-boot,kernel以及initrd重新dd寫一次應該就可以修好了。
--
--
Tags:
Linux
All Comments

By Jacob
at 2014-01-17T01:34
at 2014-01-17T01:34
Related Posts
Pandaboard開不了機...

By Megan
at 2014-01-16T16:35
at 2014-01-16T16:35
Pandaboard開不了機...

By Bethany
at 2014-01-16T16:01
at 2014-01-16T16:01
bbs站的postfix設定

By Frederic
at 2014-01-16T10:34
at 2014-01-16T10:34
用mac學linux..合嗎?

By Caroline
at 2014-01-16T03:25
at 2014-01-16T03:25
RAID 10 or RAID 01

By Odelette
at 2014-01-15T18:19
at 2014-01-15T18:19