All of lore.kernel.org
 help / color / mirror / Atom feed
* Buidling for am335x_evm
@ 2013-10-04  4:41 Rudolf Streif
  2013-10-04  5:33 ` Denys Dmytriyenko
  0 siblings, 1 reply; 10+ messages in thread
From: Rudolf Streif @ 2013-10-04  4:41 UTC (permalink / raw)
  To: meta-ti

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

I tried to build a system for the AM335x_EVM board using the meta-ti layer
with YP 1.4.2 Dylan. Here are the steps:

   1. Clone meta-ti layer
   2. Check out dylan branch
   3. Set up build environment, add meta-ti layer
   4. Set MACHINE = "am335x_evm"
   5. bitbake -k core-image-minimal

Everything builds, put on target, u-boot comes up, hangs at "Starting Linux
kernel...". Most likely machine type mismatch. Start digging around:

   1. The am335x_evm.conf machine configuration includes the ti33x.inc file.
   2. ti33x.inc sets
   PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
   PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
   PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
   3. The build process uses linux-ti-staging_git.bb and configures the
   kernel using the defconfig found in the llnux-ti-staging subdir.
   Content: use-kernel-config=omap2plus_defconfig. Why would I want to
   configure the Sitara SOC with an OMAP defconfig?
   4. Checking kernel build environment
   in tmp/work/am335x_evm-poky-linux-gnueabi/linux-ti-staging/3.11+3.12-rc3-r19a+gitrAUTOINC+f7579525de9f1d6086c407a6980f4f1c1c574256/git.
   From SRCREV it seems to be a 3.11/3.12 kernel:
      1. Check arm/arch/tools/mach-types: found:
      tam335x                 MACH_TAM335X            TAM335X
        4116
      Expected to find
      am335xevm               MACH_AM335XEVM          AM335XEVM
        3589 as it was for the 3.2.32 kernel.
      2. Check arm/arch/configs for am335x_evm_defconfig which does not
      exist. Expected to see an am335x_evm_defconfig as found it in a 3.2.32
      kernel.
   5. Checking u-boot build environment which uses, as expected, the
   am335c_evm configuration which sets the machine type to 3589.

I may be missing something but it looks to me as if the layer is broken for
building for the AM335X_EVM target machine.

Thanks for your help,
Rudi

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

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

end of thread, other threads:[~2013-10-05 18:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04  4:41 Buidling for am335x_evm Rudolf Streif
2013-10-04  5:33 ` Denys Dmytriyenko
2013-10-04  5:41   ` Denys Dmytriyenko
2013-10-04 17:29   ` Rudolf Streif
2013-10-04 18:23     ` Denys Dmytriyenko
2013-10-04 21:00       ` Rudolf Streif
2013-10-04 21:50         ` Denys Dmytriyenko
2013-10-05  0:32           ` Rudolf Streif
2013-10-05 16:46             ` Rudolf Streif
2013-10-05 18:05               ` Denys Dmytriyenko

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.