Skip to contentSkip to conversation

couple simple questions on building for intel galileo

DISCUSSION Robert P. J. Day 3 participants 7 messages May 8, 2014 – May 9, 2014

lore
Share & tools
lore
#0 lore raw

just got an intel galileo board, and want to whip together a
yocto-built image for it on my fedora rawhide system. before even starting, a quick google showed me that people seemed to be having trouble:

https://communities.intel.com/thread/51115

where are the canonical instructions for building a basic image for the galileo with yocto? i found this:

http://wiki.ros.org/IntelGalileo/HydroGalileoInitialInstall

but i'd like to make sure i'm using the most current instructions to avoid problems. thanks.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

Robert,

Here is some instructions with some workarounds:
http://www.malinov.com/Home/sergey-s-blog/intelgalileo-buildinglinuximage

And I think that you already saw meta-intel-iot-devkit:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-devkit/

As soon as I get my Galileo I'll try to put Yocto on it.

Please, share your results with us.

Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/

Quoted 33 lines · Robert P. J. Day

just got an intel galileo board, and want to whip together a
yocto-built image for it on my fedora rawhide system. before even starting, a quick google showed me that people seemed to be having trouble:

https://communities.intel.com/thread/51115

where are the canonical instructions for building a basic image for the galileo with yocto? i found this:

http://wiki.ros.org/IntelGalileo/HydroGalileoInitialInstall

but i'd like to make sure i'm using the most current instructions to avoid problems. thanks.

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 10 lines · Diego Sueiro

Robert,
Here is some instructions with some workarounds:
http://www.malinov.com/Home/sergey-s-blog/intelgalileo-buildinglinuximage

And I think that you already saw meta-intel-iot-devkit:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-devkit/

As soon as I get my Galileo I'll try to put Yocto on it.

Please, share your results with us.

oh, i'm currently writing all this up and, at the risk of going
*slightly* off-topic, before i set up for a yocto build for this board, i'm just trying to clarify the boot process, both without and with the SD card, so i know i'm bulding my SD card properly.

first, without an SD card, the board apparently boots a minimal
linux image from SPI flash. so far, so good.

as for creating a bootable SD card, i see two possibilities. the
first is explained at sparkfun:

https://learn.sparkfun.com/tutorials/galileo-getting-started-guide/bigger-linux-image

where one can download a file called LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z, which uncompresses into a simple directory structure that you copy to a FAT-formatted SD card. so this SD card, apparently, contains a single FAT partition.

on the other hand, over at intel's developer zone:

https://software.intel.com/en-us/iotdevkit

one can download what is described as "SD card (200MB zipped)", which i unzipped into a file "iot-devkit-201402201605-mmcblkp0.direct", almost 8G in size, and which "fdisk" shows me has the following structure:

Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos
Disk identifier: 0x0007eabb

Device Boot Start End
Blocks Id System
iot-devkit-201402201605-mmcblkp0.direct1 * 2048 106493 52223 83 Linux
iot-devkit-201402201605-mmcblkp0.direct2 106496 14442495 7168000 83 Linux

which is more what i'm used to. so am i reading both of these
correctly? there are two possible formats for the bootable SD card:

* simple, single FAT partition, or
* more "standard" pair of bootable FAT partition, and linux ext partition.

many thanks.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#3 lore raw
In reply to Diego Sueiro
Quoted 6 lines · Diego Sueiro

Robert,
Here is some instructions with some workarounds:
http://www.malinov.com/Home/sergey-s-blog/intelgalileo-buildinglinuximage

And I think that you already saw meta-intel-iot-devkit:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-devkit/

at the moment, i am at my wit's end trying to build a simple
bootable SD card for the galileo, and since i need one of those to boot my eventual yocto build, i figure this is at least remotely on topic.

what is the proper and acceptable format for a bootable SD card for
the galileo, and how does one boot from it? i have read *numerous* online recipes, all of which differ subtlely but maddeningly from one another. there is an alleged linux image file one can download:

LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z

which uncompresses and unloads into the following:

./core-image-minimal-initramfs-clanton.cpio.gz
./bzImage
./image-full-clanton.ext3
./boot
./boot/grub
./boot/grub/grub.conf

but how one "installs" that on an SD card that is bootable by a galileo board is a mystery i have yet to fathom, and various recipes online differ in what they think is required:

* some recipes insist the filesystem must be FAT or FAT16, while others claim FAT or FAT32
* one recipe will claim that the partition must be bootable, another insists it works without that
* some recipes explain that the SD card should contain one partition (as in, you know, /dev/sdc1), while another recipe *appears* to claim that you need to format the *raw* SD card as a FAT partition

i have tried various incantations of fdisk and mkfs and so on, to
the point where i am quite prepared to toss this board out a second story window.

can anyone point me at a set of instructions that will give me a
bootable SD card for this board?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#5 lore raw
In reply to Rob Woolley
Quoted 4 lines · Rob Woolley

Hi Rob,
Have you seen the Quark BSP Build Guide?

https://communities.intel.com/servlet/JiveServlet/previewBody/21882-102-1-25153/Quark_BSPBuildGuide_329687_001.pdf

already on my reading/testing list, but i'm still reluctant to jump
over this issue and move on to more advanced stuff. for the purpose of process, i want to clarify how to boot this board off of simple SD card, and i have yet to figure that out. grrrrrrrr ...

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#4 lore raw
In reply to Robert P. J. Day

Hi Rob,

Have you seen the Quark BSP Build Guide?

https://communities.intel.com/servlet/JiveServlet/previewBody/21882-102-1-25153/Quark_BSPBuildGuide_329687_001.pdf

Regards,
Rob

Quoted 68 lines · Robert P. J. Day
Quoted 3 lines · Diego Sueiro

Robert,
Here is some instructions with some workarounds:

http://www.malinov.com/Home/sergey-s-blog/intelgalileo-buildinglinuximage

Quoted 3 lines

And I think that you already saw meta-intel-iot-devkit:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-devkit/

at the moment, i am at my wit's end trying to build a simple
bootable SD card for the galileo, and since i need one of those to boot my eventual yocto build, i figure this is at least remotely on topic.

what is the proper and acceptable format for a bootable SD card for
the galileo, and how does one boot from it? i have read *numerous* online recipes, all of which differ subtlely but maddeningly from one another. there is an alleged linux image file one can download:

LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z

which uncompresses and unloads into the following:

./core-image-minimal-initramfs-clanton.cpio.gz
./bzImage
./image-full-clanton.ext3
./boot
./boot/grub
./boot/grub/grub.conf

but how one "installs" that on an SD card that is bootable by a galileo board is a mystery i have yet to fathom, and various recipes online differ in what they think is required:

* some recipes insist the filesystem must be FAT or FAT16, while others claim FAT or FAT32
* one recipe will claim that the partition must be bootable, another insists it works without that
* some recipes explain that the SD card should contain one partition (as in, you know, /dev/sdc1), while another recipe *appears* to claim that you need to format the *raw* SD card as a FAT partition

i have tried various incantations of fdisk and mkfs and so on, to
the point where i am quite prepared to toss this board out a second story window.

can anyone point me at a set of instructions that will give me a
bootable SD card for this board?

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#6 lore raw
Quoted 4 lines · Rob Woolley

Hi Rob,
Have you seen the Quark BSP Build Guide?

https://communities.intel.com/servlet/JiveServlet/previewBody/21882-102-1-25153/Quark_BSPBuildGuide_329687_001.pdf

i believe there is a much newer release of that doc here:

https://communities.intel.com/servlet/JiveServlet/previewBody/22476-102-2-26020/Quark_BSP_BuildandSWUserGuide_329687_005.pdf

in my travels around the intertoobz, a few people made it clear they weren't impressed with the 0.7.5 release, so a newer release is definitely a good thing.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================