Re: [yocto] yocto beaglebone build no uImage on DOS partition.

2013-03-01 Thread Rudolf Streif
Edward,

Yes, you do need of course a uImage which is the Linux kernel image with
the necessary wrapper for u-boot. If you do not have one after your build
finishes in /tmp/deploy/images then building the Linux
kernel failed and you should look for error messages.

To build just the kernel you can run

MACHINE=beaglebone bitbake virtual/kernel -vDD

It seems that inside your build environment you are mixing builds for
BeagleBone and PandaBoard. You need to pay attention to that since the
BeagleBone uses a TI Sitara AM335x SoC and the PandaBoard a TI OMAP4430
SoC. They are both ARM but substantially different.

Rudi


On Fri, Mar 1, 2013 at 8:12 AM, Edward Vidal wrote:

> Hello,
> Any and all help will be appreciated.
>
> yocto beaglebone build no uImage to DOS partition.
> My questions are do you need the a uImage on DOS partition and should you
> use core-image-sato-sdk with the beaglebone since it has no display on
> board, but you want the SDK?  My beaglebone booted okay but I did see that
> the xserver failed.  My pandaboard build is failing currently but I have
> had successful builds in the past in early Jan with same process outlined
> below.
>
> Downloaded both poky and meta-ti
>
> cd /home/vidal/POKY/build022813_panda
> git clone  git://git.yoctoproject.org/poky.git
> cd /home/vidal/POKY/build022813_panda/poky
> git log
> commit d7b248e715d99766bf8602ff9f038f8b0afa5e78
> Author: Constantin Musca 
> Date:   Mon Feb 25 17:29:15 2013 +0200
>
> cd /home/vidal/POKY/build022813_panda/poky
> git clone git://git.yoctoproject.org/meta-ti
> git log
> commit 4d99e63181c6f58b5bb41eb830c7af75b097e10e
> Author: Franklin S. Cooper Jr 
> Date:   Mon Feb 18 22:45:16 2013 -0600
>
> Modifications to file
> /home/vidal/POKY/build022813/poky/build/conf/local.conf
> Added the following three lines at the beginning of the file.
> MACHINE ?= "beaglebone"
> MACHINE ?= "pandaboard"
> BBMASK ?= ".*/meta-ti/recipes-(misc|bsp/formfactor|graphics/mesa)/"
> Mofified the following 3 lines as shown below.
> #BB_NUMBER_THREADS = "4" --> BB_NUMBER_THREADS = "8"
> #PARALLEL_MAKE = "-j 4" --> PARALLEL_MAKE = "-j 8"
> #DL_DIR ?= "${TOPDIR}/downloads" --> DL_DIR ?=
> "/home/vidal/POKY/linux_src_dnloads_panda/downloads"
>
> Modification done to
> /home/vidal/POKY/build022813/poky/build/conf/bblayers.conf
> Added the line
>   /home/vidal/POKY/build022813_panda/poky/meta-ti \
> After the line
>   /home/vidal/POKY/build022813_panda/poky/meta-yocto \
>
> Built on Fedora 18 x86_64 system.
>
> MACHINE=beaglebone bitbake core-image-sato-sdk -vDD
> NOTE: recipe core-image-sato-sdk-1.0-r0: task do_rootfs: Succeeded
> DEBUG: Marking task 12
> (/home/vidal/POKY/build022813_panda/poky/meta/recipes-sato/images/
> core-image-sato-sdk.bb, do_build) as buildable
> DEBUG: Stampfile
> /home/vidal/POKY/build022813_panda/poky/build/tmp/stamps/beaglebone-poky-linux-gnueabi/core-image-sato-sdk/1.0-r0.do_build.43a176d7b0f28fabd0275a4afba65cd3
> not available
> NOTE: Running noexec task 6534 of 6534 (ID: 12,
> /home/vidal/POKY/build022813_panda/poky/meta/recipes-sato/images/
> core-image-sato-sdk.bb, do_build)
> NOTE: Tasks Summary: Attempted 6534 tasks of which 543 didn't need to be
> rerun and all succeeded.
>
> Build Configuration:
> BB_VERSION= "1.17.1"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING   = "Unknown"
> TARGET_SYS= "arm-poky-linux-gnueabi"
> MACHINE   = "beaglebone"
> DISTRO= "poky"
> DISTRO_VERSION= "1.3+snapshot-20130228"
> TUNE_FEATURES = "armv7a vfp neon"
> TARGET_FPU= "vfp-neon"
> meta
> meta-yocto= "master:d7b248e715d99766bf8602ff9f038f8b0afa5e78"
> meta-ti   = "master:4d99e63181c6f58b5bb41eb830c7af75b097e10e"
> meta-yocto-bsp= "master:d7b248e715d99766bf8602ff9f038f8b0afa5e78"
>
> Transferred the following files to boot partition from
> /home/vidal/POKY/build022813_panda/poky/build/tmp/deploy/images/
> MLO-beaglebone-2011.09+git* --> MLO
> u-boot.img -> u-boot-beaglebone-2011.09+git-r30.img* --> u-boot.img
> Untarred the file
> /home/vidal/POKY/build022813_panda/poky/build/tmp/deploy/images/core-image-sato-sdk-beaglebone-20130228230414.rootfs.tar.bz2
> to /run/media/vidal/Angstrom
>
> If anyone wants any additional information feel free to ask at
> vidal.devel...@gmail.com or devel...@sbcglobal.net.
>
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
-- 
*Rudolf J. Streif*
Director of Embedded Solutions
The Linux Foundation

rudolf.str...@linux.com
Phone: +1.619.631.5383
Skype: rudolfstreif
PGP: RSA 2048/2048 D6E7D28B

Linux Foundation Events Schedule:  events.linuxfoundation.org
Linux Foundation Training Schedule: training.linuxfoundation.org
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] yocto beaglebone build no uImage on DOS partition.

2013-03-01 Thread Edward Vidal
Hello,
Any and all help will be appreciated.

yocto beaglebone build no uImage to DOS partition.
My questions are do you need the a uImage on DOS partition and should you
use core-image-sato-sdk with the beaglebone since it has no display on
board, but you want the SDK?  My beaglebone booted okay but I did see that
the xserver failed.  My pandaboard build is failing currently but I have
had successful builds in the past in early Jan with same process outlined
below.

Downloaded both poky and meta-ti

cd /home/vidal/POKY/build022813_panda
git clone  git://git.yoctoproject.org/poky.git
cd /home/vidal/POKY/build022813_panda/poky
git log
commit d7b248e715d99766bf8602ff9f038f8b0afa5e78
Author: Constantin Musca 
Date:   Mon Feb 25 17:29:15 2013 +0200

cd /home/vidal/POKY/build022813_panda/poky
git clone git://git.yoctoproject.org/meta-ti
git log
commit 4d99e63181c6f58b5bb41eb830c7af75b097e10e
Author: Franklin S. Cooper Jr 
Date:   Mon Feb 18 22:45:16 2013 -0600

Modifications to file
/home/vidal/POKY/build022813/poky/build/conf/local.conf
Added the following three lines at the beginning of the file.
MACHINE ?= "beaglebone"
MACHINE ?= "pandaboard"
BBMASK ?= ".*/meta-ti/recipes-(misc|bsp/formfactor|graphics/mesa)/"
Mofified the following 3 lines as shown below.
#BB_NUMBER_THREADS = "4" --> BB_NUMBER_THREADS = "8"
#PARALLEL_MAKE = "-j 4" --> PARALLEL_MAKE = "-j 8"
#DL_DIR ?= "${TOPDIR}/downloads" --> DL_DIR ?=
"/home/vidal/POKY/linux_src_dnloads_panda/downloads"

Modification done to
/home/vidal/POKY/build022813/poky/build/conf/bblayers.conf
Added the line
  /home/vidal/POKY/build022813_panda/poky/meta-ti \
After the line
  /home/vidal/POKY/build022813_panda/poky/meta-yocto \

Built on Fedora 18 x86_64 system.

MACHINE=beaglebone bitbake core-image-sato-sdk -vDD
NOTE: recipe core-image-sato-sdk-1.0-r0: task do_rootfs: Succeeded
DEBUG: Marking task 12
(/home/vidal/POKY/build022813_panda/poky/meta/recipes-sato/images/
core-image-sato-sdk.bb, do_build) as buildable
DEBUG: Stampfile
/home/vidal/POKY/build022813_panda/poky/build/tmp/stamps/beaglebone-poky-linux-gnueabi/core-image-sato-sdk/1.0-r0.do_build.43a176d7b0f28fabd0275a4afba65cd3
not available
NOTE: Running noexec task 6534 of 6534 (ID: 12,
/home/vidal/POKY/build022813_panda/poky/meta/recipes-sato/images/
core-image-sato-sdk.bb, do_build)
NOTE: Tasks Summary: Attempted 6534 tasks of which 543 didn't need to be
rerun and all succeeded.

Build Configuration:
BB_VERSION= "1.17.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Unknown"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "beaglebone"
DISTRO= "poky"
DISTRO_VERSION= "1.3+snapshot-20130228"
TUNE_FEATURES = "armv7a vfp neon"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "master:d7b248e715d99766bf8602ff9f038f8b0afa5e78"
meta-ti   = "master:4d99e63181c6f58b5bb41eb830c7af75b097e10e"
meta-yocto-bsp= "master:d7b248e715d99766bf8602ff9f038f8b0afa5e78"

Transferred the following files to boot partition from
/home/vidal/POKY/build022813_panda/poky/build/tmp/deploy/images/
MLO-beaglebone-2011.09+git* --> MLO
u-boot.img -> u-boot-beaglebone-2011.09+git-r30.img* --> u-boot.img
Untarred the file
/home/vidal/POKY/build022813_panda/poky/build/tmp/deploy/images/core-image-sato-sdk-beaglebone-20130228230414.rootfs.tar.bz2
to /run/media/vidal/Angstrom

If anyone wants any additional information feel free to ask at
vidal.devel...@gmail.com or devel...@sbcglobal.net.
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto