====== Installation of system software on the eMMC flash ====== **ATTENTION**: The following modifications must be applied to the MBa28 prototype board: * Fix pull-ups boot mode * Fix PHY addresses * Fix pull-downs TFT display ===== Installation of the MFG-Tool ===== First of all the MFG-Toolkit from [[http://www.freescale.com/|Freescale]] needs to be installed on your PC. In case you already registered with Freescale it is available for download at the following URL: * http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCIMX28EVKJ&fpsp=1&tab=Design_Tools_Tab Just unzip the downloaded archive to a folder of your choice. ===== Software archives ===== The system software for the TQMa28 module can be found here: * [[en:sys:downloads#mfg_profil_linux_installation|MFG Profile Linux Installation]] (tqma28-mfg-linux-update-yyyymmdd-nn.zip) * [[en:sys:downloads#mfg_profil_u-boot-start|MFG Profile U-Boot-Start]] (tqma28-mfg-u-boot-yyyymmdd-nn.zip) After downloading unzip the archives into the subfolder //Profiles// of the MFG-Tool installation folder. This will create two new directories: * //TQMa28-Linux-Update// * //TQMa28-U-Boot// The second profile ("TQMa28-U-Boot") does not install anything on the flash, it only launches U-Boot. However, when saving the environment within U-Boot, it will be saved to flash. ===== DIP switch settings (rescue mode) ===== In order to enable the rescue mode set the DIP switches on the MBa28 as illustrated below: {{section>en:tqma28:dip_switches#rescue_mode&noheader}} ===== Installation ===== After connecting your PC with a USB type A-A cable to the upper USB socket on the MBa28 mainboard, you can start the MFG tool. Now power on the MBa28 mainboard. The field "A-Hub" should then show "HID-konformes Gerät". {{:sys:mfg01.png|}} Select "TQMa28-Linux-Update" from the "Profile:" dropdown. Make sure the correct configuration is selected (//Options// -> //Configuration//). There are four installation options to select from: ^ Option ^ Target ^ Description ^ | eMMC debian | eMMC | U-Boot, Kernel, Debian Squeeze Rootfs | | eMMC custom | eMMC | U-Boot, Kernel, minimal rootfs with X11 and SSH-Login | | eMMC firmware | eMMC | U-Boot, Kernel, no rootfs | | SD custom | SD-Card | U-Boot, Kernel, minimal rootfs with X11 und SSH-Login | {{:sys:mfg02a.png|}} Now select the button "Start" to program U-Boot, linux kernel and root filesystem to the eMMC flash. This operation takes approx. 2 to 20 minutes (depending on the size of the root filesystem). If all went ok the progress bar changes from blue to green. {{:sys:mfg03.png|}} ===== Booting the system ===== **Remove the USB cable from the MBa28 mainboard and the PC.** Set the DIP switches according to your installation target. If you had chosen eMMC as target set the DIP switches to the following configuration {{section>en:tqma28:dip_switches#boot_from_eMMC&noheader}} If you installed the image on the SD-Card use the following configuration {{section>en:tqma28:dip_switches#boot_from_sd_card&noheader}} Now reset the system using the reset button. To boot the kernel and the root filesystem from the SD card you have to change the following variable in U-Boot: setenv mmcdev 1 saveenv At the console you can see the output of the boot process. The following screenshot shows the boot process for the "custom" root filesystem: {{:sys:mfg04.png|}} {{:sys:mfg07.png|}}