
On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn ksi@koi8.net wrote:
Here is yet another version, diff made against latest u-boot-imx master.
Actual code moved from drivers/mtd/nand to /arch/arm/imx-common, some functions renamed. No other changes.
<snip>
return CMD_RET_USAGE;
} @@ -766,6 +816,17 @@ static char nand_help_text[] = " 'addr', skipping bad blocks and dropping any pages at the end\n" " of eraseblocks that contain only 0xFF\n" #endif +#ifdef CONFIG_CMD_NAND_BOOTUPDATE
"nand bootupdate - [addr] [size]\n"
What is the addr here the nand offset or the ddr addr? I tried of doing the same but unable to boot any help?
$ dd if=SPL of=SPL-new bs=512 seek=2 icorem6qdl> tftpboot ${loadaddr} SPL-new Using FEC device TFTP from server 192.168.2.96; our IP address is 192.168.2.75 Filename 'SPL-new'. Load address: 0x12000000 Loading: ####### 1.4 MiB/s done Bytes transferred = 32768 (8000 hex) icorem6qdl> nand bootupdate ${loadaddr} 0x8000 NAND bootupdate successful icorem6qdl>
thanks!