Re: [U-Boot] [PATCH] i.MX6 nand bootupdate, reworked

2016-09-28 Thread Jagan Teki
On Wed, Sep 28, 2016 at 10:47 PM, Sergey Kubushyn wrote: > On Wed, 28 Sep 2016, Jagan Teki wrote: > >> On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn wrote: >>> >>> Here is yet another version, diff made against latest u-boot-imx master. >>> >>> Actual code moved from drivers/mtd/nand to /arch/

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate, reworked

2016-09-28 Thread Sergey Kubushyn
On Wed, 28 Sep 2016, Jagan Teki wrote: On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn 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. retu

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate, reworked

2016-09-28 Thread Sergey Kubushyn
On Wed, 28 Sep 2016, Jagan Teki wrote: On Wed, Sep 28, 2016 at 10:04 PM, Jagan Teki wrote: On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn 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 f

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate, reworked

2016-09-28 Thread Jagan Teki
On Wed, Sep 28, 2016 at 10:04 PM, Jagan Teki wrote: > On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn 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 chan

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate, reworked

2016-09-28 Thread Jagan Teki
On Sun, Jun 19, 2016 at 3:14 AM, Sergey Kubushyn 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. > return CMD_RET_USAGE; > } > @@ -766,6 +

[U-Boot] [PATCH] i.MX6 nand bootupdate, reworked

2016-06-18 Thread Sergey Kubushyn
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. Signed-off-by: Sergey Kubushyn --- arch/arm/imx-common/Makefile | 3 + arch/arm/imx-common/cmd_nan

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate

2016-06-16 Thread Ladislav Michl
Hi Stefano, On Wed, Jun 15, 2016 at 12:14:21PM +0200, Stefano Babic wrote: > Hi Sergey, > > > On 14/06/2016 20:32, Sergey Kubushyn wrote: > > Here is the initial support for writing i.MX6 NAND U-Boot into NAND > > with all FCB and DBBT stuff as required. > > > > This is a very interesting feat

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate

2016-06-16 Thread Stefano Babic
Hi Sergey, On 15/06/2016 21:42, Sergey Kubushyn wrote: > On Wed, 15 Jun 2016, Stefano Babic wrote: > > Hi, > >> Hi Sergey, >> >> >> On 14/06/2016 20:32, Sergey Kubushyn wrote: >>> Here is the initial support for writing i.MX6 NAND U-Boot into NAND >>> with all FCB and DBBT stuff as required. >>>

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate

2016-06-15 Thread Sergey Kubushyn
On Wed, 15 Jun 2016, Stefano Babic wrote: Hi, Hi Sergey, On 14/06/2016 20:32, Sergey Kubushyn wrote: Here is the initial support for writing i.MX6 NAND U-Boot into NAND with all FCB and DBBT stuff as required. This is a very interesting feature missing in U-Boot. Up now we are constrained

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate

2016-06-15 Thread Stefano Babic
Hi Sergey, On 14/06/2016 20:32, Sergey Kubushyn wrote: > Here is the initial support for writing i.MX6 NAND U-Boot into NAND > with all FCB and DBBT stuff as required. > This is a very interesting feature missing in U-Boot. Up now we are constrained to update the bootloader from user space with

Re: [U-Boot] [PATCH] i.MX6 nand bootupdate

2016-06-14 Thread Peng Fan
Hi Sergey, On Tue, Jun 14, 2016 at 11:32:37AM -0700, Sergey Kubushyn wrote: >Here is the initial support for writing i.MX6 NAND U-Boot into NAND >with all FCB and DBBT stuff as required. > >Just build U-Boot for NAND as u-boot.imx, load it somehow in RAM and >say "nand bootupdate [addr] [size]". I

[U-Boot] [PATCH] i.MX6 nand bootupdate

2016-06-14 Thread Sergey Kubushyn
Here is the initial support for writing i.MX6 NAND U-Boot into NAND with all FCB and DBBT stuff as required. Just build U-Boot for NAND as u-boot.imx, load it somehow in RAM and say "nand bootupdate [addr] [size]". It will create all necessary structures and write everything as needed. No SPL re