This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Omapl138

Hello!

     I'm reading a paper on wiki (processors.wiki.ti.com/.../OMAP-L138_LCDK_Linux_Software_Developer's_Guide )  rencently and i got a question.In this paper,there are some words I do not understand.

Command prompts in this guide

Commands are preceded by prompts that indicate the environment where the command is to be typed. For example:

host $

Indicates command to be typed into the Linux host shell comand line of the host Linux workstation.

EVM #

Indicates commands to be typed into the U-Boot shell command line from the console window connected to the LCDK board’s serial port.

target $

Indicates commands to be entered into LCDK Linux shell command line, which is usually the serial terminal window connected to the LCDK board's serial port.

I will very appreciate it if you can tell me what is the U-Boot shell command line is and what is the LCDK Linux shell is.It would be better if you can attach some screenshot!

Regards,

    Sai.

  • Hi Sai,

    If it is a U-Boot shell, it means, after you boot the u-boot from the target, you get an u-boot prompt where in you type the u-boot commands ( such as env variables bootargs ) etc and make use of it to boot the linux and mount the linux filesystem

    Linux host shell means, it is the host Linux machine ( such as Ubuntu ) which is used to cross compile your LInux kernel and U-boot.

    LCDK Linux shell means, after you boot the Linux on the target, you will get a prompt to run your applications on top of the linux.
  • Thanks for your answer.But now I have another question.
    when i type the command ' # setenv bootargs mem=64M ip=dhcp noinitrd console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.1.104:/home/user/target,nolock,rsize=1024,wsize=1024 ' in the U-Boot shell command line,the command line always shows
    '-sh: setenv: command not found'.Can you tell me how to solve it ? Thank you very much.
  • As I said in the following post, you can do those steps only if you get the console.
    e2e.ti.com/.../512269
  • Hi User,

    As a first step make sure you get the U-Boot prompt through the console.

    Next, in your command, one apostrophe is missing before "mem" .

    i.e.,

    U-boot# setenv bootargs 'mem=64M ip=dhcp noinitrd console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.1.104:/home/user/target,nolock,rsize=1024,wsize=1024'