Raspberry Pi上ではカーネルはもちろん色々なもののコンパイルは超遅い!カーネルコンパイルだけで4〜6時間くらいかかります。そういう重い処理はパワーのあるマシンにやらせましょう。 今回はクロスコンパイル環境としてcrosstool-NGを使います。基本的に以下リンク先の通りやればOKです。 How to:Raspberry Pi(Raspbian”Wheezy”)用にクロスコンパイル環境を構築する 変更点としては3つ。 ・上記リンク先ではlinuxカーネルをbootcを使っていますがRaspbian公式リポジトリ「https://github.com/raspberrypi/linux.git」のを使います。 ・kernel configは現在使用中のconfigを取得して利用 ・crosstool-NGのインストール先が/opt/cross/となっていますが、私は/home/以下
(内容古いです。) Raspberry Piのクロスコンパイルの方法は、既にいくつものサイトで解説されてるんですが、汎用のクロスコンパイラを適切なオプションでコンパイルせなあかんとかでなんか面倒かったり、手順の途中が「そんなの常識だよね〜」的に端折られててなんか面倒かった訳です。 んで、この度公式?のクロスコンパイラを触ってみたら割とあっさりと動いちゃったんで、手順をまとめとこうと思った次第です。 Ubuntu Desktop 12.10 32bitのインストール クロスコンパイルを行うOSをインストールします。 Server版でも一向に構わないと思いますが、手元にあったので。 64bit版は不可。 必要そうなパッケージをインストール $ sudo apt-get install build-essential libncurses5-dev openssh-server avahi-da
環境 MacのMountain Lion上のVM WareにUbuntu minimal版を入れて Ubuntu上でクロスコンパイルする. なぜMinimal版かというとできるかぎりUbuntuの占有する領域を小さくしたから. minimal版はここから入手できる. ソースとツールの入手 gitをつかってとってくる. https://github.com/raspberrypi にRaspberry Pi関係のソースやらがそろっている. 必要なリポジトリはlinuxとtools. 作業用のディレクトリとして~/にraspiを作った. $ mkdir raspi $ cd ./raspi $ git clone https://github.com/raspberrypi/linux.git $ git clone https://github.com/raspberrypi/tools.g
Feature US department store Macy’s recently said it is implementing iPhone-based tracking tech the better to encourage browsing punters to buy. Of course, Macy has chosen to pitch this as an Apple technology - figuring, presumably, iPhone owners are more receptive to inducements delivered through technology and have more cash to splash than Android fans. But the fact is, the system Apple calls iBe
Want a standalone iBeacon to use for development? Here's a procedure you can use to build your own for under $100. If you don't want to go to the trouble, we can ship you a pre-built development kit including everything below (except the cell phone charger -- you probably have one already!) If you want to build one yourself, you'll need basic Linux command line skills. In the instructions, command
目次 ごあいさつ 必要なもの Raspberry Piとハードウェアの準備 各種ツールのインストール プロジェクトを作成する Raspberry Piで実行する JTAGを使ってデバッグする ごあいさつ こんにちは、yamanekkoです。この記事はmruby Advent Calendar 2013の23日目のエントリになります。 本記事では、Raspberry Pi で、あえてLinuxはもちろんRTOS等も使わずに(いわゆるbare metal環境で)mrubyでLチカをしてみます。JTAGとEclipseを使用することにより、GDBを視覚的に使ってデバッグしながら開発することができます。 私たちはふだんはMac OS Xを使用しています。なのでスライド等で公開している情報はMacに偏りがちなのですが、今回はRubyConf 2013で発表したネタをWindowsで試してみました。
2013/01/13からのアクセス回数 38264 Debian系のRasbianは豊富なLinuxパッケージを揃えています。今回はOpenCVの顔認識をWebカメラで捉えた 動画に対して使ってみました。 今回使用したWebカメラは、ELECOM Webカメラ 130万画素 マイク内蔵 イヤホンマイク付属 HD対応 ホワイト UCAM-DLN130TWHで、1000円程度で購入できます。 RaspberryPiの良いところは、WebカメラやUSB-Wifiと言った高機能の民生品が安価に使えることです。 OpenCVのインストール † OpenCVのインストールは至って簡単です。 Terminalから以下のコマンドを入力します。 $ sudo apt-get install libopencv-dev ↑ テスト用のプログラムの作成 † 今回は、詳解OpenCVの2章の例題2を拡張し、顔認識
Minecraft - Raspberry Pi 専用版 (2013/02/15) Minecraft の Raspberry Pi 専用版 が公開されました。 Minecraft は立方体のブロックでできた3次元の世界で、ブロックを設置したり削除したりして色々なものを作って生活するゲームです。Google で 「Minecraft」を画像検索すると多くの(とんでもない)スクリーンショットが公開されています。Minecraft の Raspberry Pi 専用版 は無料ですが、有料版と異なり、資源の制限がない、敵がいないなど、ゲーム性はあまりありません。一方、Python や Java でプログラムを作成して立方体でできた3次元世界をコントロールできるようになっています。 Raspberry Piを使ってプログラミングに興味を持ってもらおうといった意味があるようです。 Minecraft
Raspberry Piが届いたのでセットアップしてArduinoでサーボモーター動かしたり、CdSで明るさ読んでTweetしたり、webcamでJPEGに撮影したりした。 raspbianというほぼdebianなOSを入れたのでかんたんだった。 購入 RSコンポーネンツをキャンセルしてModMyPiでケース付きのを買った。10日ぐらいで届いた。 Makershedでも売ってる。 SDカードにRaspberry Piを書き込む akiroom情報でRaspbian “wheezy”を使うことに。 Amazonで買った16GBのSDHCカードに入れた。4GBあれば足りると思うけど安かったので16GB。 http://www.raspberrypi.org/downloadsからzipでダウンロードしてきて、 MacでUSBメモリにUbuntuのインストールディスク作ると同じ手順でSDカードに
Welcome to Raspbian Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware. An operating system is the set of basic programs and utilities that make your Raspberry Pi run. However, Raspbian provides more than a pure OS: it comes with over 35,000 packages, pre-compiled software bundled in a nice format for easy installation on your Raspberry Pi. The initial buil
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く