Skip to contentSkip to conversation

Adding/Editing C++ source code and test for an application

DISCUSSION Fakhruddin Shekh 2 participants 2 messages Jan 28, 2018 – Jan 30, 2018

lore
Share & tools
lore
#0 lore raw

Hi,

I am very new to Yocto Project and I am using it for IMX.7.

I followed steps mentioned in

https://wiki.phytec.com/display/PRODUCTINFO/BSP+Yocto+FSL+i.MX7+PD17.2.x+Quickstart

which is basically taken from

Yocto Project Mega-Manual<https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.yoctoproject.org%2Fdocs%2F2.4.1%2Fmega-manual%2Fmega-manual.html>

It took me 6 hours on virtual box ubuntu to compile BSP(Building Images from Source?) and build image. The size it took on hard disk is 42,3 GB.

I have all final products(.sdcard, .ext4, zimage, uoot, ...) in a tmp folder.

(...build/tmp/deploy/image/machinename/)

but I didn't understand where to add/edit c++ or any other source code to it for my application and how to test it? Lets say I want to use UART/PCIE for an application and test it whether it is functioning or not.

I referred the manual but it was not clear to me.

Can anybody please clarify me.

Best Regards

Dipl.-Ing. (Univ) Fakhruddin Shekh
Research and Development

fon +49 89 419 671 9604
fax +49 89 419 671 9996
mail [email protected]
web www.sonovts.com<http://www.sonovts.com/>

        [cid:logo_6dcbe8df-667e-4f80-9a2b-be2a3c7d29e8.jpg]

sonoVTS GmbH
Hauptsitz: Kapellenstraße 11, 85622 Feldkirchen bei München, Germany Niederlassung Hohenkammer: Am Königholz Ost 4, 85411 Hohenkammer, Germany Niederlassung Frankfurt: Justus-von-Liebig-Straße 9, 63128 Dietzenbach, Germany Niederlassung Köln: Am Coloneum 1, Bauteil B, 50829 Köln, Germany

fon +49 89 419671 0
fax +49 89 419671 9999
web www.sonovts.com<http://www.sonovts.com/>
HRB München 206249 Gerichtsstand München

Geschäftsführer: Stefan Krömer, Franz Olbert

Tochtergesellschaften:
Austria: sonoVTS Austria GmbH, Hallwanger Landesstraße 6, 5300 Hallwang bei Salzburg, Austria United States: sonoVTS Corporation, 200 S. Wacker Drive | Suite 1375, Chicago IL 60606, USA

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

#1 lore raw
Quoted 31 lines · Fakhruddin Shekh

Hi,

I am very new to Yocto Project and I am using it for IMX.7.

I followed steps mentioned in

https://wiki.phytec.com/display/PRODUCTINFO/BSP+Yocto+FSL+i.MX7+PD17.2.x+Quickstart

which is basically taken from

Yocto Project Mega-Manual
<https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.yoctoproject.org%2Fdocs%2F2.4.1%2Fmega-manual%2Fmega-manual.html>

 It took me 6 hours on virtual box ubuntu to compile BSP(Building Images from Source​) and build image. The size it took on hard disk is 42,3 GB.

I have all final products(.sdcard, .ext4, zimage, uoot, ...) in a tmp folder.

(...build/tmp/deploy/image/machinename/)

but I didn't understand where to add/edit c++ or any other source code to it for my application and how to test it? Lets say I want to use UART/PCIE for an application and test it whether it is functioning or not.

Quoted 5 lines

I referred the manual but it was not clear to me.

Can anybody please clarify me.

perhaps devtool can help you here.

http://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#ref-devtool-reference

Quoted 49 lines

Best Regards

*Dipl.-Ing. (Univ) Fakhruddin Shekh*/
Research and Development
////
/fon  +49 89 419 671 9604
fax  +49 89 419 671 9996
mail [email protected]
web www.sonovts.com <http://www.sonovts.com/>

sonoVTS GmbH
Hauptsitz: Kapellenstraße 11, 85622 Feldkirchen bei München, Germany Niederlassung Hohenkammer: Am Königholz Ost 4, 85411 Hohenkammer, Germany Niederlassung Frankfurt: Justus-von-Liebig-Straße 9, 63128 Dietzenbach, Germany
Niederlassung Köln: Am Coloneum 1, Bauteil B, 50829 Köln, Germany

fon +49 89 419671 0
fax +49 89 419671 9999
web www.sonovts.com <http://www.sonovts.com/>
HRB München 206249 Gerichtsstand München

Geschäftsführer: Stefan Krömer, Franz Olbert

Tochtergesellschaften:
Austria: sonoVTS Austria GmbH, Hallwanger Landesstraße 6, 5300 Hallwang bei Salzburg, Austria
United States: sonoVTS Corporation, 200 S. Wacker Drive | Suite 1375, Chicago IL  60606, USA

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.