Hello, I have a few questions regarding u-boot and the dm365 EVM:
1) Rebuilding u-boot from the source provided with PSP_02_10_00_14/board_utilities/u-boot.tar.gz does not yield the same size binary file as what is included in PSP_02_10_00_14/bin/dm365, which is 152328 bytes:
ls -l
total 2888
-rwxr-xr-x 1 csmith git 340827 Jul 14 11:15 NANDEraser_DM36x.out
-rwxr-xr-x 1 csmith git 361943 Jul 14 11:15 NANDWriter_DM36x.out
-rwxr-xr-x 1 csmith git 20480 Jul 14 11:15 UBL_DM36x_NAND.bin
-rwxr-xr-x 1 csmith git 359 Jul 14 11:15 readme.txt
-rwxr-xr-x 1 csmith git 152328 Jul 14 11:15 u-boot-1.3.4-dm365_evm.bin
-rwxr-xr-x 1 csmith git 2049992 Jul 14 11:15 uImage-dm365
csmith@ucme:~/GitWham/master/WhamCamAlphaSoftware/3rdParty/TI/dvsdk_2_10_00_17/PSP_02_10_00_14/bin/dm365$
The binary file generated from the above source is 150504 bytes (compiled with no errors simply by typing "make davinci_dm365_evm_config", then "make").
-rwxr-xr-x 1 csmith git 150504 Sep 10 11:00 u-boot-1.3.4-dm365_evm.bin
Question(s): Why are the 2 files different sizes? Is the source provided really the same source used to build the binary file provided? Has anyone used the "smaller" binary file and found it to work?
2) I believe it should be possible to re-flash the u-boot binary w/out XDS/JTAG using the "nand" commands from a running u-boot. Has anyone every tried this?
Is it just a matter of erasing and rewriting the u-boot .bin file at address 0x0? For example, I am considering the following procedure:
1. Boot board, stop at u-boot prompt
2. Load new u-boot .bin file into RAM via tftp
tftp 0x80700000 u-boot-1.3.4-dm365_evm.bin
3. Erase the u-boot partition
nand erase 0x0 0x30000
4. write the new image
nand write 0x80700000 0x0 0x30000
5. Pray that your board boots again
Question: Does anyone see a problem with this procedure?
Thanks for any help,
-Craig