ADS

2011年10月24日 星期一

2011.10.24, [PandaBoard] First error

好的~從以前的經驗看來,自己搞總是會遇到一堆奇奇怪怪的麻煩~
目前選擇的是Linaro,玩玩看有什麼威力好了~


然後就遇到第一個error了~
Error:
~/PandaBoard/Linaro$ sudo ./linaro-image-tools/linaro-android-media-create --mmc /dev/sde1 --dev panda --systtem system.tar.bz2 --boot boot.tar.bz2 --userdata userdata.tar.bz2
Traceback (most recent call last):
  File "./linaro-image-tools/linaro-android-media-create", line 28, in
    from linaro_image_tools.media_create.android_boards import android_board_configs
  File "/home/henry/PandaBoard/Linaro/linaro-image-tools/linaro_image_tools/media_create/__init__.py", line 25, in
    from linaro_image_tools.media_create.boards import board_configs
  File "/home/henry/PandaBoard/Linaro/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 42, in
    from linaro_image_tools.media_create.partitions import (
  File "/home/henry/PandaBoard/Linaro/linaro-image-tools/linaro_image_tools/media_create/partitions.py", line 29, in
    from parted import (
ImportError: No module named parted

Solution:
sudo apt-get install dosfstools uboot-mkimage python-argparse python-dbus python-debian python-parted qemu-kvm btrfs-tools command-not-found

Reference:
http://d.hatena.ne.jp/yamanetoshi/20110510/1305020084

沒有留言: