November 25, 2016

Intel Galileo - Gen 2 - First SD card Boot

Here is the full output (verbatim) from the first successful boot from the IoT SD card on my Galileo.

    GNU GRUB  version 0.97  (604K lower / 244604K upper memory)

 +-------------------------------------------------------------------------+
 | Quark X1000 kernel-SPI initrd-SPI IMR-On IO-APIC/HPET NoEMU             |  
 | Quark X1000 kernel-MassStorage iot-devkit on SD IMR-On IO-APIC/HPET N>  |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |  
 +-------------------------------------------------------------------------+
      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 0x00000c14

# 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=0x01000400

[ROM_OVERLAY]
address=0xfffe0000
item_file=../../Quark_EDKII/Build/QuarkPlatform/RELEASE_GCC/FV/FlashModules/EDKII_BOOTROM_OVERRIDE.Fv
type=some_type

[signed-key-module]
address=0xfffd8000
item_file=config/SvpSignedKeyModule.bin
svn_index=0
type=some_type
in_capsule=no

# On a deployed system, the SVN area holds the last known secure
# version of each signed asset.
# TODO: generate this area by collecting the SVN from the assets
# themselves.
[svn-area]
address=0xfffd0000
item_file=config/SVNArea.bin
type=some_type
# A capsule upgrade must implement some smart logic to make sure the
# highest Security Version Number always wins (rollback protection)
in_capsule=no

[fixed_recovery_image]
address=0xfff90000
item_file=../../Quark_EDKII/Build/QuarkPlatform/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=../../Quark_EDKII/Build/QuarkPlatform/RELEASE_GCC/FV/FlashModules/EDKII_NVRAM.bin
type=some_type

[RMU]
address=0xfff00000
item_file=../../Quark_EDKII/Build/QuarkPlatform/RELEASE_GCC/FV/FlashModules/RMU.bin
type=none_registered

[boot_stage1_image1]
address=0xffec0000
item_file=../../Quark_EDKII/Build/QuarkPlatform/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=../../Quark_EDKII/Build/QuarkPlatform/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=../../Quark_EDKII/Build/QuarkPlatform/RELEASE_GCC/FV/FlashModules/EDKII_BOOT_STAGE2_COMPACT.Fv
sign=yes
type=mfh.host_fw_stage2_signed
svn_index=3

[Ramdisk]
address=0xffa60000
item_file=../../meta-clanton/yocto_build/tmp/deploy/image-spi-galileo/image-spi-galileo-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=../../meta-clanton/yocto_build/tmp/deploy/image-spi-galileo/bzImage
sign=yes
type=mfh.kernel_signed
svn_index=6

[grub.conf]
address=0xff851000
item_file=grub/grub-spi.conf
sign=yes
type=mfh.bootloader_conf_signed
svn_index=5

[grub]
address=0xff800000
item_file=../../meta-clanton/yocto_build/tmp/deploy/image-spi-galileo/grub.efi
sign=yes
fvwrap=yes
guid=B43BD3E1-64D1-4744-9394-D0E1C4DE8C87
type=mfh.bootloader_signed
svn_index=4


[Linux-EFI, setup=0x109f, size=0x2373b0]
[    0.901501] console [ttyS1] enabled, bootconsole disabled
[    0.912431] brd: module loaded
[    0.918711] loop: module loaded
[    0.922461] lpc_sch_probe BIOS_CNTL 0x00000101
[    0.926951] lpc_sch_probe new BIOS_CNTL 0x00000101
[    0.931857] lpc_sch_probe RCBA @ 0xfed1c000
[    0.938940] tun: Universal TUN/TAP device driver, 1.6
[    0.944114] tun: (C) 1999-2004 Max Krasnyansky 
[    0.951189] rtc_cmos 00:01: RTC can wake from S4
[    0.956744] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    0.963084] rtc0: alarms up to one day, 242 bytes nvram, hpet irqs
[    0.969515] cpuidle: using governor ladder
[    0.973733] cpuidle: using governor menu
[    0.977914] sdhci: Secure Digital Host Controller Interface driver
[    0.984225] sdhci: Copyright(c) Pierre Ossman
[    0.988742] sdhci-pci 0000:00:14.0: SDHCI controller found [8086:08a7] (rev 10)
[    1.040153] mmc0: SDHCI controller on PCI [0000:00:14.0] using ADMA
[    1.047014] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.067264] eSRAM: CTRL 0x047f3f91 block 0x00000000
[    1.072269] eSRAM: pages 128
[    1.096317] intel_qrk_esram_test_probe/May 12 2016/08:16:55 complete OK !!
[    1.104439] THRM: critical reset 104 c hot 95 c hardware failover 105 c
[    1.111425] oprofile: using timer interrupt.
[    1.117221] TCP: cubic registered
[    1.120760] NET: Registered protocol family 17
[    1.126259] ... APIC ID:      00000000 (0)
[    1.130381] ... APIC VERSION: 00030010
[    1.130610] 0000000000000000000000000000000000000000000000000000000000000000
[    1.130610] 0000000000000000000000000002000000000000000000000000000000000000
[    1.130610] 0000000000000000000000000002000000000000000000000000000000008000
[    1.130610] 
[    1.157779] testing the IO APIC.......................
[    1.164410] .................................... done.
[    1.169578] Using IPI Shortcut mode
[    1.178115]   Magic number: 1:0:0
[    1.181975] rtc_cmos 00:01: setting system clock to 2001-01-01 00:00:20 UTC (978307220)
[    1.192611] Waiting for root device /dev/mmcblk0p2...
[    1.208097] mmc0: new high speed SDHC card at address aaaa
[    1.214827] mmcblk0: mmc0:aaaa SL08G 7.40 GiB 
[    1.222877]  mmcblk0: p1 p2
[    1.306656] kjournald starting.  Commit interval 5 seconds
[    1.315356] EXT3-fs (mmcblk0p2): using internal journal
[    1.320705] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[    1.327861] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    1.336264] devtmpfs: mounted
[    1.339652] Freeing unused kernel memory: 384k freed
[    1.347507] Write protecting the kernel text: 3416k
[    1.352925] Write protecting the kernel read-only data: 1524k
[    1.358712] NX-protecting the kernel data: 2728k
[    1.596728] systemd[1]: systemd 216 running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN )
[    1.617026] systemd[1]: Detected architecture 'x86'.

Welcome to iot-devkit (Intel IoT Development Kit) 3.5 (tarsier)!

[    1.728438] NET: Registered protocol family 10
[    1.735879] systemd[1]: Inserted module 'ipv6'
[    1.744471] systemd[1]: Set hostname to .
[    1.749969] systemd[1]: Initializing machine ID from random generator.
[    1.770185] tsc: Refined TSC clocksource calibration: 399.076 MHz
[    1.776340] Switching to clocksource tsc
[    2.347269] systemd[1]: [/lib/systemd/system/wyliodrin-server.service:3] Failed to add dependency on redis, ignoring: Invalid argument
[    2.371168] systemd[1]: [/lib/systemd/system/wyliodrin-hypervisor.service:3] Failed to add dependency on redis, ignoring: Invalid argument
[    2.386956] systemd[1]: [/lib/systemd/system/redis.service:7] Unknown lvalue 'ExecPre' in section 'Service'
[    2.474769] systemd[1]: Expecting device dev-ttyS1.device...
         Expecting device dev-ttyS1.device...
[    2.500600] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    2.509539] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.517702] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    2.526714] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.535069] systemd[1]: Starting Paths.
[  OK  ] Reached target Paths.
[    2.560556] systemd[1]: Reached target Paths.
[    2.565313] systemd[1]: Starting Swap.
[  OK  ] Reached target Swap.
[    2.590555] systemd[1]: Reached target Swap.
[    2.595198] systemd[1]: Expecting device dev-mmcblk0p1.device...
         Expecting device dev-mmcblk0p1.device...
[    2.620591] systemd[1]: Starting Root Slice.
[  OK  ] Created slice Root Slice.
[    2.670558] systemd[1]: Created slice Root Slice.
[    2.675626] systemd[1]: Starting User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    2.700563] systemd[1]: Created slice User and Session Slice.
[    2.706678] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    2.740562] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    2.747891] systemd[1]: Starting Delayed Shutdown Socket.
[  OK  ] Listening on Delayed Shutdown Socket.
[    2.770568] systemd[1]: Listening on Delayed Shutdown Socket.
[    2.776680] systemd[1]: Starting Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    2.800559] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.806922] systemd[1]: Starting udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    2.830558] systemd[1]: Listening on udev Control Socket.
[    2.836397] systemd[1]: Starting udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    2.860559] systemd[1]: Listening on udev Kernel Socket.
[    2.866281] systemd[1]: Starting Journal Socket.
[  OK  ] Listening on Journal Socket.
[    2.890558] systemd[1]: Listening on Journal Socket.
[    2.896077] systemd[1]: Starting System Slice.
[  OK  ] Created slice System Slice.
[    2.920558] systemd[1]: Created slice System Slice.
[    2.925865] systemd[1]: Starting set initial time to last shutdown time...
         Starting set initial time to last shutdown time...
[    2.956544] systemd[1]: Starting Load modules for the Intel galileo...
         Starting Load modules for the Intel galileo...
[    2.996990] systemd[1]: Started File System Check on Root Device.
[    3.021701] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[    3.064260] systemd[1]: Starting system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    3.120863] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.148127] systemd[1]: Starting system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    3.193874] systemd[1]: Created slice system-getty.slice.
[    3.199789] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    3.257357] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    3.313673] intel_qrk_gip 0000:00:15.2: enabling device (0000 -> 0002)
[    3.380157] intel_qrk_gpio_restrict_probe: i2c adapter not ready yet. Deferring..
[    3.387738] platform qrk-gpio-restrict-sc.0: Driver qrk-gpio-restrict-sc requests probe deferral
[    3.397010] systemd[1]: Starting Load Kernel Modules...
         Starting Load Ke[    3.405665] intel_qrk_gpio_probe UIO addr 0x90006000 internal_addr 0xd2614000 size 4096 memtype 1
rnel Modules...
[    3.427420] systemd[1]: Mounting Huge Pages File System...
[    3.434654] intel_qrk_gip 0000:00:15.2: i2c speed set to 400kHz
         Mounting Huge Pages File System...
[    3.497400] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create [    3.610783] at24 0-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
list of required st... nodes for the current kernel...
[    3.648224] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    3.736227] systemd[1]: Starting Journal Service...
[    3.744495] ACPI: bus type usb registered
[    3.749146] usbcore: registered new interface driver usbfs
         Starting Journal Service...
[    3.806102] i2c /dev entries driver
[  OK  [    3.819208] usbcore: registered new interface driver hub
] Started Journal Service.
[    3.847959] systemd[1]: Started Journal Service.
[    3.858944] usbcore: registered new device driver usb
[  OK  ] Reached target Slices.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted Debug File System.
[    4.002958] Bluetooth: Core ver 2.16
[    4.006856] NET: Registered protocol family 31
[    4.011456] Bluetooth: HCI device and connection manager initialized
[  OK  ] Mounted Huge Pages File System.
[    4.025052] ce4100_spi 0000:00:15.0: enabling device (0000 -> 0002)
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Temporary Directory.
[    4.091770] Bluetooth: HCI socket layer initialized
[    4.096729] Bluetooth: L2CAP socket layer initialized
[    4.103025] ce4100_spi 0000:00:15.1: enabling device (0000 -> 0002)
[    4.144575] Bluetooth: SCO socket layer initialized
[  OK  ] Started set initial time to last shutdown time.
[    4.198870] usbcore: registered new interface driver btusb
[    4.234041] spi_master spi0: will run message pump with realtime priority
[    4.256040] spi_master spi1: will run message pump with realtime priority
[  OK  ] Started Create list of required sta...ce nodes for the current[    4.271669] EFI Variables Facility v0.08 2004-May-17
 kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[    4.504818] adc1x8s102: module is from the staging directory, the quality is unknown, you have been warned.
[  OK  ] Started Load modules for the Intel galileo.
[  OK  ] Started udev Coldplug all Devices.
         Starting Create System Users...
         Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Hardware Database...
[    6.786040] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.861169] ehci-pci: EHCI PCI platform driver
[    6.886431] ehci-pci 0000:00:14.3: EHCI Host Controller
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[    6.930283] ehci-pci 0000:00:14.3: new USB bus registered, assigned bus number 1
[    6.938134] ehci-pci 0000:00:14.3: INSNREG01 is 0x007f007f
[    6.943774] ehci-pci 0000:00:14.3: INSNREG01 is 0x007f007f
[    7.050599] ehci-pci 0000:00:14.3: irq 19, io mem 0x9000d000
[    7.110185] ehci-pci 0000:00:14.3: USB 2.0 started, EHCI 1.00
[    7.142330] hub 1-0:1.0: USB hub found
[    7.173553] hub 1-0:1.0: 2 ports detected
[  OK  ] Started Create Static Device Nodes in /dev.
[    7.291478] sch_gpio_probe UIO port addr 0x1080 size 64 porttype 1
[    7.605693] cfg80211: Calling CRDA to update world regulatory domain
[    7.689594] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    7.695584] Copyright(c) 2003-2012 Intel Corporation
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
[    7.752864] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.759470] ohci_hcd 0000:00:14.4: OHCI Host Controller
[    7.808734] ohci_hcd 0000:00:14.4: new USB bus registered, assigned bus number 2
[  OK  ] Mounted /var/volatile.
[    7.851817] ohci_hcd 0000:00:14.4: irq 16, io mem 0x9000c000
         Starting Load/Save Random Seed...
[    7.941993] hub 2-0:1.0: USB hub found
[    7.960812] hub 2-0:1.0: 2 ports detected
[    8.151020] PPP generic driver version 2.4.2
[  OK  ] Started Load/Save Random Seed.
[    8.193879] NET: Registered protocol family 24
[    8.293098] stmmaceth 0000:00:14.6: enabling device (0000 -> 0002)
[    8.336689] stmmac MSI mode enabled
[    8.340242] Vendor 0x8086 Device 0x0937
[    8.370277] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    8.375483]  DMA HW capability register supported
[    8.380130]  Enhanced/Alternate descriptors
[    8.384542]  RX Checksum Offload Engine supported (type 2)
[    8.390117]  TX Checksum insertion supported
[    8.394422]  Enable RX Mitigation via HW Watchdog Timer
[    8.476462] libphy: stmmac: probed
[    8.479920] eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-1:01) active
[    8.568560] Initializing USB Mass Storage driver...
[    8.585071] usbcore: registered new interface driver usb-storage
[    8.591315] USB Mass Storage support registered.
[    8.645839] usbcore: registered new interface driver usbhid
[    8.651650] usbhid: USB HID core driver
[    8.733822] g_acm_ms gadget: Mass Storage Function, version: 2009/09/11
[    8.740695] g_acm_ms gadget: Number of LUNs=1
[    8.753619]  lun0: LUN: removable file: /dev/mmcblk0p1
[    8.770817] g_acm_ms gadget: Composite Gadget (ACM + MS), version: 2011/10/10
[    8.792926] g_acm_ms gadget: g_acm_ms ready
[  OK  ] Started Load Kernel Modules.
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Rebuild Dynamic Linker Cache.
[  OK  ] Started Rebuild Hardware Database.
         Starting udev Kernel Device Manager...
[  OK  [   17.115773] systemd-udevd[105]: starting version 216
] Started udev Kernel Device Manager.
[  OK  ] Found device /dev/ttyS1.
[  OK  ] Found device /dev/mmcblk0p1.
         Mounting /media/card...
[  OK  ] Mounted /media/card.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Rebuild Journal Catalog...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Rebuild Journal Catalog.
[   20.138235] systemd-journald[64]: Received request to flush runtime journal from PID 1
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[   20.268038] systemd-udevd[106]: renamed network interface eth0 to enp0s20f6
         Starting Update is Completed...
         Starting Network Time Synchronization...
         Starting Opkg first boot configure...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update is Completed.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Opkg first boot configure.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Timers.
         Starting Restore Sound Card State...
[  OK  ] Listening on sshd.socket.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Connection service...
         Starting Target Communication Framework agent...
         Starting Zero-configuration networking...
         Starting Telephony service...
         Starting Wyliodrin hypervisor...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Lightning Fast Webserver With Light System Requirements...
         Starting Galileo Arduino Layer...
[  OK  ] Started Galileo Arduino Layer.
         Starting Wyliodrin server...
         Starting OpenSSH Key Generation...
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Telephony service.
         Starting Provides static IP address...
[  OK  ] Started Target Communication Framework agent.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started Zero-configuration networking.
[   32.902692] enp0s20f6: device MAC address 98:4f:ee:05:85:71
[   33.093844] netlink: 12 bytes leftover after parsing attributes.
[   33.099919] netlink: 12 bytes leftover after parsing attributes.
[   33.192887] netlink: 12 bytes leftover after parsing attributes.
[  OK  ] Started Provides static IP address.
[  OK  ] Started Connection service.
[  OK  ] Started Login Service.
         Starting WPA supplicant...
[  OK  ] Reached target Remote File Systems.
         Starting Permit User Sessions...
         Starting Bluetooth service...
         Starting Intel_XDK_Daemon...
[  OK  ] Started Intel_XDK_Daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Bluetooth service.
[   35.596273] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   35.601744] Bluetooth: BNEP filters: protocol multicast
[   35.670184] Bluetooth: BNEP socket layer initialized
[  OK  ] Started WPA supplicant.
         Starting Hostname Service...
         Starting Serial Getty on ttyS1...
[  OK  ] Started Serial Getty on ttyS1.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Hostname Service.
[  OK  ] Started Wyliodrin hypervisor.
[  OK  ] Started Wyliodrin server.

galileo login: 



Feedback? Questions? Drop me a line!

Tom's Computer Info / [email protected]