Hardware/Galileo
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
]
開始行:
[[Hardware]] ~
#contents
* Hardware/Galileo [#d0c3465d]
Quark X1000 を搭載するArduino互換の開発ボード Intel Galil...
~
ホスト PC の OS は Windows 、ビルド環境作成時のホスト OS ...
また後述の Arudino IDE は Intel_Galileo_Arduino_SW_1.5.3_...
使用する前提で記載しています。~
#ref(galileo01.jpg,,60%) ~
** ハードウェアスペック [#m20593bf]
Galileoの主なハードウェアスペックは以下のとおりです。~
- CPU: Intel Quark X1000 (400MHz、16KB L1 cache、512KB SR...
- Memory: 256MB(DDR3) 、11KB(EEPROM)~
- Storage: 8MB Flash、SD card : 32GB以下まで認識 ~
- Ethernet: 10/100 Ethernet Connector ~
- USB: Micro USB2.0 Host Port x1、Micro USB2.0 Client Por...
- PCIe: mini-PCIe 2.0 slot x1 ~
** 起動時、停止時の注意点 [#v3dec301]
[[ Intel Galileo Getting Started:https://communities.inte...
起動、停止を行った場合、USB ケーブルからの給電によって Ga...
そのため、起動時には必ず AC 電源を挿した後に、USBケーブル...
また停止時は USB ケーブルを外した後に AC 電源を外して下さ...
** IDE 導入とファームウェアの更新 [#k83bb691]
前述の通り本項は Windows の導入手順を記載しています。~
Galileoの動作に必要な統合開発環境 (Arudino IDE) を以下のU...
~
https://communities.intel.com/docs/DOC-22226 ~
https://communities.intel.com/community/makers/documentat...
*** Windows での注意点 [#ib632e38]
Intel_Galileo_Arduino_SW_1.5.3_on_Windows_v0.7.5.zip を解...
PATH は C の直下で展開しないと PATH の文字数の問題で正し...
また Galileo のドライバーは以下のフォルダに配置されていま...
C:\arduino-1.5.3\hardware\arduino\x86\tools
~
- ドライバーインストール ~
Intel_Galileo_Arduino_SW_1.5.3_on_Windows_v0.7.5.zip を解...
以下の手順でドライバーをインストールします。~
+ Galileo に AC 電源を挿します。 ~
+ USB ケーブルを USB Client Port に接続します。 ~
+ ドライバインストールが開始され、COM & LPT に Gadget Ser...
追加された後、以下のフォルダを選択しドライバーのインスト...
C:\arduino-1.5.3\hardware\arduino\x86\tools
+ インストール完了後、COM & LPT に Galileo が追加されてい...
確認できれば完了です。 ~
~
~
- ファームウェア更新 ~
続いてファームウェアの更新を以下の手順で行います。 ~
+ Arudino IDE (C:\arduino-1.5.3\arduino.exe) を起動します...
+ Galileo に接続している USB ケーブル、AC 電源を全て外し...
Galileo 単体起動を行います。~
+ USB ケーブルを USB Client Port に挿し、COM & LPT に Gal...
追加されることを確認します(デバイスの認識に数分かかること...
+ Arudino IDE の ツール -> マイコンボード -> Intel Galile...
+ Arudino IDE の ツール -> シリアルポート -> Intel Galile...
割り当てられている COM Portを選択します。 ~
+ Arudino IDE の ヘルプ -> Firmware Upgrade を選択し Yes...
+ 数分経過後、Firmware Upgradeが成功した旨のメッセージが...
* ビルド環境構築とイメージ作成 [#ia17adf0]
上記 Galileo のイメージは tiny イメージです。 ~
より多くの機能を Galileo 上で動作させるイメージを作成する...
Ubuntu 12.04(64bit版) 上に Galileo のビルド環境を構築する...
記載します。Ubuntu 12.04(64bit版) のインストールは完了し...
記載しています。~
~
またベースのビルドシステムは yocto(dylan) です。~
~
注:本稿で記載するビルド環境構築で作成するイメージは (e)g...
ビルドイメージです。 ~
上記 Arudino IDE から Sketch などの実行はできません。~
これは Arudino IDE (および Galileo デフォルトイメージ)が ...
使用しているためです。~
~
以下のビルド環境構築に必要なパッケージをインストールしま...
$ sudo apt-get install build-essential p7zip-full
$ sudo apt-get install diffstat texinfo gawk chrpath
$ sudo apt-get install git
以下のパッケージは任意でインストールしてください。~
$ sudo apt-get install ssh vim
以下の URL の [[Board Support Package Sources for Intel Q...
ダウンロードし展開します。 ~
~
https://communities.intel.com/docs/DOC-22226
$ cd ~/
$ 7z x Board_Support_Package_Sources_for_Intel_Quark_v0....
展開後のディレクトリ内にある meta-clanton_v0.7.5.tar.gz ...
$ tar xvfz Board_Support_Package_Sources_for_Intel_Quark...
展開後meta-clanton_v0.7.5内にあるsetup.shを編集します。 ~
これは使用環境によって適宜変更してください。 ~
$ cd meta-clanton_v0.7.5/
$ diff -upN __setup.sh_orig setup.sh
--- __setup.sh_orig 2014-02-14 18:47:18.826907551 +0...
+++ setup.sh 2014-02-14 18:48:04.526905437 +0900
@@ -27,9 +27,9 @@ set -e
do_local_conf () {
cat > $yocto_conf_dir/local.conf <<EOF
-BB_NUMBER_THREADS = "12"
+BB_NUMBER_THREADS = "2"
-PARALLEL_MAKE = "-j 14"
+PARALLEL_MAKE = "-j 2"
MACHINE = "clanton"
DISTRO ?= "clanton-tiny"
setup.shを実行し yocto(dylan) のリポジトリを取得します。 ~
$ ./setup.sh
環境変数設定を実行します。 ~
$ source poky/oe-init-build-env yocto_build
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support
環境変数設定後、~/meta-clanton_v0.7.5/yocto_build ディレ...
移動していることを確認します。~
配布されているSDイメージより豊富な機能をもった Linux イメ...
~
注:clanton-full は (e)glibc でのビルドになるため、作成さ...
Arudino IDE から Sketch 等の実行はできなくなります。~
$ cd ${HOME}/meta-clanton_v0.7.5/yocto_build/conf
$ diff -upN __local.conf_orig local.conf
--- __local.conf_orig 2014-02-14 18:51:46.970898688 +0...
+++ local.conf 2014-02-14 18:52:01.874896386 +0900
@@ -4,7 +4,7 @@ BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"
MACHINE = "clanton"
-DISTRO ?= "clanton-tiny"
+DISTRO ?= "clanton-full"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
環境変数設定実行後、v4l-utils_0.8.8.bbappend、clanton.pat...
image-full.bbファイルをそれぞれ以下のように編集します。~
- v4l-utils_0.8.8.bbappendのコメントアウト ~
v4l-utilsは本稿では使用しないこととビルドエラーを避けるた...
コメントアウトをします。
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-distro/rec...
$ diff -upN __v4l-utils_0.8.8.bbappend_orig v4l-utils_0...
--- __v4l-utils_0.8.8.bbappend_orig 2014-02-14 19:04...
+++ v4l-utils_0.8.8.bbappend 2014-02-14 19:04:12.4108...
@@ -1,3 +1,3 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI += "file://uclibc-enable.patch"
-DEPENDS += "libiconv"
+# FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+# SRC_URI += "file://uclibc-enable.patch"
+# DEPENDS += "libiconv"
- clanton.patchの編集 ~
I2C デバイスの初期化を行うために clanton.patch を以下のよ...
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-bsp/recipe...
$ diff -upN __clanton.patch_orig clanton.patch
--- __clanton.patch_orig 2014-02-14 19:05:33.5308...
+++ clanton.patch 2014-02-14 19:06:45.070872924 +0...
@@ -10719,7 +10719,7 @@ index 0000000..f2fa6a5
+ clanton_0,
+};
+
-+static unsigned int i2c_std_mode;
++static unsigned int i2c_std_mode = 1;
+module_param(i2c_std_mode, uint, S_IRUSR);
+MODULE_PARM_DESC(i2c_std_mode, "Force I2C standard mod...
+
- image-full.bbの編集 ~
本稿のビルドターゲット image-full を以下のように編集しま...
ここではビルドパッケージの追加、rootfs のサイズ変更を行っ...
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-distro/rec...
$ diff -upN __image-full.bb_orig image-full.bb
--- __image-full.bb_orig 2014-02-17 17:48:01.6711...
+++ image-full.bb 2014-02-17 17:50:29.239185253 +0...
@@ -1,6 +1,6 @@
DESCRIPTION = "A fully functional image to be placed on...
-IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMAN...
+IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMAN...
IMAGE_LINGUAS = " "
@@ -15,11 +15,11 @@ IMAGE_ROOTFS_SIZE = "2048"
#IMAGE_FSTYPES_remove = "cpio.lzma"
NOISO = "1"
NOHDD = "1"
-IMAGE_ROOTFS_SIZE = "307200"
+IMAGE_ROOTFS_SIZE = "3072000"
EXTRA_IMAGECMD_append_ext2 = " -N 2000"
-IMAGE_FEATURES += "package-management"
+IMAGE_FEATURES += "package-management tools-sdk dev-pkg...
#ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_f...
IMAGE_INSTALL += "kernel-modules"
上記の編集完了後以下のコマンドを実行しイメージを作成しま...
$ bitbake image-full
ビルド完了後のイメージは以下のディレクトリに配置されます...
$ cd ${HOME}/meta-clanton_v0.7.5/yocto_build/tmp/deploy/...
$ ls -lh
合計 1.6G
-rw-rw-r-- 2 beat beat 294 2月 19 12:07 README_-_DO_NO...
drwxr-xr-x 3 beat beat 4.0K 2月 19 09:57 boot
-rw-r--r-- 2 beat beat 364K 2月 19 09:19 bootia32.efi
lrwxrwxrwx 2 beat beat 42 2月 19 06:53 bzImage -> bzI...
-rw-r--r-- 2 beat beat 2.1M 2月 19 06:53 bzImage--3.8-r...
lrwxrwxrwx 2 beat beat 42 2月 19 06:53 bzImage-clanto...
-rw-r--r-- 1 beat beat 2.5M 2月 19 09:56 core-image-min...
lrwxrwxrwx 1 beat beat 66 2月 19 09:56 core-image-min...
-rw-r--r-- 2 beat beat 272K 2月 19 09:48 grub.efi
-rw-r--r-- 1 beat beat 3.0G 2月 19 12:34 image-full-cla...
lrwxrwxrwx 1 beat beat 45 2月 19 12:34 image-full-cla...
-rw-rw-r-- 2 beat beat 1.3M 2月 19 06:53 modules--3.8-r...
* ビルドイメージの起動ログ [#ub0eb2ea]
上記でビルドしたイメージのboot/ 、bzImage、image-full-cla...
microSD にコピーし、Galileo に挿し起動します。 ~
その際の起動ログを少々長いですが以下に添付します。 ~
Press [Enter] to directly boot.
Press [F7] to show boot menu options.
GNU GRUB version 0.97 (604K lower / 245628K upper ...
+------------------------------------------------------...
| Clanton SVP kernel-SPI initrd-SPI IMR-On IO-APIC/HPET...
| Clanton SVP kernel-SPI rootfs-SD IMR-On IO-APIC/HPET ...
| Clanton SVP kernel-MassStorage initrd-MassStorage big...
| Clanton SVP kernel-MassStorage initrd-MassStorage big...
| ...
| ...
| ...
| ...
| ...
| ...
| ...
| ...
+------------------------------------------------------...
Use the ^ and v keys to select which entry is high...
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel ...
before booting, or 'c' for a command-line.
The highlighted entry will be booted automatically in...
Found layout.conf @ 0xffcff000 len 0x00000d18
#Generated by Buildbot - Sysimage 782
#EXAMPLE LAYOUT.CONF FILE FOR FPGA/RELEASE
# WARNING: this file is indirectly included in a Makefil...
# defines Make targets and pre-requisites. As a conseque...
# run "make clean" BEFORE making changes to it. Failure ...
# result in the make process being unable to clean files...
# has references to.
[main]
size=8388608
type=global
[MFH]
version=0x1
flags=0x0
address=0xfff08000
type=mfh
[Flash Image Version]
type=mfh.version
meta=version
value=782
[ROM_OVERLAY]
address=0xfffe0000
#item_file=/p/clanton/swbuilds/BootRom/Ver_1_00_09/Clant...
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
type=some_type
# in_capsule=no
[signed-key-module]
address=0xfffd8000
item_file=config/SvpSignedKeyModule.bin
svn_index=0
type=some_type
[svn-area]
address=0xfffd0000
item_file=config/SVNArea.bin
type=some_type
[fixed_recovery_image]
address=0xfff90000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
type=mfh.host_fw_stage1_signed
svn_index=2
# in_capsule=no
[NV_Storage]
address=0xfff30000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
type=some_type
[RMU]
address=0xfff00000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
type=none_registered
[boot_stage1_image1]
address=0xffec0000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
boot_index=0
type=mfh.host_fw_stage1_signed
svn_index=1
[boot_stage1_image2]
address=0xffe80000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
boot_index=1
type=mfh.host_fw_stage1_signed
svn_index=1
[boot_stage_2_compact]
address=0xffd00000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
type=mfh.host_fw_stage2_signed
svn_index=3
#address=0x002E1000
[Ramdisk]
address=0xffa60000
item_file=/p/clanton/swbuilds/meta-clanton_spi/meta-cln_...
sign=yes
type=mfh.ramdisk_signed
svn_index=7
[LAYOUT.CONF_DUMP]
address=0xffcff000
type=mfh.build_information
meta=layout
[Kernel]
address=0xff852000
item_file=/p/clanton/swbuilds/meta-clanton_spi/meta-cln_...
sign=yes
type=mfh.kernel_signed
svn_index=6
[grub.conf]
address=0xff851000
item_file=grub/grub-ce.conf
sign=yes
type=mfh.bootloader_conf_signed
svn_index=5
[grub]
address=0xff800000
item_file=/p/clanton/swbuilds/meta-clanton_spi/meta-cln_...
sign=yes
fvwrap=yes
guid=B43BD3E1-64D1-4744-9394-D0E1C4DE8C87
type=mfh.bootloader_signed
svn_index=4
# strings -n 16 '/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00...
# Clanton RomCode Version
# Clanton Microcode Version a0_1_00_23
[Linux-EFI, setup=0x10b3, size=0x200380]
[Initrd, addr=0xd8d3000, size=0x26b08b]
[ 3.200697] console [ttyS1] enabled, bootconsole disa...
[ 3.213617] Real Time Clock Driver v1.12b
[ 3.231094] brd: module loaded
[ 3.249813] loop: module loaded
[ 3.255393] lpc_sch_probe BIOS_CNTL 0x00000101
[ 3.259911] lpc_sch_probe new BIOS_CNTL 0x00000101
[ 3.264897] lpc_sch_probe RCBA @ 0xfed1c000
[ 3.293080] cpuidle: using governor ladder
[ 3.297250] cpuidle: using governor menu
[ 3.302901] sdhci: Secure Digital Host Controller Int...
[ 3.309135] sdhci: Copyright(c) Pierre Ossman
[ 3.314227] sdhci-pci 0000:00:14.0: SDHCI controller ...
[ 3.370253] mmc0: SDHCI controller on PCI [0000:00:14...
[ 3.383780] sdhci-pltfm: SDHCI platform and OF driver...
[ 3.406154] THRM: critical reset 104 c hot 95 c hardw...
[ 3.434793] TCP: cubic registered
[ 3.438180] NET: Registered protocol family 17
[ 3.444936] ... APIC ID: 00000000 (0)
[ 3.449070] ... APIC VERSION: 00030010
[ 3.452718] 00000000000000000000000000000000000000000...
[ 3.452718] 00000000000000000000000000020000000000000...
[ 3.452718] 00000000000000000000000000000000000000000...
[ 3.452718]
[ 3.476930] testing the IO APIC.......................
[ 3.484609] .................................... done.
[ 3.489789] Using IPI Shortcut mode
[ 3.507019] Magic number: 1:0:0
[ 3.525716] Freeing unused kernel memory: 272k freed
[ 3.533924] Write protecting the kernel text: 3100k
[ 3.540220] Write protecting the kernel read-only dat...
[ 3.546019] NX-protecting the kernel data: 3044k
[ 3.574021] mmc0: new high speed SDHC card at address...
[ 3.603822] mmcblk0: mmc0:1234 SA32G 29.3 GiB
[ 3.630938] tsc: Refined TSC clocksource calibration:...
[ 3.637278] Switching to clocksource tsc
[ 3.648565] mmcblk0: p1
[ 3.775417] udevd[542]: starting version 182
Waiting for removable media...
5[ 12.594535] kjournald starting. Commit interval 5...
[ 12.601849] EXT3-fs (loop0): using internal journal
[ 12.615389] EXT3-fs (loop0): recovery complete
[ 12.619896] EXT3-fs (loop0): mounted filesystem with ...
INIT: version 2.88 booting
mount: devtmpfs is already mounted or /dev busy
Starting udev
[ 14.681315] udevd[970]: starting version 182
[ 16.579058] ce4100_spi 0000:00:15.0: enabling device ...
[ 16.686950] ACPI: bus type usb registered
[ 16.811743] ce4100_spi 0000:00:15.1: enabling device ...
[ 16.820500] stmmaceth 0000:00:14.6: enabling device (...
[ 16.827803] stmmac MSI mode enabled
[ 16.831300] Vendor 0x8086 Device 0x0937
[ 16.841937] usbcore: registered new interface driver ...
[ 16.848511] usbcore: registered new interface driver ...
[ 17.031157] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 17.036399] DMA HW capability register supported
[ 17.041105] Enhanced/Alternate descriptors
[ 17.045533] RX Checksum Offload Engine supported (ty...
[ 17.051175] TX Checksum insertion supported
[ 17.055497] Enable RX Mitigation via HW Watchdog Timer
[ 17.101469] usbcore: registered new device driver usb
[ 17.310902] libphy: stmmac: probed
[ 17.314370] eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-...
[ 17.472774] ehci_hcd: USB 2.0 'Enhanced' Host Control...
[ 17.487991] ohci_hcd: USB 1.1 'Open' Host Controller ...
[ 17.497226] intel_cln_gpio_probe UIO addr 0x90006000 ...
[ 17.592641] ehci-pci: EHCI PCI platform driver
[ 17.672783] ohci_hcd 0000:00:14.4: OHCI Host Controller
[ 17.780616] ohci_hcd 0000:00:14.4: new USB bus regist...
[ 17.788362] ohci_hcd 0000:00:14.4: irq 16, io mem 0x9...
[ 18.018894] hub 1-0:1.0: USB hub found
[ 18.106211] hub 1-0:1.0: 2 ports detected
[ 18.257888] ehci-pci 0000:00:14.3: EHCI Host Controller
[ 18.330422] ehci-pci 0000:00:14.3: new USB bus regist...
[ 18.339787] ehci-pci 0000:00:14.3: INSNREG01 is 0x007...
[ 18.345491] ehci-pci 0000:00:14.3: INSNREG01 is 0x007...
[ 18.573486] ehci-pci 0000:00:14.3: irq 19, io mem 0x9...
[ 18.700321] ehci-pci 0000:00:14.3: USB 2.0 started, E...
[ 18.753645] hub 2-0:1.0: USB hub found
[ 18.757669] hub 2-0:1.0: 2 ports detected
[ 20.368094] spi_master spi0: will run message pump wi...
[ 20.470424] spi_master spi1: will run message pump wi...
[ 20.847212] cy8c9540a 0-0020: dev_id=0x40
[ 21.116185] at24 0-0050: byte_len looks suspicious (n...
[ 21.152363] at24 0-0050: 11264 byte at24 EEPROM, writ...
[ 21.660587] g_serial: Vendor 0x8086 Product 0xbabe
[ 21.665532] g_serial gadget: Gadget Serial v2.4
[ 21.676030] g_serial gadget: g_serial ready
[ 22.035328] Initializing USB Mass Storage driver...
[ 22.047351] usbcore: registered new interface driver ...
[ 22.053541] USB Mass Storage support registered.
[ 22.376498] i2c /dev entries driver
[ 22.921808] cfg80211: Calling CRDA to update world re...
[ 22.990656] Intel(R) Wireless WiFi driver for Linux, ...
[ 22.996458] Copyright(c) 2003-2012 Intel Corporation
[ 23.289217] Bluetooth: Core ver 2.16
[ 23.293411] NET: Registered protocol family 31
[ 23.297911] Bluetooth: HCI device and connection mana...
[ 23.309256] Bluetooth: HCI socket layer initialized
[ 23.314424] Bluetooth: L2CAP socket layer initialized
[ 23.319799] Bluetooth: SCO socket layer initialized
[ 23.350299] usbcore: registered new interface driver ...
[ 23.455333] usbcore: registered new interface driver ...
[ 23.461088] usbhid: USB HID core driver
Starting Bootlog daemon: bootlogd.
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1696: No soundcards found...
Configuring network interfaces... [ 27.549963] eth0: d...
udhcpc (v1.20.2) started
Sending discover...
[ 29.550507] libphy: stmmac-1:01 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.153...
Lease of 192.168.0.153 obtained, lease time 43200
/etc/udhcpc.d/50default: Adding DNS 192.168.0.254
done.
Starting rpcbind daemon...[ 31.592064] NET: Registered...
done.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
Wed Feb 19 03:26:00 UTC 2014
Starting atd: OK
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Connection Manager
Starting OpenBSD Secure Shell server: sshd
done.
Starting domain name service: named[ 34.345698] eth0: ...
[ 34.421251] IPv6: ADDRCONF(NETDEV_UP): eth0: link is ...
.
Starting Distributed Compiler Daemon: distcc.
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to acce...
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' ...
done
starting mountd: done
starting statd: done
Starting system log daemon...0
Starting kernel log daemon...[ 36.370815] libphy: stmm...
[ 36.376194] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link...
0
Starting internet superserver: xinetd.
Starting Telephony daemon
Starting Lighttpd Web Server: lighttpd.
cups: started scheduler.
Starting crond: OK
Starting OProfileUI server
Starting tcf-agent: OK
Stopping Bootlog daemon: bootlogd.
Starting /sketch/sketch.elf /dev/pts/0 /dev/ttyS0
Sketch ...
unable to exevp - may not exist/sketch/sketch.el...
Poky 9.0.2 (Yocto Project 1.4 Reference Distro) 1.4.2 cl...
clanton login:
** ビルド済みイメージの Kernel バージョンと gcc バージョ...
上記起動したイメージのKernel バージョンと gcc バージョン...
*** Kernel バージョン [#hadf0756]
root@clanton:~# uname -a
Linux clanton 3.8.7-yocto-standard #1 Tue Feb 18 21:38:2...
*** gcc バージョン [#j76ccceb]
root@clanton:~# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/gcc/i586-poky-linux/4.7...
Target: i586-poky-linux
Configured with: /home/beat/meta-clanton_v0.7.5/yocto_bu...
Thread model: posix
gcc version 4.7.2 (GCC)
** cat /proc/cpuinfo の実行結果 [#v6788829]
cat /proc/cpuinfo を実行した結果を以下に添付します。 ~
root@clanton:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 9
model name : 05/09
stepping : 0
cpu MHz : 399.076
cache size : 0 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 7
wp : yes
flags : fpu vme pse tsc msr pae cx8 apic pge p...
bogomips : 798.15
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:
* 参照URL [#c1e517e0]
- Intel Galileo Development Board Documents ~
https://communities.intel.com/community/makers/documentat...
~
- Intel Galileo - Building Linux Image ~
http://www.malinov.com/Home/sergey-s-blog/intelgalileo-bu...
* 更新履歴 [#l3ddc8ab]
2014/03/11 初稿公開
RIGHT:syariten
終了行:
[[Hardware]] ~
#contents
* Hardware/Galileo [#d0c3465d]
Quark X1000 を搭載するArduino互換の開発ボード Intel Galil...
~
ホスト PC の OS は Windows 、ビルド環境作成時のホスト OS ...
また後述の Arudino IDE は Intel_Galileo_Arduino_SW_1.5.3_...
使用する前提で記載しています。~
#ref(galileo01.jpg,,60%) ~
** ハードウェアスペック [#m20593bf]
Galileoの主なハードウェアスペックは以下のとおりです。~
- CPU: Intel Quark X1000 (400MHz、16KB L1 cache、512KB SR...
- Memory: 256MB(DDR3) 、11KB(EEPROM)~
- Storage: 8MB Flash、SD card : 32GB以下まで認識 ~
- Ethernet: 10/100 Ethernet Connector ~
- USB: Micro USB2.0 Host Port x1、Micro USB2.0 Client Por...
- PCIe: mini-PCIe 2.0 slot x1 ~
** 起動時、停止時の注意点 [#v3dec301]
[[ Intel Galileo Getting Started:https://communities.inte...
起動、停止を行った場合、USB ケーブルからの給電によって Ga...
そのため、起動時には必ず AC 電源を挿した後に、USBケーブル...
また停止時は USB ケーブルを外した後に AC 電源を外して下さ...
** IDE 導入とファームウェアの更新 [#k83bb691]
前述の通り本項は Windows の導入手順を記載しています。~
Galileoの動作に必要な統合開発環境 (Arudino IDE) を以下のU...
~
https://communities.intel.com/docs/DOC-22226 ~
https://communities.intel.com/community/makers/documentat...
*** Windows での注意点 [#ib632e38]
Intel_Galileo_Arduino_SW_1.5.3_on_Windows_v0.7.5.zip を解...
PATH は C の直下で展開しないと PATH の文字数の問題で正し...
また Galileo のドライバーは以下のフォルダに配置されていま...
C:\arduino-1.5.3\hardware\arduino\x86\tools
~
- ドライバーインストール ~
Intel_Galileo_Arduino_SW_1.5.3_on_Windows_v0.7.5.zip を解...
以下の手順でドライバーをインストールします。~
+ Galileo に AC 電源を挿します。 ~
+ USB ケーブルを USB Client Port に接続します。 ~
+ ドライバインストールが開始され、COM & LPT に Gadget Ser...
追加された後、以下のフォルダを選択しドライバーのインスト...
C:\arduino-1.5.3\hardware\arduino\x86\tools
+ インストール完了後、COM & LPT に Galileo が追加されてい...
確認できれば完了です。 ~
~
~
- ファームウェア更新 ~
続いてファームウェアの更新を以下の手順で行います。 ~
+ Arudino IDE (C:\arduino-1.5.3\arduino.exe) を起動します...
+ Galileo に接続している USB ケーブル、AC 電源を全て外し...
Galileo 単体起動を行います。~
+ USB ケーブルを USB Client Port に挿し、COM & LPT に Gal...
追加されることを確認します(デバイスの認識に数分かかること...
+ Arudino IDE の ツール -> マイコンボード -> Intel Galile...
+ Arudino IDE の ツール -> シリアルポート -> Intel Galile...
割り当てられている COM Portを選択します。 ~
+ Arudino IDE の ヘルプ -> Firmware Upgrade を選択し Yes...
+ 数分経過後、Firmware Upgradeが成功した旨のメッセージが...
* ビルド環境構築とイメージ作成 [#ia17adf0]
上記 Galileo のイメージは tiny イメージです。 ~
より多くの機能を Galileo 上で動作させるイメージを作成する...
Ubuntu 12.04(64bit版) 上に Galileo のビルド環境を構築する...
記載します。Ubuntu 12.04(64bit版) のインストールは完了し...
記載しています。~
~
またベースのビルドシステムは yocto(dylan) です。~
~
注:本稿で記載するビルド環境構築で作成するイメージは (e)g...
ビルドイメージです。 ~
上記 Arudino IDE から Sketch などの実行はできません。~
これは Arudino IDE (および Galileo デフォルトイメージ)が ...
使用しているためです。~
~
以下のビルド環境構築に必要なパッケージをインストールしま...
$ sudo apt-get install build-essential p7zip-full
$ sudo apt-get install diffstat texinfo gawk chrpath
$ sudo apt-get install git
以下のパッケージは任意でインストールしてください。~
$ sudo apt-get install ssh vim
以下の URL の [[Board Support Package Sources for Intel Q...
ダウンロードし展開します。 ~
~
https://communities.intel.com/docs/DOC-22226
$ cd ~/
$ 7z x Board_Support_Package_Sources_for_Intel_Quark_v0....
展開後のディレクトリ内にある meta-clanton_v0.7.5.tar.gz ...
$ tar xvfz Board_Support_Package_Sources_for_Intel_Quark...
展開後meta-clanton_v0.7.5内にあるsetup.shを編集します。 ~
これは使用環境によって適宜変更してください。 ~
$ cd meta-clanton_v0.7.5/
$ diff -upN __setup.sh_orig setup.sh
--- __setup.sh_orig 2014-02-14 18:47:18.826907551 +0...
+++ setup.sh 2014-02-14 18:48:04.526905437 +0900
@@ -27,9 +27,9 @@ set -e
do_local_conf () {
cat > $yocto_conf_dir/local.conf <<EOF
-BB_NUMBER_THREADS = "12"
+BB_NUMBER_THREADS = "2"
-PARALLEL_MAKE = "-j 14"
+PARALLEL_MAKE = "-j 2"
MACHINE = "clanton"
DISTRO ?= "clanton-tiny"
setup.shを実行し yocto(dylan) のリポジトリを取得します。 ~
$ ./setup.sh
環境変数設定を実行します。 ~
$ source poky/oe-init-build-env yocto_build
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support
環境変数設定後、~/meta-clanton_v0.7.5/yocto_build ディレ...
移動していることを確認します。~
配布されているSDイメージより豊富な機能をもった Linux イメ...
~
注:clanton-full は (e)glibc でのビルドになるため、作成さ...
Arudino IDE から Sketch 等の実行はできなくなります。~
$ cd ${HOME}/meta-clanton_v0.7.5/yocto_build/conf
$ diff -upN __local.conf_orig local.conf
--- __local.conf_orig 2014-02-14 18:51:46.970898688 +0...
+++ local.conf 2014-02-14 18:52:01.874896386 +0900
@@ -4,7 +4,7 @@ BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"
MACHINE = "clanton"
-DISTRO ?= "clanton-tiny"
+DISTRO ?= "clanton-full"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
環境変数設定実行後、v4l-utils_0.8.8.bbappend、clanton.pat...
image-full.bbファイルをそれぞれ以下のように編集します。~
- v4l-utils_0.8.8.bbappendのコメントアウト ~
v4l-utilsは本稿では使用しないこととビルドエラーを避けるた...
コメントアウトをします。
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-distro/rec...
$ diff -upN __v4l-utils_0.8.8.bbappend_orig v4l-utils_0...
--- __v4l-utils_0.8.8.bbappend_orig 2014-02-14 19:04...
+++ v4l-utils_0.8.8.bbappend 2014-02-14 19:04:12.4108...
@@ -1,3 +1,3 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI += "file://uclibc-enable.patch"
-DEPENDS += "libiconv"
+# FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+# SRC_URI += "file://uclibc-enable.patch"
+# DEPENDS += "libiconv"
- clanton.patchの編集 ~
I2C デバイスの初期化を行うために clanton.patch を以下のよ...
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-bsp/recipe...
$ diff -upN __clanton.patch_orig clanton.patch
--- __clanton.patch_orig 2014-02-14 19:05:33.5308...
+++ clanton.patch 2014-02-14 19:06:45.070872924 +0...
@@ -10719,7 +10719,7 @@ index 0000000..f2fa6a5
+ clanton_0,
+};
+
-+static unsigned int i2c_std_mode;
++static unsigned int i2c_std_mode = 1;
+module_param(i2c_std_mode, uint, S_IRUSR);
+MODULE_PARM_DESC(i2c_std_mode, "Force I2C standard mod...
+
- image-full.bbの編集 ~
本稿のビルドターゲット image-full を以下のように編集しま...
ここではビルドパッケージの追加、rootfs のサイズ変更を行っ...
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-distro/rec...
$ diff -upN __image-full.bb_orig image-full.bb
--- __image-full.bb_orig 2014-02-17 17:48:01.6711...
+++ image-full.bb 2014-02-17 17:50:29.239185253 +0...
@@ -1,6 +1,6 @@
DESCRIPTION = "A fully functional image to be placed on...
-IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMAN...
+IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMAN...
IMAGE_LINGUAS = " "
@@ -15,11 +15,11 @@ IMAGE_ROOTFS_SIZE = "2048"
#IMAGE_FSTYPES_remove = "cpio.lzma"
NOISO = "1"
NOHDD = "1"
-IMAGE_ROOTFS_SIZE = "307200"
+IMAGE_ROOTFS_SIZE = "3072000"
EXTRA_IMAGECMD_append_ext2 = " -N 2000"
-IMAGE_FEATURES += "package-management"
+IMAGE_FEATURES += "package-management tools-sdk dev-pkg...
#ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_f...
IMAGE_INSTALL += "kernel-modules"
上記の編集完了後以下のコマンドを実行しイメージを作成しま...
$ bitbake image-full
ビルド完了後のイメージは以下のディレクトリに配置されます...
$ cd ${HOME}/meta-clanton_v0.7.5/yocto_build/tmp/deploy/...
$ ls -lh
合計 1.6G
-rw-rw-r-- 2 beat beat 294 2月 19 12:07 README_-_DO_NO...
drwxr-xr-x 3 beat beat 4.0K 2月 19 09:57 boot
-rw-r--r-- 2 beat beat 364K 2月 19 09:19 bootia32.efi
lrwxrwxrwx 2 beat beat 42 2月 19 06:53 bzImage -> bzI...
-rw-r--r-- 2 beat beat 2.1M 2月 19 06:53 bzImage--3.8-r...
lrwxrwxrwx 2 beat beat 42 2月 19 06:53 bzImage-clanto...
-rw-r--r-- 1 beat beat 2.5M 2月 19 09:56 core-image-min...
lrwxrwxrwx 1 beat beat 66 2月 19 09:56 core-image-min...
-rw-r--r-- 2 beat beat 272K 2月 19 09:48 grub.efi
-rw-r--r-- 1 beat beat 3.0G 2月 19 12:34 image-full-cla...
lrwxrwxrwx 1 beat beat 45 2月 19 12:34 image-full-cla...
-rw-rw-r-- 2 beat beat 1.3M 2月 19 06:53 modules--3.8-r...
* ビルドイメージの起動ログ [#ub0eb2ea]
上記でビルドしたイメージのboot/ 、bzImage、image-full-cla...
microSD にコピーし、Galileo に挿し起動します。 ~
その際の起動ログを少々長いですが以下に添付します。 ~
Press [Enter] to directly boot.
Press [F7] to show boot menu options.
GNU GRUB version 0.97 (604K lower / 245628K upper ...
+------------------------------------------------------...
| Clanton SVP kernel-SPI initrd-SPI IMR-On IO-APIC/HPET...
| Clanton SVP kernel-SPI rootfs-SD IMR-On IO-APIC/HPET ...
| Clanton SVP kernel-MassStorage initrd-MassStorage big...
| Clanton SVP kernel-MassStorage initrd-MassStorage big...
| ...
| ...
| ...
| ...
| ...
| ...
| ...
| ...
+------------------------------------------------------...
Use the ^ and v keys to select which entry is high...
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel ...
before booting, or 'c' for a command-line.
The highlighted entry will be booted automatically in...
Found layout.conf @ 0xffcff000 len 0x00000d18
#Generated by Buildbot - Sysimage 782
#EXAMPLE LAYOUT.CONF FILE FOR FPGA/RELEASE
# WARNING: this file is indirectly included in a Makefil...
# defines Make targets and pre-requisites. As a conseque...
# run "make clean" BEFORE making changes to it. Failure ...
# result in the make process being unable to clean files...
# has references to.
[main]
size=8388608
type=global
[MFH]
version=0x1
flags=0x0
address=0xfff08000
type=mfh
[Flash Image Version]
type=mfh.version
meta=version
value=782
[ROM_OVERLAY]
address=0xfffe0000
#item_file=/p/clanton/swbuilds/BootRom/Ver_1_00_09/Clant...
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
type=some_type
# in_capsule=no
[signed-key-module]
address=0xfffd8000
item_file=config/SvpSignedKeyModule.bin
svn_index=0
type=some_type
[svn-area]
address=0xfffd0000
item_file=config/SVNArea.bin
type=some_type
[fixed_recovery_image]
address=0xfff90000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
type=mfh.host_fw_stage1_signed
svn_index=2
# in_capsule=no
[NV_Storage]
address=0xfff30000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
type=some_type
[RMU]
address=0xfff00000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
type=none_registered
[boot_stage1_image1]
address=0xffec0000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
boot_index=0
type=mfh.host_fw_stage1_signed
svn_index=1
[boot_stage1_image2]
address=0xffe80000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
boot_index=1
type=mfh.host_fw_stage1_signed
svn_index=1
[boot_stage_2_compact]
address=0xffd00000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/Cla...
sign=yes
type=mfh.host_fw_stage2_signed
svn_index=3
#address=0x002E1000
[Ramdisk]
address=0xffa60000
item_file=/p/clanton/swbuilds/meta-clanton_spi/meta-cln_...
sign=yes
type=mfh.ramdisk_signed
svn_index=7
[LAYOUT.CONF_DUMP]
address=0xffcff000
type=mfh.build_information
meta=layout
[Kernel]
address=0xff852000
item_file=/p/clanton/swbuilds/meta-clanton_spi/meta-cln_...
sign=yes
type=mfh.kernel_signed
svn_index=6
[grub.conf]
address=0xff851000
item_file=grub/grub-ce.conf
sign=yes
type=mfh.bootloader_conf_signed
svn_index=5
[grub]
address=0xff800000
item_file=/p/clanton/swbuilds/meta-clanton_spi/meta-cln_...
sign=yes
fvwrap=yes
guid=B43BD3E1-64D1-4744-9394-D0E1C4DE8C87
type=mfh.bootloader_signed
svn_index=4
# strings -n 16 '/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00...
# Clanton RomCode Version
# Clanton Microcode Version a0_1_00_23
[Linux-EFI, setup=0x10b3, size=0x200380]
[Initrd, addr=0xd8d3000, size=0x26b08b]
[ 3.200697] console [ttyS1] enabled, bootconsole disa...
[ 3.213617] Real Time Clock Driver v1.12b
[ 3.231094] brd: module loaded
[ 3.249813] loop: module loaded
[ 3.255393] lpc_sch_probe BIOS_CNTL 0x00000101
[ 3.259911] lpc_sch_probe new BIOS_CNTL 0x00000101
[ 3.264897] lpc_sch_probe RCBA @ 0xfed1c000
[ 3.293080] cpuidle: using governor ladder
[ 3.297250] cpuidle: using governor menu
[ 3.302901] sdhci: Secure Digital Host Controller Int...
[ 3.309135] sdhci: Copyright(c) Pierre Ossman
[ 3.314227] sdhci-pci 0000:00:14.0: SDHCI controller ...
[ 3.370253] mmc0: SDHCI controller on PCI [0000:00:14...
[ 3.383780] sdhci-pltfm: SDHCI platform and OF driver...
[ 3.406154] THRM: critical reset 104 c hot 95 c hardw...
[ 3.434793] TCP: cubic registered
[ 3.438180] NET: Registered protocol family 17
[ 3.444936] ... APIC ID: 00000000 (0)
[ 3.449070] ... APIC VERSION: 00030010
[ 3.452718] 00000000000000000000000000000000000000000...
[ 3.452718] 00000000000000000000000000020000000000000...
[ 3.452718] 00000000000000000000000000000000000000000...
[ 3.452718]
[ 3.476930] testing the IO APIC.......................
[ 3.484609] .................................... done.
[ 3.489789] Using IPI Shortcut mode
[ 3.507019] Magic number: 1:0:0
[ 3.525716] Freeing unused kernel memory: 272k freed
[ 3.533924] Write protecting the kernel text: 3100k
[ 3.540220] Write protecting the kernel read-only dat...
[ 3.546019] NX-protecting the kernel data: 3044k
[ 3.574021] mmc0: new high speed SDHC card at address...
[ 3.603822] mmcblk0: mmc0:1234 SA32G 29.3 GiB
[ 3.630938] tsc: Refined TSC clocksource calibration:...
[ 3.637278] Switching to clocksource tsc
[ 3.648565] mmcblk0: p1
[ 3.775417] udevd[542]: starting version 182
Waiting for removable media...
5[ 12.594535] kjournald starting. Commit interval 5...
[ 12.601849] EXT3-fs (loop0): using internal journal
[ 12.615389] EXT3-fs (loop0): recovery complete
[ 12.619896] EXT3-fs (loop0): mounted filesystem with ...
INIT: version 2.88 booting
mount: devtmpfs is already mounted or /dev busy
Starting udev
[ 14.681315] udevd[970]: starting version 182
[ 16.579058] ce4100_spi 0000:00:15.0: enabling device ...
[ 16.686950] ACPI: bus type usb registered
[ 16.811743] ce4100_spi 0000:00:15.1: enabling device ...
[ 16.820500] stmmaceth 0000:00:14.6: enabling device (...
[ 16.827803] stmmac MSI mode enabled
[ 16.831300] Vendor 0x8086 Device 0x0937
[ 16.841937] usbcore: registered new interface driver ...
[ 16.848511] usbcore: registered new interface driver ...
[ 17.031157] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 17.036399] DMA HW capability register supported
[ 17.041105] Enhanced/Alternate descriptors
[ 17.045533] RX Checksum Offload Engine supported (ty...
[ 17.051175] TX Checksum insertion supported
[ 17.055497] Enable RX Mitigation via HW Watchdog Timer
[ 17.101469] usbcore: registered new device driver usb
[ 17.310902] libphy: stmmac: probed
[ 17.314370] eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-...
[ 17.472774] ehci_hcd: USB 2.0 'Enhanced' Host Control...
[ 17.487991] ohci_hcd: USB 1.1 'Open' Host Controller ...
[ 17.497226] intel_cln_gpio_probe UIO addr 0x90006000 ...
[ 17.592641] ehci-pci: EHCI PCI platform driver
[ 17.672783] ohci_hcd 0000:00:14.4: OHCI Host Controller
[ 17.780616] ohci_hcd 0000:00:14.4: new USB bus regist...
[ 17.788362] ohci_hcd 0000:00:14.4: irq 16, io mem 0x9...
[ 18.018894] hub 1-0:1.0: USB hub found
[ 18.106211] hub 1-0:1.0: 2 ports detected
[ 18.257888] ehci-pci 0000:00:14.3: EHCI Host Controller
[ 18.330422] ehci-pci 0000:00:14.3: new USB bus regist...
[ 18.339787] ehci-pci 0000:00:14.3: INSNREG01 is 0x007...
[ 18.345491] ehci-pci 0000:00:14.3: INSNREG01 is 0x007...
[ 18.573486] ehci-pci 0000:00:14.3: irq 19, io mem 0x9...
[ 18.700321] ehci-pci 0000:00:14.3: USB 2.0 started, E...
[ 18.753645] hub 2-0:1.0: USB hub found
[ 18.757669] hub 2-0:1.0: 2 ports detected
[ 20.368094] spi_master spi0: will run message pump wi...
[ 20.470424] spi_master spi1: will run message pump wi...
[ 20.847212] cy8c9540a 0-0020: dev_id=0x40
[ 21.116185] at24 0-0050: byte_len looks suspicious (n...
[ 21.152363] at24 0-0050: 11264 byte at24 EEPROM, writ...
[ 21.660587] g_serial: Vendor 0x8086 Product 0xbabe
[ 21.665532] g_serial gadget: Gadget Serial v2.4
[ 21.676030] g_serial gadget: g_serial ready
[ 22.035328] Initializing USB Mass Storage driver...
[ 22.047351] usbcore: registered new interface driver ...
[ 22.053541] USB Mass Storage support registered.
[ 22.376498] i2c /dev entries driver
[ 22.921808] cfg80211: Calling CRDA to update world re...
[ 22.990656] Intel(R) Wireless WiFi driver for Linux, ...
[ 22.996458] Copyright(c) 2003-2012 Intel Corporation
[ 23.289217] Bluetooth: Core ver 2.16
[ 23.293411] NET: Registered protocol family 31
[ 23.297911] Bluetooth: HCI device and connection mana...
[ 23.309256] Bluetooth: HCI socket layer initialized
[ 23.314424] Bluetooth: L2CAP socket layer initialized
[ 23.319799] Bluetooth: SCO socket layer initialized
[ 23.350299] usbcore: registered new interface driver ...
[ 23.455333] usbcore: registered new interface driver ...
[ 23.461088] usbhid: USB HID core driver
Starting Bootlog daemon: bootlogd.
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1696: No soundcards found...
Configuring network interfaces... [ 27.549963] eth0: d...
udhcpc (v1.20.2) started
Sending discover...
[ 29.550507] libphy: stmmac-1:01 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.153...
Lease of 192.168.0.153 obtained, lease time 43200
/etc/udhcpc.d/50default: Adding DNS 192.168.0.254
done.
Starting rpcbind daemon...[ 31.592064] NET: Registered...
done.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
Wed Feb 19 03:26:00 UTC 2014
Starting atd: OK
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Connection Manager
Starting OpenBSD Secure Shell server: sshd
done.
Starting domain name service: named[ 34.345698] eth0: ...
[ 34.421251] IPv6: ADDRCONF(NETDEV_UP): eth0: link is ...
.
Starting Distributed Compiler Daemon: distcc.
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to acce...
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' ...
done
starting mountd: done
starting statd: done
Starting system log daemon...0
Starting kernel log daemon...[ 36.370815] libphy: stmm...
[ 36.376194] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link...
0
Starting internet superserver: xinetd.
Starting Telephony daemon
Starting Lighttpd Web Server: lighttpd.
cups: started scheduler.
Starting crond: OK
Starting OProfileUI server
Starting tcf-agent: OK
Stopping Bootlog daemon: bootlogd.
Starting /sketch/sketch.elf /dev/pts/0 /dev/ttyS0
Sketch ...
unable to exevp - may not exist/sketch/sketch.el...
Poky 9.0.2 (Yocto Project 1.4 Reference Distro) 1.4.2 cl...
clanton login:
** ビルド済みイメージの Kernel バージョンと gcc バージョ...
上記起動したイメージのKernel バージョンと gcc バージョン...
*** Kernel バージョン [#hadf0756]
root@clanton:~# uname -a
Linux clanton 3.8.7-yocto-standard #1 Tue Feb 18 21:38:2...
*** gcc バージョン [#j76ccceb]
root@clanton:~# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/gcc/i586-poky-linux/4.7...
Target: i586-poky-linux
Configured with: /home/beat/meta-clanton_v0.7.5/yocto_bu...
Thread model: posix
gcc version 4.7.2 (GCC)
** cat /proc/cpuinfo の実行結果 [#v6788829]
cat /proc/cpuinfo を実行した結果を以下に添付します。 ~
root@clanton:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 9
model name : 05/09
stepping : 0
cpu MHz : 399.076
cache size : 0 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 7
wp : yes
flags : fpu vme pse tsc msr pae cx8 apic pge p...
bogomips : 798.15
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:
* 参照URL [#c1e517e0]
- Intel Galileo Development Board Documents ~
https://communities.intel.com/community/makers/documentat...
~
- Intel Galileo - Building Linux Image ~
http://www.malinov.com/Home/sergey-s-blog/intelgalileo-bu...
* 更新履歴 [#l3ddc8ab]
2014/03/11 初稿公開
RIGHT:syariten
ページ名:
BC::labsへの質問は、bc9-dev @ googlegroups.com までお願い致します。