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.

TI8148_EVM prompt not appearing

Other Parts Discussed in Thread: ALP

Respected Sir/Madam,

i am trying to u-boot NAND using UART. i initially flash the U-boot.min to the flash using CCS successfully and when i connect the board to serial port and start TeraTerm i got the TI-MIN prompt and then i load the U-boot.bin over UART as given on site

http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot#Flashing_2nd_stage_to_SPI_from_2nd_stage

but when i run the command go 0x81000000,instead of getting TI8148_EVM promt, i got the same TI-MIN prompt. i don't know what is the actual problem. Can anybody help, i am attaching the snap shot of my teraterm console.

Thanks in advance

  • Pankaj,

    Did the transfer of u-boot.bin go through? please cross check the u-boot.bin size and actual bytes transferred through kermit in your snapshot above.

    Regards,

    Yogesh.

     

     

  • Hi Pankaj,

    I think you are sending "u-boot.min.xx" instead of "u-boot.bin" from first stage prompt. That is the reason why you are seeing very less image size. (52624Bytes)

    Follow the steps at http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#Boot_Over_UART

    Consecutive sections will provide the details of flashing images.

    Regards

    AnilKumar

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

  • Respected sir,

    As you pointed out i looked at my u-boot.bin and it was only 52KB so i changed it to an image that is 182KB and i got the TI8148_EVM#. Then when i try to load 2nd stage u-boot to the NAND, i got no error that means my NAND now will boot from 2nd stage boot. but when i restart my EVM i got the same TIMIN# prompt instead of TI8148_EVM#. Where i got wrong. i am attaching my teraterm terminal snap shot where it shows that my NAND has been flashed to 2nd u-boot. Is it because i started with CCS, so the required memory doesn't flash as described in the NAND memory map or there is another problem. Please guide me in this respect.   Thanks in advance.

  • Hi Pankaj,

    You have to write both the images into NAND.

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#Flashing_images_to_NAND

    And you should not press enter at first stage prompt, it will load the second stage loader.

    Regards
    AnilKumar

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

  • Hi Anil,

    Thanks for the quick reply. I have Flashed 1st stage U-boot using CCS via nand flash utility so i thought i don't need to flash it again because it is already in the NAND thats why i 

    went for 2 nd stage u-boot loading. Am i right or i have to flash 1st stage U-boot again as specified on the site and then go to the 2nd stage U-boot? please tell me.

    Thanks. 

  • Hi Anil,

    Thanks for the quick reply. I have Flashed 1st stage U-boot using CCS via nand flash utility so i thought i don't need to flash it again because it is already in the NAND thats why i 

    went for 2 nd stage u-boot loading. Am i right or i have to flash 1st stage U-boot again as specified on the site and then go to the 2nd stage U-boot? please tell me. Also i want to say that

    when i load 2nd stage U-boot using UART it take no time to say "393216 bytes written:OK". is it OK or it should take some time? Please guide me in this matter too.

    Thanks.

  • Hi Pankaj,

    AFAIK, it should work, can you try one more time flashing the images?

    One more point have you changed the switch settings (http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#EVM_Switch_Settings) for booting the board from NAND (reboot, after flashing).

    It will take very less time and if you got "393216 bytes written:OK" then its successfull.

    How are you

    Regards
    AnilKumar

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

     

  • Again Thanks Anil 

    just one thing , my switch is in NAND boot-mode only, from starting. i flash 1st u-boot using CCS, so at that time my Switch setting was on NAND boot. So when i 

    connect my board to serial port my switch setting has to be in NAND boot to get TI-MIN# prompt. after getting this MIN prompt i started loading u-boot.bin using loadb 

    command. now my question is should i change my Boot mode setting to UART mode at this time or after this, because when i change my boot mode setting to UART 

    mode before loading the u-boot image,it stopped working. Till now i didn't change my boot mode from NAND boot for my entire process. So please tell me when to change 

    my boot mode From NAND-->UART-->NAND again.   

    Please tell me something about this because this thing is not given anywhere.

    Thanks in advance. Plz look into this matter.

  • HI pankaj,

    Initially put it in UART mode

    Try these 5 steps

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#DM814x.2FDM813x

    In 5th step we need to change the switch settings to NAND

    Regards

    AnilKumar

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

     

  • hi Anil,

    I load the U-boot images again as you told. But again the problem is the same. When i restart my EVM after loading the U-boot images to the NAND. i couldn't find TI8148_EVM# prompt. When it autoboot it gives me this error message:

    NAND read: device 0 offset 0x20000, size 0x40000

    NAND read from offset 20000 failed -74

    262144 bytes read: ERROR

    ## Starting application at 0x81000000 ....

    Can you help me in this matter? Why this kind of error message is coming?

    Thanks in advance.

  • Hi Pankaj,

    Which PSP version you are using?

    Regards

    AnilKumar

  • Hi Anil,

    I am using TI814x-LINUX-PSP-04.01.00.01.

  • Hi Pankaj,

    I think you are using PSP-04.04.00.01 (latest release) is it right?

    The reason why I asked the version is for older kernel version ECC scheme is different.

    Regards

    AnilKumar

  • HI ANil,

    So which version should i use that is compatible with the configurations given at the PSP U-boot wiki.  Actually i am going to use EZSDK-5-03-01-15 and it comes with PSP-04-01-00-06. then should i use this only ?  Plz suggest me.

    Thanks.

  • Hi Pankaj,

    You mentioned a wrong version earlier.

    Refer this section of user guide, have ECC settings as well

    http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot#Flashing_U-Boot_without_CCS

    Regards

    AnilKumar

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

  • Hi ANil,

    Thanks for your support. But i have another problem regarding this U-boot flash. let me explain.

    Currently i am working on a project that was previously done by previous employees in the company. They used PSP(04.04.00.01) flash utility for flashing the NAND and  pre-built images for flashing U-boot. Now i am using PSP(04.01.00.06) and i flashed 1st stage u-boot(u-boot.min.nand) to the NAND, but when i connect my EVM(DM8148) to serial terminal,i didn't get TIMIN# on the terminal, actually i didn't get anything. But when i used PSP(04.04.00.01) i got TIMIN#. When i looked at the u-boot images of this PSP, i found that there was an .exe file called u-boot.min.nand.exe,that i used as 1st stage u-boot.

    So my question is that is there any difference between these two files and how can i get this .exe file from the existing .nand file so that i can use this for flashing 1st stage u-boot?

    Thanks in advance.

  • Hi Anil,

    I need your help the question i asked you before. I am using Centaurus Board(TMDXEVM 8148 ALP). So this problem is coming due to this board since this board is old. Tell 

    me about this. 

    Thanks in advance.

  • Hi Pankaj,

    The steps what we discussed till now is on the old version (PSP 04.01.00.06) is it right?

    And one more thing, are you using the default images or do you modify any section of the u-boot code?

    Regards

    AnilKumar

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

  • Hi Anil,

    First of all thanks Anil for your quick support. Also i want to say that i am new to this Embedded Linux world,so if i ask any question that is not relevant then sorry for that.

    I think PSP 04.01.00.06 is not so old version. look at the following:

    http://software-dl.ti.com/dsps/dsps_public_sw/psp/LinuxPSP/DM814x_04_01/

    As i was talking, i have an old version of psp (04.01.00.01) whose prebuilt image is running on my board. But as i told you i was not able to flash 2nd stage u-boot to the nand. now

    when i use this newer version of psp (04.01.00.06), i didn't get anything on serial console after flashing 1st stage u-boot and i am using the pre-built image of this version too.

    I think since i am using an very old board "TMDXEVM8148 ALP", i am having such problem. also since soon i am going to use EZSDK for my video application, will this type of

    problem continue to come with other packages come with EZSDK? Can u suggest me any old version of EZSDK that i may use,so that i will not have such problems, since any .bin

    file that i will use, will be generated by this EZSDK?

    Thanks in advance.

  • Hi Pankaj,

    I think we tried all the alternatives, but still we didn't get the working solution.

    You can refer the corresponding (depends on version) release notes and user guide for flashing the NAND images.

    Have you tried other boot modes apart from NAND (SD boot etc)? Can you try once?

    This page have all the different EZSDK version details

    http://processors.wiki.ti.com/index.php/EZSDK_Feature_List

    Then pick-up the corresponding EZSDK version from

    http://software-dl.ti.com/dsps/dsps_public_sw/ezsdk/

    Regards

    AnilKumar

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

  • HI Anil,

    Thanks. Now i will try to Falsh NAND using SD boot and then let you know what happened. Then i will try another release of EZSDK and then approach if i will get any problem.

    Thanks Once again.

  • HI Anil,

    I am having the same problem with SD boot also. Nothing is coming on serial console. Can it be a problem of initial Configuration of EZSDK? can you tell me something about this? since my board is old, it may happened that i have to change some configuration while generating u-boot images. Since prebuilt images are also not working on my board. Plz tell me how to change the configuration of u-boot. Now i should try some old version of EZSDK. 

    Thanks in advance.

  • Hi Pankaj,

    Could you follow the steps mentioned in coresponding user guide (depends on release) for all switch settings required for SD boot mode?

    How did you create/copy images on SD card?

    Regards

    AnilKumar

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

  • Hi Anil,

    My Switch Setting is Boot SW1[5:1]=10111 and i think it is correct. I created my boot and file system images on SD card using using Shell script mksd-ti814x.sh and at last i got two

    partitions on my SD card one in FAT having MLO u-boot.bin and uImage in it and other in ext4 having  arago-base-tisdk-image-dm814x-evm.tar.tz in it. I think this is what we expect a SD

    card to have for booting. 

  • Hi Anil,

    I just find that the file in ${EZSDK}/board-support/u-boot-2010.06-psp04.01.00.06/include/configs/ti8148_evm.h  have comment  on #define CONFIG_TI814x_EVM_DDR2 while 

    #define CONFIG_TI814x_EVM_DDR3 have no comment. Since my EVM is DDR2 supported. Does commenting out #define CONFIG_TI814x_EVM_DDR2 and make

    comment on #define CONFIG_TI814x_EVM_DDR3 will solve the problem. Guide me in this matter. My board is TMDXEVM8148 board and it is PG1 type board

    Thanks in advance.

  • Hi Pankaj,

    I totally forgot this point.

    Yes, if the u-boot is configured for DDR3 then board will not boot-up.

    Modify these two places in the u-boot code so that board will boot-up.

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#Modifying_U-Boot_for_DDR2

    Regards

    AnilKumar

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

  • Hi Anil,

    I am still having the same problem. I changed ../include/configs/ti8148_evm.h as you told me, after follow the site. after making change i run commands for generating minimal u-boot and u-boot.bin. but still no output is coming over serial console. Plz give any suggestion.

    Thanks

  • Hi Pankaj,

    I miss placed the link in above post, can you refer this section?

    http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot#Automatic_DDR2.2FDDR3_Selection

    Regards

    AnilKumar

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