Andy Jin(deleted)
|
Re: Build BSP project, i.MX25
|
Andy Jin(deleted)
11/19/2009 10:26 AM
post42239
|
Re: Build BSP project, i.MX25
Hi, Marcel,
The two projects are for different purposes:
- The project with "-src" in its name contains the actual source of the
imported BSP. If you imported it from an archive (.zip) file, you can
see the "-src" project layout is exactly the same as the file/directory
layout in the archive file. This project is for your works on the BSP
source.
- The other project is the System Builder project created by the IDE
import process. It does not contain BSP source but only meta data from
the import. It builds on top of the IDE System Builder model to provide
graphical editing capability for you to configure your boot image,
adding binaries, modifying file properties, etc.
Depends on what you want to do with the BSP you focus on different
project. If you mainly want to create an image for your target and
tailor it for your hardware setup you will use the System Builder
project. If you want to modify the BSP source code to add features or
fix something you will use the source project.
You should always use the built image from the System Builder project
because it is the one matching your customized boot image configuration.
HTH,
Andy
|
|
|
Christian Damus(deleted)
|
Re: Build BSP project, i.MX25
|
Christian Damus(deleted)
11/19/2009 10:27 AM
post42240
|
Re: Build BSP project, i.MX25
Hi, Marcel,
Find some answers to your questions in-line, below. I haven't enough
expertise to answer all of your questions. Hopefully others will pitch
in to help.
Cheers,
Christian
On Thu, 2009-11-19 at 10:08 -0500, Marcel Meerstetter wrote:
> Hello,
>
> I downloaded the iMX25 BSP and imported it into Momentics. When doing so,
> two projects are created:
> bsp-freescale-i.mx25-3ds
> and
> bsp-freescale-i.mx25-3ds-src.
> What exactly is the difference between the two of them? When should I use which one?
The first is a System Builder project. Its purpose is to build your
system image from the build outputs of the other project (the "source
project"). The source project will use the mkifs and other command-line
tools to create the image, but the System Builder has some additional
capabilities that you may find useful (such as image dieting).
Out-of-the-box, the results should be the same.
> I build both projects and each of them has an image directory but with different content.
> In the Image dir of bsp-freescale-i.mx25-3ds contains
> bsp-freescale-i.mx25-3ds.ifs
> ipl-bsp-freescale-i.mx25-3ds.bin
> while the Image dir of bsp-freescale-i.mx25-3ds-src contains
> ifs-3dsmx25.bin
The System Builder project copies the IPL built by the source project
into the same location. Probably the source project installs the IPL
into a different folder than image/. You should be able to find it
somewhere in the source project.
> from the redboot prompt I can load and run either the
> bsp-freescale-i.mx25-3ds.ifs
> or the
> ifs-3dsmx25.bin
> but not the
> ipl-bsp-freescale-i.mx25-3ds.bin.
>
> Is ipl-bsp-freescale-i.mx25-3ds.bin the IPL that can be used as an alternative to redboot? Should I use advanced
toolkit from freescale to replace redboot with this IPL?
It is an IPL, yes, which could be an alternative to redboot. Whether
you should use it is not a question that I can answer. That depends on
whether you need any capabilities that one IPL has that the other
doesn't, I suppose.
> Also, bsp-freescale-i.mx25-3ds has a nice project build to graphically configure the image. If I want to specify in
bsp-freescale-i.mx25-3ds-src which prebuild binaries t include, how do I do this?
The easiest way to do that is to copy the binaries into the source
project's prebuilt/ folder, laid out in the same structure as you need
in the staging area (the install/ folder). The source project's
makefile simply copies the entire contents of prebuilt/ into install/.
Otherwise, you might edit the makefile "prebuilt" target to copy these
binaries from some other location.
>
> i have been looking at the help files, but have not been able to find the answer to these questions
>
> Thank you
>
> Marcel
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post42235
>
|
|
|