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
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
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.
NOTE : Please click "Verify Answer" if this post has answered your question.
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!
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.
You have to write both the images into NAND.
And you should not press enter at first stage prompt, it will load the second stage loader.
RegardsAnilKumarPlease mark this Forum post as answered via the Verify Answer button below if it helps answer your question. Thanks
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.
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.
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
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.
Initially put it in UART mode
Try these 5 steps
In 5th step we need to change the switch settings to NAND
Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question. Thanks!
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.
Which PSP version you are using?
I am using TI814x-LINUX-PSP-04.01.00.01.
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.
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.
You mentioned a wrong version earlier.
Refer this section of user guide, have ECC settings as well
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.