I have a custom board based on the AM3517EVM, and I am trying to boot from a standalone application image/binary stored in jffs2.
I first tried booting from an image stored directly into flash, with no file system, and this works....
STEPS) (1) Read application image from nand flash into memory, and then (2) start standalone application using u-boot go command.
Console output:
Hit any key to stop autoboot: 0
AM3517_EVM # nand read 0x80000000 0x280000 0x61000; go 0x80000000
NAND read: device 0 offset 0x280000, size 0x61000
397312 bytes read: OK
## Starting application at 0x80000000 ...
APPLICATION STARTS NORMALLY...
Next I tried booting from an image stored in jffs2, and this does NOT work...
STEPS) (1) Use FSLOAD command read jffs2 file/application image into memory, and then (2) start standalone application using u-boot go command.:
Console output:
Hit any key to stop autoboot: 0
AM3517_EVM # fsload /hu256-am3517.bin
### JFFS2 loading '/hu256-am3517.bin' to 0x80000000
Scanning JFFS2 FS: . done.
### JFFS2 load complete: 395972 bytes loaded to 0x80000000
AM3517_EVM # go 0x80000000
## Starting application at 0x80000000 ...
APPLICATION DOES NOT START...
NOTE: I need to use a flash file system, as the application will need to access the jffs2 file system as well as u-boot.
Any help would be greatly appreciated.
Thanks!
Kerry