[U-Boot] [PATCH] i.MX6 nand bootupdate, reworked
Jagan Teki
jagannadh.teki at gmail.com
Wed Sep 28 19:03:21 CEST 2016
On Wed, Sep 28, 2016 at 10:04 PM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
> On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn <ksi at 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!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
More information about the U-Boot
mailing list