0.Prepare ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Prepare Host PC Ubuntu release 14.04 LTS(Trusty Tahr) Copy the following files to a working directory. pioneerdj_tsp.tar.gz.00 (PioneerDJ TORAIZ-SP16 Source Code) pioneerdj_tsp.tar.gz.01 L3.0.35_4.1.0_130816_source.tar.gz.00 (Freescale i.MX BSP ver4.1.0) L3.0.35_4.1.0_130816_source.tar.gz.01 L3.0.35_4.1.0_130816_source.tar.gz.02 L3.0.35_4.1.0_130816_source.tar.gz.03 L3.0.35_4.1.0_130816_source.tar.gz.04 L3.0.35_4.1.0_130816_source.tar.gz.05 IMX_MMCODEC_3.0.35_4.1.0_BUNDLE_CODA.tar.gz (Freescale i.MX MultiMedia CODEC) L3.0.35_4.1.0_docs.tar.gz (Freescale i.MX BSP Document) L3.0.101_4.1.1_141016_source.tar.gz.00 (Freescale i.MX BSP ver4.1.1(for update patch)) L3.0.101_4.1.1_141016_source.tar.gz.01 IMX_MMCODEC_3.0.101_4.1.1_Bundle.tar.gz (Freescale i.MX MultiMedia CODEC(for update patch)) ltib_patch.tar.gz (update patch) 1.BSP Setup(step1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cat L3.0.35_4.1.0_130816_source.tar.gz.00 L3.0.35_4.1.0_130816_source.tar.gz.01 L3.0.35_4.1.0_130816_source.tar.gz.02 L3.0.35_4.1.0_130816_source.tar.gz.03 L3.0.35_4.1.0_130816_source.tar.gz.04 L3.0.35_4.1.0_130816_source.tar.gz.05 > L3.0.35_4.1.0_130816_source.tar.gz cat L3.0.101_4.1.1_141016_source.tar.gz.00 L3.0.101_4.1.1_141016_source.tar.gz.01 > L3.0.101_4.1.1_141016_source.tar.gz cat pioneerdj_tsp.tar.gz.00 pioneerdj_tsp.tar.gz.01 > pioneerdj_tsp.tar.gz tar zxvf pioneerdj_tsp.tar.gz cd pioneerdj_tsp export TSP=`pwd` ./bsp_setup1 2.Ubuntu PC setup. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please setup by referring to the following document. /home/iMX6/L3.0.35_4.1.0_130816_docs/doc/mx6/Setting_Up_LTIB_host.pdf 3.BSP Setup(step2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd /home/iMX6/L3.0.35_4.1.0_130816_source ./install -------------------------------------------------------------------- Where do you want to install LTIB ? (/home/iMX6/L3.0.35_4.1.0_130816_source) > /home/iMX6 -------------------------------------------------------------------- cd $TSP ./bsp_setup2 cd /home/iMX6/ltib ./ltib -m config NOTE: At first, it will take over ten minutes... -------------------------------------------------------------------- Platform choice (Freescale iMX reference boards) ---> Do you wish to save your new configuration ? -------------------------------------------------------------------- Selection (imx25_3stack) ---> imx6q Selection (use packages in preconfig (Min profile)) ---> FSL gome release package Do you wish to save your new configuration ? -------------------------------------------------------------------- --- Toolchain selection Toolchain (ARM, gcc-4.6.2, multilib, neon optimized, gnueabi/eglibc2.13) ---> (-O2 -march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp) ---> (-O2 -march=armv7-a -mfpu=neon -mfloat-abi=softfp) --- Choose your board for u-boot mx6q_sabresd --- Choose your board for u-boot Choose your Kernel Linux 3.0.101-imx --- Package selection Package list ---> [ ] imx-test [*] gpu-viv-bin-mx6q Freescale Multimedia Plugins/Codecs ---> --- libfslcodec --- libfslparser [*] libfslvpuwrap [ ] libfslaacpcodec --- gst-fsl-plugins [*] gst-plugins-gl [*] fsl-alsa-plugins --- alsa-lib [*] alsa-util --- gstreamer --- gstrteamer-plugins-base [*] gstrteamer-plugins-good [*] mtd-utils [*] readline [*] strace [*] util-linux --- Target System Configuration Options ---> [*] start udevd [*] start syslogd/klogd [ ] start inetd --- Target Image Generation Options ---> [*] Keep temporary staging directory [*] remove the /usr/src/ directory [*] remove the /usr/include directory Do you wish to save your new configuration ? -------------------------------------------------------------------- ./ltib NOTE: It will take over an hour... ./ltib -m prep -p busybox ./ltib -m prep -p u-boot 4.BSP Setup(step3) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd $TSP ./bsp_setup3 5.Compile u-boot ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_boot clean ./make_boot make NAND 2ND 6.Compile linux-kernel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_linux clean ./make_linux make ./make_linux modules 7.make rootfs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_rootfs 8.Compile busybox ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_busybox clean ./make_busybox make 9.Compile other tools ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_tool 10.GCC SourceCode ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please check the following URL and Download 'GCC 4.6.2' GCC, the GNU Compiler Collection- GNU Project - Free Software Foundation (FSF) https://gcc.gnu.org/