因為想build bootloader, 又有一堆tool要裝了~:
sudo apt-get install git-core flex bison gperf libesd0-dev libwxgtk2.6-dev zlib1g-dev build-essential libstdc++5 tofrodos
sudo apt-get install x-dev
sudo apt-get install libx11-dev
sudo apt-get install libncurses5-dev
sudo apt-get install libreadline-dev
sudo apt-get install g++-multilib (build kernel用)
PandaBoard toolchain:
Download "arm-20XXxxxxxx-arm-none-linux-gnueabi.bin" (Sourcery G++ Lite)
因為用Ubuntu 64bit, 安裝檔再那邊哭說沒有32bit library!!! (O皿O )
Error:
~/PandaBoard/toolchain$ ./arm-2011.03-41-arm-none-linux-gnueabi.bin
Checking for required programs: awk grep sed bzip2 gunzip
===============================================================
Error: Missing 32-bit libraries on 64-bit Linux host
===============================================================
Your 64-bit Linux host is missing the 32-bit libraries
required to install and use Sourcery G++.
Please follow this Knowledge Base entry to install the
required 32-bit libraries:
https://support.codesourcery.com/GNUToolchain/kbentry62
Once you have installed the 32-bit libraries, please restart
the installer.
===============================================================
Solution:
apt-get install ia32-libs ia32-libs-gtk
No dash!!!
Error:
~/PandaBoard/toolchain$./arm-2011.03-41-arm-none-linux-gnueabi.bin
Checking for required programs: awk grep sed bzip2 gunzip
===============================================================
Error: DASH shell not supported as system shell
===============================================================
The installer has detected that your system uses the dash shell
as /bin/sh. This shell is not supported by the installer.
You can work around this problem by changing /bin/sh to be a
symbolic link to a supported shell such as bash.
For example, on Ubuntu systems, execute this shell command:
% sudo dpkg-reconfigure -plow dash
Install as /bin/sh? No
Please refer to the Getting Started guide for more information,
or contact CodeSourcery Support for assistance.
===============================================================
Solution:
sudo dpkg-reconfigure dash
Selection 'NO'
Finally the installation wizard exist...Orz
Reference:
https://sourcery.mentor.com/GNUToolchain/kbentry62
沒有留言:
張貼留言