[meta-ti] AM335x EVM and core-image-sato
Rudolf Streif
rstreif at linuxfoundation.org
Mon Oct 21 15:19:35 PDT 2013
Thanks, Denys.
Interesting point about gcc. It's version 4.8.1 which is the default for
poky master. Which is what I used all along.
Thanks for sending your binaries. They fail too with the exact same
problem. See attached log. I found [1] on gmane which exactly describes the
problem I am seeing.
If that is the case then I was wondering why my earlier builds with
3.12-rc3 actually worked. And I tried them again and they are now failing
too. Of course I don't know anything about the specifics of the gpio and
the timers on the chip but it looks like a weird hardware initialization
condition. And I don't know if the proposed patch in [1] was ever
incorporated in your kernel tree.
I don't think it's the hardware (or at least not alone) because the SD that
ships with it with the 3.2 kernel works just fine.
Cheers,
Rudi
[1] http://permalink.gmane.org/gmane.linux.ports.arm.omap/96044
On Mon, Oct 21, 2013 at 10:15 PM, Denys Dmytriyenko <denis at denix.org> wrote:
> Rudi,
>
> As we discussed earlier today, let my send you my binaries for the kernel
> and
> u-boot to try on your board. I just wanted to ask you about the toolchain
> that
> you used to build yours. In our builds we use Linaro gcc-4.7 hardfp
> toolchain
> and I vaguely remember hearing about some problems with the recent gcc-4.8
> toolchain from oe-core... I'm wondering if you are having the same issue.
>
> --
> Denys
>
>
> On Mon, Oct 21, 2013 at 10:42:35AM -0700, Rudolf Streif wrote:
> > Since the 3.12-rc5 kernel does not work I decided to give the 3.8 kernel
> a
> > try. The issue with this one is that the linux-ti-staging_3.8.bb recipe
> > explicitly sets KERNEL_IMAGETYPE="uImage". However, the u-boot
> environment
> > has now moved on to using zImage which consequently means u-boot will not
> > find the kernel file.
> >
> > I do not know why KERNEL_IMAGETYPE = "uImage" was hacked into the
> > linux-ti-staging_3.8.bb recipe but whoever did it did not think about
> > u-boot. Does zImage not work with 3.8? I did not try it but it should
> > normally have no effect. Since there is no dependency of the u-boot
> recipes
> > on the kernel image types changes to the kernel image type for newer
> > versions of the kernel then automatically means that it must be changed
> for
> > the previous versions too.
> >
> > I mocked around with the u-boot environment and booted the 3.8 uImage
> > kernel. To my surprise the 3.8 kernel from the TI staging repository
> fails
> > with the exact same problem and stops booting with a kernel not syncing
> > message during the init calls. Apparently a patch must have been applied
> to
> > the kernel repo that breaks it. It has nothing possibly to do with the
> > build system.
> >
> > I would appreciate any hints to get this kernel built and boot on the
> board.
> >
> > Thanks,
> > Rudi
> >
> >
> > On Mon, Oct 21, 2013 at 1:16 AM, Rudolf Streif
> > <rstreif at linuxfoundation.org>wrote:
> >
> > > Denys,
> > >
> > > I recompiled the 3.12-rc5 kernel again but it still stalls during
> > > initialization. I attached the boot log. I don't know much about the
> > > platform details but maybe that's an issue you know about.
> > >
> > > Thanks,
> > > Rudi
> > >
> > >
> > >
> > >>
> > >> [1]
> > >> Build Configuration:
> > >> BB_VERSION = "1.21.0"
> > >> BUILD_SYS = "x86_64-linux"
> > >> NATIVELSBSTRING = "Fedora-18"
> > >> TARGET_SYS = "arm-poky-linux-gnueabi"
> > >> MACHINE = "am335x-evm"
> > >> DISTRO = "poky"
> > >> DISTRO_VERSION = "1.5+snapshot-20131019"
> > >> TUNE_FEATURES = "armv7a vfp neon"
> > >> TARGET_FPU = "vfp-neon"
> > >> meta-yocto = "master:9a1dce10bdc9254bb38e0e54199f23ae55e209a4"
> > >> meta-ti = "master:c11504664990f007c3903d349e7cc135a904f8e2"
> > >> meta-oe = "master:f8903f53db717294d63a8d79b5ef7ca34b3c189e"
> > >> meta = "master:9a1dce10bdc9254bb38e0e54199f23ae55e209a4"
> > >>
> > >>
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > --
> > *Rudolf J. Streif*
> > Director of Embedded Solutions
> > The Linux Foundation
> >
> > rudolf.streif at linux.com
> > Phone: +1.619.537.6646
> > Skype: rudolfstreif
> > PGP: RSA 2048/2048 D6E7D28B
> >
> > Linux Foundation Events Schedule: events.linuxfoundation.org
> > Linux Foundation Training Schedule: training.linuxfoundation.org
>
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
>
>
--
--
*Rudolf J. Streif*
Director of Embedded Solutions
The Linux Foundation
rudolf.streif at linux.com
Phone: +1.619.537.6646
Skype: rudolfstreif
PGP: RSA 2048/2048 D6E7D28B
Linux Foundation Events Schedule: events.linuxfoundation.org
Linux Foundation Training Schedule: training.linuxfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20131021/0ca45d81/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot-am335x-evmsk.log
Type: application/octet-stream
Size: 15845 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20131021/0ca45d81/attachment.obj>
More information about the meta-ti
mailing list