Hardware

Hardware/intel Galileo

Quark X1000 を搭載するArduino互換の開発ボード Intel Galileo (以降 Galileo と記載) について記載をします。

ホスト PC の OS は Windows 、ビルド環境作成時のホスト OS は Ubuntu 12.04(64bit版) を前提に記載しています。

また後述の Arudino IDE は Intel_Galileo_Arduino_SW_1.5.3_on_Windows_v0.7.5 を
使用する前提で記載しています。

galileo01.jpg

ハードウェアスペック

Galileoの主なハードウェアスペックは以下のとおりです。

起動時、停止時の注意点

Intel Galileo Getting Started にあるようにUSB ケーブルからの給電によって Galileo が故障する可能性があるため
起動時は USB ケーブルを挿す前に AC 電源を挿す必要があります。
また停止時は USB ケーブルを外した後に AC 電源を外す必要があります。

IDE 導入とファームウェアの更新

前述の通り本項は Windows の導入手順を記載しています。
Galileoの動作に必要な統合開発環境 (Arudino IDE) を以下のURLからダウロードします。

https://communities.intel.com/docs/DOC-22226

https://communities.intel.com/community/makers/documentation/galileodocuments

Windows での注意点

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


  1. Galileo に AC 電源を挿します。
  2. USB ケーブルを USB Client Port に接続します。
  3. ドライバインストールが開始され、COM & LPT に Gadget Serial v2.4が
    追加された後、以下のフォルダを選択しドライバーのインストールが完了します。
    C:\arduino-1.5.3\hardware\arduino\x86\tools
  4. インストール完了後、COM & LPT に Galileo が追加されていることを
    確認できれば完了です。


  1. Arudino IDE (C:\arduino-1.5.3\arduino.exe) を起動します。
  2. Galileo に接続している USB ケーブル、AC 電源を全て外し停止させた後
    Galileo 単体起動を行います。
  3. USB ケーブルを USB Client Port に挿し、COM & LPT に Galileo が
    追加されることを確認します(デバイスの認識に数分かかることがあります)。
  4. Arudino IDE の ツール -> マイコンボード -> Intel Galileo を選択します。
  5. Arudino IDE の ツール -> シリアルポート -> Intel Galileo に
    割り当てられている COM Portを選択します。
  6. Arudino IDE の ヘルプ -> Firmware Upgrade を選択し Yesを押下します。
  7. 数分経過後、Firmware Upgradeが成功した旨のメッセージが表示されれば完了です。

ビルド環境構築とイメージ作成

上記 Galileo のイメージは tiny イメージです。
より多くの機能を Galileo 上で動作させるイメージを作成するために、
Ubuntu 12.04(64bit版) 上に Galileo のビルド環境を構築する手順について
記載します。Ubuntu 12.04(64bit版) のインストールは完了している前提で
記載しています。

またベースのビルドシステムは yocto(dylan) です。

注:本稿で記載するビルド環境構築で作成するイメージは (e)glibc の
ビルドイメージです。
上記 Arudino IDE から Sketch などの実行はできません。
これは Arudino IDE (および Galileo デフォルトイメージ)が uClibc を
使用しているためです。

以下のビルド環境構築に必要なパッケージをインストールします。

$ 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 Quark
ダウンロードし展開します。

https://communities.intel.com/docs/DOC-22226

$ cd ~/
$ 7z x Board_Support_Package_Sources_for_Intel_Quark_v0.7.5.7z

展開後のディレクトリ内にある meta-clanton_v0.7.5.tar.gz を展開します。

$ tar xvfz Board_Support_Package_Sources_for_Intel_Quark_v0.7.5/meta-clanton_v0.7.5.tar.gz

展開後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 +0900
+++ 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 に conf/local.conf 内の DISTRO を変更します。

注: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 +0900
+++ 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.patchと
image-full.bbファイルをそれぞれ以下のように編集します。

$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-distro/recipes-multimedia/v4l2apps
$ diff -upN __v4l-utils_0.8.8.bbappend_orig  v4l-utils_0.8.8.bbappend
--- __v4l-utils_0.8.8.bbappend_orig     2014-02-14 19:04:02.206880521 +0900
+++ v4l-utils_0.8.8.bbappend    2014-02-14 19:04:12.410872950 +0900
@@ -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"
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-bsp/recipes-kernel/linux/files
$ diff -upN __clanton.patch_orig clanton.patch
--- __clanton.patch_orig        2014-02-14 19:05:33.530876304 +0900
+++ clanton.patch       2014-02-14 19:06:45.070872924 +0900
@@ -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 mode");
 +
$ cd ${HOME}/meta-clanton_v0.7.5/meta-clanton-distro/recipes-core/images
$ diff -upN __image-full.bb_orig image-full.bb
--- __image-full.bb_orig        2014-02-17 17:48:01.671177557 +0900
+++ image-full.bb       2014-02-17 17:50:29.239185253 +0900
@@ -1,6 +1,6 @@
 DESCRIPTION = "A fully functional image to be placed on SD card"

-IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
+IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} packagegroup-core-basic packagegroup-core-lsb kernel-dev" 

 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-pkgs tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
 #ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "

 IMAGE_INSTALL += "kernel-modules"

上記の編集完了後以下のコマンドを実行しイメージを作成します。

$ bitbake image-full

ビルド完了後のイメージは以下のディレクトリに配置されます。

$ cd ${HOME}/meta-clanton_v0.7.5/yocto_build/tmp/deploy/images
$ ls -lh
合計 1.6G
-rw-rw-r-- 2 beat beat  294  2月 19 12:07 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
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 -> bzImage--3.8-r0-clanton-20140218062939.bin
-rw-r--r-- 2 beat beat 2.1M  2月 19 06:53 bzImage--3.8-r0-clanton-20140218062939.bin
lrwxrwxrwx 2 beat beat   42  2月 19 06:53 bzImage-clanton.bin -> bzImage--3.8-r0-clanton-20140218062939.bin
-rw-r--r-- 1 beat beat 2.5M  2月 19 09:56 core-image-minimal-initramfs-clanton-20140218062939.rootfs.cpio.gz
lrwxrwxrwx 1 beat beat   66  2月 19 09:56 core-image-minimal-initramfs-clanton.cpio.gz -> core-image-minimal-initramfs-clanton-20140218062939.rootfs.cpio.gz
-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-clanton-20140218062939.rootfs.ext3
lrwxrwxrwx 1 beat beat   45  2月 19 12:34 image-full-clanton.ext3 -> image-full-clanton-20140218062939.rootfs.ext3
-rw-rw-r-- 2 beat beat 1.3M  2月 19 06:53 modules--3.8-r0-clanton-20140218062939.tgz

ビルドイメージの起動ログ

上記でビルドしたイメージのboot/ 、bzImage、image-full-clanton.ext3を
microSD にコピーし、Galileo に挿し起動します。
その際の起動ログを少々長いですが以下に添付します。

     Press [Enter] to directly boot.
     Press [F7]    to show boot menu options.
 
    GNU GRUB  version 0.97  (604K lower / 245628K upper memory)

 +-------------------------------------------------------------------------+
 | Clanton SVP kernel-SPI initrd-SPI IMR-On IO-APIC/HPET NoEMU             |
 | Clanton SVP kernel-SPI rootfs-SD IMR-On IO-APIC/HPET NoEMU              |
 | Clanton SVP kernel-MassStorage initrd-MassStorage big-rootfs IMR-On I>  |
 | Clanton SVP kernel-MassStorage initrd-MassStorage big-rootfs IMR-On I>  |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 +-------------------------------------------------------------------------+
      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, 'e' to edit the
      commands before booting, 'a' to modify the kernel arguments
      before booting, or 'c' for a command-line.

   The highlighted entry will be booted automatically in 1 seconds.




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 Makefile where it
# defines Make targets and pre-requisites. As a consequence you MUST
# run "make clean" BEFORE making changes to it. Failure to do so may
# result in the make process being unable to clean files it no longer
# 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/Clanton.rom
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/EDKII_BOOTROM_OVERRIDE.Fv
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/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/EDKII_RECOVERY_IMAGE1.Fv
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/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/EDKII_NVRAM.bin
type=some_type

[RMU]
address=0xfff00000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/RMU.bin
type=none_registered

[boot_stage1_image1]
address=0xffec0000
item_file=/p/clanton/swbuilds/EDK2/edk2_gcc_CP_00388/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/EDKII_BOOT_STAGE1_IMAGE1.Fv
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/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/EDKII_BOOT_STAGE1_IMAGE2.Fv
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/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/EDKII_BOOT_STAGE2_COMPACT.Fv
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_spi_00157/image-spi-clanton.cpio.lzma
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_spi_00157/bzImage
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_spi_00157/grub.efi
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_00388/ClantonPeakCRBPlatform/RELEASE_GCC/FV/FlashModules/EDKII_BOOT_STAGE1_IMAGE1.Fv' | grep -i 'clanton.*version' | head | unix2dos
# 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 disabled
[    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 Interface driver
[    3.309135] sdhci: Copyright(c) Pierre Ossman
[    3.314227] sdhci-pci 0000:00:14.0: SDHCI controller found [8086:08a7] (rev 10)
[    3.370253] mmc0: SDHCI controller on PCI [0000:00:14.0] using ADMA
[    3.383780] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.406154] THRM: critical reset 104 c hot 95 c hardware failover 105 c
[    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] 0000000000000000000000000000000000000000000000000000000000000000
[    3.452718] 0000000000000000000000000002000000000000000000000000000000000000
[    3.452718] 0000000000000000000000000000000000000000000000000000000000008000
[    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 data: 1272k
[    3.546019] NX-protecting the kernel data: 3044k
[    3.574021] mmc0: new high speed SDHC card at address 1234
[    3.603822] mmcblk0: mmc0:1234 SA32G 29.3 GiB
[    3.630938] tsc: Refined TSC clocksource calibration: 399.076 MHz
[    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 seconds
[   12.601849] EXT3-fs (loop0): using internal journal
[   12.615389] EXT3-fs (loop0): recovery complete
[   12.619896] EXT3-fs (loop0): mounted filesystem with writeback data mode
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 (0000 -> 0002)
[   16.686950] ACPI: bus type usb registered
[   16.811743] ce4100_spi 0000:00:15.1: enabling device (0000 -> 0002)
[   16.820500] stmmaceth 0000:00:14.6: enabling device (0000 -> 0002)
[   16.827803] stmmac MSI mode enabled
[   16.831300] Vendor 0x8086 Device 0x0937
[   16.841937] usbcore: registered new interface driver usbfs
[   16.848511] usbcore: registered new interface driver hub
[   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 (type 2)
[   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-1:01) active
[   17.472774] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.487991] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.497226] intel_cln_gpio_probe UIO addr 0x90006000 internal_addr 0x00000000 size 3765559296 memtype 4096
[   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 registered, assigned bus number 1
[   17.788362] ohci_hcd 0000:00:14.4: irq 16, io mem 0x9000c000
[   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 registered, assigned bus number 2
[   18.339787] ehci-pci 0000:00:14.3: INSNREG01 is 0x007f007f
[   18.345491] ehci-pci 0000:00:14.3: INSNREG01 is 0x007f007f
[   18.573486] ehci-pci 0000:00:14.3: irq 19, io mem 0x9000d000
[   18.700321] ehci-pci 0000:00:14.3: USB 2.0 started, EHCI 1.00
[   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 with realtime priority
[   20.470424] spi_master spi1: will run message pump with realtime priority
[   20.847212] cy8c9540a 0-0020: dev_id=0x40
[   21.116185] at24 0-0050: byte_len looks suspicious (no power of 2)!
[   21.152363] at24 0-0050: 11264 byte at24 EEPROM, writable, 1 bytes/write
[   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 usb-storage
[   22.053541] USB Mass Storage support registered.
[   22.376498] i2c /dev entries driver
[   22.921808] cfg80211: Calling CRDA to update world regulatory domain
[   22.990656] Intel(R) Wireless WiFi driver for Linux, in-tree:
[   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 manager initialized
[   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 btusb
[   23.455333] usbcore: registered new interface driver usbhid
[   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: device MAC address 98:4f:ee:00:42:f6
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 protocol family 10
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: device MAC address 98:4f:ee:00:42:f6
[   34.421251] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
.
Starting Distributed Compiler Daemon: distcc.
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
done
starting mountd: done
starting statd: done
Starting system log daemon...0
Starting kernel log daemon...[   36.370815] libphy: stmmac-1:01 - Link is Up - 100/Full
[   36.376194] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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 child process started, pid=01492
        unable to exevp - may not exist/sketch/sketch.elf /dev/pts/0

Poky 9.0.2 (Yocto Project 1.4 Reference Distro) 1.4.2 clanton ttyS1

clanton login:

ビルド済みイメージの Kernel バージョンと gcc バージョン

上記起動したイメージのKernel バージョンと gcc バージョンは以下の通りです。

Kernel バージョン

root@clanton:~# uname -a
Linux clanton 3.8.7-yocto-standard #1 Tue Feb 18 21:38:25 JST 2014 i586 GNU/Linux

gcc バージョン

root@clanton:~# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/gcc/i586-poky-linux/4.7.2/lto-wrapper
Target: i586-poky-linux
Configured with: /home/beat/meta-clanton_v0.7.5/yocto_build/tmp/work-shared/gcc-4.7.2-r20/gcc-4.7.2/configure --build=x86_64-linux --host=i586-poky-linux --target=i586-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/gcc --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/beat/meta-clanton_v0.7.5/yocto_build/tmp/sysroots/clanton --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=i586-poky-linux- --without-local-prefix --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --with-sysroot=/ --with-build-sysroot=/home/beat/meta-clanton_v0.7.5/yocto_build/tmp/sysroots/clanton --with-native-system-header-dir=/home/beat/meta-clanton_v0.7.5/yocto_build/tmp/sysroots/clanton/usr/include --with-gxx-include-dir=/usr/include/c++/ --enable-targets=all --enable-nls --enable-__cxa_atexit
Thread model: posix
gcc version 4.7.2 (GCC)

cat /proc/cpuinfo の実行結果

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 pbe nx smep
bogomips        : 798.15
clflush size    : 32
cache_alignment : 32
address sizes   : 32 bits physical, 32 bits virtual
power management:

参照URL

更新履歴

2014/03/11 初稿公開

syariten

BC::labsへの質問は、bc9-dev @ googlegroups.com までお願い致します。
トップ   新規 一覧 単語検索 最終更新   最終更新のRSS