I have been successful in using the SD card version of the img file to boot into a working system.
I would like to use the EMMC.img version and have the router boot and function out of emmc. Can you guide me how to flash the EMMC.img version? I tried using the following options in u-boot menu:
System Load Linux Kernel then write to Flash via TFTP and
b. System Load flashimage then write to Flash via TFTP.
The TFTP transfer was successful, but got errors.
In case of “System Load Linux Kernel”, I got
Bytes transferred = 20191432 (13418c8 hex)
get filesize 0x13418c8
[do_filesize_check] partition_size: 0x1e00000 , filesize: 0x13418c8
[do_read_image_blks] Image format error,neither FIT image nor old image.
Bad Magic Number.
mmc0 is current device
mmc0 operation
dev_num = 0
MMC write: dev # 0, block # 4096, count 98304 ... 98304 blocks write: OK
mmc0 is current device
mmc0 operation
dev_num = 0
MMC read: dev # 0, block # 4096, count 1 ... 1 blocks read: OK
[do_read_image_blks] Image format error,neither FIT image nor old image.
Bad Magic Number.
mmc0 operation
dev_num = 0
MMC read: dev # 0, block # 4096, count 0 ... 0 blocks read: OK
bootm flag=0, states=70f
Wrong Image Format for bootm command
ERROR: can't get kernel image!
In case of “Load flashimage”, I got
Bytes transferred = 20191432 (13418c8 hex)
get filesize 0x13418c8
[do_filesize_check] partition_size: 0x1400000 , filesize: 0x13418c8
mmc0 is current device
mmc0 operation
dev_num = 0
MMC write: dev # 0, block # 0, count 40960 ... 40960 blocks write: OK
dev_num = 0
Writing to MMC(0)... offset=1310720
size=4096
mmc->write_bl_len=512
done
invaild env!!!