Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread York Sun
On 09/30/2015 09:47 AM, Sinan Akman wrote: > > > On 28/09/15 05:09 PM, Tom Rini wrote: >> Hey all, >> >> I've pushed v2015.10-rc4 out to the repository and tarballs should exist >> soon. >> >> We're coming up on the release date and I think things are in reasonable >> shape overall. Please

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Fabio Estevam
On Wed, Sep 30, 2015 at 4:09 PM, Sinan Akman wrote: > OK, this will probably work, as I tried writew earlier and it worked, > I agree it seems an endianness issue, do we not want to address > all common accesses in a way that takes endianness into account ? Yes, that would

Re: [U-Boot] [RESEND PATCH v3 1/5] net: expose eth_is_active() function to test network device state

2015-09-30 Thread Joe Hershberger
On Mon, Sep 14, 2015 at 8:29 AM, Bernhard Nortmann wrote: > The previous eth_device struct returned by eth_get_dev() allowed > code to directly query the state member field. However, with > CONFIG_DM_ETH this data gets encapsulated (i.e. private), and > eth_get_dev()

[U-Boot] Pull request: u-boot-net.git master

2015-09-30 Thread Joe Hershberger
The following changes since commit 1f8836396de8215b7f460616926052b32597bb29: Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 8ac46a98618ea21cf9900961fcff9cf803198271: sunxi:

Re: [U-Boot] [RESEND PATCH v3 5/5] sunxi: add NetConsole by default for Banana Pi/Pro

2015-09-30 Thread Joe Hershberger
On Mon, Sep 14, 2015 at 8:29 AM, Bernhard Nortmann wrote: > Simon Glass and Joe Hershberger suggested adding at least one > test case for the CONFIG_DM_ETH plus CONFIG_NETCONSOLE options. > > This patch enables NetConsole as a default for the "Banana Pi/Pro" > sunxi

Re: [U-Boot] [RESEND PATCH v3 4/5] net: support NETCONSOLE option via Kconfig

2015-09-30 Thread Joe Hershberger
On Mon, Sep 14, 2015 at 8:29 AM, Bernhard Nortmann wrote: > This patch introduces CONFIG_NETCONSOLE as an option to the > Kconfig system. > > Joe Hershberger pointed out that it may not be entirely free of > problems, as many boards predating the driver model define this

Re: [U-Boot] [RESEND PATCH v3 3/5] net: avoid eth_unregister() call when function is unavailable

2015-09-30 Thread Joe Hershberger
On Mon, Sep 14, 2015 at 8:29 AM, Bernhard Nortmann wrote: > CONFIG_NETCONSOLE causes common/bootm.c to call eth_unregister() > for network device shutdown. However, with CONFIG_DM_ETH this > function is no longer defined. > > This is a workaround to avoid the call in

Re: [U-Boot] [RESEND PATCH v3 2/5] net: fix netconsole when CONFIG_DM_ETH is set

2015-09-30 Thread Joe Hershberger
On Mon, Sep 14, 2015 at 8:29 AM, Bernhard Nortmann wrote: > This patch uses the eth_is_active() function to work around > issues that prevented compilation with the newer driver model. > > Signed-off-by: Bernhard Nortmann > Acked-by: Joe

Re: [U-Boot] [PATCH v3 2/2] spi: Add SPI NOR protection mechanism

2015-09-30 Thread Jagan Teki
On 30 September 2015 at 22:09, Fabio Estevam wrote: > From: Fabio Estevam > > Many SPI flashes have protection bits (BP2, BP1 and BP0) in the > status register that can protect selected regions of the SPI NOR. > > Take these bits into account when

Re: [U-Boot] [PATCH v3 2/2] spi: Add SPI NOR protection mechanism

2015-09-30 Thread Fabio Estevam
On Wed, Sep 30, 2015 at 2:37 PM, Jagan Teki wrote: > Sorry I forgot this on my last comment, can you split this into two commits. > commit 1: Brain Norris protect feature > commit 2: sf protect handing. Ok, did as suggested in v4.

[U-Boot] [PATCH v4 3/3] spi: Add SPI NOR protection mechanism

2015-09-30 Thread Fabio Estevam
From: Fabio Estevam Many SPI flashes have protection bits (BP2, BP1 and BP0) in the status register that can protect selected regions of the SPI NOR. Take these bits into account when performing erase operations, making sure that the protected areas are skipped.

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Fabio Estevam
Hi Sinan, On Wed, Sep 30, 2015 at 3:02 PM, Sinan Akman wrote: > > > On 30/09/15 01:22 PM, Sinan Akman wrote: >> >> >>Hi York >> >>> The board maintainer will take a look. Unfortunately she is on holiday >>> vacation. >>> Let me try to find someone else familiar with this

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Sinan Akman
Hi Fabio Fabio Estevam wrote: Hi Sinan, [...] Does this fix the reset issue? --- a/drivers/watchdog/imx_watchdog.c +++ b/drivers/watchdog/imx_watchdog.c @@ -55,7 +55,7 @@ void reset_cpu(ulong addr) { struct watchdog_regs *wdog = (struct watchdog_regs *)WDOG1_BASE_ADDR; -

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Sinan Akman
Fabio Estevam wrote: On Wed, Sep 30, 2015 at 3:56 PM, Fabio Estevam wrote: On Wed, Sep 30, 2015 at 3:33 PM, Sinan Akman wrote: Nope, AFAICS it doesn't make any difference. Ok, the issue is due to endianness: on LS1021 the watchdog is big-endian, so

Re: [U-Boot] [PATCH] net: phy: on phy device create do not initialize link to 1

2015-09-30 Thread Joe Hershberger
On Thu, Sep 24, 2015 at 4:31 PM, Joe Hershberger wrote: > On Tue, Sep 15, 2015 at 2:57 AM, Mugunthan V N wrote: >> On Friday 04 September 2015 09:01 PM, Joe Hershberger wrote: >>> On Thu, Sep 3, 2015 at 5:20 AM, Mugunthan V N

[U-Boot] [PATCH v4 2/3] spi: sf_ops: Add SPI protection mechanism from the kernel

2015-09-30 Thread Fabio Estevam
From: Fabio Estevam Add the SPI NOR protection mechanism from the kernel. This code is based on the work from Brian Norris https://patchwork.ozlabs.org/patch/513041/ Signed-off-by: Fabio Estevam ---

[U-Boot] [PATCH v4 1/3] bitops: Add support for order_base_2()

2015-09-30 Thread Fabio Estevam
From: Fabio Estevam Add support for the order_base_2() macro (and its dependencies) from the Linux kernel. This is useful for the SPI NOR unlock function. Signed-off-by: Fabio Estevam --- Changes since v3: - None

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Fabio Estevam
On Wed, Sep 30, 2015 at 3:33 PM, Sinan Akman wrote: > Nope, AFAICS it doesn't make any difference. Ok, the issue is due to endianness: on LS1021 the watchdog is big-endian, so that's why we can't use clrsetbits_le16(). Please check:

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

2015-09-30 Thread Andy Fleming
On Thu, Oct 23, 2014 at 8:10 AM, Wolfgang Denk wrote: > Dear Joakim, dear Dirk, > > In message > you > wrote: >> >> Ouch, that was a nasty surprise. > > Indeed. > >> > In my original mail I referenced this

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Sinan Akman
On 30/09/15 01:22 PM, Sinan Akman wrote: Hi York The board maintainer will take a look. Unfortunately she is on holiday vacation. Let me try to find someone else familiar with this board. No worries, I will also bisect and see what's going on. Just wanted to make sure I don't work

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Fabio Estevam
On Wed, Sep 30, 2015 at 3:56 PM, Fabio Estevam wrote: > On Wed, Sep 30, 2015 at 3:33 PM, Sinan Akman wrote: > >> Nope, AFAICS it doesn't make any difference. > > Ok, the issue is due to endianness: on LS1021 the watchdog is > big-endian, so that's why we

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Sinan Akman
On 28/09/15 05:09 PM, Tom Rini wrote: Hey all, I've pushed v2015.10-rc4 out to the repository and tarballs should exist soon. We're coming up on the release date and I think things are in reasonable shape overall. Please speak up if there's some fixes I'm still overlooking, I thought I

Re: [U-Boot] [PATCH v3] nios2 : convert altera_pio to driver model

2015-09-30 Thread Simon Glass
On 26 September 2015 at 03:07, Thomas Chou wrote: > Convert altera_pio to driver model. > > Signed-off-by: Thomas Chou > --- > v2 > fix ranges of pio in dts > fix coding style as Marek suggested. > > v3 > change gpio_count device tree binding. >

Re: [U-Boot] [PATCH V3 0/4] Fix fdt 'reg' parsing and unbreak few Exynos4 boards

2015-09-30 Thread Simon Glass
Hi Przemyslaw, On 30 September 2015 at 06:25, Przemyslaw Marczak wrote: > Hello Tom, Simon, > > > On 09/30/2015 03:13 PM, Tom Rini wrote: >> >> On Wed, Sep 30, 2015 at 01:14:49PM +0200, Przemyslaw Marczak wrote: >> >>> Booting of Odroid U3/X2 with SD card, ends with error:

Re: [U-Boot] "Embedding" default script with uboot image

2015-09-30 Thread Zatkovský Dušan
Really nobody? -- Dusan Dňa 22. 9. 2015 o 14:20 Zatkovský Dušan napísal(a): Hi all, Excuse my question if it was solved somewhere in forum, but I didn't found an answer yet (maybe I can't find the right keywords). I am building the uboot with yocto for imx6 board. I have started with some

Re: [U-Boot] Pull-request: u-boot-spi/master

2015-09-30 Thread Michal Simek
On 09/29/2015 11:13 PM, Jagan Teki wrote: > On 21 September 2015 at 23:56, Jagan Teki wrote: >> Hi Michal, >> >> On 19 September 2015 at 06:38, Michal Simek wrote: >>> On 09/19/2015 02:55 AM, Michal Simek wrote: On 09/16/2015 09:20 AM, Jagan Teki

Re: [U-Boot] [PATCH 3/3] configs: ls1021atwr: Enable DSPI for LS1021ATWR

2015-09-30 Thread Jagan Teki
On 15 September 2015 at 15:58, Yuan Yao wrote: > DSPI2 can be verified when boot from QSPI now. > > Signed-off-by: Yuan Yao > --- Applied to u-boot-spi/master -- Jagan. ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/3] mtd: sf: Add support AT26DF081A chip

2015-09-30 Thread Jagan Teki
On 15 September 2015 at 15:58, Yuan Yao wrote: > AT26DF081A is the spi flash type of TWR-MEM(SCH-26248) card. > We can access the flash through DSPI2 on LS1021ATWR board. > > Signed-off-by: Yuan Yao > --- Applied to u-boot-spi/master -- Jagan.

Re: [U-Boot] [PATCH 1/3] dm: dts: ls1021a-twr: Enable DSPI2 on LS1021ATWR

2015-09-30 Thread Jagan Teki
On 15 September 2015 at 15:58, Yuan Yao wrote: > Erratum A-008022 has been fixed on LS1021A Rev2.0. > So we can use DSPI2 now, this patch enable DSPI2 > in dts for LS1021ATWR. > > Signed-off-by: Yuan Yao > --- Applied to u-boot-spi/master --

Re: [U-Boot] [PATCH 04/10] Kconfig: add CONFIG_CMD_BOOTZ

2015-09-30 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 09/29/15 20:11, Tom Rini wrote: > On Tue, Sep 29, 2015 at 07:25:02PM +0300, Igor Grinberg wrote: >> ping x2 >> >> On 09/24/15 12:57, Igor Grinberg wrote: >>> ping. >>> >>> On 08/26/15 17:54, Igor Grinberg wrote: Add CONFIG_CMD_BOOTZ to the

Re: [U-Boot] [PATCH V2 3/3] mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()

2015-09-30 Thread Jaehoon Chung
Hi, On 09/30/2015 04:26 PM, Przemyslaw Marczak wrote: > Hello Simon, > > On 09/29/2015 06:47 AM, Simon Glass wrote: >> Hi, >> >> On 28 September 2015 at 06:17, Przemyslaw Marczak >> wrote: >>> After rework of code by: >>> >>> commit: d952796 Exynos5: Use

Re: [U-Boot] [PATCH V2 3/3] mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()

2015-09-30 Thread Przemyslaw Marczak
Hello Simon, On 09/29/2015 06:47 AM, Simon Glass wrote: Hi, On 28 September 2015 at 06:17, Przemyslaw Marczak wrote: After rework of code by: commit: d952796 Exynos5: Use clock_get_periph_rate generic API function get_mmc_clk() always returns -1 for Exynos 4. This

Re: [U-Boot] [PATCH 05/10] ti: omap3: config: remove 1 from boolean define

2015-09-30 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 09/29/15 20:12, Tom Rini wrote: > On Tue, Sep 29, 2015 at 07:25:27PM +0300, Igor Grinberg wrote: > >> ping >> >> On 09/24/15 12:56, Igor Grinberg wrote: >>> Hi Tom, >>> >>> On 08/26/15 17:54, Igor Grinberg wrote: CONFIG_TWL4030_POWER is a

[U-Boot] Antwort: Re: [PATCH] net: bootp fix vci string on SPL-Boot

2015-09-30 Thread Hannes Schmelzer
> Hi Hannes, Hi Joe, > On Tue, Sep 29, 2015 at 3:19 AM, Hannes Schmelzer > wrote: > > Hi, > > > > just checked my upstream branch and noticed that this patch is outstanding. > > How about merge? > > Do you think this is a critical bug fix? I was planning to wait for >

[U-Boot] [PATCH v2 3/5] imx: hab use unified rom section for mx6sx and mx6ul

2015-09-30 Thread Adrian Alonso
Add CONFIG_ROM_UNIFIED_SECTIONS for mx6sx and mx6ul target platforms to resolve corresponding HAB_RVT_BASE Signed-off-by: Adrian Alonso --- Chages for V2: New patch in series arch/arm/include/asm/imx-common/hab.h | 2 +- include/configs/mx6_common.h | 4 2

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

2015-09-30 Thread Marek Vasut
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 you wrote: > >> Ouch, that was a nasty surprise. > > > > Indeed. > > > >> > In my original mail I

[U-Boot] [PATCH v2 1/5] imx: cpu: move common chip revision id's

2015-09-30 Thread Adrian Alonso
Move common chip revision id's to main cpu header file mx25 generic include cpu header for chip revision Signed-off-by: Adrian Alonso --- Chages for V2: Resend arch/arm/cpu/arm926ejs/mx25/generic.c | 1 + arch/arm/include/asm/arch-imx/cpu.h | 12

[U-Boot] [PATCH v2 5/5] mx7dsabresd: add secure boot support

2015-09-30 Thread Adrian Alonso
Add secure boot support for mx7dsabresd target board Signed-off-by: Adrian Alonso --- Changes for V2: Resend board/freescale/mx7dsabresd/imximage.cfg | 7 +++ include/configs/mx7dsabresd.h| 4 2 files changed, 11 insertions(+) diff --git

[U-Boot] [PATCH V3 0/4] Fix fdt 'reg' parsing and unbreak few Exynos4 boards

2015-09-30 Thread Przemyslaw Marczak
Booting of Odroid U3/X2 with SD card, ends with error: MMC: EXYNOS DWMMC: 0 Card did not respond to voltage select! *** Warning - MMC init failed, using default environment Generally this was broken, because of wrong addresses, assigned to GPIOs. The source of the problem was in rework of

[U-Boot] [PATCH V3 4/4] trats: fdt: disable unused DW MMC

2015-09-30 Thread Przemyslaw Marczak
This device uses SDHCI driver, for eMMC and SD cards. Trying bind the DW MMC driver with fdt node without all required properties, causes printing an error. This commit disables the DW MMC node. Tested-on: Trats Signed-off-by: Przemyslaw Marczak Cc: Łukasz Majewski

[U-Boot] [PATCH V3 1/4] fdtdec: fix parsing 'reg' property with zero value in '#size-cells'

2015-09-30 Thread Przemyslaw Marczak
After rework of lib/fdtdec.c by: commit: 02464e3 fdt: add new fdt address parsing functions the function fdtdec_get_addr() doesn't work as previous, because the implementation assumes that properties '#address-cells' and '#size-cells' are equal to 1, which can be not true sometimes. The new API

[U-Boot] [PATCH V3 3/4] mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()

2015-09-30 Thread Przemyslaw Marczak
After rework of code by: commit: d952796 Exynos5: Use clock_get_periph_rate generic API function get_mmc_clk() always returns -1 for Exynos 4. This was caused by omitting, that SDHCI driver for Exynos 4, calls get_mmc_clk(), with mmc device number as argument, instead of pinmux peripheral id,

[U-Boot] [PATCH V3 2/4] gpio: s5p: call: dev_get_addr() instead of fdtdec_get_addr()

2015-09-30 Thread Przemyslaw Marczak
After rework in lib/fdtdec.c, the function fdtdec_get_addr() doesn't work for nodes with #size-cells property set to 0. To get GPIO's 'reg' property, the code should use one of: fdtdec_get_addr_size_auto_no/parent() function. Fortunately dm core provides a function to get the property. This

Re: [U-Boot] [PATCH] nios2: add clear and set bits macros

2015-09-30 Thread Thomas Chou
Hi Chin Liang, On 09/30/2015 08:25 AM, Chin Liang See wrote: +#define out_le64(a,v) out_arch(q,le64,a,v) The 64bit support (q) is not yet available. This will break if someone using this. Yes, they should be deleted for nios2. Thanks for your review. Best regards, Thomas

Re: [U-Boot] [PATCH] arm: mvebu: Fix internal register config on A38x

2015-09-30 Thread Dirk Eibach
Hey Stefan, shouldn't this go into v2015.10? Since booting A38x is essentially broken without it ... Cheers Dirk ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2] sunxi: Add generic defconfigs for A23 Q8 tablets with 800x480 LCD

2015-09-30 Thread Hans de Goede
The 7" Q8 tablet enclosure is used for a ton of slightly different cheap chinese tablets. There are some differences in which accelerometer / wifi is used, but other then that these are all the same from a u-boot / kernel pov. When we get to adding accelerometer support the plan is to add some

Re: [U-Boot] [PATCH] arm: mvebu: Fix internal register config on A38x

2015-09-30 Thread Stefan Roese
Hi Dirk, On 30.09.2015 13:56, Dirk Eibach wrote: shouldn't this go into v2015.10? Since booting A38x is essentially broken without it ... Yes, thanks for reminding. In patchwork this is: https://patchwork.ozlabs.org/patch/509949/ Luka, could you please pick this patch and push it for

[U-Boot] [PATCH v4] nios2 : convert altera_pio to driver model

2015-09-30 Thread Thomas Chou
Convert altera_pio to driver model. Signed-off-by: Thomas Chou Acked-by: Chin Liang See --- v2 fix ranges of pio in dts fix coding style as Marek suggested. v3 change gpio_count device tree binding. v4 change gpio width default to 32. doc dts

[U-Boot] [PATCH 2/2] sunxi: Remove board defconfig-s for specific Q8 tablet PCB-s

2015-09-30 Thread Hans de Goede
We now have generic q8_a?3_defconfig files for Q8 formfactor tablets with an A13 / A23 / A33 SoC, there is no need for these PCB variant specific defconfig-s and they only serve to confuse the user. Note that in case of the forfun_q88db_defconfig and TZX-Q8-713B7_defconfig for A13 based Q8

Re: [U-Boot] [PATCH V3 0/4] Fix fdt 'reg' parsing and unbreak few Exynos4 boards

2015-09-30 Thread Tom Rini
On Wed, Sep 30, 2015 at 01:14:49PM +0200, Przemyslaw Marczak wrote: > Booting of Odroid U3/X2 with SD card, ends with error: > > MMC: EXYNOS DWMMC: 0 > Card did not respond to voltage select! > *** Warning - MMC init failed, using default environment > > Generally this was broken, because of

Re: [U-Boot] [PATCH V3 0/4] Fix fdt 'reg' parsing and unbreak few Exynos4 boards

2015-09-30 Thread Przemyslaw Marczak
Hello Tom, Simon, On 09/30/2015 03:13 PM, Tom Rini wrote: On Wed, Sep 30, 2015 at 01:14:49PM +0200, Przemyslaw Marczak wrote: Booting of Odroid U3/X2 with SD card, ends with error: MMC: EXYNOS DWMMC: 0 Card did not respond to voltage select! *** Warning - MMC init failed, using default

[U-Boot] [PATCH] ARM: uniphier: fix address mapping in README.uniphier

2015-09-30 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- doc/README.uniphier | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/README.uniphier b/doc/README.uniphier index 6ba0320..57b947b 100644 --- a/doc/README.uniphier +++ b/doc/README.uniphier @@

[U-Boot] [PATCH v2] nios2: add clear and set bits macros

2015-09-30 Thread Thomas Chou
These macros can be used to clear and set multiple bits in a register using a single call. Signed-off-by: Thomas Chou Reviewed-by: Marek Vasut --- v2 remove unsupported 64 btis macros as Chin Liang suggested. arch/nios2/include/asm/io.h | 55

[U-Boot] [PATCH v2 2/5] imx: hab: rework support for imx6/imx7

2015-09-30 Thread Adrian Alonso
Rework secure boot support for imx6 and imx7 Move existing hab support for imx6 into imx-common for SoC reuse. Signed-off-by: Adrian Alonso --- Changes for V2: Split patch - Move existing hab mx6 into common location - Update include hab header location

[U-Boot] Please pull u-boot-marvell master

2015-09-30 Thread Luka Perkov
Hi Tom, can you please pull these three commits containing two mvebu related fixes and one handy kwboot tool feature? The following changes since commit 1f8836396de8215b7f460616926052b32597bb29: Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v2] nios2: add clear and set bits macros

2015-09-30 Thread Chin Liang See
Hi Thomas, On Wed, 2015-09-30 at 21:32 +0800, tho...@wytron.com.tw wrote: > These macros can be used to clear and set multiple bits > in a register using a single call. > > Signed-off-by: Thomas Chou > Reviewed-by: Marek Vasut > --- > v2 > remove

[U-Boot] [PATCH v2 4/5] imx: hab add mx7 secure boot support

2015-09-30 Thread Adrian Alonso
Add mx7 secure boot support, reuse existing mx6 hab Signed-off-by: Adrian Alonso --- Changes for V2: - Split from original patch to track mx7 change set hab: rework support for imx6/imx7 arch/arm/imx-common/hab.c | 19 --- 1 file changed, 16

Re: [U-Boot] [PATCH v3] nios2 : convert altera_pio to driver model

2015-09-30 Thread Thomas Chou
Hi Simon, On 10/01/2015 02:29 AM, Simon Glass wrote: Do we need the ioremap() or can we rely on the 'ranges' handling? Yes, we do need ioremap() at least for mips, nios2 and alike. For these archs, the virtual address that CPU sees is not the same as physical address on bus. The virtual

Re: [U-Boot] [PATCH V3 4/4] trats: fdt: disable unused DW MMC

2015-09-30 Thread Jaehoon Chung
Hi, Przemyslaw. On 09/30/2015 08:14 PM, Przemyslaw Marczak wrote: > This device uses SDHCI driver, for eMMC and SD cards. > Trying bind the DW MMC driver with fdt node without all > required properties, causes printing an error. > > This commit disables the DW MMC node. Why does it need? Trats

Re: [U-Boot] [PATCH v3] nios2: convert nios2 cpu to driver model

2015-09-30 Thread Thomas Chou
Hi Simon, On 09/29/2015 10:08 PM, Simon Glass wrote: + gd->arch.has_mmu = fdtdec_get_int(gd->fdt_blob, dev->of_offset, + "altr,has-mmu", 0); Should that be fdtdec_get_bool()? Also is there a device tree binding file for these settings? With fdtdec_get_bool(), a boolean

[U-Boot] [PATCH] nios2: convert nios2 cpu to driver model

2015-09-30 Thread Thomas Chou
Convert nios2 cpu to driver model. The cpu parameters are extracted from device tree and saved to global data structure. We will use them to replace the custom_fpga.h . Signed-off-by: Thomas Chou --- v2 move cpu param setup to arch_cpu_init_dm, remove probe. v3 fix

Re: [U-Boot] [PATCH v2 2/2] nios2: convert altera timer to driver model

2015-09-30 Thread Thomas Chou
Hi Chin Liang, On 09/30/2015 08:27 AM, Chin Liang See wrote: Thanks for the patch. The patch looks good except it misses the changes for dts. If you mean pre relocation, I will add a pre relocation flag, DM_FLAG_PRE_RELOC, to the altera_timer driver. Though I think there is no need to

Re: [U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-30 Thread Sinan Akman
Hi York The board maintainer will take a look. Unfortunately she is on holiday vacation. Let me try to find someone else familiar with this board. No worries, I will also bisect and see what's going on. Just wanted to make sure I don't work on it if someone is already taking care. I'll

Re: [U-Boot] malloc_simple: fix malloc_ptr calculation

2015-09-30 Thread Sjoerd Simons
On Mon, 2015-09-28 at 17:07 -0400, Tom Rini wrote: > On Tue, Sep 08, 2015 at 12:41:24PM +0200, Philipp Rosenberger wrote: > > > The gd->malloc_ptr and the gd->malloc_limit are offsets to gd > > ->malloc_base. > > But the addr variable contains the absolute address. The new_ptr > > must be: > >

Re: [U-Boot] [PATCH] tools: kwboot: Add support for UART boot mode patching for Armada XP/38x

2015-09-30 Thread Kevin Smith
On 09/29/2015 02:19 AM, Stefan Roese wrote: > Currently, kwboot only allows dynamic UART boot mode patching for SoCs > with header version 0 (Orion, Kirkwood). This patch now enables this "-p" > feature also for SoCs with header version 1 (Armada XP / 38x etc). With > this its possible now to use

Re: [U-Boot] [PATCH v2 2/2] spi: Add SPI NOR protection mechanism

2015-09-30 Thread Fabio Estevam
On Tue, Sep 29, 2015 at 6:12 PM, Jagan Teki wrote: >> +#ifdef CONFIG_SPI_FLASH_STM_PROTECT > > Drop this vendor specific macro on command code (usually command code > deals generic-ness) Ok > >> +static int do_spi_protect(int argc, char * const argv[]) >> +{ >> + int

[U-Boot] [PATCH v3 1/2] bitops: Add support for order_base_2()

2015-09-30 Thread Fabio Estevam
From: Fabio Estevam Add support for the order_base_2() macro (and its dependencies) from the Linux kernel. This is useful for the SPI NOR unlock function. Signed-off-by: Fabio Estevam --- Changes since v2: - None. Changes since v1: -

[U-Boot] [PATCH v3 2/2] spi: Add SPI NOR protection mechanism

2015-09-30 Thread Fabio Estevam
From: Fabio Estevam Many SPI flashes have protection bits (BP2, BP1 and BP0) in the status register that can protect selected regions of the SPI NOR. Take these bits into account when performing erase operations, making sure that the protected areas are skipped.

Re: [U-Boot] [PATCH v3] dm: core: Enable optional use of fdt_translate_address()

2015-09-30 Thread Stephen Warren
On 09/29/2015 11:00 PM, Stefan Roese wrote: The current "simple" address translation simple_bus_translate() is not working on some platforms (e.g. MVEBU). As here more complex "ranges" properties are used in many nodes (multiple tuples etc). This patch enables the optional use of the common

Re: [U-Boot] [Reproducible-builds] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-09-30 Thread Vagrant Cascadian
On 2015-09-28, Paul Kocialkowski wrote: > Le jeudi 24 septembre 2015 à 09:05 -0700, Vagrant Cascadian a écrit : >> I think the use of "time = mktime(time_universal);" is where the problem >> lies: > > […] > >> According to the mktime manpage: >> >>The mktime() function converts a