Where can I find the source code for the unit_tests?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where can I find the source code for the unit_tests?

Jump to solution
3,212 Views
ralph__
Contributor IV

As title, does anyone know where the source code for the executables in the LTIB "unit_tests" directory can be found?

I was trying to build ltib from scratch in the hope that that would provide me with the source code but it appears to be massively deprecated and practically impossible to build.

Thanks,
Ralph

Labels (4)
Tags (2)
0 Kudos
1 Solution
2,280 Views
igorpadykov
NXP Employee
NXP Employee

please try

"L3.0.35_4.1.0_ER_SOURCE  : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite and i.MX 6Solo Linux BSP Source Code Files"

and refer to attached sources

Best regards

igor

View solution in original post

0 Kudos
7 Replies
2,280 Views
igorpadykov
NXP Employee
NXP Employee

Hi ralph_

please refer to p.10 attached document

./ltib -m prep -p <package name>

for imx-test package ("unit_tests")

./ltib -m prep -p imx-test

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
2,280 Views
ralph__
Contributor IV

Okay, so I got a load of missing packages from http://www.bitshrine.org/gpp/, copied them to my /opt/freescale/pkgs directory and ran the command like you said and it demands that I enter a "Platform choice". There is no option for the i.MX6. What do I do?

Here are the options it gives me:

Future Designs, Inc. ARM9DIMM-LPC3250 board

senTec COBRA5475 Coldfire/M68k (MMU)

Embedded Artists 3131 board with the NXP LPC313X SoC

Embedded Artists 3152 board with the NXP LPC3152 SoC

Embedded Artists LPC3250 OEM Board with the NXP LPC32XX SoC

EP93xx development board

Freescale IMX21 ADS reference board

Freescale IMX27 ADS reference board

Freescale IMX31 ADS reference board

Logic PD LPD7A404 board

Freescale M5208EVB Coldfire/M68k (noMMU)

Freescale M5253EVB Coldfire/M68k (noMMU)

Freescale M532xEVB Coldfire/M68k (noMMU)

Freescale M537xEVB Coldfire (noMMU)

Freescale M5445X Coldfire/M68k (MMU)

Freescale MCF547x_8x Coldfire/M68k (MMU)

Freescale MPC512x based boards

Freescale MPC5200 based development boards

Freescale MPC7448HPCII PPC development board

Freescale MPC82xx based development boards

Freescale MPC8349EA MDS PowerPC board

Freescale MPC8349E-mITX board

Freescale MPC8360E PB PowerPC board

Freescale MPC837xE MDS development board

Freescale MPC8536DS PowerPC development board

Freescale MPC8548CDS PPC development board

Freescale MPC8555CDS and MPC8541CDS PPC development board

Freescale MPC8560ADS PQ3 PowerPC board

Freescale MPC860FADS

Freescale MPC8641DHPCN PPC development board

Phytec 3250 board with the NXP LPC32XX SoC

A&MLtd Adder MPC875 PowerPC board

Raspberry Pi with BCM2835 SoC

TQ Components TQM823L PowerPC board

0 Kudos
2,280 Views
igorpadykov
NXP Employee
NXP Employee

Please use

"L3.0.35_4.1.0_ER_SOURCE  : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite and i.MX 6Solo Linux BSP Source Code Files"

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&nodeId=018rH3ZrDRB24A&fpsp=1&t...

and install all packages suggested in attached file.

0 Kudos
2,280 Views
ralph__
Contributor IV

After a fairly epic struggle I finally got LTIB built. For anyone reading, whatever you do don't download rpm-4.0.4.tar.gz from the RPM website. Download it from the http://www.bitshrine.org/gpp/ website.


Should I be downloading the file L3.0.101_4.1.1_141016_source.tar.gz as well as this seems more recent than the file you suggested?

Thanks,
Ralph

0 Kudos
2,280 Views
igorpadykov
NXP Employee
NXP Employee

yes L3.0.101_4.1.1_141016_source.tar.gz is latest -

download it and read carefully how to install it

using docs inside it.

Best regards

igor

0 Kudos
2,280 Views
ralph__
Contributor IV

Okay, but there don't seem to be any instructions inside. All I get is this:

ls L3.0.101_4.1.1_141016_source

firmware-imx-3.0.101-4.1.1  gpu-viv-bin-mx6s-3.0.101-4.1.1     imx-vpu-lib-3.0.101-4.1.1  ltib_config_platform_imx.patch  patches

glib2-2.12.1-atomic.patch   gpu-viv-wl-bin-mx6s-3.0.101-4.1.1  linux-3.0.101              ltib_dist_lfs-5.1.patch

0 Kudos
2,281 Views
igorpadykov
NXP Employee
NXP Employee

please try

"L3.0.35_4.1.0_ER_SOURCE  : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite and i.MX 6Solo Linux BSP Source Code Files"

and refer to attached sources

Best regards

igor

0 Kudos