Re: [U-Boot] [PATCH V2 2/2] odroid: Add boot script (boot.scr) support

2015-10-08 Thread Guillaume Gardet
Le 05/10/2015 11:13, Sjoerd Simons a écrit : On Mon, 2015-10-05 at 11:07 +0200, Guillaume GARDET wrote: Add boot script (boot.scr) support. If no boot script are found, it boots as usual. Instead of extending the specialized boot script, it would belovely to see the odroid board switch to

[U-Boot] [PATCH] ARM: k2e/l: Apply WA for selecting PA clock source

2015-10-08 Thread Lokesh Vutla
On keystone2 Lamarr and Edison platforms, the PA clocksource mux in PLL REG1, can be changed only after enabling its clock domain. So selecting the output of PASS PLL as input to PA only after enabling the clockdomain. This is as per the debug done by "Vitaly Andrianov " and based

Re: [U-Boot] SPL and DM on ZYNQ

2015-10-08 Thread Hannes Schmelzer
On 07.10.2015 20:01, Jagan Teki wrote: On 7 October 2015 at 21:29, Simon Glass wrote: Hi, Hi, there are some news on this. On 7 October 2015 at 13:50, Hannes Schmelzer wrote: hi folks, i am not very familar with driver model until now and so

[U-Boot] [PATCH] dm: implement a cfi flash uclass

2015-10-08 Thread Thomas Chou
Implement a cfi flash uclass to work with drivers/mtd/cfi-flash.c. The flash base address is extracted from device tree, and passed to cfi_flash_bank_addr(). Signed-off-by: Thomas Chou --- common/board_r.c | 3 ++ drivers/mtd/Kconfig| 11 +++

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-10-08 Thread Przemyslaw Marczak
Hi Humberto, On 10/07/2015 10:50 PM, Humberto López León wrote: Hi Przemyslaw, the version of the U-boot on which you made the corrections in the SDHCI controller is at https://github.com/hardkernel/u-boot/commits/odroid-v2015.10? Regards, Humberto The U-Boot from your link is a

[U-Boot] [PATCH] omap3: cm-t3517: add board specific get_board_rev()

2015-10-08 Thread Dmitry Lifshitz
CM-T3517 has several HW revisions. Add board specific get_board_rev() callback to retrieve revision number. Signed-off-by: Dmitry Lifshitz --- board/compulab/cm_t3517/cm_t3517.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH] imximage: fix commands other than write_data

2015-10-08 Thread Stefano Babic
Hi Troy, On 07/10/2015 19:54, Troy Kisky wrote: > On 10/7/2015 5:05 AM, Stefano Babic wrote: >> Hi Troy, >> >> On 15/09/2015 03:06, Troy Kisky wrote: >>> When CHECK_BITS_SET was added, they forgot to add >>> a new command table, and instead overwrote the >>> previous table. >>> >>> Signed-off-by:

Re: [U-Boot] zynq: mmc boot issue

2015-10-08 Thread Michal Simek
Hi Jagan, I have just tried mmc boot with the latest HEAD and it is working fine for me on zc702. U-Boot SPL 2015.10-rc4-00050-g996ec1dcc58a (Oct 08 2015 - 09:48:17) mmc boot reading system.dtb spl_load_image_fat_os: error reading image system.dtb, err - -1 reading u-boot.img reading u-boot.img

[U-Boot] ubifs patchset

2015-10-08 Thread Heiko Schocher
Hello Tom, Hans, Hans has 5 pending UBIFS patches: Patchwork [U-Boot,v2,1/5] disk/part: Only build hostfs special handling when CONFIG_SANDBOX is set http://patchwork.ozlabs.org/patch/519059/ Patchwork [U-Boot,v2,2/5] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs

[U-Boot] Update u-boot to use latest kernel

2015-10-08 Thread herrweigel
Hello! I am using Wandboard Dual with Lubuntu-14.04.2 installed. By default it is running Linux kernel 3.10.53-1.1.0_ga-wandboard-06034-g13bb184-dirty. It doesn't contain all drivers that I need, so I installed linux-3.19.0-30 from repositories. Now I need to update u-boot configuration to boot

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Richard Weinberger
Hi! Am 08.10.2015 um 14:51 schrieb Heiko Schocher: > Hello Ezequiel, Richard, > > Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: >> Hello Heiko, >> >> According to Richard Weinberger, UBI fastmap is broken in U-Boot. >> There are plenty >> of fixes in Linux that we should pull in U-Boot to fix

Re: [U-Boot] U-Boot malloc implementation on arm - problem after relocation

2015-10-08 Thread Marcin Krzemiński
2015-10-07 20:25 GMT+02:00 mar.krzeminski : > > > W dniu 07.10.2015 o 19:38, Andreas Färber pisze: > >> Hi Marcin, >> >> Am 07.10.2015 um 15:58 schrieb Marcin Krzemiński: >> >>> Since I use qemu it >>> is very hard to debug with gdb u-boot after relocation( or I do not

Re: [U-Boot] Inconsistencies in commands regarding load_addr

2015-10-08 Thread Stephen Warren
On 10/07/2015 10:40 PM, Wolfgang Denk wrote: Dear Benoît, In message <5613e20f.8060...@wsystem.com> you wrote: I've just noticed that before the commit 045fa1e1142552799ad3203e9e0bc22a11e866ea, ext2load and ext4load were setting the load_addr global variable, but not fatload. Since then, none

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Ezequiel, Richard, Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: Hello Heiko, According to Richard Weinberger, UBI fastmap is broken in U-Boot. There are plenty of fixes in Linux that we should pull in U-Boot to fix it. Maybe you are already aware of this and you have some

Re: [U-Boot] Update u-boot to use latest kernel

2015-10-08 Thread Fabio Estevam
On Thu, Oct 8, 2015 at 7:34 AM, wrote: > Hello! > > I am using Wandboard Dual with Lubuntu-14.04.2 installed. By default it > is running Linux kernel 3.10.53-1.1.0_ga-wandboard-06034-g13bb184-dirty. > It doesn't contain all drivers that I need, so I installed > linux-3.19.0-30

Re: [U-Boot] ubifs patchset

2015-10-08 Thread Hans de Goede
Hi Heiko, On 10/08/2015 10:37 AM, Heiko Schocher wrote: Hello Tom, Hans, Hans has 5 pending UBIFS patches: Patchwork [U-Boot,v2,1/5] disk/part: Only build hostfs special handling when CONFIG_SANDBOX is set http://patchwork.ozlabs.org/patch/519059/ Patchwork [U-Boot,v2,2/5] ubifs: Modify

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Ezequiel Garcia
Heiko, On 8 October 2015 at 11:54, Heiko Schocher wrote: [..] > > Currently I have a (with warnings) compiled U-Boot with ubi/ubifs > with linux 4.2 base ... now testing (or tomorrow) > If you share a branch, I can help with some tests here. Thanks a lot for the quick work! --

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Hans de Goede
Hi, On 10/08/2015 03:54 PM, Heiko Schocher wrote: Hello Richard, Am 08.10.2015 um 15:03 schrieb Richard Weinberger: Hi! Am 08.10.2015 um 14:51 schrieb Heiko Schocher: Hello Ezequiel, Richard, Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: Hello Heiko, According to Richard Weinberger,

[U-Boot] [PATCH] pci: pcie_imx: Fix hang on mx6qp

2015-10-08 Thread Fabio Estevam
PCI driver currently hangs on mx6qp. Toggle the reset bit with the appropriate timings to fix the issue. Based on the FSL kernel driver implementation. Signed-off-by: Fabio Estevam --- arch/arm/include/asm/arch-mx6/iomux.h | 2 ++ drivers/pci/pcie_imx.c

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Richard, Am 08.10.2015 um 15:03 schrieb Richard Weinberger: Hi! Am 08.10.2015 um 14:51 schrieb Heiko Schocher: Hello Ezequiel, Richard, Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: Hello Heiko, According to Richard Weinberger, UBI fastmap is broken in U-Boot. There are plenty of

[U-Boot] mx6qp sabreauto hangs after saveenv/reset

2015-10-08 Thread Fabio Estevam
Hi Peng, On a mx6qp sabreauto I noticed that the board hangs after doing: => saveenv => reset U-Boot 2015.10-rc4-24385-ge04e21c-dirty (Oct 08 2015 - 13:08:54 -0300) CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz) CPU: Automotive temperature grade (-40C to 125C) at 38C Reset

Re: [U-Boot] [PATCH v3 07/12] cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootline

2015-10-08 Thread Simon Glass
On 8 October 2015 at 04:19, Bin Meng wrote: > Remember the position in the VxWorks bootline buffer to avoid the call > to strlen() each time. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: > - New patch to avoid strlen() calls when constructing

Re: [U-Boot] [PATCH v5 2/3] timer: start a new dm_timer after relocation

2015-10-08 Thread Simon Glass
On 8 October 2015 at 02:03, Thomas Chou wrote: > Start a new dm_timer after relocation, just in case the > timer has been used in per-relocation. > > Signed-off-by: Thomas Chou > --- > common/board_r.c | 3 +++ > 1 file changed, 3 insertions(+)

Re: [U-Boot] [PATCH v3 08/12] cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline

2015-10-08 Thread Simon Glass
On 8 October 2015 at 04:19, Bin Meng wrote: > There are fields in VxWorks bootline for netmask and gatewayip. > We can get these from U-Boot environment variables and pass them > to VxWorks, just like ipaddr and serverip. > > Signed-off-by: Bin Meng > >

Re: [U-Boot] U-Boot - Download URL and certificates

2015-10-08 Thread Markus Niebel
Hello Am 07.10.2015 um 21:22 schrieb Wolfgang Denk: > Dear Markus, > > In message <56122fa6.8010...@tqsc.de> you wrote: >> >> we are facing problems with downloading U-Boot tarballs and >> automated build systems. > > Tarballs? But that should be trivial. Tarballs are easily available > on

Re: [U-Boot] [PATCH 1/2] x86: gpio: Make x86-pinctrl subnode of ich6-gpio

2015-10-08 Thread Simon Glass
Hi George, On 7 October 2015 at 16:29, George McCollister wrote: > Instead of having x86-pinctrl work separately from ich6-gpio have it > work underneath ich6-gpio. This removes redundant configuration and will > allow the addition of shared bank settings in future

Re: [U-Boot] [PATCH 2/2] x86: gpio: Add use-lvl-write-cache to fix baytrail

2015-10-08 Thread Simon Glass
Hi George, On 7 October 2015 at 16:29, George McCollister wrote: > Add a device-tree property use-lvl-write-cache that will cause writes to > lvl to be cached instead of read from lvl before each write. This is > required on some platforms that have the register

Re: [U-Boot] [PATCH] pci: Fix expansion ROM programming for multi-function devices

2015-10-08 Thread Simon Glass
On 7 October 2015 at 10:13, Bin Meng wrote: > PCI_HEADER_TYPE register (offset 0x0e) bit 7 is an indicator > for multi-function devices. We should mask it off before using > it as the header type. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [PATCH v5 1/3] dm: implement a Timer uclass

2015-10-08 Thread Simon Glass
Hi Thomas, On 8 October 2015 at 02:03, Thomas Chou wrote: > Implement a Timer uclass to work with lib/time.c. > > Signed-off-by: Thomas Chou > Reviewed-by: Simon Glass > --- > v2 > fix coding style. > v3 > add description to

Re: [U-Boot] [PATCH] pci: pcie_imx: Fix hang on mx6qp

2015-10-08 Thread Tim Harvey
On Thu, Oct 8, 2015 at 8:49 AM, Fabio Estevam wrote: > PCI driver currently hangs on mx6qp. > > Toggle the reset bit with the appropriate timings to fix the issue. > > Based on the FSL kernel driver implementation. > > Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] pci: Fix expansion ROM programming for multi-function devices

2015-10-08 Thread Simon Glass
Hi Bin, On 8 October 2015 at 19:07, Simon Glass wrote: > On 7 October 2015 at 10:13, Bin Meng wrote: >> PCI_HEADER_TYPE register (offset 0x0e) bit 7 is an indicator >> for multi-function devices. We should mask it off before using >> it as the header type.

[U-Boot] [PATCH] ti: omap3: config: remove 1 from boolean define

2015-10-08 Thread Igor Grinberg
CONFIG_TWL4030_POWER is a boolean define variable. It is either defined or not defined and should not have a value assigned to it. Remove the value. Signed-off-by: Igor Grinberg --- include/configs/ti_omap3_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 0/2] config: move CONFIG_BOOTDELAY to defconfig

2015-10-08 Thread Igor Grinberg
Move the CONFIG_BOOTDELAY to defconfig way. The second patch is quite large. I'm not sure the mailing list will accept it. If it will not, then please tell me if can put it on a github or any other way of delivery. Igor Grinberg (2): Kconfig: add CONFIG_BOOTDELAY config: move CONFIG_BOOTDELAY

[U-Boot] [PATCH 1/2] Kconfig: add CONFIG_BOOTDELAY

2015-10-08 Thread Igor Grinberg
Add CONFIG_BOOTDELAY to the Kconfig. Default it to 3 seconds according to the majority of configs. Signed-off-by: Igor Grinberg Cc: Simon Glass Cc: Masahiro Yamada --- common/Kconfig | 10 ++ 1 file changed, 10

[U-Boot] [PATCH 1/2] sunxi: Fix pcDuino reliability by downclocking DRAM to 360MHz

2015-10-08 Thread Siarhei Siamashka
Linksprite_pcDuino_defconfig is a generic config for pcDuino1 and pcDuino2 boards. The pcDuino2 board exists at least in two variants (with DDR3 chips from HYNIX or NANYA). At least one pcDuino2 board with HYNIX DDR3 fails the lima-memtester reliability test unless the DRAM clock speed is reduced

[U-Boot] [PATCH 2/2] sunxi: Fix USB regulators in Linksprite_pcDuino_defconfig

2015-10-08 Thread Siarhei Siamashka
The pcDuino1 board unconditionally provides 5V to USB host receptacles. The pcDuino2 board has a voltage regulator, controlled by the PD2 pin which is pulled-up by default (so that the USB power is also enabled by default). Not specifying pins for enabling USB power in the defconfig means that

[U-Boot] [PATCH 0/2] sunxi: Linksprite_pcDuino_defconfig bugfixes

2015-10-08 Thread Siarhei Siamashka
Fixes for DRAM reliability problems and unsafe use of the PH6 pin. Siarhei Siamashka (2): sunxi: Fix pcDuino reliability by downclocking DRAM to 360MHz sunxi: Fix USB regulators in Linksprite_pcDuino_defconfig configs/Linksprite_pcDuino_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [U-Boot] mx6qp sabreauto hangs after saveenv/reset

2015-10-08 Thread Sinan Akman
On 08/10/15 12:24 PM, Fabio Estevam wrote: Hi Peng, On a mx6qp sabreauto I noticed that the board hangs after doing: => saveenv => reset U-Boot 2015.10-rc4-24385-ge04e21c-dirty (Oct 08 2015 - 13:08:54 -0300) CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz) CPU: Automotive

Re: [U-Boot] [PATCH] pci: pcie_imx: Fix hang on mx6qp

2015-10-08 Thread Fabio Estevam
On Thu, Oct 8, 2015 at 5:58 PM, Marek Vasut wrote: >> mdelay(50); >> >> + if (is_mx6dqp()) { >> + clrbits_le32(_regs->gpr[1], IOMUXC_GPR1_PCIE_SW_RST); > > Why don't you put this section before the mdelay(50) above ? This should > produce the same effect as

[U-Boot] U-Boot version issue

2015-10-08 Thread ba_f
Hello, i have an issue with different U-Boot versions, and i have no clue what's the problem. Maybe someone's got an idea? Working on Xilinx' ARM Platform i use U-Boot version u-boot-xlnx-xilinx-v14.6.01, and it's all good with that one and even lower versions. But, using

Re: [U-Boot] [PATCH v4 3/4] dm: tpm: Remove every compilation switch for TPM driver model

2015-10-08 Thread Simon Glass
On 6 October 2015 at 21:54, Christophe Ricard wrote: > As every TPM drivers support UCLASS_TPM, we can only rely on DM_TPM > functions. > > This simplify a bit the code. > > Signed-off-by: Christophe Ricard > Reviewed-by: Tom Rini

[U-Boot] Please pull u-boot-x86

2015-10-08 Thread Simon Glass
Hi Tom, The following changes since commit 996ec1dcc58a34b53891acde0ec5df9141b5fcc2: Merge branch 'master' of git://git.denx.de/u-boot-fdt (2015-10-03 10:48:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to

Re: [U-Boot] [PATCH v4 4/4] dm: tpm: Every TPM drivers should depends on DM_TPM

2015-10-08 Thread Simon Glass
On 6 October 2015 at 21:54, Christophe Ricard wrote: > Every TPM drivers should now depends on DM_TPM and not only TPM. > > Signed-off-by: Christophe Ricard > Reviewed-by: Tom Rini > --- > > Changes in v4: None >

Re: [U-Boot] mx6qp sabreauto hangs after saveenv/reset

2015-10-08 Thread Fabio Estevam
Hi Sinan, On Thu, Oct 8, 2015 at 5:25 PM, Sinan Akman wrote: > Now, is this before or after our recent reset revert ? We ended up not doing the reset revert. I sent a patch adding a specific ls102x reset instead, but this one has not been applied yet. This one is

Re: [U-Boot] mx6qp sabreauto hangs after saveenv/reset

2015-10-08 Thread Sinan Akman
Hi Fabio On 08/10/15 04:29 PM, Fabio Estevam wrote: Hi Sinan, On Thu, Oct 8, 2015 at 5:25 PM, Sinan Akman wrote: Now, is this before or after our recent reset revert ? We ended up not doing the reset revert. I sent a patch adding a specific ls102x reset instead,

Re: [U-Boot] [PATCH] pci: pcie_imx: Fix hang on mx6qp

2015-10-08 Thread Fabio Estevam
Hi Tim, On Thu, Oct 8, 2015 at 2:55 PM, Tim Harvey wrote: > Fabio, > > So Freescale finally connected a usable reset to the PCIe core but > only on the QuadPlus? GPR1.29 is marked as 'reserved' in the IMX6DQRM > and I'm unable to find a RM for the QP. Is this something

Re: [U-Boot] Inconsistencies in commands regarding load_addr

2015-10-08 Thread Wolfgang Denk
Dear Stephen, In message <56167db6.3000...@wwwdotorg.org> you wrote: > > >> What's the expected correct behavior here? > > > > After successful loading the data to memory, load_addr should be set > > correctly, for all commands. In the error case, the value of > > load_addr is undefined. > > Is

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Richard Weinberger
Am 08.10.2015 um 16:58 schrieb Hans de Goede: >> Compiling stops, as it is an "error" ... renaming this var, and error >> go away ... > > I believe that in certain configs free is a #define on u-boot, which is > likely causing this problem. Ahhh! As soon you #define something the symbol is

[U-Boot] U-boot for rasperry pi

2015-10-08 Thread Ranjith T
Hi, I am ranjith and working as Senior software Engineer. I have installed arm-linux-gnueabi- toolchain on my debian(wheezy) machine and cross compiled u-boot for rasperry pi board(rpi_b_config), Edited rpi_b.h file to enable few commands like fatload, loads, etc. Copied u-boot.bin image to sd

Re: [U-Boot] [PATCH v2] nios2: convert copy_exception_trampoline to use dm cpu data

2015-10-08 Thread Marek Vasut
On Tuesday, October 06, 2015 at 08:55:36 AM, Thomas Chou wrote: > Convert copy_exception_trampoline() to use dm cpu data. > > Signed-off-by: Thomas Chou > --- > v2 > fix exception address references. > > arch/nios2/cpu/cpu.c | 24 >

Re: [U-Boot] [PATCH] pci: pcie_imx: Fix hang on mx6qp

2015-10-08 Thread Marek Vasut
On Thursday, October 08, 2015 at 05:49:27 PM, Fabio Estevam wrote: > PCI driver currently hangs on mx6qp. > > Toggle the reset bit with the appropriate timings to fix the issue. > > Based on the FSL kernel driver implementation. > > Signed-off-by: Fabio Estevam >

Re: [U-Boot] [PATCH] nios2: remove asm/psr.h

2015-10-08 Thread Marek Vasut
On Wednesday, October 07, 2015 at 02:56:05 PM, Thomas Chou wrote: > Remove asm/psr.h, which is not used. > Also clean up asm/sections.h and unaligned.h. > > Signed-off-by: Thomas Chou Cool :-) Reviewed-by: Marek Vasut Best regards, Marek Vasut

Re: [U-Boot] [PATCH v4 1/4] dm: tpm: Move tpm_tis_i2c to tpm_i2c_infineon

2015-10-08 Thread Simon Glass
On 6 October 2015 at 21:54, Christophe Ricard wrote: > As there is no TCG specification or recommendation for i2c TPM 1.2, > move tpm_tis_i2c driver to tpm_i2c_infineon. Other tpm vendors like Atmel > or STMicroelectronics may have a different transport protocol for

Re: [U-Boot] [PATCH v4 2/4] dm: tpm: Add Driver Model support for tpm_atmel_twi driver

2015-10-08 Thread Simon Glass
On 6 October 2015 at 21:54, Christophe Ricard wrote: > tpm_atmel_twi can fit perfectly to the new UCLASS_TPM class. > > Signed-off-by: Christophe Ricard > Reviewed-by: Tom Rini > --- > > Changes in v4: None > Changes

Re: [U-Boot] [PATCH] nios2: set default cache configuration in start.S

2015-10-08 Thread Marek Vasut
On Tuesday, October 06, 2015 at 10:21:48 AM, Thomas Chou wrote: > Set default icache and dcache configuration for start.S. > The values are chosen so that it will work for most configurations. > During initialization, cpu information will be extracted from > device tree. Then cache flush

Re: [U-Boot] [PATCH] nios2: convert cache flush to use dm cpu data

2015-10-08 Thread Marek Vasut
On Tuesday, October 06, 2015 at 10:20:00 AM, Thomas Chou wrote: > Convert cache flush to use dm cpu data. The cacheflush.c of > Linux nios2 arch is copied to arch/nios2/lib/cache.c to replace > the cache.S. The cache related functions in cpu.c is moved > to cache.c. Both flush_dcache() and

Re: [U-Boot] [PATCH] serial: remove altera serial initializations

2015-10-08 Thread Marek Vasut
On Wednesday, October 07, 2015 at 12:49:09 AM, Simon Glass wrote: > On 5 October 2015 at 01:51, Thomas Chou wrote: > > Both altera_jtag_serial_initialize() and > > altera_serial_initialize() are no longer used after > > they are converted to driver model. > > > >

Re: [U-Boot] [PATCH v2] nios2: convert dma_alloc_coherent to use memalign

2015-10-08 Thread Marek Vasut
On Tuesday, October 06, 2015 at 08:49:49 AM, Thomas Chou wrote: > Convert dma_alloc_coherent to use memalign. > > Signed-off-by: Thomas Chou > --- > v2 > use memalign. > > arch/nios2/include/asm/dma-mapping.h | 21 - > 1 file changed, 8

Re: [U-Boot] [PATCH v5 1/3] dm: implement a Timer uclass

2015-10-08 Thread Thomas Chou
Hi Simon, On 10/09/2015 01:14 AM, Simon Glass wrote: +config DM_TIMER One more little nit - this should be just 'TIMER'? All of the DM_... options will eventually be removed. They indicate that driver model is being used for a function. In your case, there is no legacy version so you can just

Re: [U-Boot] [PATCH v6 2/3] timer: start a new TIMER after relocation

2015-10-08 Thread Bin Meng
Hi Thomas, On Fri, Oct 9, 2015 at 9:17 AM, Thomas Chou wrote: > Start a new TIMER after relocation, just in case the > timer has been used in per-relocation. > > Signed-off-by: Thomas Chou > Acked-by: Simon Glass > --- > v6 >

[U-Boot] [PATCH] nios2: zap cache status enable and disable functions

2015-10-08 Thread Thomas Chou
As the icache and dcache of nios2 are always enabled, the cmd_cache is no of use and the cache status, enable and disable functions can be removed. Signed-off-by: Thomas Chou --- arch/nios2/cpu/cpu.c | 15 --- 1 file changed, 15 deletions(-) diff --git

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Richard, Hans, Am 08.10.2015 um 18:04 schrieb Richard Weinberger: Am 08.10.2015 um 16:58 schrieb Hans de Goede: Compiling stops, as it is an "error" ... renaming this var, and error go away ... I believe that in certain configs free is a #define on u-boot, which is likely causing this

Re: [U-Boot] [PATCH] pci: Fix expansion ROM programming for multi-function devices

2015-10-08 Thread Bin Meng
Hi Simon, On Fri, Oct 9, 2015 at 2:10 AM, Simon Glass wrote: > Hi Bin, > > On 8 October 2015 at 19:07, Simon Glass wrote: >> On 7 October 2015 at 10:13, Bin Meng wrote: >>> PCI_HEADER_TYPE register (offset 0x0e) bit 7 is an indicator

[U-Boot] [PATCH v6 1/3] dm: implement a Timer uclass

2015-10-08 Thread Thomas Chou
Implement a Timer uclass to work with lib/time.c. Signed-off-by: Thomas Chou Acked-by: Simon Glass --- v2 fix coding style. v3 add description to Kconfig as Simon suggested. move timer.c code to lib/time.c. add dm_timer dev to global data.

[U-Boot] [PATCH v6 3/3] nios2: convert altera timer to driver model

2015-10-08 Thread Thomas Chou
Convert altera timer to driver model. Signed-off-by: Thomas Chou Acked-by: Chin Liang See --- v2 fix coding style. v3 doc dts binding. v4 no change. v5 revert to get_rate and use uclass priv to store the clock_rate. v6 rename to CONFIG_TIMER as

[U-Boot] [PATCH v6 2/3] timer: start a new TIMER after relocation

2015-10-08 Thread Thomas Chou
Start a new TIMER after relocation, just in case the timer has been used in per-relocation. Signed-off-by: Thomas Chou Acked-by: Simon Glass --- v6 rename to CONFIG_TIMER as Simon suggested. common/board_r.c | 3 +++ 1 file changed, 3 insertions(+)

Re: [U-Boot] mx6qp sabreauto hangs after saveenv/reset

2015-10-08 Thread Peng Fan
Hi Fabio, On Thu, Oct 08, 2015 at 01:24:19PM -0300, Fabio Estevam wrote: >Hi Peng, > >On a mx6qp sabreauto I noticed that the board hangs after doing: > >=> saveenv >=> reset > >U-Boot 2015.10-rc4-24385-ge04e21c-dirty (Oct 08 2015 - 13:08:54 -0300) > >CPU: Freescale i.MX6QP rev1.0 996 MHz

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Ezequiel, Am 08.10.2015 um 17:54 schrieb Ezequiel Garcia: Heiko, On 8 October 2015 at 11:54, Heiko Schocher wrote: [..] Currently I have a (with warnings) compiled U-Boot with ubi/ubifs with linux 4.2 base ... now testing (or tomorrow) If you share a branch, I can

[U-Boot] [PATCH] imx35, flea3: add FIT image support

2015-10-08 Thread Heiko Schocher
add FIT image support for the flea3 board. Signed-off-by: Heiko Schocher --- include/configs/flea3.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/flea3.h b/include/configs/flea3.h index f646fee..a096071 100644 --- a/include/configs/flea3.h +++

Re: [U-Boot] [PATCH v6 2/3] timer: start a new TIMER after relocation

2015-10-08 Thread Thomas Chou
Hi Bin, On 10/09/2015 09:32 AM, Bin Meng wrote: +#ifdef CONFIG_TIMER + gd->TIMER = NULL; Sorry for jumping in so late. But why is this TIMER all capital letters? Thanks for reminding. I made wrong string replacement. Best regards, Thomas Chou

Re: [U-Boot] [PATCHv3] Add support for LZ4 decompression algorithm

2015-10-08 Thread Simon Glass
On 7 October 2015 at 04:03, Julius Werner wrote: > > This patch adds support for LZ4-compressed FIT image contents. This > algorithm has a slightly worse compression ration than LZO while being > nearly twice as fast to decompress. When loading images from a fast > storage

[U-Boot] [PATCH 0/2] config: move CONFIG_CMD_BOOTZ to defconfig

2015-10-08 Thread Igor Grinberg
I've split the original patchset into several smaller patchsets, as I'm not sure how long will it take me to finish them all. This one deals with the CONFIG_CMD_BOOTZ. Move the CONFIG_CMD_BOOTZ to defconfig way. Igor Grinberg (2): Kconfig: add CONFIG_CMD_BOOTZ config: move CONFIG_CMD_BOOTZ

[U-Boot] [PATCH 1/2] Kconfig: add CONFIG_CMD_BOOTZ

2015-10-08 Thread Igor Grinberg
Add CONFIG_CMD_BOOTZ to the Kconfig. Since the CONFIG_CMD_BOOTZ cannot live without the CONFIG_CMD_BOOTM, make it select the CONFIG_CMD_BOOTM. Signed-off-by: Igor Grinberg Cc: Masahiro Yamada Cc: Simon Glass ---

Re: [U-Boot] [PATCHv2] Add support for LZ4 decompression algorithm

2015-10-08 Thread Simon Glass
Hi Julius, On 7 October 2015 at 04:01, Julius Werner wrote: > Well then... a few hours and a significant reduction in sanity later, > I found that I'm shadowing the new 'ret' variable from changing the > API around because I forgot to remove the declaration part from the >

Re: [U-Boot] [PATCH] omap3: cm-t3517: add board specific get_board_rev()

2015-10-08 Thread Igor Grinberg
Hi Dima, On 10/08/15 14:20, Dmitry Lifshitz wrote: > CM-T3517 has several HW revisions. > Add board specific get_board_rev() callback to retrieve revision number. > > Signed-off-by: Dmitry Lifshitz > --- > board/compulab/cm_t3517/cm_t3517.c |9 + > 1 files

[U-Boot] [PATCH] vf610twr: Enable all masks of CCGRx registers.

2015-10-08 Thread Anthony Felice
The CCGRx registers, or clock gating registers, can be set to disable or enable clocks for devices on the vf610twr platform. Enabling masks for all CCGRx registers allows Linux drivers, like snvs_rtc, and also MQX applications, to work out-of-the-box. There are no real downsides to enabling all

Re: [U-Boot] [PATCH 1/2] x86: gpio: Make x86-pinctrl subnode of ich6-gpio

2015-10-08 Thread George McCollister
On Thu, Oct 8, 2015 at 12:43 PM, Simon Glass wrote: > Hi George, > > On 7 October 2015 at 16:29, George McCollister > wrote: >> Instead of having x86-pinctrl work separately from ich6-gpio have it >> work underneath ich6-gpio. This removes