* SPL_IMAGE, SPL_BINARY, and SPL_SYMLINK definitions
@ 2013-11-25 14:06 Rifenbark, Scott M
2013-11-25 18:02 ` William Mills
0 siblings, 1 reply; 4+ messages in thread
From: Rifenbark, Scott M @ 2013-11-25 14:06 UTC (permalink / raw)
To: Yocto discussion list
Hi,
Anyone have descriptions for these three variables? I would like to document them and am wondering if anyone has used them or knows how they work.
Thanks,
Scott
Scott Rifenbark
Intel Corporation
Yocto Project Documentation
503.712.2702
503.341.0418 (cell)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SPL_IMAGE, SPL_BINARY, and SPL_SYMLINK definitions
2013-11-25 14:06 SPL_IMAGE, SPL_BINARY, and SPL_SYMLINK definitions Rifenbark, Scott M
@ 2013-11-25 18:02 ` William Mills
2013-11-25 18:05 ` Rifenbark, Scott M
2013-11-25 18:24 ` Denys Dmytriyenko
0 siblings, 2 replies; 4+ messages in thread
From: William Mills @ 2013-11-25 18:02 UTC (permalink / raw)
To: Rifenbark, Scott M; +Cc: Yocto discussion list, Dmytriyenko, Denys
On 11/25/2013 09:06 AM, Rifenbark, Scott M wrote:
> Anyone have descriptions for these three variables? I would like to document them and am wondering if anyone has used them or knows how they work.
>
SPL is the preloader for U-boot required on some platforms.
The base include for u-boot defines the SPL_IMAGE and SPL_SYMLINK
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/u-boot/u-boot.inc
One example of use of SPL_BINARY is here:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/u-boot/u-boot_2011.12.bb
So the SPL_BINARY defines the name of the file in the filesystem image.
The SPL_IMAGE and SPL_SYMLINK appear to specific the long version
specific image file produced by the build and the somewhat shorter
symlink that points to it. These will be in a machine specific dir on
the build machine; the same place the kernel is found.
(The kernel also gets a very long name and a symlink you can reuse
wording from the description if you have that already.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SPL_IMAGE, SPL_BINARY, and SPL_SYMLINK definitions
2013-11-25 18:02 ` William Mills
@ 2013-11-25 18:05 ` Rifenbark, Scott M
2013-11-25 18:24 ` Denys Dmytriyenko
1 sibling, 0 replies; 4+ messages in thread
From: Rifenbark, Scott M @ 2013-11-25 18:05 UTC (permalink / raw)
To: William Mills; +Cc: Yocto discussion list, Dmytriyenko, Denys
Thanks - good info.
Scott
>-----Original Message-----
>From: William Mills [mailto:wmills@ti.com]
>Sent: Monday, November 25, 2013 10:03 AM
>To: Rifenbark, Scott M
>Cc: Yocto discussion list; Dmytriyenko, Denys
>Subject: Re: [yocto] SPL_IMAGE, SPL_BINARY, and SPL_SYMLINK definitions
>
>On 11/25/2013 09:06 AM, Rifenbark, Scott M wrote:
>> Anyone have descriptions for these three variables? I would like to
>document them and am wondering if anyone has used them or knows how
>they work.
>>
>
>SPL is the preloader for U-boot required on some platforms.
>
>The base include for u-boot defines the SPL_IMAGE and SPL_SYMLINK
>http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/u-
>boot/u-boot.inc
>
>One example of use of SPL_BINARY is here:
>http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/u-boot/u-
>boot_2011.12.bb
>
>So the SPL_BINARY defines the name of the file in the filesystem image.
>The SPL_IMAGE and SPL_SYMLINK appear to specific the long version specific
>image file produced by the build and the somewhat shorter symlink that
>points to it. These will be in a machine specific dir on the build machine; the
>same place the kernel is found.
>(The kernel also gets a very long name and a symlink you can reuse wording
>from the description if you have that already.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SPL_IMAGE, SPL_BINARY, and SPL_SYMLINK definitions
2013-11-25 18:02 ` William Mills
2013-11-25 18:05 ` Rifenbark, Scott M
@ 2013-11-25 18:24 ` Denys Dmytriyenko
1 sibling, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2013-11-25 18:24 UTC (permalink / raw)
To: William Mills; +Cc: Yocto discussion list
On Mon, Nov 25, 2013 at 01:02:35PM -0500, William Mills wrote:
> On 11/25/2013 09:06 AM, Rifenbark, Scott M wrote:
> >Anyone have descriptions for these three variables? I would like to
> >document them and am wondering if anyone has used them or knows how they
> >work.
git blame u-boot.inc would have shown the commit 2965aa2f that added those
vars into the main u-boot.inc. The commit log does provide some explanation.
Although, that is the commit that unified SPL_* vars into a common .inc file,
previously we used to add them into specific u-boot_*.bb recipes along with
the necessary do_install_append() and do_deploy_append()...
> SPL is the preloader for U-boot required on some platforms.
And it stands for Secondary Program Loader:
http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.SPL;hb=HEAD
> The base include for u-boot defines the SPL_IMAGE and SPL_SYMLINK
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/u-boot/u-boot.inc
>
> One example of use of SPL_BINARY is here:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/u-boot/u-boot_2011.12.bb
>
> So the SPL_BINARY defines the name of the file in the filesystem image.
> The SPL_IMAGE and SPL_SYMLINK appear to specific the long version
> specific image file produced by the build and the somewhat shorter
> symlink that points to it. These will be in a machine specific dir
> on the build machine; the same place the kernel is found.
> (The kernel also gets a very long name and a symlink you can reuse
> wording from the description if you have that already.)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-25 18:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 14:06 SPL_IMAGE, SPL_BINARY, and SPL_SYMLINK definitions Rifenbark, Scott M
2013-11-25 18:02 ` William Mills
2013-11-25 18:05 ` Rifenbark, Scott M
2013-11-25 18:24 ` 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.