[meta-ti] Panda board build question
Gary Thomas
gary at mlbassoc.com
Fri Nov 8 07:35:00 PST 2013
On 2013-11-08 08:08, Richard Memory wrote:
> Hi meta-ti email thread:
>
> I am not sure this is the correct forum to ask this question, if not, possibly you could kindly redirect me to the correct forum? I browsed through the archives and I didn't
> immediately see any answer to my question (hopefully I didn't blatantly miss it).
>
> I have a Panda Board ES. Using directions similar to those found at the following webpage:
>
> http://processors.wiki.ti.com/index.php/How_to_Make_3_Partition_SD_Card
>
> I successfully formatted my SD card (my card has a partition for boot and a partition for rootfs). I verified my SD card works with pandaboard images built from a downstream
> Yocto/OE distribution. My goal is to be able to boot my target with the official yocto from git.yotcoproject.org <http://git.yotcoproject.org>.
>
> I am able to successfully build target images (MLO, U-boot, uImage, and rootfs), but the kernel built from bitbake sources obtained from git.yoctoproject.org
> <http://git.yoctoproject.org> fails to start.
>
> I have tried the images a couple of times. I switch back and forth between downstream images (which always seem to work) and the images built from yoctoproject. In one case with
> the yoctoproject images, u-boot seemed to attempt to start the kernel. That is, I could see u-boot doing its thing at a serial terminal. But upon startup, the kernel just seems to
> die without any message of why. The LEDs stop flashing, the ethernet power has no power, etc. The images I built from the downstream yocto distrobution always seem to work without
> problem.
>
> Step 1) git clone git://git.yoctoproject.org/poky <http://git.yoctoproject.org/poky> poky
>
> Step 2) git clone git://git.yoctoproject.org/meta-ti <http://git.yoctoproject.org/meta-ti> meta-ti
>
> Step 3) source oe-init-build-env mypandaboard_build_dir
>
> Step 4) Modify local.conf to use machine ?= "pandaboard"
>
> Step 5) Modify BBLAYERS in bblayers.conf so that it can find the meta-ti layer.
>
> Step 6) bitbake core-image-minimal
>
> This produces the following images:
>
> MLO-pandaboard-2011.12-r8, 32748 bytes
> u-boot-pandaboard-2011.12-r8.img, 187676 bytes
> uImage--3.4-r1a-pandaboard-20131107151820.bin, 4333856 bytes
> core-image-minimal-pandaboard-20131107151820.rootfs.tar.gz, 2308175 bytes
>
> I have tried both the the master and dylan branches with the same results each time.
>
> Any ideas what I might be doing wrong?
If you are using the stock Yocto setup, you are probably using GCC 4.8.x
Can you try using GCC 4.7.x? Just add this line to your local.conf & rebuild:
GCCVERSION ?= "4.7%"
A copy of the exact serial port output from U-Boot may help, as well as showing
what the boot settings (bootargs) are.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the meta-ti
mailing list