Hi,
when i try to boot the EVM board from NAND i'm getting the below characters...............what is the point that i have missed
������������������������������������
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.
Hi,
when i try to boot the EVM board from NAND i'm getting the below characters...............what is the point that i have missed
������������������������������������
yes exactly when i trying to boot from sd card it is working fine but when i try to boot from nand it showing that characters......
NAVEEN RUNJALA said:.i have written pre-built images
But you previously stated that you are using pre-built images????
NAVEEN RUNJALA said:sorry i was confused.......i'm not used prebuilt images..
Have you made any changes in the u-boot code base?
Can you provide the exact commands you are using to build MLO and u-boot.img?
Regards,
Pavel
Dear Pavel,
i did what u said exactly i compiled images using Linaro(arm-linux-gnueabihf-)....but no use same error i'm getting out from uart.............
��������������������
here what i observed is the NAND not taking anything like when i check the "cat /proc/mtd" it showing nothing........and that to while the time of NAND erase it showing some bad-block error like below.....
NAND erase.chip: device 0 whole chip
Skipping bad block at 0x00c80000
Skipping bad block at 0x00ca0000
Erasing at 0xffe0000 -- 100% complete.
OK
Naveen,
Have you made any changes in the u-boot code base?
Can you try to flash the pre-built MLO and u-boot.img? Is there any difference? The pre-built MLO and u-boot.img are available in the below path:
{SDK}/board-support/prebuilt-images
MLO-am335x-evm - rename to MLO and write/flash in NAND
u-boot-am335x-evm.img - rename to u-boot.img and write/flash in NAND
NAVEEN RUNJALA said:NAND erase.chip: device 0 whole chip
Skipping bad block at 0x00c80000
Skipping bad block at 0x00ca0000
Erasing at 0xffe0000 -- 100% complete.
OK
Having two bad blocks in NAND is not an issue. NAND erase operation is finally successful.
Regards,
Pavel
Dear Pavel,
no nothing i modified in u-boot code...... and also i tried using pre-built images even though same error i'm getting.........and also i have one doubt before that should i create a files system in NAND or not...
NAVEEN RUNJALA said:i'm using sdk-02.00.00.00.
You stated previously that you are using ti-processor-sdk-linux-am335x-evm-02.00.00.00, but in the log you have provided I see you are using ti-sdk-am335x-evm-08.00.00.00.
Do you know which version of the SDK you are really using?
Regards,
Pavel
For SDK8, you should build u-boot with "am335x_evm"
For processor SDK 2 and/or 2.0.1.7, you should build u-boot with "am335x_evm_config", "am335x_evm_nandboot_config"
Regards,
Pavel
Dear Pavel,
same way i did but i'm getting the below error..........
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Jan 1 2014, 17:13:19.
Port /dev/ttyS0, 16:11:32
Press CTRL-A Z for help on special keys
U-Boot SPL 2015.07-00115-g9ad9fc5 (Apr 04 2016 - 15:16:47)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
Invalid FAT entry
Naveen,
Is that a new issue? I do not think this is related to NAND, but to SD card. Your SD card seems to be corrupted.
You can try the below things to overcome:
1. Run again the script create-sdcard.sh and point to the new MLO/u-boot.img
2. Use another SD card
3. Boot from ethernet and flash the NAND with TFTP
Regards,
Pavel
NAVEEN RUNJALA said:01001000----------NAND Boot
Does this mean that you have on the AM335x GP EVM SW3 DIP switch 1:5 = 01001 (OFF ON OFF OFF ON)?
Note that in AM335x GP EVM ON is labeled on the wrong side of SW3 boot mode switch.
So can you try with SW3 DIP switch 1:5 = 10110 (ON OFF ON ON OFF). See the below wiki page for a picture of how your SW3 DIP switch should look like for NAND boot:
http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User's_Guide#Boot_Switch_Settings
Regards,
Pavel
Pavel,
i have already read that page same in that way i configured.........
0-------------- switch position up
1--------------switch position down
0--------------switch position up
0--------------switch position up
1--------------switch position down