Re: [U-Boot] Remove global variable env_t *env_ptr ?

2017-04-04 Thread Joakim Tjernlund
On Tue, 2017-04-04 at 12:31 +0200, Wolfgang Denk wrote: > Dear Joakim, > > In message <1491301459.28343.1.ca...@infinera.com> you wrote: > > > > Use case is when CONFIG_ENV_SECT_SIZE and/or CONFIG_ENV_ADDR are non > > constants. > > That is my exact question - when would this happen? Flash

Re: [U-Boot] Remove global variable env_t *env_ptr ?

2017-04-04 Thread Joakim Tjernlund
On Tue, 2017-04-04 at 10:55 +0200, Lukasz Majewski wrote: > Hi Joakim, > > > I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR > > as we need to replace out flash but we don't want to create a new > > u-boot binairy just for this simple change. > > Please correct me if I did

Re: [U-Boot] Remove global variable env_t *env_ptr ?

2017-04-04 Thread Joakim Tjernlund
On Mon, 2017-04-03 at 22:17 +0200, Wolfgang Denk wrote: > Dear Joakim, Dear Wolfgang, > > In message <1491221969.4177.81.ca...@infinera.com> you wrote: > > I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR as > > we need to replace out flash but we don't want to create a new

[U-Boot] Remove global variable env_t *env_ptr ?

2017-04-03 Thread Joakim Tjernlund
I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR as we need to replace out flash but we don't want to create a new u-boot binairy just for this simple change. While converting env_flash.c I noted the global variable env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; which cannot be

Re: [U-Boot] [PATCH] Remove extra fdt_fixup_ethernet() call

2017-04-03 Thread Joakim Tjernlund
On Fri, 2017-03-31 at 22:21 -0600, Simon Glass wrote: > Hi Joakim, > > On 23 March 2017 at 11:02, Joakim Tjernlund > <joakim.tjernl...@infinera.com> wrote: > > ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it > > in image_setup_libfdt() is both redundan

Re: [U-Boot] [PATCH] Remove extra fdt_fixup_ethernet() call

2017-03-28 Thread Joakim Tjernlund
On Thu, 2017-03-23 at 18:02 +0100, Joakim Tjernlund wrote: > ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it > in image_setup_libfdt() is both redundant and breaks any modifications > done by ft_board_setup(). Restore the old behavior by removing > the call in image_

[U-Boot] [PATCH] Remove extra fdt_fixup_ethernet() call

2017-03-23 Thread Joakim Tjernlund
ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it in image_setup_libfdt() is both redundant and breaks any modifications done by ft_board_setup(). Restore the old behavior by removing the call in image_setup_libfdt() Signed-off-by: Joakim Tjernlund <joakim.tjernl...@infinera.

Re: [U-Boot] libfdt SWIG build error with Python 3.x

2017-02-09 Thread Joakim Tjernlund
On Thu, 2017-02-09 at 13:17 +, Ricardo Martins wrote: > In some Linux distributions (e.g., Arch Linux) the Python binary points to > Python 3.x instead of Python 2.x. This is an issue when building the libfdt > SWIG extension, as the generated extension file will be called something > like

[U-Boot] PHY less eth on x86 u-boot?

2017-02-03 Thread Joakim Tjernlund
How does PHY less ethernet work on x86 u-boot? In powerpc we have the device tree where one can express a "fixed-link", does this work for x86 too? Jocke ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] u-boot.git or u-boot-x86.git for x86_64 u-boots?

2017-01-24 Thread Joakim Tjernlund
On Sat, 2017-01-14 at 10:06 -0700, Simon Glass wrote: > Hi Joakim, > > On 14 January 2017 at 04:51, Bin Meng <bmeng...@gmail.com> wrote: > > +Simon, > > > > On Fri, Jan 13, 2017 at 4:12 AM, Joakim Tjernlund > > <joakim.tjernl...@infinera.com> wrot

Re: [U-Boot] [PATCH v2 1/2] powerpc: mpc83xx: Minimize r1 modification

2017-01-17 Thread Joakim Tjernlund
only set the SP > once after all computations are done. > > Signed-off-by: Mario Six <mario....@gdsys.cc> Reviewed-by: Joakim Tjernlund <joakim.tjernl...@infinera.com> > --- > > Changes in v2: > > Patch added (following a suggestion by Joakim Tjernlund

Re: [U-Boot] u-boot.git or u-boot-x86.git for x86_64 u-boots?

2017-01-15 Thread Joakim Tjernlund
On Sat, 2017-01-14 at 10:06 -0700, Simon Glass wrote: > Hi Joakim, > > On 14 January 2017 at 04:51, Bin Meng <bmeng...@gmail.com> wrote: > > +Simon, > > > > On Fri, Jan 13, 2017 at 4:12 AM, Joakim Tjernlund > > <joakim.tjernl...@infinera.com> wrot

Re: [U-Boot] u-boot.git or u-boot-x86.git for x86_64 u-boots?

2017-01-14 Thread Joakim Tjernlund
On Sat, 2017-01-14 at 19:51 +0800, Bin Meng wrote: > +Simon, > > On Fri, Jan 13, 2017 at 4:12 AM, Joakim Tjernlund > <joakim.tjernl...@infinera.com> wrote: > > I found two repos w.r.t x86_64 for u-boot, which one should I use? > > > > U-Boot x86_64 support is

[U-Boot] u-boot.git or u-boot-x86.git for x86_64 u-boots?

2017-01-12 Thread Joakim Tjernlund
I found two repos w.r.t x86_64 for u-boot, which one should I use? I am ATM only looking at USING the qemu-x86 target for now. BTW, I found tools/binman/binman.py only worked with python 2.7, maybe you can change the shebang to python2.7 as my default python is 3.4 Jocke

Re: [U-Boot] [PATCH] powerpc: mpc83xx: Enable pre-relocation malloc

2017-01-06 Thread Joakim Tjernlund
On Fri, 2017-01-06 at 14:56 +0100, Mario Six wrote: > To enable DM on MPC83xx, we need pre-relocation malloc, which is > implemented in this patch. > Would be nice if you could avoid using r1, each time you modify r1 gdb will be upset/confused if you ever try to debug start.S with gdb. I guess

Re: [U-Boot] [PATCH v3 0/3] dm: gpio: Add driver for MPC85xx GPIO controller

2016-05-13 Thread Joakim Tjernlund
register to work around a known > issue > in some MPC85xx GPIO controllers (as pointed out by Joakim Tjernlund). >  Nice, thanks. Do you have any plans to do mpc83xx also? It needs the same gpdat shadow.   Jocke ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] GPIO driver for Freescale QorIQ T2080

2016-05-11 Thread Joakim Tjernlund
On Wed, 2016-05-11 at 11:54 +0200, Mario Six wrote: > On Tue, May 10, 2016 at 1:22 AM, Hamish Martin < > hamish.mar...@alliedtelesis.co.nz> wrote: > > > > > Hi, > > > > I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. > > This has 4 blocks of GPIOs similar to the single

Re: [U-Boot] [PATCH v3] spi: fsl_espi: Return all data read from device unmodified

2015-12-12 Thread Joakim Tjernlund
On Fri, 2015-12-11 at 21:19 -0500, Dale P. Smith wrote: > Signed-off-by: Dale P. Smith > --- > Changes for v2: >    - First attempt at using git format-patch > Changes for v3: >    - Fix subject. >    - Add changelog While this is a step in the right direction, this

Re: [U-Boot] [PATCH v4 1/2] Reserve secure memory

2015-11-16 Thread Joakim Tjernlund
On Mon, 2015-11-16 at 08:34 -0800, York Sun wrote: > Secure memory is at the end of memory, separated and reserved > from OS, tracked by gd->secure_ram. Secure memory can host > MMU tables, security monitor, etc. Don't see the difference with pram here? Also, do you really wan't to hide the

Re: [U-Boot] [PATCH v1] armv8: fsl-layerscale: Rewrite reserving memory for MC and debug server

2015-11-16 Thread Joakim Tjernlund
On Mon, 2015-11-16 at 09:03 -0800, York Sun wrote: > > On 11/12/2015 02:54 PM, Joakim Tjernlund wrote: > > On Thu, 2015-11-12 at 14:20 -0800, York Sun wrote: > > > Introduce a new function to calculate reserved memory to replace macro > > > CONFIG_SYS_MEM_TOP_HIDE fo

Re: [U-Boot] [PATCH v1] armv8: fsl-layerscale: Rewrite reserving memory for MC and debug server

2015-11-12 Thread Joakim Tjernlund
On Thu, 2015-11-12 at 14:20 -0800, York Sun wrote: > Introduce a new function to calculate reserved memory to replace macro > CONFIG_SYS_MEM_TOP_HIDE for more flexibility. Legacy use of this macro is > still supported. MC and debug server are not board-specific. Move the > reservation function to

Re: [U-Boot] [PATCH v1 0/7] Enable high speed and heavy load for DDR4 for LSCH3

2015-11-11 Thread Joakim Tjernlund
On Thu, 2015-11-05 at 12:47 -0800, York Sun wrote: > > On 11/05/2015 11:53 AM, Joakim Tjernlund wrote: > > On Thu, 2015-11-05 at 10:29 -0800, York Sun wrote: > > > > > > On 11/05/2015 10:19 AM, Joakim Tjernlund wrote: > > > > On Thu,

Re: [U-Boot] [PATCH v1 0/7] Enable high speed and heavy load for DDR4 for LSCH3

2015-11-06 Thread Joakim Tjernlund
On Fri, 2015-11-06 at 02:24 +, Yuantian Tang wrote: > > > -Original Message- > > From: York Sun [mailto:york...@freescale.com] > > Sent: Friday, November 06, 2015 1:42 AM > > To: Joakim Tjernlund <joakim.tjernl...@transmode.se>; Tang Yuantian- > &

Re: [U-Boot] [PATCH v1 0/7] Enable high speed and heavy load for DDR4 for LSCH3

2015-11-05 Thread Joakim Tjernlund
On Wed, 2015-11-04 at 10:03 -0800, York Sun wrote: > This patch set revises the DDR driver to support higher speed for DDR4 > under heavy load (two dual-rank DIMMs) for four-chipselect interleaving. > Single quad-rank DIMM is not supported yet. Hi York Seeing these patches reminds me about

Re: [U-Boot] [PATCH v1 0/7] Enable high speed and heavy load for DDR4 for LSCH3

2015-11-05 Thread Joakim Tjernlund
nfig due to a bug? Then you would have to force a cold start. Do you use ECC? Seems to be some issues with ECC if you skip D_INIT Jocke > > Regards, > Yuantian > > > -----Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] > > Se

Re: [U-Boot] [PATCH v1 0/7] Enable high speed and heavy load for DDR4 for LSCH3

2015-11-05 Thread Joakim Tjernlund
On Thu, 2015-11-05 at 10:29 -0800, York Sun wrote: > > On 11/05/2015 10:19 AM, Joakim Tjernlund wrote: > > On Thu, 2015-11-05 at 09:42 -0800, York Sun wrote: > > > > > > On 11/05/2015 01:55 AM, Joakim Tjernlund wrote: > > > > On Thu, 2015-11-05 at 08:2

Re: [U-Boot] [PATCH v1 0/7] Enable high speed and heavy load for DDR4 for LSCH3

2015-11-05 Thread Joakim Tjernlund
On Thu, 2015-11-05 at 09:42 -0800, York Sun wrote: > > On 11/05/2015 01:55 AM, Joakim Tjernlund wrote: > > On Thu, 2015-11-05 at 08:23 +, Yuantian Tang wrote: > > > Hi Jocke, > > > > > > we achieved deep sleep mode that did exactly what you asked for.

Re: [U-Boot] [PATCH][v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-11-02 Thread Joakim Tjernlund
gcc version(4.6?) that went into. About the same time support for -msingle-pic-base was added to powerpc gcc This would reduce code size further, possibly interesting for SPL? I sent som patches for that but there were something holding them back. On Mon, 2015-11-02 at 17:17 +0100, Joakim

Re: [U-Boot] [PATCH][v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-11-02 Thread Joakim Tjernlund
On Fri, 2015-10-30 at 10:12 -0700, York Sun wrote: > > On 10/24/2015 10:02 PM, Prabhakar Kushwaha wrote: > > From: Zhenhua Luo > > > > In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in > > u-boot.lds overrides the linker built-in symbols > >

Re: [U-Boot] Relocation issue - need help!

2015-10-21 Thread Joakim Tjernlund
On Wed, 2015-10-21 at 09:12 -0400, Tom Rini wrote: > On Wed, Oct 21, 2015 at 08:44:15AM +0000, Joakim Tjernlund wrote: > > On Tue, 2015-10-20 at 17:21 -0400, Tom Rini wrote: > > > On Tue, Oct 20, 2015 at 04:06:51PM -0500, Andy Fleming wrote: > > > > On Fri, O

Re: [U-Boot] Relocation issue - need help!

2015-10-21 Thread Joakim Tjernlund
On Tue, 2015-10-20 at 17:21 -0400, Tom Rini wrote: > On Tue, Oct 20, 2015 at 04:06:51PM -0500, Andy Fleming wrote: > > On Fri, Oct 16, 2015 at 8:14 AM, Joakim Tjernlund > > <joakim.tjernl...@transmode.se> wrote: > > > On Fri, 2015-10-16 at 07:47 -0400, Tom Rini wrote

Re: [U-Boot] Relocation issue - need help!

2015-10-16 Thread Joakim Tjernlund
On Thu, 2015-10-15 at 17:58 -0400, Tom Rini wrote: > On Thu, Oct 15, 2015 at 03:56:09PM +0000, Joakim Tjernlund wrote: > > On Tue, 2015-10-06 at 11:17 +0000, Joakim Tjernlund wrote: > > > On Thu, 2015-10-01 at 08:57 +, Joakim Tjernlund wrote: > > > > On Wed, 20

Re: [U-Boot] Relocation issue - need help!

2015-10-16 Thread Joakim Tjernlund
On Fri, 2015-10-16 at 07:47 -0400, Tom Rini wrote: > On Fri, Oct 16, 2015 at 06:55:58AM +0000, Joakim Tjernlund wrote: > > On Thu, 2015-10-15 at 17:58 -0400, Tom Rini wrote: > > > On Thu, Oct 15, 2015 at 03:56:09PM +, Joakim Tjernlund wrote: > > > > On Tue, 201

Re: [U-Boot] Relocation issue - need help!

2015-10-15 Thread Joakim Tjernlund
On Tue, 2015-10-06 at 11:17 +, Joakim Tjernlund wrote: > On Thu, 2015-10-01 at 08:57 +0000, Joakim Tjernlund wrote: > > On Wed, 2015-09-30 at 21:35 +0200, Marek Vasut wrote: > > > On Wednesday, September 30, 2015 at 08:24:10 PM, Andy Fleming wrote: > > > > >

[U-Boot] [PATCH] fsl_ddr: Make SR_IE configurable.

2015-10-14 Thread Joakim Tjernlund
SR_IE(Self-refresh interrupt enable) is needed for Hardware Based Self-Refresh. Make it configurable and let board code handle the rest. Signed-off-by: Joakim Tjernlund <joakim.tjernl...@transmode.se> --- drivers/ddr/fsl/ctrl_regs.c | 2 +- include/fsl_ddr_sdram.h | 2 ++ 2 files chan

Re: [U-Boot] Relocation issue - need help!

2015-10-06 Thread Joakim Tjernlund
On Thu, 2015-10-01 at 08:57 +, Joakim Tjernlund wrote: > On Wed, 2015-09-30 at 21:35 +0200, Marek Vasut wrote: > > On Wednesday, September 30, 2015 at 08:24:10 PM, Andy Fleming wrote: > > > > Hi! > > > > > On Thu, Oct 23, 2014 at 8:10 AM, Wolfgang Den

Re: [U-Boot] Relocation issue - need help!

2015-10-01 Thread Joakim Tjernlund
On Wed, 2015-09-30 at 21:35 +0200, Marek Vasut wrote: > On Wednesday, September 30, 2015 at 08:24:10 PM, Andy Fleming wrote: > > Hi! > > > On Thu, Oct 23, 2014 at 8:10 AM, Wolfgang Denk wrote: > > > Dear Joakim, dear Dirk, > > > > > > In message c1257d7a.0024d...@transmode.se>

[U-Boot] FSL DDR3/4 wrlvl_override question

2015-09-03 Thread Joakim Tjernlund
in drivers/ddr/fsl/options.c we have: #if defined(CONFIG_SYS_FSL_DDR3) || defined(CONFIG_SYS_FSL_DDR4) /* * due to ddr3 dimm is fly-by topology * we suggest to enable write leveling to * meet the tQDSS under different loading. */ popts->wrlvl_en

Re: [U-Boot] FSL DDR3/4 wrlvl_override question

2015-09-03 Thread Joakim Tjernlund
On Thu, 2015-09-03 at 10:44 -0500, York Sun wrote: > Jocke, > > On 09/03/2015 09:55 AM, Joakim Tjernlund wrote: > > in drivers/ddr/fsl/options.c we have: > > > > #if defined(CONFIG_SYS_FSL_DDR3) || defined(CONFIG_SYS_FSL_DDR4) > > /* > >

[U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread Joakim Tjernlund
T1040 RM specifies CLK_ADJUST as 5 bits starting at bit pos 9 in DDR_DDR_SDRAM_CLK_CNTL, update code to match. Signed-off-by: Joakim Tjernlund <joakim.tjernl...@transmode.se> --- drivers/ddr/fsl/ctrl_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/d

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread Joakim Tjernlund
On Wed, 2015-09-02 at 09:51 -0500, York Sun wrote: > > On 09/02/2015 09:42 AM, Joakim Tjernlund wrote: > > On Wed, 2015-09-02 at 09:34 -0500, York Sun wrote: > > > > > > On 09/02/2015 09:31 AM, Joakim Tjernlund wrote: > > > > On Wed,

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread Joakim Tjernlund
On Wed, 2015-09-02 at 08:35 -0500, York Sun wrote: > > On 09/02/2015 06:41 AM, Joakim Tjernlund wrote: > > T1040 RM specifies CLK_ADJUST as 5 bits starting at bit pos 9 > > in DDR_DDR_SDRAM_CLK_CNTL, update code to match. > > > > Signed-off-by: Joakim Tjernlund

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread Joakim Tjernlund
On Wed, 2015-09-02 at 09:34 -0500, York Sun wrote: > > On 09/02/2015 09:31 AM, Joakim Tjernlund wrote: > > On Wed, 2015-09-02 at 08:35 -0500, York Sun wrote: > > > > > > On 09/02/2015 06:41 AM, Joakim Tjernlund wrote: > > > > T1040 RM specifies

[U-Boot] BTRFS support in u-boot?

2015-06-04 Thread Joakim Tjernlund
I have seen btrfs patches for u-boot flying around a year ago or so then it went silent. Is there any efforts ongoing to add btrfs support to u-boot? Jocke ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] mpc85xx/T4240EMU: Remove T4240EMU board

2015-05-06 Thread Joakim Tjernlund
On Tue, 2015-05-05 at 09:27 -0700, York Sun wrote: On 04/21/2015 10:09 AM, York Sun wrote: T4240 SoC has been available for a long time. Emulator support is no longer needed. Signed-off-by: York Sun york...@freescale.com --- Applied to u-boot-mpc85xx master. Awaiting upstream. I

[U-Boot] HUSH logical AND/OR expressions

2015-04-27 Thread Joakim Tjernlund
Trying to get a better handle of HUSH shell expressions, this does not work as I expect: = false true || echo ECHO = false false || echo ECHO none prints ECHO, seems like a bug? This the only one that prints ECHO = true false || echo ECHO Jocke

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-27 Thread Joakim Tjernlund
On Fri, 2015-03-27 at 10:51 -0400, Oleksandr G Zhadan wrote: Extra gpio bank argument at low level may be discussable, but IMPO we should not brake standard int gpio_set_value(unsigned gpio, int value) definition. And the reason of this patch is to fix: 1. Incompatibility in functions

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-26 Thread Joakim Tjernlund
On Thu, 2015-03-26 at 17:16 -0400, Oleksandr G Zhadan wrote: From: Oleksandr Zhadan ol...@arcturusnetworks.com Signed-off-by: Oleksandr Zhadan ol...@arcturusnetworks.com Signed-off-by: Michael Durrant mdurr...@arcturusnetworks.com --- arch/powerpc/include/asm/arch-mpc85xx/gpio.h |2

Re: [U-Boot] [PATCH] mmc: fsl_esdhc fix register offset

2015-03-15 Thread Joakim Tjernlund
On Sun, 2015-03-15 at 13:54 +0800, Peng Fan wrote: Hi, On 3/11/2015 9:00 PM, Fabio Estevam wrote: On Tue, Mar 10, 2015 at 4:35 AM, Peng Fan peng@freescale.com wrote: Commit f022d36e8a4517b2a9d25ff2d75bd2459d0c68b1 introduces error register offset. Change the char

Re: [U-Boot] [PATCH] mmc: fsl_esdhc fix register offset

2015-03-12 Thread Joakim Tjernlund
On Wed, 2015-03-11 at 15:55 +0200, Pantelis Antoniou wrote: Hi Peng, On Mar 11, 2015, at 04:17 , Peng Fan peng@freescale.com wrote: Hi, Marek On 3/11/2015 10:03 AM, Marek Vasut wrote: On Wednesday, March 11, 2015 at 01:58:37 AM, Peng Fan wrote: Hi, Marek Hi!

Re: [U-Boot] [PATCH 00/18] Support for eMMC partitioning and related fixes

2014-12-05 Thread Joakim Tjernlund
Diego Santa Cruz diego.santac...@spinetix.com wrote on 2014/12/05 09:38:34: -Original Message- From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] Sent: Thursday, December 04, 2014 7:29 PM To: Diego Santa Cruz Cc: u-boot@lists.denx.de Subject: RE: [U-Boot] [PATCH

Re: [U-Boot] [PATCH 00/18] Support for eMMC partitioning and related fixes

2014-12-04 Thread Joakim Tjernlund
Diego Santa Cruz diego.santac...@spinetix.com wrote on 2014/11/28 12:12:56: Hi, -Original Message- From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] Sent: Friday, November 28, 2014 11:05 AM To: Diego Santa Cruz Cc: pa...@antoniou-consulting.com; u-boot

Re: [U-Boot] [PATCH 00/18] Support for eMMC partitioning and related fixes

2014-12-02 Thread Joakim Tjernlund
Diego Santa Cruz diego.santac...@spinetix.com wrote on 2014/11/28 12:12:56: Hi, -Original Message- From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] Sent: Friday, November 28, 2014 11:05 AM To: Diego Santa Cruz Cc: pa...@antoniou-consulting.com; u-boot

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-12-01 Thread Joakim Tjernlund
York Sun york...@freescale.com wrote on 2014/12/01 18:26:21: On 11/26/2014 04:34 AM, Laurentiu Tudor wrote: Hi Jocke, York, Sorry for the late reply. I didn't noticed the thread in time. You need this patch: https://patchwork.ozlabs.org/patch/411910/ Great, I guess this will

Re: [U-Boot] [PATCH 00/18] Support for eMMC partitioning and related fixes

2014-11-28 Thread Joakim Tjernlund
I have the need to hardware partition eMMC devices from U-Boot along with setting enhanced and reliable write attributes. This series of patches adds this support to U-Boot via a new mmc API, a few new members of struct mmc and a new mmc sub-command. It also features several fixes to the

Re: [U-Boot] Bare x86 support is merged to u-boot-x86

2014-11-27 Thread Joakim Tjernlund
s...@google.com wrote on 2014/11/27 17:31:47: Hi Jocke, On 27 November 2014 at 00:59, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Hi Andy, On 25 November 2014 at 15:08, Andy Pont andy.p...@sdcsystems.com wrote: Hi Simon (and Bin), I've applied the remaining x86

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-11-26 Thread Joakim Tjernlund
Laurentiu Tudor b10...@freescale.com wrote on 2014/11/25 09:49:22: On 11/24/2014 06:57 PM, York Sun wrote: On 11/23/2014 11:30 PM, Joakim Tjernlund wrote: York Sun york...@freescale.com wrote on 2014/10/24 18:02:03: On 10/24/2014 08:39 AM, Joakim Tjernlund wrote: Booting my t1042 I

Re: [U-Boot] Bare x86 support is merged to u-boot-x86

2014-11-26 Thread Joakim Tjernlund
Hi Andy, On 25 November 2014 at 15:08, Andy Pont andy.p...@sdcsystems.com wrote: Hi Simon (and Bin), I've applied the remaining x86 patches to u-boot-x86. It runs on chromebook_link (Pixel) with support for most hardware relevant to a boot loader: SDRAM, SPI, PCI, USB (and USB

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-11-23 Thread Joakim Tjernlund
York Sun york...@freescale.com wrote on 2014/10/24 18:02:03: On 10/24/2014 08:39 AM, Joakim Tjernlund wrote: Booting my t1042 I get: Loading Ramdisk to 2e639000, end 2cc4 ... OK Loading Device Tree to 03fe4000, end 03fffd45 ... OK WARNING Could not get liodn of node /pcie@ffe24

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-11-19 Thread Joakim Tjernlund
Jagan Teki jagannadh.t...@gmail.com wrote on 2014/11/18 22:31:53: On 18 November 2014 14:42, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Ping? Joakim Tjernlund/Transmode wrote on 2014/10/29 19:43:14: Couldn't understand what discussion is going, does some issue in driver

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-11-18 Thread Joakim Tjernlund
Ping? Joakim Tjernlund/Transmode wrote on 2014/10/29 19:43:14: mingkai...@freescale.com mingkai...@freescale.com wrote on 2014/10/28 12:17:24: Hi Joakim and York, Hi yourself, been travelling or a few days. I apologize for the delayed response and thanks for your catch up

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-10-29 Thread Joakim Tjernlund
rather than SPI? if so that need to go from the SPI driver and moved into some board specific addon. Thanks, Mingkai From: Sun York-R58495 Sent: Thursday, October 23, 2014 6:14 AM To: jagan Teki; Hu Mingkai-B21284 Cc: Joakim Tjernlund; Hou Zhiqiang

[U-Boot] [PATCH] Freescale t104x: Do not exclude SGMII

2014-10-26 Thread Joakim Tjernlund
fman_port_enet_if() tests if FM1_DTSEC2 or FM1_DTSEC4 uses RGMII or MII and if not returns PHY_INTERFACE_MODE_NONE. This excludes testing for SGMII further down. Remove the unconditional else return PHY_INTERFACE_MODE_NONE so SGMII can be tested too. Signed-off-by: Joakim Tjernlund joakim.tjernl

[U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-10-26 Thread Joakim Tjernlund
Booting my t1042 I get: Loading Ramdisk to 2e639000, end 2cc4 ... OK Loading Device Tree to 03fe4000, end 03fffd45 ... OK WARNING Could not get liodn of node /pcie@ffe24: FDT_ERR_NOTFOUND WARNING Could not get liodn of node /pcie@ffe25: FDT_ERR_NOTFOUND WARNING Could not get liodn of

Re: [U-Boot] Relocation issue - need help!

2014-10-23 Thread Joakim Tjernlund
Hello Wolfgang, 2014-10-22 18:56 GMT+02:00 Wolfgang Denk w...@denx.de: Dear Dirk, In message CANVMifLGzKz+=-k-e9_ssxbxpypdg1yqexc-tscapi7wvxq...@mail.gmail.com you wrote: I had exactly the same behaviour some time ago and tracked it down to this (and posted it on the mailing

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-10-22 Thread Joakim Tjernlund
York Sun york...@freescale.com wrote on 2014/10/09 20:06:31: Dear Joakim, On 10/09/2014 10:43 AM, Joakim Tjernlund wrote: York Sun york...@freescale.com wrote on 2014/10/09 18:25:40: Dear Joakim, Thanks for raising a concern. It's not fair to blame the last person who submitted

Re: [U-Boot] [PATCH 01/19] lib: errno: introduce errno_str(): returns errno related message

2014-10-09 Thread Joakim Tjernlund
From: Przemyslaw Marczak p.marc...@samsung.com The functions error's numbers are standarized - but the error messages are not. The errors are often handled with unclear error messages, so why not use an errno standarized messages. Advantages: - This could decrease the binary size.

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-10-09 Thread Joakim Tjernlund
York Sun york...@freescale.com wrote on 2014/10/09 18:25:40: Dear Joakim, Thanks for raising a concern. It's not fair to blame the last person who submitted a patch. We are all working No of course not, I just noticed you guys had been in there and patched up some problem so I hoped

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-10-09 Thread Joakim Tjernlund
York Sun york...@freescale.com wrote on 2014/10/09 20:06:31: Dear Joakim, On 10/09/2014 10:43 AM, Joakim Tjernlund wrote: York Sun york...@freescale.com wrote on 2014/10/09 18:25:40: Dear Joakim, Thanks for raising a concern. It's not fair to blame the last person who submitted

Re: [U-Boot] [PATCH 01/19] lib: errno: introduce errno_str(): returns errno related message

2014-10-09 Thread Joakim Tjernlund
Przemyslaw Marczak p.marc...@samsung.com wrote on 2014/10/09 18:23:54: Hello Joakim, On 10/09/2014 08:46 AM, Joakim Tjernlund wrote: From: Przemyslaw Marczak p.marc...@samsung.com The functions error's numbers are standarized - but the error messages are not. The errors are often

Re: [U-Boot] [RFC PATCH v1] powerpc: add --bss-plt to LDFLAGS

2014-09-25 Thread Joakim Tjernlund
board this ended up being NetArpWaitTimerStart which caused the ARP packets to timeout immediately. Helped-by: Joakim Tjernlund joakim.tjernl...@transmode.se Signed-off-by: Chris Packham judge.pack...@gmail.com --- Dear Wolfgang, I am trying to apply this patch. Shall I drop

Re: [U-Boot] [RFC PATCH v1] powerpc: add --bss-plt to LDFLAGS

2014-09-10 Thread Joakim Tjernlund
. For the P2041RDB board this ended up being NetArpWaitTimerStart which caused the ARP packets to timeout immediately. Helped-by: Joakim Tjernlund joakim.tjernl...@transmode.se Signed-off-by: Chris Packham judge.pack...@gmail.com The commit text is a bit misleading, it is binutils(ld) which has

Re: [U-Boot] relocation problem on powerpc

2014-09-09 Thread Joakim Tjernlund
Chris Packham judge.pack...@gmail.com wrote on 2014/09/09 01:07:51: From: Chris Packham judge.pack...@gmail.com To: Joakim Tjernlund joakim.tjernl...@transmode.se, Cc: u-boot u-boot@lists.denx.de Date: 2014/09/09 01:08 Subject: Re: [U-Boot] relocation problem on powerpc Hi Jocke

Re: [U-Boot] relocation problem on powerpc

2014-09-09 Thread Joakim Tjernlund
Here's some more info from a build without any of my modifications. $ git describe v2014.10-rc2-12-g0b703db $ powerpc-e500-linux-gnu-gcc --version powerpc-e500-linux-gnu-gcc (Gentoo 4.6.3-r1 p1.9, pie-0.5.2) 4.6.3 $ grep

Re: [U-Boot] relocation problem on powerpc

2014-09-09 Thread Joakim Tjernlund
Joakim Tjernlund/Transmode wrote on 2014/09/09 14:30:13: From: Joakim Tjernlund/Transmode To: Cc: Chris Packham judge.pack...@gmail.com, u-boot u-boot@lists.denx.de Date: 2014/09/09 14:30 Subject: Re: [U-Boot] relocation problem on powerpc Here's some more info from a build without

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Joakim Tjernlund
There are some disadvantages to living in a weird timezone, mostly that you end up having conversations with yourself. On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham judge.pack...@gmail.com wrote: Hi All, I have come across what I think is a relocation problem for powerpc. I've

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Joakim Tjernlund
There are some disadvantages to living in a weird timezone, mostly that you end up having conversations with yourself. On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham judge.pack...@gmail.com wrote: Hi All, I have come across what I think is a relocation problem for powerpc.

Re: [U-Boot] [PATCH 1/3] i2c: tegra: use repeated start for reads

2014-06-26 Thread Joakim Tjernlund
From: Stephen Warren swar...@wwwdotorg.org To: u-boot@lists.denx.de, Heiko Schocher h...@denx.de, Cc: Stephen Warren swar...@nvidia.com, Tom Warren twar...@nvidia.com Date: 2014/06/25 19:05 Subject: [U-Boot] [PATCH 1/3] i2c: tegra: use repeated start for reads Sent by:

Re: [U-Boot] [PATCH 1/3] i2c: tegra: use repeated start for reads

2014-06-26 Thread Joakim Tjernlund
Stephen Warren swar...@wwwdotorg.org wrote on 2014/06/26 18:47:55: On 06/26/2014 02:11 AM, Joakim Tjernlund wrote: From: Stephen Warren swar...@wwwdotorg.org To: u-boot@lists.denx.de, Heiko Schocher h...@denx.de, Cc: Stephen Warren swar...@nvidia.com, Tom Warren twar...@nvidia.com

Re: [U-Boot] [PATCH 1/3] i2c: tegra: use repeated start for reads

2014-06-26 Thread Joakim Tjernlund
Stephen Warren swar...@wwwdotorg.org wrote on 2014/06/26 21:18:50: On 06/26/2014 01:11 PM, Joakim Tjernlund wrote: Stephen Warren swar...@wwwdotorg.org wrote on 2014/06/26 18:47:55: On 06/26/2014 02:11 AM, Joakim Tjernlund wrote: From: Stephen Warren swar...@wwwdotorg.org To: u-boot

Re: [U-Boot] [PATCH 1/3] i2c: tegra: use repeated start for reads

2014-06-26 Thread Joakim Tjernlund
Stephen Warren swar...@wwwdotorg.org wrote on 2014/06/26 21:24:05: On 06/26/2014 01:18 PM, Stephen Warren wrote: On 06/26/2014 01:11 PM, Joakim Tjernlund wrote: Stephen Warren swar...@wwwdotorg.org wrote on 2014/06/26 18:47:55: On 06/26/2014 02:11 AM, Joakim Tjernlund wrote: From

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-15 Thread Joakim Tjernlund
Michael Walle mich...@walle.cc wrote on 2014/03/14 22:45:20: Am Freitag, 14. März 2014, 10:46:26 schrieb Joakim Tjernlund: The fsl_espi.c is wreck w.r.t large TX data. Below is what I had to hack to load a FPGA over SPI and what is the malloc hack good for? This does not work well

[U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-14 Thread Joakim Tjernlund
The fsl_espi.c is wreck w.r.t large TX data. Below is what I had to hack to load a FPGA over SPI and what is the malloc hack good for? This does not work well for TXing several MB data. The driver needs to be rewritten and I do not have the time so I post what I got in the hope it can help

[U-Boot] Does mpc85xx(P2041) really need PHYLIB?

2014-02-21 Thread Joakim Tjernlund
in arch/powerpc/include/asm/config.h there is /* The FMAN driver uses the PHYLIB infrastructure */ #if defined(CONFIG_FMAN_ENET) #define CONFIG_PHYLIB #endif but drivers/net/fm/eth.c has optional PHYLIB support(aka PHY less or fixed PHY) This does not add up and I wonder if PHY less mode for

Re: [U-Boot] [PATCH 2/2] PPC: remove support for MPC82xx processors

2014-01-15 Thread Joakim Tjernlund
You are asking a heretical question! ;-) 8xx is where it all started - U-Boot was anteceded by the PPCBoot project, which started as 8xxrom - some 15 years ago... Ripping this out of U-Boot would just break my heart... hear,hear :) We started 14 years ago with 8xx and PPCBoot. 8xx have a

Re: [U-Boot] [PATCH] powerpc/lib: fix unsafe register handling in wait_ticks

2013-01-28 Thread Joakim Tjernlund
. The patch has been tested on a custom MPC5125 based machine using the 512x powerpc architecture. Signed-off-by: Mats Karrman mats.karr...@tritech.se Cc: Wolfgang Denk w...@denx.de Acked-by: Joakim Tjernlund joakim.tjernl...@transmode.se Thanks for this fix. I just reproduced this problem

Re: [U-Boot] [RFC] powerpc/lib: unsafe register handling in wait_ticks

2013-01-25 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2013/01/24 20:27:26: Dear Joakim Tjernlund, In message OF52C94A3D.C3BD2E6F-ONC1257AFD.005BAFE0-C1257AFD. 00673...@transmode.se you wrote: This adds some extra churn to the code that my patch didn't do. On the other hand your patch makes

Re: [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01

2013-01-24 Thread Joakim Tjernlund
Mats Kärrman mats.karr...@tritech.se wrote on 2013/01/23 22:58:56: Dear Wolfgang Denk, Found that it was looping endlessly in arch/powerpc/lib/ticks.S::wait_ticks (). Reverting commit ppc: Create a stack frame for wait_ticks() made everything work again. This makes no sense to me

Re: [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01

2013-01-24 Thread Joakim Tjernlund
Joakim Tjernlund/Transmode wrote on 2013/01/24 09:40:45: From: Joakim Tjernlund/Transmode To: Mats Kärrman mats.karr...@tritech.se, Cc: u-boot@lists.denx.de u-boot@lists.denx.de, Wolfgang Denk w...@denx.de Date: 2013/01/24 09:40 Subject: RE: [U-Boot] mpc512x: Trouble migrating from 2012.07

Re: [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01

2013-01-24 Thread Joakim Tjernlund
Joakim Tjernlund/Transmode wrote on 2013/01/24 09:58:35: Joakim Tjernlund/Transmode wrote on 2013/01/24 09:40:45: From: Joakim Tjernlund/Transmode To: Mats Kärrman mats.karr...@tritech.se, Cc: u-boot@lists.denx.de u-boot@lists.denx.de, Wolfgang Denk w...@denx.de Date: 2013/01/24 09

Re: [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01

2013-01-24 Thread Joakim Tjernlund
Mats Kärrman mats.karr...@tritech.se wrote on 2013/01/24 14:31:02: Joakim Tjernlund/Transmode wrote on 2013/01/24 09:21: Looking at the watchdog impl. I see it can be normal C code. This makes wait_ticks unsafe (even before my patch) as wait_ticks relies on r6 and r7 (and with my patch

Re: [U-Boot] [RFC] powerpc/lib: unsafe register handling in wait_ticks

2013-01-24 Thread Joakim Tjernlund
Hi, Hi Mats I would appreciate if you CC me directly on stuff I have been involved in. I don't read every mail on u-boot list(to many of them). It was just plain luck I saw this one. If watchdog is enabled, the arch/powerpc/lib/ticks.S::wait_ticks() function calls the function

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Joakim Tjernlund
In message 950821917.6855188.1350329929641.javamail.r...@advansee.com you wrote: Can you also add National Instruments (ni.com) to your list of employers? Please add O.S. Systems (ossystems.com.br) too. Please add ADVANSEE (advansee.com) too. Done: 25 employers

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Joakim Tjernlund
Marek Vasut ma...@denx.de wrote on 2012/10/16 08:31:20: Dear Graeme Russ, On 04/03/2012 09:35 AM, Graeme Russ wrote: Hi Jocke And I really need to check, but I have a sneaking suspicion that as the code currently stands in U-Boot/x86 dereferencing a NULL pointer won't

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Joakim Tjernlund
Marek Vasut ma...@denx.de wrote on 2012/10/16 12:43:08: Dear Joakim Tjernlund, [...] do about this patch? Skip the idea to protect a page, this is too complicated for a boot loader. Just treat malloc(0) as malloc(1) internally. I was more interested in knowing if we should

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-03 Thread Joakim Tjernlund
Albert ARIBAUD albert.u.b...@aribaud.net wrote on 2012/10/02 22:05:40: Hi Joakim, On Tue, 2 Oct 2012 21:13:39 +0200, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: */ void display_board_info(u32 btype

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-02 Thread Joakim Tjernlund
*/ void display_board_info(u32 btype) { - char cpu_2420[] = 2420; /* cpu type */ - char cpu_2422[] = 2422; - char cpu_2423[] = 2423; - char db_men[] = Menelaus; /* board type */ - char db_ip[] = IP; -

Re: [U-Boot] Problems with a P2020 board

2012-09-26 Thread Joakim Tjernlund
Joakim Tjernlund/Transmode wrote on 2012/08/30 15:12:08: Hi. We have a new board which we are suing with U-boot. The CPU is a P2020. I am having a few minor problems, and I was hoping to get some help. - Boot Count. We are keen to use the boot counter feature, but I am

Re: [U-Boot] Problems with a P2020 board

2012-09-26 Thread Joakim Tjernlund
Kumar Gala ga...@kernel.crashing.org wrote on 2012/09/26 15:39:48: On Sep 26, 2012, at 7:09 AM, Joakim Tjernlund wrote: Joakim Tjernlund/Transmode wrote on 2012/08/30 15:12:08: Hi. We have a new board which we are suing with U-boot. The CPU is a P2020. I am having a few minor

Re: [U-Boot] Problems with a P2020 board

2012-08-30 Thread Joakim Tjernlund
Hi. We have a new board which we are suing with U-boot. The CPU is a P2020. I am having a few minor problems, and I was hoping to get some help. - Boot Count. We are keen to use the boot counter feature, but I am struggling to find a suitable register in the P2020. The file

<    1   2   3   4   5   6   7   8   >