All of lore.kernel.org
 help / color / mirror / Atom feed
* couple simple questions on building for intel galileo
@ 2014-05-08  7:21 Robert P. J. Day
  2014-05-08 10:45 ` Diego Sueiro
  0 siblings, 1 reply; 8+ messages in thread
From: Robert P. J. Day @ 2014-05-08  7:21 UTC (permalink / raw)
  To: Yocto discussion list


  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
========================================================================


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: couple simple questions on building for intel galileo
  2014-05-08  7:21 couple simple questions on building for intel galileo Robert P. J. Day
@ 2014-05-08 10:45 ` Diego Sueiro
  2014-05-08 11:36   ` Robert P. J. Day
  2014-05-08 17:58   ` Robert P. J. Day
  0 siblings, 2 replies; 8+ messages in thread
From: Diego Sueiro @ 2014-05-08 10:45 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 1848 bytes --]

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*/


On Thu, May 8, 2014 at 4:21 AM, Robert P. J. Day <rpjday@crashcourse.ca>wrote:

>
>   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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 3218 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: couple simple questions on building for intel galileo
  2014-05-08 10:45 ` Diego Sueiro
@ 2014-05-08 11:36   ` Robert P. J. Day
  2014-05-08 17:58   ` Robert P. J. Day
  1 sibling, 0 replies; 8+ messages in thread
From: Robert P. J. Day @ 2014-05-08 11:36 UTC (permalink / raw)
  To: Diego Sueiro; +Cc: Yocto discussion list

On Thu, 8 May 2014, Diego Sueiro wrote:

> 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


-- 

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

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: couple simple questions on building for intel galileo
  2014-05-08 10:45 ` Diego Sueiro
  2014-05-08 11:36   ` Robert P. J. Day
@ 2014-05-08 17:58   ` Robert P. J. Day
  2014-05-08 18:23     ` Rob Woolley
  1 sibling, 1 reply; 8+ messages in thread
From: Robert P. J. Day @ 2014-05-08 17:58 UTC (permalink / raw)
  To: Diego Sueiro; +Cc: Yocto discussion list

On Thu, 8 May 2014, Diego Sueiro wrote:

> 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

-- 

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

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: couple simple questions on building for intel galileo
  2014-05-08 17:58   ` Robert P. J. Day
@ 2014-05-08 18:23     ` Rob Woolley
  2014-05-08 18:44       ` Robert P. J. Day
  2014-05-09 10:09       ` Robert P. J. Day
  0 siblings, 2 replies; 8+ messages in thread
From: Rob Woolley @ 2014-05-08 18:23 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 2857 bytes --]

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



On Thu, May 8, 2014 at 1:58 PM, Robert P. J. Day <rpjday@crashcourse.ca>wrote:

> On Thu, 8 May 2014, Diego Sueiro wrote:
>
> > 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
>
> --
>
> ========================================================================
> 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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 4257 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: couple simple questions on building for intel galileo
  2014-05-08 18:23     ` Rob Woolley
@ 2014-05-08 18:44       ` Robert P. J. Day
  2014-05-09 10:09       ` Robert P. J. Day
  1 sibling, 0 replies; 8+ messages in thread
From: Robert P. J. Day @ 2014-05-08 18:44 UTC (permalink / raw)
  To: Rob Woolley; +Cc: Yocto discussion list

On Thu, 8 May 2014, Rob Woolley wrote:

> 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

-- 

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

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: couple simple questions on building for intel galileo
  2014-05-08 18:23     ` Rob Woolley
  2014-05-08 18:44       ` Robert P. J. Day
@ 2014-05-09 10:09       ` Robert P. J. Day
  1 sibling, 0 replies; 8+ messages in thread
From: Robert P. J. Day @ 2014-05-09 10:09 UTC (permalink / raw)
  To: Rob Woolley; +Cc: Yocto discussion list

On Thu, 8 May 2014, Rob Woolley wrote:

> 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

-- 

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

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* couple simple questions on building for intel galileo
@ 2014-05-16 13:41 Farquhar, Paul W
  0 siblings, 0 replies; 8+ messages in thread
From: Farquhar, Paul W @ 2014-05-16 13:41 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hi Robert,

I just finished building the Yocto image for the Galileo.

I used the V1.0.0 BSP: https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23197
The documentation on how to build is also here.

I used Ubuntu 14.04 which was not straightforward. I suggest to use an older distribution.
I also build the UEFI and installed that too.
All works fine on my Galileo!

Regards,

Paul
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-05-16 13:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08  7:21 couple simple questions on building for intel galileo Robert P. J. Day
2014-05-08 10:45 ` Diego Sueiro
2014-05-08 11:36   ` Robert P. J. Day
2014-05-08 17:58   ` Robert P. J. Day
2014-05-08 18:23     ` Rob Woolley
2014-05-08 18:44       ` Robert P. J. Day
2014-05-09 10:09       ` Robert P. J. Day
  -- strict thread matches above, loose matches on Subject: below --
2014-05-16 13:41 Farquhar, Paul W

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.