5.13.2009

openmoko - flash kernel and rootfs

安裝 usb 連線軟體: dfu-util。
Debian 直接用 apt 安裝就可以。

通常需要
  1. kernel - uImage
  2. rootfs
bootloader 不一定要重燒

rootfs 通常是有 jffs2 在檔名中,kernel 通常就有 uImage 在檔名中。

開機進入 nor boot (nand boot) ? 就可以接上 usb ,和 dfu-util 溝通。

按著hold key 開機,進入nor boot 畫面,插上 usb。dmesg..

[786627.436013] usb 2-3: new full speed USB device using ohci_hcd and address 2
[786627.654996] usb 2-3: configuration #1 chosen from 2 choices
[786627.677190] usb 2-3: New USB device found, idVendor=1d50, idProduct=5119
[786627.677198] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[786627.677202] usb 2-3: Product: Neo1973 Bootloader U-Boot 1.3.2-moko12
[786627.677205] usb 2-3: Manufacturer: OpenMoko, Inc
[786627.677207] usb 2-3: SerialNumber: 0000000
[786628.281641] cdc_acm: This device cannot do calls on its own. It is no modem.
[786628.281641] cdc_acm 2-3:1.0: ttyACM0: USB ACM device
[786628.288104] usbcore: registered new interface driver cdc_acm
[786628.288112] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
所以應該是有偵測到...

燒錄過程要注意的是...沒有操作30 sec 後,機器會自動 power off。
所以看到螢幕黑掉,就要重新 power on.

rootfs download 比較久。

重開機很花時間,約需要 2 min,約 1min 後才會出現splash screen.然後滅掉..

沒有留言: