android x86 を試してみる
火種
http://bird.dip.jp/mt/archives/2009/03/04/2242.html
をみて古いPCでもandroidが動くことを知る。
手元の Libretto L2 で試してようと思った。
環境構築
http://itpro.nikkeibp.co.jp/article/COLUMN/20090219/325052/?ST=oss&P=2
に従って構築。
記事があがってから1ヶ月ほど経過してるので本家で変更があったと思える。
エラーメッセージに従って mv してみる。
$ mv vendor/asus/eee_701/Android.mk vendor/asus/eee_701/AndroidBoard.mk
無事進行。
途中不穏なメッセージがあるが、これは後日調べよう。
なんでARM用なのか?
無事終了。で次にkernel。自動生成されないようです。
http://itpro.nikkeibp.co.jp/article/COLUMN/20090219/325052/?ST=oss&P=3
そのままだと、Libretto L2 (CPU : Crusoe) はキビしい予感がしたので追加調整。
Processor type and features --> Processor family (X) Crusoe Processor type and features --> <*> Toshiba Laptop support
さて make ..... しかしエラー
CC drivers/misc/pmem.o drivers/misc/pmem.c:441: error: conflicting types for ‘phys_mem_access_prot’ include/asm/pgtable.h:300: error: previous declaration of ‘phys_mem_access_prot’ was here drivers/misc/pmem.c: In function ‘flush_pmem_file’: drivers/misc/pmem.c:804: error: implicit declaration of function ‘dmac_flush_range’ drivers/misc/pmem.c: In function ‘pmem_setup’: drivers/misc/pmem.c:1264: error: implicit declaration of function ‘ioremap_cached’ drivers/misc/pmem.c:1265: 警告: assignment makes pointer from integer without a cast make[2]: *** [drivers/misc/pmem.o] エラー 1 make[1]: *** [drivers/misc] エラー 2 make: *** [drivers] エラー 2
あかん、今日はここまで。