Skip to content
Snippets Groups Projects
  • Nishanth Menon's avatar
    78fd0041
    omap5: Allow use of a plain text env file · 78fd0041
    Nishanth Menon authored
    
    For production systems it is better to use script images since
    they are protected by checksums and carry valuable information
    like name and timestamp. Also, you can't validate the content
    passed to env import.
    
    But for development, it is easier to use the env import command and
    plain text files instead of script-images.
    
    Since both OMAP5evm/uevm boards are used primarily for development,
    we allow U-Boot to load env var from a text file in case that an
    boot.scr script-image is not present.
    
    The variable uenvcmd (if existent) will be executed (using run) after
    uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence
    will be started.
    
    Inspired by commit: d70f5480
    (omap4: allow the use of a plain text env file instead boot scripts)
    
    Signed-off-by: default avatarSricharan R <r.sricharan@ti.com>
    Signed-off-by: default avatarNishanth Menon <nm@ti.com>
    Tested-by: default avatarSricharan R <r.sricharan@ti.com>
    78fd0041
    History
    omap5: Allow use of a plain text env file
    Nishanth Menon authored
    
    For production systems it is better to use script images since
    they are protected by checksums and carry valuable information
    like name and timestamp. Also, you can't validate the content
    passed to env import.
    
    But for development, it is easier to use the env import command and
    plain text files instead of script-images.
    
    Since both OMAP5evm/uevm boards are used primarily for development,
    we allow U-Boot to load env var from a text file in case that an
    boot.scr script-image is not present.
    
    The variable uenvcmd (if existent) will be executed (using run) after
    uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence
    will be started.
    
    Inspired by commit: d70f5480
    (omap4: allow the use of a plain text env file instead boot scripts)
    
    Signed-off-by: default avatarSricharan R <r.sricharan@ti.com>
    Signed-off-by: default avatarNishanth Menon <nm@ti.com>
    Tested-by: default avatarSricharan R <r.sricharan@ti.com>