最近あまり動きがなかったBen NanoNote。
Nano Noteがどんなのかというと・・・
・2年ぐらい前に$99で買えるLinuxパームトップ機!として話題に
・物理キーボードあり、タッチパネル無し
・CPUにJz4720 336MHz使用。
・メモリは32MBしかないので、そこそこの動作しかしない。
で、そんな感じのBen Nano Noteですが、最新版の2011年11月13日版でいろいろ面白い変更が取り込まれていました。
最大の変更は、Linux kernelがver 3.0(前はver 2.6.37.6だった)になったということ。
そして、IEEE 802.15.4を利用したWPANの取り込み。
さて、アップデートですが、うちの環境では、以前はUbuntuノートを使ってアップデートしていたのですが、現在そのパソコンが稼働してないので、CentOS5のサーバを使ってアップデート。
まずは、firmwareをダウンロードしておくか、とNanoNoteをつながない状態でreflash_ben.shを実行。
3 | downloads.qi-hardware.com をDNSに問いあわせています... 88.198.75.224 |
4 | downloads.qi-hardware.com|88.198.75.224|:80 に接続しています... 接続しました。 |
5 | HTTP による接続要求を送信しました、応答を待っています... 302 Found |
8 | projects.qi-hardware.com をDNSに問いあわせています... 88.198.75.224 |
9 | downloads.qi-hardware.com:80 への接続を再利用します。 |
10 | HTTP による接続要求を送信しました、応答を待っています... 200 OK |
11 | 長さ: 7310 (7.1K) [application/x-sh] |
14 | 100%[==========================================>] 7,310 26.2K/s 時間 0.3s |
16 | 2011-11-24 14:40:38 (26.2 KB/s) - `reflash_ben.sh' へ保存完了 [7310/7310] |
20 | working dir : /root/.qi/nanonote/ben/latest |
24 | present files are identical to the ones on the server - do not download them again |
26 | usbboot: error while loading shared libraries: libconfuse.so.0: cannot open shared object file : No such file or directory |
28 | fatal error occured - ABORTED |
30 | can't boot device - xburst-tools setup correctly? device in boot-mode? device connected? |
32 | Before reporting this as a bug |
33 | Please ensure you're using the latest available version of this reflash script |
あ~、libconfuseなんて入れてないよな・・・と「yum install libconfuse」追加。
ちなみに、他にも、/root/.qi だと/パーテーションを圧迫しちゃってるので、.qiディレクトリを他のパーテーションにシンボリックリンクで逃がしたりしています。
つなげて、NanoNoteの「U」キーを押しながら電源を入れて、reflash_ben.shを実行…
2 | working dir : /root/.qi/nanonote/ben/latest |
6 | present files are identical to the ones on the server - do not download them again |
8 | clean bootloader env data ... |
16 | fatal error occured - ABORTED |
18 | error while flashing kernel: |
19 | Error - can't read bulk data from Ingenic device:-110 |
21 | Before reporting this as a bug |
22 | Please ensure you're using the latest available version of this reflash script |
失敗・・・
2 | usbboot - Ingenic XBurst USB Boot Utility |
3 | (c) 2009 Ingenic Semiconductor Inc., Qi Hardware Inc., Xiangfu Liu, Marek Lindner |
4 | This program is Free Software and comes with ABSOLUTELY NO WARRANTY. |
6 | Now checking whether all configure args valid: YES |
7 | Current device information: |
8 | CPU type is Ingenic XBurst Jz4740 |
9 | Crystal work at 12MHz, the CCLK up to 252MHz and PMH_CLK up to 84MHz |
10 | SDRAM Total size is 32 MB, work in 4 bank and 16 bit mode |
11 | Nand page per block 128, Nand page size 4096, ECC offset in OOB 12, bad block offset in OOB 0, bad block page 127, use 1 plane mode |
13 | exiting usbboot software |
usbbootコマンドで接続してみると、それなりに動いていそう。
じゃぁ、手動でアップデートしてみるか・・・ということで、手順を見ながらやってみる。
2 | usbboot - Ingenic XBurst USB Boot Utility |
3 | (c) 2009 Ingenic Semiconductor Inc., Qi Hardware Inc., Xiangfu Liu, Marek Lindner |
4 | This program is Free Software and comes with ABSOLUTELY NO WARRANTY. |
6 | Now checking whether all configure args valid: YES |
7 | Current device information: |
8 | CPU type is Ingenic XBurst Jz4740 |
9 | Crystal work at 12MHz, the CCLK up to 252MHz and PMH_CLK up to 84MHz |
10 | SDRAM Total size is 32 MB, work in 4 bank and 16 bit mode |
11 | Nand page per block 128, Nand page size 4096, ECC offset in OOB 12, bad block offset in OOB 0, bad block page 127, use 1 plane mode |
15 | usbboot :> nerase 0 4096 0 0 |
17 | Erasing No.0 device No.0 flash (start_blk 0 blk_num 4096)...... |
18 | Finish! Return: 00 00 08 00 00 00 00 00 (position 4096) |
19 | Force erase, no bad block infomation! |
20 | usbboot :> nprog 0 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n |
21 | Programing No.0 device, flen 617312, start page 0... |
23 | Erasing No.0 device No.0 flash (start_blk 0 blk_num 2)...... |
24 | Finish! Return: 00 01 00 00 00 00 00 00 (position 2) |
25 | Force erase, no bad block infomation! |
26 | Size to send 617312, transfer_size 524288 |
27 | Image type : without oob |
28 | It will cause 2 times buffer transfer. |
29 | Writing NAND page 0 len 524288... |
31 | Finish! (len 524288 start_page 0 page_num 128) |
32 | Checking 524288 bytes... no check! End at Page: 128 |
33 | Writing NAND page 128 len 94208... |
35 | Finish! (len 94208 start_page 128 page_num 23) |
36 | Checking 94208 bytes... Comparing 94208 bytes - SUCCESS |
38 | usbboot :> nprog 1024 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-uImage.bin 0 0 -n |
39 | Programing No.0 device, flen 2087718, start page 1024... |
41 | Erasing No.0 device No.0 flash (start_blk 8 blk_num 4)...... |
42 | Finish! Return: 00 06 00 00 00 00 00 00 (position 12) |
43 | Force erase, no bad block infomation! |
44 | Size to send 2087718, transfer_size 524288 |
45 | Image type : without oob |
46 | It will cause 4 times buffer transfer. |
47 | Writing NAND page 1024 len 524288... |
49 | Finish! (len 524288 start_page 1024 page_num 128) |
50 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
52 | Writing NAND page 1152 len 524288... |
54 | Finish! (len 524288 start_page 1152 page_num 128) |
55 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
57 | Writing NAND page 1280 len 524288... |
59 | Finish! (len 524288 start_page 1280 page_num 128) |
60 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
62 | Writing NAND page 1408 len 516096... |
64 | Finish! (len 516096 start_page 1408 page_num 126) |
65 | Checking 516096 bytes... Comparing 516096 bytes - SUCCESS |
67 | usbboot :> nprog 2048 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-uImage.bin 0 0 -n |
68 | Programing No.0 device, flen 2087718, start page 2048... |
70 | Erasing No.0 device No.0 flash (start_blk 16 blk_num 4)...... |
71 | Finish! Return: 00 0a 00 00 00 00 00 00 (position 20) |
72 | Force erase, no bad block infomation! |
73 | Size to send 2087718, transfer_size 524288 |
74 | Image type : without oob |
75 | It will cause 4 times buffer transfer. |
76 | Writing NAND page 2048 len 524288... |
78 | Finish! (len 524288 start_page 2048 page_num 128) |
79 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
81 | Writing NAND page 2176 len 524288... |
83 | Finish! (len 524288 start_page 2176 page_num 128) |
84 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
86 | Writing NAND page 2304 len 524288... |
88 | Finish! (len 524288 start_page 2304 page_num 128) |
89 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
91 | Writing NAND page 2432 len 516096... |
93 | Finish! (len 516096 start_page 2432 page_num 126) |
94 | Checking 516096 bytes... Comparing 516096 bytes - SUCCESS |
あれ?手順に時間がかかるってあるのにすぐに終わったのはなぜ?
と確認してみると指定するファイルを間違えている・・・
1 | usbboot :> nprog 2048 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-root.ubi 0 0 -n |
3 | Usage: nprog (1) (2) (3) (4) (5) |
6 | (3) device index number |
8 | (5) image type must be: |
正しいファイルにして再実行してもエラー。
その後、どうにもうまくいかないので一度usbbootを終了して、再実行。
2 | usbboot - Ingenic XBurst USB Boot Utility |
3 | (c) 2009 Ingenic Semiconductor Inc., Qi Hardware Inc., Xiangfu Liu, Marek Lindner |
4 | This program is Free Software and comes with ABSOLUTELY NO WARRANTY. |
6 | Now checking whether all configure args valid: YES |
7 | Current device information: |
8 | CPU type is Ingenic XBurst Jz4740 |
9 | Crystal work at 12MHz, the CCLK up to 252MHz and PMH_CLK up to 84MHz |
10 | SDRAM Total size is 32 MB, work in 4 bank and 16 bit mode |
11 | Nand page per block 128, Nand page size 4096, ECC offset in OOB 12, bad block offset in OOB 0, bad block page 127, use 1 plane mode |
15 | usbboot :> nerase 0 4096 0 0 |
17 | Erasing No.0 device No.0 flash (start_blk 0 blk_num 4096)...... |
18 | Finish! Return: 00 00 08 00 00 00 00 00 (position 4096) |
19 | Force erase, no bad block infomation! |
20 | usbboot :> nprog 0 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n |
21 | Programing No.0 device, flen 617312, start page 0... |
23 | Erasing No.0 device No.0 flash (start_blk 0 blk_num 2)...... |
24 | Finish! Return: 00 01 00 00 00 00 00 00 (position 2) |
25 | Force erase, no bad block infomation! |
26 | Size to send 617312, transfer_size 524288 |
27 | Image type : without oob |
28 | It will cause 2 times buffer transfer. |
29 | Writing NAND page 0 len 524288... |
31 | Finish! (len 524288 start_page 0 page_num 128) |
32 | Checking 524288 bytes... no check! End at Page: 128 |
33 | Writing NAND page 128 len 94208... |
35 | Finish! (len 94208 start_page 128 page_num 23) |
36 | Checking 94208 bytes... Comparing 94208 bytes - SUCCESS |
38 | usbboot :> nprog 1024 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-uImage.bin 0 0 -n |
39 | Programing No.0 device, flen 2087718, start page 1024... |
41 | Erasing No.0 device No.0 flash (start_blk 8 blk_num 4)...... |
42 | Finish! Return: 00 06 00 00 00 00 00 00 (position 12) |
43 | Force erase, no bad block infomation! |
44 | Size to send 2087718, transfer_size 524288 |
45 | Image type : without oob |
46 | It will cause 4 times buffer transfer. |
47 | Writing NAND page 1024 len 524288... |
49 | Finish! (len 524288 start_page 1024 page_num 128) |
50 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
52 | Writing NAND page 1152 len 524288... |
54 | Finish! (len 524288 start_page 1152 page_num 128) |
55 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
57 | Writing NAND page 1280 len 524288... |
59 | Finish! (len 524288 start_page 1280 page_num 128) |
60 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
62 | Writing NAND page 1408 len 516096... |
64 | Finish! (len 516096 start_page 1408 page_num 126) |
65 | Checking 516096 bytes... Comparing 516096 bytes - SUCCESS |
67 | usbboot :> nprog 2048 /root/.qi/nanonote/ben/latest/openwrt-xburst-qi_lb60-root.ubi 0 0 -n |
69 | Usage: nprog (1) (2) (3) (4) (5) |
72 | (3) device index number |
73 | (4) flash index number |
74 | (5) image type must be: |
何が間違ってるんだ???
ためしに、いまいるディレクトリに「openwrt-xburst-qi_lb60-root.ubi」をおいて再実行したら、ちゃんと動き始めた・・・
1 | usbboot :> nprog 2048 openwrt-xburst-qi_lb60-root.ubi 0 0 -n |
2 | Programing No.0 device, flen 423624704, start page 2048... |
4 | Erasing No.0 device No.0 flash (start_blk 16 blk_num 808)...... |
5 | Finish! Return: 00 9c 01 00 00 00 00 00 (position 824) |
6 | Force erase, no bad block infomation! |
7 | Size to send 423624704, transfer_size 524288 |
8 | Image type : without oob |
9 | It will cause 808 times buffer transfer. |
10 | Writing NAND page 2048 len 524288... |
12 | Finish! (len 524288 start_page 2048 page_num 128) |
13 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
15 | Writing NAND page 2176 len 524288... |
17 | Finish! (len 524288 start_page 2176 page_num 128) |
18 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
20 | Writing NAND page 2304 len 524288... |
22 | Writing NAND page 105216 len 524288... |
24 | Finish! (len 524288 start_page 105216 page_num 128) |
25 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
27 | Writing NAND page 105344 len 524288... |
29 | Finish! (len 524288 start_page 105344 page_num 128) |
30 | Checking 524288 bytes... Comparing 524288 bytes - SUCCESS |
33 | exiting usbboot software |
で、USBケーブルをはずして、電源長押しして、再投入。
起動時のロゴが変わった!
ブートが早くなった!
・・・gmenu2xのキー操作がよくわからない^^;;;;;
「L」キーで一番上のメニューが右に動く、というのはわかるんですが、それ以外の動作が・・・
とりあえずは、アップデートできた、ということでよしとするかな。