Ralink 5350開発環境構築
3169 ワード
一、仮想マシンのインストール(Oracle VM VirtualBoxまたはVMware Workstation)
二、仮想マシンにlinuxオペレーティングシステムをインストールする(現在はUbuntu 1204デスクトップ版を使用している)
三、linux関連サービスの構成 ftpサービス のインストール、構成、起動 sshサービス のインストール、構成、起動インストールツール、依存ファイル svnを使用してopenwrtソースコード をダウンロードする他のソース上のソフトウェア の更新とインストールはmake menuconfigを使用して構成されています.以下は最も基本的な構成で、開発ボード上でopenwrtシステムを走らせ、開発環境の構築が成功したかどうかをテストするために使用されます. が発生します.コンパイル開始
二、仮想マシンにlinuxオペレーティングシステムをインストールする(現在はUbuntu 1204デスクトップ版を使用している)
三、linux関連サービスの構成
apt-get install vsftpd
vsftpd /etc/vsftpd.conf, "#"
#local_enable=YES
#write_enable=YES
, ftp :
/etc/init.d/vsftpd restart
apt-get install openssh-server
/etc/ssh/sshd_config
apt-get install subversion git-core gcc g++ binutils patch bzip2 flex bison make autoconf gettext texinfo unzip sharutils ncurses-term zlib1g-dev libncurses5-dev gawk
mkdir openwrt
cd openwrt/
svn co svn://svn.openwrt.org/openwrt/trunk ( ) svn co svn://svn.openwrt.org/openwrt/branches/backfire ( )
cd trunk
./scripts/feeds update -a
./scripts/feeds install -a
1. CPU
Target System -> Ralink RT288x/RT3xxx
2. CPU
Subtarget -> RT3x5x/RT5350 based boards
3.
Target profile -> HAME_MPR-A2
。
make menuconfigを使用すると、次のエラーChecking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'perl'... ok.
Checking '/usr/bin/python2.7'... ok.
Checking 'wget'... ok.
Checking 'git'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'libssl'... failed.
Checking 'openssl'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'file'... ok.
Checking 'non-root'... ok.
Build dependency: Please install the openssl library (with development headers)
Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-build] Error 1
apt-get install libssl-dev
make V=99
bin
$ ls bin/ramips/
md5sums
openwrt-ramips-rt305x-mpr-a2-initramfs-uImage.bin
openwrt-ramips-rt305x-mpr-a2-squashfs-sysupgrade.bin
openwrt-ramips-rt305x-root.squashfs
openwrt-ramips-rt305x-uImage.bin
openwrt-ramips-rt305x-uImage-initramfs.bin
openwrt-ramips-rt305x-vmlinux.bin
openwrt-ramips-rt305x-vmlinux.elf
openwrt-ramips-rt305x-vmlinux-initramfs.bin
openwrt-ramips-rt305x-vmlinux-initramfs.elf
packages
sha256sums
openwrt-ramips-rt305x-mpr-a2-squashfs-sysupgrade.bin . .