On Wed, 28 Sep 2016, Jagan Teki wrote:
On Wed, Sep 28, 2016 at 10:04 PM, Jagan Teki <jagannadh.t...@gmail.com> wrote:
On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn <k...@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
Sorry it's work for me w/o seek hope this is doing inside your code, thanks!
Yep, it is taken care of inside nand bootupdate code -- it allows to
just load u-boot.imx image without bothering with offsets or skipping
that leading empty kilobyte yourself.
---
******************************************************************
* KSI@home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot