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.

Linux | change boot parameters

Hello everyone,

Please tell me how to change boot parameters on DVEVM.

Currently on SD card I have two similar files named boot.scr and boot.cmd. They contain setenv command with appropriate parameters for kernel. Changes in boot.cmd leads to nothing. Changes in boot.scr leads to Bad CRC and booting stops. Log:

--------------------------------

<...>

Net: Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot: 0
reading boot.scr

388 bytes read
## Executing script at 80600000
Bad data crc
DM36x EVM # boot
reading boot.scr

388 bytes read
## Executing script at 80600000
Bad data crc
DM36x EVM #  

-------------------------------

What is the link between these two files, which is executed first and how can I enter my own parameters to the kernel? 

  • HI Alyona Nikiforova,

    Add boot args to boot.txt and run the below command to generate boot.scr so that you will not face any issues like "Bad data crc"

    mkimage -A arm -O linux -T script -C none -n TI_script -d boot.txt boot.scr

    Regards

    AnilKumar

    Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

  • Anil,

    Thank you very much!

    Yes, I found it in dvsdk/bin/README.boot.scr. Complicating to guess the location, in my opinion.