0.Prepare ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Prepare Host PC Ubuntu release 10.10(maverick) Copy the following files to a working directory. pioneer_xdj_rx.tar.gz.00 (Pioneer XDJ-RX Source Code) pioneer_xdj_rx.tar.gz.01 L3.0.35_4.1.0_130816_source.tar.gz.00 (Freescale i.MX BSP) 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_docs.tar.gz (Freescale i.MX BSP Document) 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 pioneer_xdj_rx.tar.gz.00 pioneer_xdj_rx.tar.gz.01 > pioneer_xdj_rx.tar.gz tar zxvf pioneer_xdj_rx.tar.gz cd pioneer_xdj_rx export XDJ_RX=`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 /home/iMX6/ltib ./ltib -m config -------------------------------------------------------------------- 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)) ---> use packages in preconfig (Min profile) Do you wish to save your new configuration ? -------------------------------------------------------------------- --- Package selection Package list ---> [ ] firmware-imx [ ] imx-test [ ] imx-lib [ ] imx-vpu-lib [*] kobs-ng [*] gpu-viv-bin-mx6q --- alsa-lib [*] alsa-utils [*] bash [*] busybox [*] Modify udev rules for non-raid system [*] include i.MX rules [*] DirectFB [*] ethtool [*] i2c-tools [*] libiconv --- libjpeg [*] module depencies [*] mtd-utils --- ncurses [*] Install only a subset of terminal types [*] procps [*] Skelton base files [*] strace --- Target System Configuration Options ---> [*] start udevd [ ] start networking [ ] set the system time at startup [*] 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: If build fails by ethtool, try "./ltib" again. ./ltib -m prep -p busybox ./ltib -m prep -p u-boot cd $XDJ_RX ./bsp_setup2 4.Compile u-boot ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_boot clean ./make_boot make NAND TP 5.Compile linux-kernel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_linux clean ./make_linux make ./make_linux modules 6.make rootfs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_rootfs NOTE: If build fails by ethtool, try "./make_rootfs" again. 7.Compile busybox ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_busybox clean ./make_busybox make 8.Compile other tools ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./make_tool 9.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/