I got the "Linux host shell" (Serial Terminal Window) to enter the commands started with "host $" , but where i can found the "U-Boot Shell" and "LCDK- Linux Shell" to enter commands starting with "EVM #" and "target $" respectively ?
Thanks and Regards,
If you can enter linux commands like ls, pwd, you are in a linux shell. If you want to see u-boot on the LCDK, you can remove the SD card and boot.
Do you have your host PC connected to J3 on the target LCDK?
What terminal program are you using?
Instructions to connect to a windows host for teraterm or hyperterm are here
If you are connected to a Linux host you can use minicom
Thank you for your answer. And i missed my LCDK "Quick Start Guide" booklet, so where can i find the new one? Whether we can search in net? Is there any link available for Quick Start Guide.
I have connected my PC with the LCDK BOARD through USB connector to J3, and started the Minicom and i did the necessary settings(115200, 8N1 & port name as ttyUSB0), but nothing displayed on the minicom window. What maybe the problem?
Are you sure it is ttyUSB0? After you connect type dmesg in a linux host window and check to see if it shows up as ttyUSB0, ttyUSB1 etc.
You can flash the NAND back to factory condition following instructions here
If you remove the sdcard and reboot after you restore, you should at least see U-boot messages.
I studied from the Linux_Software_Developers_Guide#Restoring_U-Boot_on_a_bricked_LCDK page and i executed the command as given, below i showed you, what i have executed,
ilay@ilay-G41M-Combo:~$ sudo /home/ilay/ti-sdk-omapl138-lcdk-01.00.00/host-tools/flash_utils/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p /dev/ttyUSB0 -flash_noubl u-boot-lcdk_ais.bin
[sudo] password for ilay: ----------------------------------------------------- TI Serial Flasher Host Program for OMAP-L138 (C) 2012, Texas Instruments, Inc. Ver. 1.67-----------------------------------------------------
[TYPE] Single boot image[BOOT IMAGE] u-boot-lcdk_ais.bin [TARGET] OMAPL138_LCDK [DEVICE] NAND [NAND Block] 1
Attempting to connect to device /dev/ttyUSB0...Press any key to end this program at any time.
(AIS Parse): Read magic word 0x41504954.(AIS Parse): Waiting for BOOTME... (power on or reset target now)
these are the lines i got when i executed that command. After this i power cycled my board once and checked, and restarted once and checked, but nothing is happening after this. But, when i press "Enter" button, its showing as "Aborting Program". I waited after this for more than 1 hour, but no respponse, i dont know, whether its flashing or not?.
Make sure the output of dmesg in linux shows that /dev/ttyUSB0 is connected. It might be called something else like /dev/ttyUSB1 for example.
Also make sure you set the switches correctly for UART2 (J3) booting the LCDK
After checking all that, remove the power connector and connect again when it says Waiting for BOOTME...
It should only take a few seconds.
I checked the USB connection, (it is ttyUSB0 connected to UART J3 on the board) and settings as (115200 8N1), SW1 switch no.2 as ON(for UART booting mode) and i executed this command(sudo /home/ilay/ti-sdk-omapl138-lcdk-01.00.00/host-tools/flash_utils/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p /dev/ttyUSB0 -flash_noubl u-boot-lcdk_ais.bin), it is showing as,
----------------------------------------------------- TI Serial Flasher Host Program for OMAP-L138 (C) 2012, Texas Instruments, Inc. Ver. 1.67-----------------------------------------------------
and after this i power cycled the board, but now also its taking much time but no result.
And the another thing is, i am calling the "MINICOM Window" as,
sudo minicom ttyUSB0
it is displaying as,
Welcome to minicom 2.5
OPTIONS: I18n Compiled on May 2 2011, 00:39:27.Port /dev/ttyUSB0
Press CTRL-A Z for help on special keys
i am getting these lines, but after this no information about U-boot or Linux running on the LCDK. What i have to do?.
What are your switch settings on SW1?
Also, are you sure you don't have another device connected at ttyUSB0? Are any other serial ports active?
One way to check is to use this command before you connect the serial port
$ tail -f /var/log/messages
You should see a bunch of activity and one line like this:
Jul 16 05:02:48 ubuntu kernel: [ 126.733797] usb 2-2.1: FTDI USB Serial Device converter now attached to ttyUSB0
My SW1 switch setting was(switch no.2 is ON and remaining switches 1,3,4,5,6,7,8 are OFF). And my serial port is ttyUSB0 only, no other devices are connected. Then, i think the bootloader in the LCDK is corrupted, thats why the U-boot messages are not shown in the minicom window. Now, i am trying to reboot the NAND by using the command,
root@ilay-G41M-Combo:/home/ilay# mono /home/ilay/ti-sdk-omapl138-lcdk-01.00.00/host-tools/flash_utils/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p /dev/ttyUSB0 -flash_noubl u-boot-lcdk_ais.bin
After this i pressed the restart button, and also i switched OFF and switched ON the board, but there is no change, it still remains in that line, i don't know whether the process (flashing the NAND) is taking place or not ???...
Switches 1,2,3 and 4 on SW1 set the boot method, you need to have both 2 and 4 on for uart2.
Thanks for your answer. i made the switches 2 &4 of SW1 as ON, and i executed the command, now it is showing as,
(AIS Parse): Read magic word 0x41504954.(AIS Parse): Waiting for BOOTME... (power on or reset target now)(AIS Parse): BOOTME received!(AIS Parse): Performing Start-Word Sync...(AIS Parse): Performing Ping Opcode Sync...(AIS Parse): Processing command 0: 0x58535901.(AIS Parse): Performing Opcode Sync...(AIS Parse): Loading section...(AIS Parse): Loaded 14372-Byte section to address 0x80000000.(AIS Parse): Processing command 1: 0x58535901.(AIS Parse): Performing Opcode Sync...(AIS Parse): Loading section...(AIS Parse): Loaded 1324-Byte section to address 0x80003824.(AIS Parse): Processing command 2: 0x58535906.(AIS Parse): Performing Opcode Sync...(AIS Parse): Performing jump and close...(AIS Parse): AIS complete. Jump to address 0x80000000.(AIS Parse): Waiting for DONE...(AIS Parse): Boot completed successfully.
Waiting for SFT on the OMAP-L138...File u-boot-lcdk_ais.bin is not present.
Interfacing to the OMAP-L138 via UART failed.Please reset or power-cycle the board and try again...
What i have todo?.
The path for the file u-boot-lcdk_ais.bin is not correct. You can copy it to the current directory or use the full path.
Thanks. I entered the full path and then i executed it, now it is working properly. And also i booted Linux Kernel from SD Card also, it is also working properly. But the Ethernet Port i connected from my PC to the LCDK board is not showing up any ethernet connections, connection is not established between my PC and the Board, but when i connect the ethernet cable to my PC it is displaying as,
root@omapl138-lcdk:~# PHY: 0:07 - Link is Up - 100/Full
But in my PC, connection is not shown up.
Then, how can i find the IP Address of the LCDK Board? I used the command,
the following lines are displayed, in that i don't know what is the IP Address of the Board,
root@omapl138-lcdk:~# ifconfig eth0 Link encap:Ethernet HWaddr 9E:A9:0C:45:66:CE inet6 addr: fe80::9ca9:cff:fe45:66ce/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:85 errors:0 dropped:0 overruns:0 frame:0 TX packets:258 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13842 (13.5 KiB) TX bytes:149148 (145.6 KiB) Interrupt:33 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:872 (872.0 B) TX bytes:872 (872.0 B)
Now, what i want to do is, i have to find the IP Address of the Board, then i need to copy the "Hello World" program to LCDK by using that IP address
host $ scp hello root@<LCDK IP address>:/home/root/
and i want to see the output from the LCDK Board.
I'm having the same problems setting up connection between the host and the LCDK. The lights of the ethernet connector are working properly so i guess that it's not a solder problem (http://e2e.ti.com/support/embedded/linux/f/354/t/198486.aspx).Any tips?
Thanks in advance,
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.