2009年11月14日

pxa300 檢測 處理MMC問題

環境:Wingows XP sp3
平台測試:Marvell pxa300 (littleton)

1.xp中的超級終端機設定:
使用連線:COM1
每秒傳輸位元:38400
資料位元:8
同位檢查:無
停止位元:1
流量控制:無

設定完畢後,打開px300電源,即可看到開機畫面

2.
錄音功能正常(需外接麥克風)
喇叭正常(沒有外接擴音器)
喇叭正常(有外接擴音器)

3.
usb鍵盤正常,不過有接鍵盤的情況下,觸控螢幕會失去作用(開機時並沒有要求需要點測試點)
一拔掉usb鍵盤後,觸控功能即恢復(須重新開機)

4.
SD卡無效,看不見檔案

5.
usb隨身碟可用,但要有開機磁區才行


Your choice [1,2,3,4,5,6,7,8,9,A,B,C,D,E,S,H,Q] >8
Test USB port .....................

VFS: Can't find an ext2 filesystem on dev sda1.

Test result:
The usb disk test correct, the content of usb:
ls: /mnt/usb/台北大學.ppt: No such file or directory
ls: /mnt/usb/大學會~1.ppt: No such file or directory
ls: /mnt/usb/大學會~1.rar: No such file or directory
ls: /mnt/usb/北大歡姆.doc: No such file or directory
ls: /mnt/usb/守位前輩.doc: No such file or directory
ls: /mnt/usb/網站製~1.3開: No such file or directory
ls: /mnt/usb/網站製~1.htm: No such file or directory
______~1      db-hw-~1.doc  mysql~1.htm   ubuntu~1      作業程序
___roo~1      for091~1      npp55i~1.exe  ubuntu~1.rar  桌面.7z
a12935~1.pdf  init          source        五年一~1.doc
ashmem        linux-~1.gz   trash-~1      卡持緲.doc
Please confirm the result, and hit the keyboard again >read: 328: arg count



嘗試掛載usb,但是失敗囉~

[root@Linux /test]#df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock2           49152     40300      8852  82% /
[root@Linux /test]#cd /dev/mtdblock2
cd: 249: can't cd to /dev/mtdblock2

[root@Linux /test]#mount /dev/mtdblock2 /home/jim
VFS: Can't find an ext2 filesystem on dev mtdblock2.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mtdblock2.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mtdblock2.
mount: Mounting /dev/mtdblock2 on /home/jim failed: Invalid argument


6.電量ok

Your choice [1,2,3,4,5,6,7,8,9,A,B,C,D,E,S,H,Q] >b
Test battery.........................

the date read from is 255
the battery is 100 percent
the date read from is 255
the battery is 100 percent
the date read from is 255
the battery is 100 percent
the date read from is 255
the battery is 100 percent

7.解決minicom亂碼問題(家用主機一樣是ttyS0)
env LANG=env_US minicom -s
*A - Serial device : /dev/ttyS0
*E - (串口速度): 115200 bps,
8N1,
No,
No.

8.目標:順利在pxa300中mount MMC卡(32MB)
8.1.
把MMC卡放入pxa300中,不能順利mount
8.2.
於是把MMC卡用ubuntu的gparted格式化,卻沒想到越切越小(31MB到23MB)
8.3.
回到xp底下使用hp格式化工具把MMC卡還原成31MB(正常大小)
8.4.
到ubuntu的gparted工具格式化為ext2格式
8.5.
插入MMC卡的訊息:
[root@Linux /]#Device major:254, first minor:8                                 
 mss/blk1: p1                                                                  
                                                                               
[root@Linux /]#cd /dev/mss/                                                    
[root@Linux mss]#ls                                                            
blk1    blk1p1                                                                 
[root@Linux mss]#mount /dev/mss/blk1p1 /home/jim/mountsd/                      
EXT2-fs warning: checktime reached, running e2fsck is recommended              
[root@Linux mss]#cd /home/jim/mountsd/                                         
[root@Linux mountsd]#ls                                                        
jimkokokokok  lost+found                                                       
[root@Linux mountsd]#vi /etc/fstab
#/dev/root              /                               defaults        0 0
none                    /tmp                    ramfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/pts                devpts  mode=0622       0 0
sysfs                   /sys                    sysfs   defaults        0 0

/dev/mss/blk0 /home/jim/mountsd msdos defaults 0 0

8.6.fstab似乎不用去動他...總之成功了


http://www.mdn.idv.tw/viewtopic.php?f=11&t=101&start=30&st=0&sk=t&sd=a

沒有留言:

張貼留言

NO-CARRIER 網卡無法啟動

 工作時,由於想要啟動linux OS的網卡, 發現某張新設定的網卡一直無法啟動,就算下指令UP了,但是也沒有順利啟動 所以爬文後,想要確認該網卡的status, 發現某行為: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu...