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 to customize U-boot for DM816x EVM when booting from SD card

Greetings,

I used the mksdboot utility to create a SD card and booted the DM816x EVM using this SD card. Now, I need to customize the u-boot of DM816x evaluation modules and load my own codes automatically when the board loads up. In particular, I need to remove the "root" login prompt which shows up at the end of load up process and run my own code, automatically. I inactivated the Matrix application by adding letter K in front of shell scripts in /etc/init.d/rcx folders. I searched the whole target file system, but I didn't find how to remove the login prompt. Please let me know how I can remove the login prompt and run my own code, once the board loads up.

Thanks a lot,

Mohammad

  • Hi Mohammad,

    Mohammad Kiaei said:
    In particular, I need to remove the "root" login prompt which shows up at the end of load up process and run my own code, automatically. I inactivated the Matrix application by adding letter K in front of shell scripts in /etc/init.d/rcx folders. I searched the whole target file system, but I didn't find how to remove the login prompt.

    The EZSDK uses SysV init. /etc/inittab specifies the runlevels and runs getty which provides the login prompt. Changing this to your application would be one way to run it automatically. Since the EZSDK filesystem does not do anything different from what you would expect on a PC running linux, standard linux procedures to customize the boot process can be applied.

    More information -

    1. http://linux.about.com/od/lsa_guide/a/gdelsa58.htm
    2. https://wiki.archlinux.org/index.php/Automatic_login_to_virtual_console