Hello,
We are trying to add a new package (we need the dpkg) in linux 11.05 IMX53 BSP.
Currently we have downloaded the dpkg for the host virtual machine, but we are not able to add the dpkg as component of the imx53 bsp.
We would need to build the dpkg for the imx53 kernel...
Anyone have experience on this?
How we can do it?
This is a very simple:
1. copy source in /opt/freescale/pkgs
2. create file source_name.md5
md5sum source_name > source_name.md5
3. create directory in <you_ltib_dir>dist/lfs-5.1/<you_package> and copy spec-file to it
After this you can use ltib for build package:
1. ./ltib -m prep -p package.spec
2. ./ltib -m scbuild -p package.spec
3. ./ltib -m scdeploy -p package.spec
Hello.
I like your post, but where can i get spec file?
Kirill Brilliantov написал(а):
This is a very simple:
1. copy source in /opt/freescale/pkgs
2. create file source_name.md5
md5sum source_name > source_name.md5
3. create directory in <you_ltib_dir>dist/lfs-5.1/<you_package> and copy spec-file to itAfter this you can use ltib for build package:
1. ./ltib -m prep -p package.spec
2. ./ltib -m scbuild -p package.spec
3. ./ltib -m scdeploy -p package.spec
Hello, Aleksandr!
If you havn't spec-file you can write it, it not very hard :smileyhappy:
Thak you for reply.
Alreadu done.
Regards.
Dear Kirill, thank so much!
we have already done the packages, but we don't have the spec file...
So we have copied from a template changing some parameters, but the "./ltib -m prep -p dpkg.spec" return an error, you can see this picture...
What it depends??
Thanks
Best Regards
Hello, nichosim!
On you picture I see what you use dpkg as name instend dpkg.spec. For use "short" name you should insert you package in <ltib_dir>/config/userspace/extra_packages.lkc and <ltib_dir>/config/userspace/pkg_map, but I not check this :smileywink:
You are right!! thank you, with your suggestion I have done the ./ltib -m prep -p dpkg.spec but now i have a problem on the second line...
After a succesful prep we are trying to launch ./ltib -m scbuild -p dpkg.spec but we got this error:
>>> autom4te: unknown language: Autoconf-without-aclocal-m4
See this picture for reference..
And i don't know what it depend...
Any Idea?
You have incorrect spec-file, please post it.
Среда, 10 апреля 2013, 7:48 -07:00 от nichosim <admin@community.freescale.com>:
>
>ADDING NEW PACKAGE ON LTIB IMX53 BSP created by nichosim in i.MX Community - View the full discussion
Hmm, it looks correct, please post full log.
I think you'll have a bad time in integration dpkg on the LTIB as a whole. You may want to look at Yocto which:
Yocto has a good community around it and currently most commonly used SoCs from i.MX platform is already supported by the meta-fsl-arm layer.
You can find more information how to make a build at https://community.freescale.com/docs/DOC-94023