[meta-ti] Buidling for am335x_evm
Denys Dmytriyenko
denys at ti.com
Fri Oct 4 11:23:21 PDT 2013
Rudi,
On Fri, Oct 04, 2013 at 10:29:21AM -0700, Rudolf Streif wrote:
> > Most likely u-boot couldn't find your DTB - did you put one in the /boot of
> > rootfs? Didn't u-boot complain about it? Should have been an error message.
> >
> That is a question that I forgot to ask in my first e-mail. With 3.12 I
> would have expected a dtb to be built but it did not. The tmp/deploy/images
> directory only contains [1] but no dtb. Neither does the tar.gz for the
> rootfs but I would not expect it to. And no, u-boot did not complain about
> the device tree either. If it had built a dtb I would have put it in the
> FAT boot partition and told u-boot to load it in the bootargs.
FAT boot partition is no longer preferred place for kernel images and DTB
files - U-boot now wants to see them in /boot directory of the rootfs.
Ok, let's debug why you are not getting any DTB files produced. There should
be at least 3 of them for the case of am335x-evm, as it covers EVM, EVM-SK and
BeagleBone.
Can you show me your bblayers.conf file, please?
> > BTW, if you are not comfortable with 3.12-rc being unstable, you can also
> > add
> > to your config:
> >
> > PREFERRED_VERSION_linux-ti-staging = "3.8%"
> >
> Yes, of course. I am ok with 3.12-rc. I was only surprised that the Dylan
> branch of the bsp layer would build a 3.12 kernel while the default for
> Poky Dylan is 3.8. Or maybe my assumption that a bsp for a particular YP
> release would use the same kernel as a default is incorrect.
First, Poky != Yocto, so there's no requirement on what kernel version a BSP
should provide. Second, there are several options available for am335x - 3.2,
3.8 and 3.12, so anyone can use the version they like.
> > It's called OMAP2+ and that's how kernel folks decided to call a
> > consolidated
> > config for most if not all TI platforms. Gone are the times when each
> > platform
> > had it's own config file - kernel folks don't allow that anymore. Anyway,
> > omap2plus is the right defconfig.
> >
> That's actually a great thing. (One of Linus' pet peeves, I suppose.) I
> only wish the name of the file would be more intuitive. It's not quite
> obvious that a file called omap2plus_defconfig is the correct file to
> configure a kernel for an AM335x CPU. A different file name and/or a
> comment in the file to what CPU's it applies would have been great.
I agree it would have been nice to get a better name, but historically we
ended up with this one.
--
Denys
More information about the meta-ti
mailing list