Re: [PATCH v3 2/3] arm: Add an __image_copy_start symbol for ARMv8

2021-09-25 Thread Scott Wood
On Sat, 2021-09-25 at 09:46 -0600, Simon Glass wrote: > Hi Scott, > > On Thu, 5 Aug 2021 at 13:20, Simon Glass wrote: > > > > Hi Scott, > > > > On Wed, 4 Aug 2021 at 13:53, Scott Wood wrote: > > > > > > On Sun, 2021-08-01 at 14:59 -060

Re: [PATCH v3 2/3] arm: Add an __image_copy_start symbol for ARMv8

2021-08-04 Thread Scott Wood
On Sun, 2021-08-01 at 14:59 -0600, Simon Glass wrote: > This symbol is needed for binman to locate the start of the image. Add it. > > Note: the existing line to bring in the .__image_copy_start symbol does > not appear to do anything. > > Signed-off-by: Simon Glass > ---

Re: [U-Boot] [PATCH] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC

2019-02-12 Thread Scott Wood
On Sun, 2019-02-10 at 07:48 -0600, Adam Ford wrote: > On Sun, Feb 10, 2019 at 7:30 AM Adam Ford wrote: > > > > On Mon, Feb 4, 2019 at 12:17 PM Tim Harvey wrote: > > > > > > On Wed, Jan 2, 2019 at 6:37 PM Adam Ford wrote: > > > > > > > > The LogicPD board uses a Micron Flash with ECC. To

Re: [U-Boot] [PATCH] MAINTAINERS: Mark NAND as Orphaned

2018-07-26 Thread Scott Wood
On Thu, 2018-07-26 at 12:03 -0400, Tom Rini wrote: > Scott is no longer maintaining the NAND subsystem, mark as orphaned for > now. > > Cc: Scott Wood > Signed-off-by: Tom Rini > --- > Thanks again for your time and contributions Scott! > --- > MAINTAINERS| 4

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-04-20 Thread Scott Wood
On Fri, 2018-04-20 at 03:16 +, Prabhakar Kushwaha wrote: > Thanks Scott for reviewing this patch > > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Scott > > Wood > > Sent: Friday, April 20, 2018 6:40 AM

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-04-19 Thread Scott Wood
On Thu, 2018-04-19 at 14:09 +0530, Calvin Johnson wrote: > On Thu, Apr 19, 2018 at 12:17 PM, Scott Wood <o...@buserror.net> wrote: > > On Mon, 2018-04-16 at 08:40 +0530, Calvin Johnson wrote: > > > On Fri, Apr 13, 2018 at 12:18 AM, Jagdish Gediya <jagdish.ged...@

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-04-19 Thread Scott Wood
On Mon, 2018-04-16 at 08:40 +0530, Calvin Johnson wrote: > On Fri, Apr 13, 2018 at 12:18 AM, Jagdish Gediya > wrote: > > Add command "boot_bank X" to switch the boot bank to either > > 1 or 2. > > Are these functions required as this can be handled by new env vars to >

Re: [U-Boot] [PATCH v3 00/20] Bring NAND support to Nintendo NES Classic

2018-03-12 Thread Scott Wood
On Wed, 2018-03-07 at 08:57 +0100, Maxime Ripard wrote: > Hi Scott, > > On Wed, Feb 28, 2018 at 08:51:42PM +0100, Miquel Raynal wrote: > > This series first adds fixes and enhancements to sunxi NAND drivers (SPL > > and U-Boot). Once this is done, the SPL NAND driver is converted to use > > PIO

Re: [U-Boot] [PATCH v2] mtd: nand: fsl-ifc: fix support of multiple NAND devices

2017-10-30 Thread Scott Wood
t on demand > >    - pass priv instead of mtd to fsl_ifc_sram_init() > > Scott, > > Are you OK with this version? Somehow this patch was assigned me. I can > bring it in if you ack it. Acked-by: Scott Wood <o...@buserror.net> -Scott ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] mtd: nand: fsl-ifc: fix support of multiple NAND devices

2017-10-19 Thread Scott Wood
On Tue, Oct 17, 2017 at 10:00:45AM +0200, Kurt Kanzenbach wrote: > Currently the chipselect used to identify the corresponding NAND chip is > stored > at the controller and only set during fsl_ifc_chip_init(). This way, only the > last NAND chip is working, as the previous value of cs_nand gets

Re: [U-Boot] [PATCHv5 15/17] armv8: ls2080a: Enable PCIe in defconfigs

2017-01-27 Thread Scott Wood
On Tue, 2016-12-13 at 14:54 +0800, Zhiqiang Hou wrote: > From: Minghuan Lian > > The patch enables PCIe in ls2080a defconfigs and > removes unused PCIe related macro defines. > > Signed-off-by: Minghuan Lian > Signed-off-by: Hou Zhiqiang

[U-Boot] [PATCH] booti: Set images.os.arch

2017-01-26 Thread Scott Wood
k Sun <york@nxp.com> Cc: Stuart Yoder <stuart.yo...@nxp.com> Signed-off-by: Scott Wood <o...@buserror.net> --- cmd/booti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/booti.c b/cmd/booti.c index 2d879f3..bff87a8 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -1

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-01-20 Thread Scott Wood
On Fri, 2017-01-20 at 21:38 +, york sun wrote: > On 01/20/2017 01:36 PM, Scott Wood wrote: > > > > On Fri, 2017-01-20 at 16:28 +, york sun wrote: > > > > > > On 01/19/2017 07:34 PM, Yangbo Lu wrote: > > > > > > > > > >

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-01-20 Thread Scott Wood
On Fri, 2017-01-20 at 16:28 +, york sun wrote: > On 01/19/2017 07:34 PM, Yangbo Lu wrote: > > > > Generally SYSCLK frequency is dependent on on-board switch settings. > > It may vary as per requirement, but this doesn't apply to ls1012a. > > ls1012a has its SYSCLK frequencies specified in the

Re: [U-Boot] [PATCH] cmd/nand.c: Debug additional helpful NAND info

2016-11-14 Thread Scott Wood
On Mon, 2016-10-10 at 06:08 +0200, Ahmed Samir Khalil wrote: > While dealing with large chips (e.g. page: 4KB, OOB:224), >  we found it helpful to get these additional NAND info by >  enabling the DEBUG macro instead of full tracing every time >  and consuming time. Especially about the currently

Re: [U-Boot] [PATCH] nand: force BBT scan for controllers which need it

2016-11-14 Thread Scott Wood
On Wed, 2016-10-26 at 17:18 -0700, Stefan Agner wrote: > From: Stefan Agner > > Commit 35c204d8a9d0 ("nand: reinstate lazy bad block scanning") > introduced lazy BBT scanning. However, some controller do parts > of the initialization (mxs_nand.c) during scan_bbt, hence

Re: [U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-14 Thread Scott Wood
> > Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> > --- >  drivers/mtd/nand/Kconfig | 16 >  1 file changed, 16 insertions(+), 0 deletions(-) Acked-by: Scott Wood <o...@buserror.net> -Scott __

Re: [U-Boot] [PATCH 2/7] mtd: nand: add support for the TC58NVG2S0H chip

2016-11-14 Thread Scott Wood
-off-by: Boris Brezillon <boris.brezil...@free-electrons.com> > Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> > --- >  drivers/mtd/nand/nand_ids.c | 3 +++ >  1 file changed, 3 insertions(+), 0 deletions(-) Acked-by: Scott Wood <o...@buserror.net> -Scott

Re: [U-Boot] FSL PowerPC platform: Not able to boot Linux with ramdisk size > 100MB

2016-10-28 Thread Scott Wood
On 10/27/2016 04:27 AM, Prabhakar Kushwaha wrote: > Hi Masahiro, > > I am not able to boot Linux onF PowerPC platform with ramdisk size > 100MB. > I tried u-boot master with top commit as " > 5ac5861c4ba851b473e6a24940b412b397627d8d ". > > I tried git-bisect and figured out below patch causing

Re: [U-Boot] [PATCH] fsl_qman: Implement device tree fixup for QBMan on ARM processors

2016-10-26 Thread Scott Wood
On Wed, 2016-10-26 at 10:01 -0400, Roy Pledge wrote: > Add support for device tree fixup for the DPAA1 QBMan nodes in ARM platforms > > Signed-off-by: Roy Pledge > --- >  arch/arm/cpu/armv8/fsl-layerscape/fdt.c|   89 > >  

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Scott Wood
On Wed, 2016-10-05 at 12:57 -0700, Sergey Kubushyn wrote: > This one adds nand_bootupdate command for i.MX6 and similar MCUs. It > generates proper NAND boot structures (FCB, DBBT, etc) and writes those > along with U-Boot mx image to where they belong so system would be able > to boot off of raw

Re: [U-Boot] [PATCH 16/16] README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo

2016-10-03 Thread Scott Wood
mtd->name.  Must be less than CONFIG_SYS_NAND_MAX_DEVICE. > +  * and in mtd->name.  Must be less than CONFIG_SYS_MAX_NAND_DEVICE. >    */ >   if (nand_register(devnum, mtd)) >   error out Acked-by: Scott Wood <o...@buserror.net> -Scott

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-10-03 Thread Scott Wood
On Fri, 2016-09-30 at 22:24 -0400, Tom Rini wrote: > On Fri, Sep 30, 2016 at 04:20:10AM +, york sun wrote: > > > > On 09/29/2016 08:59 PM, Masahiro Yamada wrote: > > > > > >   If X86 and FSL are the only platforms that have interest in this > > > option, > > >   we can save HAVE_... and put

Re: [U-Boot] [PATCH v3] fsl-ifc-nand : Corrected the programming of chip select

2016-09-28 Thread Scott Wood
On 09/26/2016 09:48 PM, Matt Weber wrote: > Corrected the chip selection in IFC_NAND_CSEL register. Due to this > issue in multi-chip nand use-case, IFC was always pointing to the last > probed chip even though the user select another device through "nand > device " command. > > Also, remove the

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-22 Thread Scott Wood
On 09/22/2016 03:55 AM, Prabhakar Kushwaha wrote: > Hi Scott, > > Sorry for late reply on this thread > > >> -Original Message- >> From: Scott Wood >> Sent: Friday, September 09, 2016 7:30 AM >> To: Prabhakar Kushwaha <prabhakar.kushw...@nxp.co

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-08 Thread Scott Wood
On 09/08/2016 08:46 PM, Prabhakar Kushwaha wrote: > >> -Original Message- >> From: Scott Wood >> Sent: Friday, September 09, 2016 6:05 AM >> To: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; york sun >> <york@nxp.com>; u-boot@lists.denx

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-08 Thread Scott Wood
On 09/08/2016 07:05 PM, Prabhakar Kushwaha wrote: > >> -Original Message- >> From: york sun >> Sent: Thursday, September 08, 2016 9:22 PM >> To: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; u- >> b...@lists.denx.de; Scott Wood <scott.w...@

Re: [U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2016-09-06 Thread Scott Wood
On 09/06/2016 02:31 PM, Ronak Desai wrote: > We don't need to update fsl_ifc_sram_init() as fsl_ifc_sram_init is > called from the fsl_ifc_chip_init which configures the ifc_ctrl->cs_nand > with correct value based on the chip-select under initialization. > > Best Regards, > Ronak Desai We

Re: [U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2016-09-06 Thread Scott Wood
On 09/06/2016 08:44 AM, Matt Weber wrote: > Corrected the chip selection in IFC_NAND_CSEL register. Due to this > issue in multi-chip nand use-case, IFC was always pointing to the last > probed chip even though the user select another device through "nand > device" command. > > Signed-off-by:

[U-Boot] Pull request: nand flash

2016-09-02 Thread Scott Wood
to 8b7d51249eca113c4965a7c417f33d7eb569434b: nand: Fix some more NULL name tests (2016-09-01 20:08:48 -0500) Chris Packham (1): mtd: nand: pxa3xx: use nand_set_controller_data Scott Wood (1): nand: Fix some more NULL name tests

[U-Boot] [PATCH] nand: Fix some more NULL name tests

2016-09-01 Thread Scott Wood
Now that nand_info[] is an array of pointers we need to test the pointer itself rather than using name as a proxy for NULLness. Fixes: b616d9b0a708eb9 ("nand: Embed mtd_info in struct nand_chip") Signed-off-by: Scott Wood <o...@buserror.net> Cc: Lukasz Majewski <l.majew...@sa

Re: [U-Boot] [PATCH] nand: Fix nand info for no device

2016-08-29 Thread Scott Wood
On Mon, 2016-08-29 at 09:11 -0700, Tony Lindgren wrote: > Looks like we have few more places where we're testing for > nand_info[i]->name. We can now use just test for nand_info[i] > instead. > > This fixes a data abort on devices with no NAND when doing > nand info. > > Signed-off-by: Tony

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Scott Wood
t no NAND chip, we can get data abort at least on omaps. > > Fix the issue by replaceing the check with nand_info[dev] as > suggested by Scott Wood. "replacing the name check with..." -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Scott Wood
On Tue, 2016-08-23 at 15:04 -0700, Tony Lindgren wrote: > * Scott Wood <o...@buserror.net> [160823 14:31]: > > > > On Tue, 2016-08-23 at 14:26 -0700, Tony Lindgren wrote: > > > > > > If we do nand device 0 command in u-boot on a device that has NAND >

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Scott Wood
On Tue, 2016-08-23 at 14:26 -0700, Tony Lindgren wrote: > If we do nand device 0 command in u-boot on a device that has NAND support > enabled but no NAND chip, we can get data abort at least on omaps. > > Fix the issue by adding a check for nand_info[dev]. > > Signed-off-by: Tony Lindgren

Re: [U-Boot] [PATCH v3] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Scott Wood
fine enough, such as omap3_beagle and beagleboard (NAND) vs > beagle xM (no NAND)). > > Fixes: b616d9b0a708 ("nand: Embed mtd_info in struct nand_chip") > Cc: Scott Wood <o...@buserror.net> > Signed-off-by: Tom Rini <tr...@konsulko.com> > --- > Changes i

Re: [U-Boot] [PATCH v2] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Scott Wood
fine enough, such as omap3_beagle and beagleboard (NAND) vs > beagle xM (no NAND)). > > Fixes: b616d9b0a708 ("nand: Embed mtd_info in struct nand_chip") > Cc: Scott Wood <o...@buserror.net> > Signed-off-by: Tom Rini <tr...@konsulko.com> > --- >

Re: [U-Boot] Please pull u-boot-mpc85xx master

2016-07-25 Thread Scott Wood
On Fri, 2016-07-22 at 00:17 +, york sun wrote: > Scott Wood (1): >    powerpc/85xx: Increase fdt address Any comment on the 86xx patches I sent around the same time? -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.d

[U-Boot] Pull request: nand flash

2016-07-25 Thread Scott Wood
The following changes since commit 29d63a59eaf1c9f3b37e249cda2a97e5e4f183f8: ARM: uniphier: add clock/reset settings for xHCI of ProXstream2 (2016-07-24 00:44:55 +0900) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch changes up to

Re: [U-Boot] cmd, nand: add an option to disable the verification when writing in raw mode

2016-07-24 Thread Scott Wood
On Wed, Jun 15, 2016 at 10:42:18AM +0200, Boris Brezillon wrote: > diff --git a/cmd/nand.c b/cmd/nand.c > index 583a18f..3a5e3a0 100644 > --- a/cmd/nand.c > +++ b/cmd/nand.c > @@ -306,7 +306,7 @@ static void nand_print_and_set_info(int idx) > } > > static int raw_access(struct mtd_info *mtd,

[U-Boot] [PATCH] powerpc/85xx: Increase fdt address

2016-07-19 Thread Scott Wood
Loading the fdt at 0xc0 fails if the uncompressed kernel image is greater than 12 MiB, which is quite common with modern kernels and multiplatform defconfigs. Move fdtaddr to 0x1e0 which is just under the ramdiskaddr on most targets. Signed-off-by: Scott Wood <o...@buserror.net&

[U-Boot] [PATCH] powerpc/86xx: Increase boot map size to 256 MiB

2016-07-19 Thread Scott Wood
This is what Linux maps on classic PPC during boot, and modern kernel images don't fit within the current 8 MiB uncompressed limit. Adjust image load addresses to be above this limit to avoid conflicts. Signed-off-by: Scott Wood <o...@buserror.net> --- include/configs/MPC8610HPCD.

[U-Boot] [PATCH] powerpc/86xx: Pass -mcpu=7400 to GCC

2016-07-19 Thread Scott Wood
Without this, GCC uses the toolchain default, which may be incompatible with -maltivec. Signed-off-by: Scott Wood <o...@buserror.net> --- arch/powerpc/cpu/mpc86xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc86xx/config.mk b/arch/power

Re: [U-Boot] [RFC PATCH 1/1] mtd: nand: fix bug writing 1 byte less than page size

2016-07-15 Thread Scott Wood
On Fri, 2016-07-15 at 09:45 +0200, Hector Palacios wrote: > nand_do_write_ops() determines if it is writing a partial page with the > formula: > part_pagewr = (column || writelen < (mtd->writesize - 1)) > > When 'writelen' is exactly 1 byte less than the NAND page size the formula > equates

Re: [U-Boot] [RFC PATCH v3 2/4] mtd: fix compiler warnings

2016-06-28 Thread Scott Wood
On Sat, 2016-03-12 at 14:48 -0800, Steve Rae wrote: > - add missing declaration > - update debug output format specifiers > > Signed-off-by: Steve Rae > --- > the checkpatch warning: >   warning: cmd/mtdparts.c,1494: quoted string split across lines > is for the existing code;

Re: [U-Boot] [PATCH] fastboot: nand: fix compile error

2016-06-20 Thread Scott Wood
ect fb_nand_lookup parameter name to fix this issue. > > Signed-off-by: Peng Fan <peng@nxp.com> > Cc: Maxime Ripard <maxime.rip...@free-electrons.com> > Cc: Scott Wood <o...@buserror.net> > Cc: Tom Rini <tr...@konsulko.com> > --- > common/fb_nand.c | 2 +

[U-Boot] Pull request: nand flash

2016-06-20 Thread Scott Wood
The following changes since commit 667067faa18334f1e28c01b47530b5cce1b6182f: nand: fix nand torture to use changed mtd api (2016-06-03 20:29:05 -0500) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch changes up to

Re: [U-Boot] [U-Boot,v3,2/2] nand: extend nand torture

2016-06-19 Thread Scott Wood
On Mon, Jun 13, 2016 at 10:15:48AM +0200, Max Krummenacher wrote: > nand torture currently works on exactly one nand block which is specified > by giving the byteoffset to the beginning of the block. > > Extend this by allowing for a second parameter specifying the byte size > to be tested. > >

Re: [U-Boot] [U-Boot,1/1] common: fb_nand: won't compile

2016-06-19 Thread Scott Wood
On Tue, Jun 07, 2016 at 02:22:59PM -0700, Sergey Kubushyn wrote: > Somehow this got overlooked when getting rid of nand_info. > > Small patch, won't affect anything else, no reason to wait for the > next cycle. > > Signed-off-by: Sergey Kubushyn > --- "Somehow" would be that

Re: [U-Boot] [U-Boot, v3, 3/7] spl: nand: support redundant u-boot image

2016-06-19 Thread Scott Wood
On Mon, Jun 06, 2016 at 10:16:58AM +0200, Boris Brezillon wrote: > On modern NAND it's more than recommended to have a backup copy of the > u-boot binary to recover from corruption: bitflips are quite common on > MLC NANDs, and the read-disturbance will corrupt your u-boot partitition > more

Re: [U-Boot] [PATCH 5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data

2016-06-15 Thread Scott Wood
On Wed, 2016-06-15 at 10:07 +0200, Boris Brezillon wrote: > On Wed, 15 Jun 2016 09:59:15 +0200 > Boris Brezillon <boris.brezil...@free-electrons.com> wrote: > > > Hi Scott, > > > > On Thu, 09 Jun 2016 21:07:00 -0500 > > Scott Wood <o...@buserror.net>

Re: [U-Boot] [PATCHV5 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-11 Thread Scott Wood
On 06/11/2016 10:58 PM, Zhiqiang Hou wrote: > Hi York, > > Thanks for your comments! > >> -Original Message- >> From: York Sun [mailto:york@nxp.com] >> Sent: 2016年6月8日 8:56 >> To: Zhiqiang Hou ; u-boot@lists.denx.de; >> albert.u.b...@aribaud.net;

Re: [U-Boot] [PATCH 5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data

2016-06-09 Thread Scott Wood
On Mon, 2016-06-06 at 18:02 +0200, Boris Brezillon wrote: > On Mon, 30 May 2016 13:57:56 -0500 > Scott Wood <o...@buserror.net> wrote: > > > These functions are part of the Linux 4.6 sync. They are being added > > before the main sync patch in order to make it easi

Re: [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6

2016-06-09 Thread Scott Wood
On Thu, 2016-06-09 at 23:13 +0200, Max Krummenacher wrote: > Am Donnerstag, den 09.06.2016, 12:10 -0500 schrieb Scott Wood: > > On Thu, 2016-06-09 at 10:35 +0200, Max Krummenacher wrote: > > > Hi Scott > > > > > > 2016-06-09 1:47 GMT+02:00 Scott Wood <scott.

Re: [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6

2016-06-09 Thread Scott Wood
On Thu, 2016-06-09 at 10:35 +0200, Max Krummenacher wrote: > Hi Scott > > 2016-06-09 1:47 GMT+02:00 Scott Wood <scott.w...@nxp.com>: > > On 06/07/2016 06:47 AM, Max Krummenacher wrote: > > > follow parameter name change (nand to mtd) to fix compiler error. &

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-08 Thread Scott Wood
On Tue, 2016-06-07 at 07:41 +0200, Boris Brezillon wrote: > On Mon, 06 Jun 2016 18:54:03 -0500 > Scott Wood <o...@buserror.net> wrote: > > > Of course the driver model > > is probably the long-term solution. > > Definitely, and talking about things that need to

Re: [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6

2016-06-08 Thread Scott Wood
On 06/07/2016 06:47 AM, Max Krummenacher wrote: > follow parameter name change (nand to mtd) to fix compiler error. > > Signed-off-by: Max Krummenacher > > --- > > Changes in v2: > - Patch v1 1/1 went into master, but Scott's patch series syncing > with kernel

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Scott Wood
On Mon, 2016-06-06 at 20:31 +0200, Boris Brezillon wrote: > On Mon, 06 Jun 2016 12:56:48 -0500 > Scott Wood <o...@buserror.net> wrote: > > > On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > > > On Mon, 6 Jun 2016 17:36:10 +0200 > > > Ha

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Scott Wood
On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > On Mon, 6 Jun 2016 17:36:10 +0200 > Hans de Goede wrote: > > > > +#ifndef CONFIG_SPL_BUILD > > > +void sunxi_nand_init(void); > > > +#endif > > > + > > > > Can we have this in a header somewhere please, and

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-06 Thread Scott Wood
On Sat, 2016-06-04 at 13:06 +0200, Boris Brezillon wrote: > On Sat, 04 Jun 2016 02:14:09 -0500 > Scott Wood <o...@buserror.net> wrote: > > > On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > > > On Fri, 03 Jun 2016 20:08:49 -0500 > > &g

Re: [U-Boot] [PATCH v2 3/7] spl: nand: support redundant u-boot image

2016-06-04 Thread Scott Wood
On Sat, 2016-06-04 at 08:15 +0200, Boris Brezillon wrote: > On Fri, 03 Jun 2016 20:15:16 -0500 > Scott Wood <o...@buserror.net> wrote: > > > How does the failure get communicated to later > > parts of the system that would be responsible for such reflashing

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-04 Thread Scott Wood
On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > On Fri, 03 Jun 2016 20:08:49 -0500 > Scott Wood <o...@buserror.net> wrote: > > > This doesn't work. CONFIG_SPL_NAND_U_BOOT_OFFS will always be defined > > when SPL is defined, and the user will be for

[U-Boot] Pull request: nand flash

2016-06-03 Thread Scott Wood
to 667067faa18334f1e28c01b47530b5cce1b6182f: nand: fix nand torture to use changed mtd api (2016-06-03 20:29:05 -0500) Marek Vasut (1): mtd: nand: Remove jz4740 driver Max Krummenacher (1): nand: fix nand torture to use changed mtd api Scott Wood (6

Re: [U-Boot] [PATCH v2 3/7] spl: nand: support redundant u-boot image

2016-06-03 Thread Scott Wood
On Wed, 2016-06-01 at 13:23 +0200, Boris Brezillon wrote: > On modern NAND it's more than recommended to have a backup copy of the > u-boot binary to recover from corruption: bitflips are quite common on > MLC NANDs, and the read-disturbance will corrupt your u-boot partitition > more quickly than

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-03 Thread Scott Wood
On Wed, 2016-06-01 at 13:23 +0200, Boris Brezillon wrote: > The SYS_NAND_U_BOOT_OFFS is quite generic, but the Kconfig entry is forced > to explicitly depend on platforms that are not already defining it in their > include/configs/.h header. > > Rename this Kconfig option into

Re: [U-Boot] [PATCH v2 3/7] nand: add nand mtd concat support

2016-06-03 Thread Scott Wood
On Thu, 2016-06-02 at 07:02 +0200, Heiko Schocher wrote: > Hello Scott, > > Am 02.06.2016 um 02:09 schrieb Scott Wood: > > On Tue, 2016-05-31 at 14:08 +0200, Heiko Schocher wrote: > > > @@ -59,6 +64,9 @@ int nand_register(int devnum, struct mtd_info *mtd) > >

Re: [U-Boot] [PATCH v2 3/7] nand: add nand mtd concat support

2016-06-01 Thread Scott Wood
On Tue, 2016-05-31 at 14:08 +0200, Heiko Schocher wrote: > @@ -59,6 +64,9 @@ int nand_register(int devnum, struct mtd_info *mtd) >* via the mtdcore infrastructure (e.g. ubi). >*/ > add_mtd_device(mtd); > +#ifdef CONFIG_MTD_CONCAT > + nand_devices_found++; > +#endif >

Re: [U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

2016-05-31 Thread Scott Wood
On Tue, 2016-05-31 at 08:48 +0200, Heiko Schocher wrote: > Hello Scott, > > Am 30.05.2016 um 20:57 schrieb Scott Wood: > > Updates the NAND code to match Linux v4.6. The previous sync was from > > Linux v4.1 in commit d3963721d93fafa. > > > > Note that no

[U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

2016-05-30 Thread Scott Wood
Updates the NAND code to match Linux v4.6. The previous sync was from Linux v4.1 in commit d3963721d93fafa. Note that none of the individual NAND drivers tracked Linux closely enough to be synced themselves, other than manually applying a few cross-tree changes. Signed-off-by: Scott Wood &l

[U-Boot] [PATCH 6/7] mtd: nand: Add page argument to write_page() etc.

2016-05-30 Thread Scott Wood
This change is part of the Linux 4.6 sync. It is being done before the main sync patch in order to make it easier to address the issue across all NAND drivers (many/most of which do not closely track their Linux counterparts) separately from other merge issues. Signed-off-by: Scott Wood &l

[U-Boot] [PATCH 5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data

2016-05-30 Thread Scott Wood
These functions are part of the Linux 4.6 sync. They are being added before the main sync patch in order to make it easier to address the issue across all NAND drivers (many/most of which do not closely track their Linux counterparts) separately from other merge issues. Signed-off-by: Scott Wood

[U-Boot] [PATCH 2/7] mtd: nand: Remove docg4 driver and palmtreo680 flashing tool

2016-05-30 Thread Scott Wood
Commit ad4f54ea86b ("arm: Remove palmtreo680 board") removed the only user of the docg4 driver and the palmtreo680 image flashing tool. This patch removes them. Signed-off-by: Scott Wood <o...@buserror.net> Cc: Mike Dunn <miked...@newsguy.com> Cc: Simon Glass <s...@chrom

[U-Boot] [PATCH 3/7] mtd: nand: Remove nand_info_t typedef

2016-05-30 Thread Scott Wood
This typedef serves no purpose other than causing confusion with struct nand_chip. Signed-off-by: Scott Wood <o...@buserror.net> --- cmd/bootm.c| 30 +++ cmd/jffs2.c| 6 +- cmd/nand.c

[U-Boot] [PATCH 1/7] mtd: nand: Remove jz4740 driver

2016-05-30 Thread Scott Wood
From: Marek Vasut <ma...@denx.de> This driver is not used by anyone, remove it. Signed-off-by: Marek Vasut <ma...@denx.de> Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com> Cc: Paul Burton <paul.bur...@imgtec.com> Cc: Scott Wood <o...@buserror.net>

[U-Boot] [PATCH 4/7] nand: Embed mtd_info in struct nand_chip

2016-05-30 Thread Scott Wood
to accommodate the change to nand_info[]. Signed-off-by: Scott Wood <o...@buserror.net> --- board/BuR/common/common.c | 2 +- board/atmel/at91sam9261ek/at91sam9261ek.c | 2 +- board/atmel/at91sam9263ek/at91sam9263ek.c | 2 +- board/atmel/at91sam9m1

Re: [U-Boot] [PATCH v2 14/18] at91: mtd: nand: Add dev_warn() to correct build error in driver

2016-05-30 Thread Scott Wood
On Thu, 2016-05-05 at 07:34 -0600, Simon Glass wrote: > The code does not compile if ECC is enabled. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/mtd/nand/atmel_nand.c | 2 ++ > 1 file

Re: [U-Boot] [PATCH v1 3/7] nand: add nand mtd concat support

2016-05-25 Thread Scott Wood
On 05/25/2016 01:10 AM, Heiko Schocher wrote: > Hello Scott, > > Am 25.05.2016 um 07:30 schrieb Scott Wood: >> On 05/25/2016 12:07 AM, Heiko Schocher wrote: >>> add for nand devices mtd concat support. Generic MTD concat >>> support is already ported to

Re: [U-Boot] [PATCH v1 2/7] ubi: add new ubi command "ubi dettach"

2016-05-25 Thread Scott Wood
On 05/25/2016 01:28 AM, Heiko Schocher wrote: > Hello Scott, > > Am 25.05.2016 um 07:47 schrieb Scott Wood: >> On 05/25/2016 12:07 AM, Heiko Schocher wrote: >>> @@ -661,7 +675,9 @@ static int do_ubi(cmd_tbl_t *cmdtp, int flag, int argc, >>> char * const argv[])

Re: [U-Boot] [PATCH v1 6/7] dfu, nand, ubi: fix erasing after write finish

2016-05-25 Thread Scott Wood
On 05/25/2016 12:07 AM, Heiko Schocher wrote: > writting to ubi nand partitions need after write ends an erase > of the remaining sectors. This fail, if dfu write size was not > a multiple of erasesize, example log: > > Failure erase: -1 > > Fix this error. > > Signed-off-by: Heiko Schocher

Re: [U-Boot] [PATCH v1 3/7] nand: add nand mtd concat support

2016-05-25 Thread Scott Wood
On 05/25/2016 12:07 AM, Heiko Schocher wrote: > add for nand devices mtd concat support. Generic MTD concat > support is already ported to mainline, and used in the cfi_mtd > driver. This patch adds it similiar for nand devices. > > Signed-off-by: Heiko Schocher > --- > >

Re: [U-Boot] [PATCH v1 2/7] ubi: add new ubi command "ubi dettach"

2016-05-25 Thread Scott Wood
On 05/25/2016 12:07 AM, Heiko Schocher wrote: > @@ -661,7 +675,9 @@ static int do_ubi(cmd_tbl_t *cmdtp, int flag, int argc, > char * const argv[]) > U_BOOT_CMD( > ubi, 6, 1, do_ubi, > "ubi commands", > - "part [part] [offset]\n" > + "dettach" "detach", here and elsewhere. >

Re: [U-Boot] Porting Linux's MTD/NAND changes into U-Boot

2016-05-17 Thread Scott Wood
On Mon, 2016-05-16 at 14:02 +0200, Boris Brezillon wrote: > Hi Scott, > > On Tue, 03 May 2016 00:06:45 -0500 > Scott Wood <o...@buserror.net> wrote: > > > I usually do syncs when someone complains about needing a sync. Every > > release > > seems a bit muc

Re: [U-Boot] Porting Linux's MTD/NAND changes into U-Boot

2016-05-02 Thread Scott Wood
On Mon, 2016-04-25 at 22:53 +0200, Boris Brezillon wrote: > On Mon, 25 Apr 2016 13:36:46 -0400 > Tom Rini wrote: > > > On Mon, Apr 25, 2016 at 04:43:14PM +0200, Boris Brezillon wrote: > > > > > Hi Scott, > > > > > > I've recently contributed a lot of MTD/NAND related

Re: [U-Boot] [Patch v2] fsl-layerscape: fdt: add IFC fixup if no IFC is avaliable in U-Boot

2016-05-02 Thread Scott Wood
On Thu, 2016-04-28 at 14:04 +0800, Gong Qianyu wrote: > IFC is considered as a required component in Layerscape platforms' Linux. What does this mean? > But if IFC is not enabled in U-Boot on some boards, accessing IFC memory > space would cause kernel call trace. So disable IFC node in such

Re: [U-Boot] [PATCH] Fix spelling of "occurred".

2016-05-02 Thread Scott Wood
On Mon, 2016-05-02 at 13:26 -0600, Simon Glass wrote: > Hi Scott, > > On 2 May 2016 at 13:03, Scott Wood <o...@buserror.net> wrote: > > On Mon, 2016-05-02 at 12:57 -0600, Simon Glass wrote: > > > Hi Scott, > > > > > > On 1 May 2016 at 17:34, Scot

Re: [U-Boot] [PATCH] Fix spelling of "occurred".

2016-05-02 Thread Scott Wood
On Mon, 2016-05-02 at 12:57 -0600, Simon Glass wrote: > Hi Scott, > > On 1 May 2016 at 17:34, Scott Wood <o...@buserror.net> wrote: > > On Sun, 2016-05-01 at 12:55 -0600, Simon Glass wrote: > > > Hi, > > > > > > On 30 April 2016 at 20:

Re: [U-Boot] [PATCH] Fix spelling of "occurred".

2016-05-01 Thread Scott Wood
On Sun, 2016-05-01 at 12:55 -0600, Simon Glass wrote: > Hi, > > On 30 April 2016 at 20:18, Vagrant Cascadian wrote: > > Please can you add a commit message? I don't understand these "empty/missing commit message" remarks when there's a one-line changelog (in the subject).

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-16 Thread Scott Wood
On Fri, 2016-04-08 at 15:45 -0400, Tom Rini wrote: > On Tue, Apr 05, 2016 at 02:07:46PM +0530, Mugunthan V N wrote: > > Scott/Tom > > > > On Saturday 02 April 2016 05:55 AM, Tom Rini wrote: > > > On Fri, Apr 01, 2016 at 06:45:03PM -0500, Scott Wood wrote: > > &

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-08 Thread Scott Wood
On 04/07/2016 04:11 AM, Huan Wang wrote: > Hi, Scott, > >> On 04/05/2016 09:16 PM, Huan Wang wrote: >>> Hi, York and Scott, >>> On 04/05/2016 05:11 AM, Alison Wang wrote: > For LS1021A Secure Boot, SPARE2 register is used and modified by the > IBR. To avoid the conflict, SPARE4 is

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-07 Thread Scott Wood
On 04/05/2016 09:16 PM, Huan Wang wrote: > Hi, York and Scott, > >> On 04/05/2016 05:11 AM, Alison Wang wrote: >>> For LS1021A Secure Boot, SPARE2 register is used and modified by the >>> IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to store >>> the entry point of kernel. This

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-05 Thread Scott Wood
On 04/05/2016 05:11 AM, Alison Wang wrote: > For LS1021A Secure Boot, SPARE2 register is used and modified by the > IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to store > the entry point of kernel. This patch is to get the entry point of > kernel from SPARE4 instead of SPARE2. >

Re: [U-Boot] [PATCH v2] kirkwood_nand: claim MPP pins on the fly

2016-04-04 Thread Scott Wood
his driver that needs a >> different MPP config. >> >> Changes in v2: >> - make nand_config static const > > Scott, are you okay with this patch in v2? Yes. Acked-by: Scott Wood <o...@buserror.net> > If yes, will you pull it? > Or should I include it in a

Re: [U-Boot] [PATCH 5/9] drivers: nand: omap_gpmc: convert driver to adopt driver model

2016-04-04 Thread Scott Wood
On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: > adopt omap_gpmc driver to driver model. > > Signed-off-by: Mugunthan V N > --- > drivers/mtd/nand/omap_gpmc.c | 205 > +++ > 1 file changed, 205 insertions(+) > > diff --git

[U-Boot] [PATCH] MAINTAINERS: Update Scott Wood's email address

2016-04-01 Thread Scott Wood
Freescale is now NXP. I still work there, but I won't be using their mail system for U-Boot development. Signed-off-by: Scott Wood <o...@buserror.net> --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 32f97b2..8f371fe

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 19:41 -0400, Tom Rini wrote: > On Fri, Apr 01, 2016 at 06:07:18PM -0500, Scott Wood wrote: > > > On Fri, 2016-04-01 at 08:51 -0400, Tom Rini wrote: > > > On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan V N wrote: > > > > > > &

Re: [U-Boot] [PATCH 4/9] drivers: nand: implement a NAND uclass

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 18:25 -0500, Scott Wood wrote: > On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: > > +static int nand_child_pre_probe(struct udevice *dev) > > +{ > > + nand_info_t *nand = dev_get_uclass_priv(dev); > > + vo

Re: [U-Boot] [PATCH 4/9] drivers: nand: implement a NAND uclass

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: > +static int nand_child_pre_probe(struct udevice *dev) > +{ > + nand_info_t *nand = dev_get_uclass_priv(dev); > + void *priv = dev_get_priv(dev); > + > + /* > + * Store nand device priv pointer in nand_info so that > +

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 08:51 -0400, Tom Rini wrote: > On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan V N wrote: > > > Add CONFIG_NAND as a Kconfig option so that it can be selected > > using menuconfig or defconfig. > > > > Signed-off-by: Mugunthan V N > > Good but you

Re: [U-Boot] [PATCH 2/9] cmd: nand: abstract global variable usage for dm conversion

2016-04-01 Thread Scott Wood
[Please CC me at this address rather than my NXP address] On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: > @@ -432,12 +435,7 @@ static int do_nand(cmd_tbl_t *cmdtp, int flag, int > argc, char * const argv[]) >* one before these commands can run, even if a partition specifier >

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-03-30 Thread Scott Wood
On Wed, 2016-03-30 at 06:20 +, Qianyu Gong wrote: > Hi Scott, > > > -Original Message- > > From: Scott Wood [mailto:o...@buserror.net] > > Sent: Wednesday, March 30, 2016 4:45 AM > > To: Qianyu Gong <qianyu.g...@nxp.com>; u-boot@lists.denx.de; yo

  1   2   3   4   5   6   7   8   9   10   >