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.

How do you set the bootargs in the Graphics SDK quick installation? (AM335x-EVM)

Hello,

I am doing the Quick Installation Guide for the Graphics SDK that came with the ti-sdk-06.00.00.00. I got it installed already using make BUILD=release OMAPES=8.x all and make BUILD=releaseOMAPES=8.x install using this Rules.make setup, where <username> is my username of course:

HOME=/home/<username>

# Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a)
CSTOOL_DIR=/home/<username>/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/

# Set Tool chain prefix (ex arm-arago-linux-gnueabi- )
CSTOOL_PREFIX=arm-linux-gnueabihf-

# Set kernel installation path ( ex /home/user/linux-04.00.01.13 )
KERNEL_INSTALL_DIR=/home/<username>/ti-sdk-am335x-evm-06.00.00.00/board-support/linux-3.2.0-psp04.06.00.11/

Bbut I don't understand where to put this line:

setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs nfsroot=<nfshostipaddress>:<rootpath>,nolock
rw mem=256M ip=dhcp earlyprintk=serial vram=50M'

My nfshostipadress is 192.168.0.201 and the rootpath is
/home/<username>/ti-sdk-am335x-evm-06.00.00.00/targetNFS/

But if i try to issue the command it only says setenv not known command, and if I do it using tcsh it doesn't do anything.
Do I have to configure some file?
Can someone help me please?

  • Hi,

    In the bootargs are written all arguments needed from kernel to boot the system. Here you explain the UART speed, console, memory size, location of file system, video size and .... These setting comming from u-boot, but if you want you can changed it in a u-boot console. With printenv you can see all settings and with saveenv you can save all changes. You have to change the settings in a u-boot console and after that you have to write them with saveenv.

    BR
    Ivan

  • thanks for the quick response..But I don't know how to get uboot console?

    And do I do that on my host Linux computer or on the AM335x?

  • Hi,

    The changes are executed on the am335x. After power on the board first start the MLO, next start u-boot and appears on the PC computer message(on the console): "Hit any key to stop autoboot:  3/2/1/0". This message is from am335x board and appear on the PC console. You have to hit any key to enter to u-boot console. There you can type help command to see how many command you can execute. In this console you have to make the changes of environment setting on the bootargs parameter.

    BR
    Ivan