NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Running PSP Components on OMAP-L138 LCDK EVM
Contents
Booting U-Boot[edit]
U-Boot is an open source boot loader and is responsible for booting the Linux kernel.
Connect a serial cable from the USB serial port on the EVM to the COM port on the host machine. Set up the serial terminal software as below
The board contains FD232 USB UART IC, which can be connected to a host PC via a standard mini-USB to USB cable, and it acts an external serial port. It is connected to the OMAP-L138/C6748 UART2 peripheral.
Windows and Linux drivers for the chip can be found on the FTDI Product Page.
Configure your serial terminal application (such as Tera Term or HyperTerminal) for 115200 baud, 8 data bits, 1 stop bit, no parity, choosing the COM port corresponding to the USB device:
In Windows, you can determine which COM port the USB serial port is using in Device Manager, as shown below:
Note: Boot images may not have been pre-flashed on the EVM for all boot modes. In this case, follow the procedures in Flashing images to flash the required boot images.
Booting from NAND16 Flash[edit]
- Set the SW2 switch on the DSK board as follows. (X indicates the setting is 'don't care')
Pin# | 1 | 2 | 3 | 4 |
---|---|---|---|---|
Position | 0 | 1 | 1 | 1 |
Booting from MMC/SD[edit]
- Set the SW2 switch on the DSK board as follows. (X indicates the setting is 'don't care')
Pin# | 1 | 2 | 3 | 4 |
---|---|---|---|---|
Position | 0 | 0 | 0 | 1 |
Flashing images to NAND flash using Serial Flasher[edit]
Restoring U-Boot on a bricked LCDK[edit]
If the board does not boot, first check the dip switch SW1 settings to make sure the correct NAND boot mode is set as per the Boot from NAND. The LCDK should come with u-boot already flashed. If for some reason U-Boot does not come up, the u-boot flashed on NAND may get corrupted. You can easily restore the LCDK with the pre-built u-boot image and serial flashing tool included with the LCDK Linux SDK. The prebuilt U-Boot image is u-boot-lcdk_ais.bin and is located under images/u-boot/omapl138-lcdk. The serial flashing tool is located under /host-tools/OMAP-L138_FlashAndBootUtils_2_40.tar.gz.
Follow the tool documentation to install the utility (MS-Windows or Linux host environment). More information can be found here.
To use the serial flasher, the LCDK SW1 settings needs to be in "Serial Boot Mode".
Pin# | 1 | 2 | 3 | 4 |
---|---|---|---|---|
Position | 0 | 1 | 0 | 1 |
In this mode, the LCDK will boot via the USB serial port. To flash the u-boot image mentioned above using this utility, the command line like below can be used (change COM3 to the correct serial port number for your PC):
sfh_OMAP-L138 -targettype OMAPL138_LCDK -flashtype NAND -p COM3 -flash_noubl u-boot-lcdk_ais.bin