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.

debrick.scr

Other Parts Discussed in Thread: UNIFLASH

Hi All,

Where is the code in uboot(file name) that fetches  debrick.scr when doing boot over USB using uniflash.

Regards,

Gangadhar

  • Gangadhar,


    You need to modify the CONFIG_BOOTCOMMAND in include/configs/ti_armv7_common.h.

    I used this:

    #define CONFIG_BOOTCOMMAND \
            "setenv bootargs console=${console}; setenv ethact usb_ether; dhcp; tftp 0x80202000 debrick.scr; done;"

    Or, you could come up with some more elegant scheme. But this works...

  • Ron,

    I don't have any need for adding it. The reason behind me asking this question is, I'm facing one problem - after

    booting over usb( image generated by make am335x_evm_nor_usbspl) or if uboot comes up from NOR(make am335x_evm_norboot), some junk characters for few seconds come on console. I press "backspace" untill this stops and hit enter to get uboot prompt. Then uboot gives an error "unknown command". 

    I thought that uboot might be trying to fetch debrick.scr from tftp but I don't keep debrick.scr in tftp folder. I thought of disabling this debrick.scr fetch. I checked in uboot source, but didn't find this code, there was some other Seimens board which uses the same debrick.scr. Where in am335x code is this done?

    Is there any one who as faced this junk characters on console problem? Or any other reasons for this problem?

    Regards,

    Gangadhar