Re: [U-Boot] [PATCH 2/9] sunxi: Move SPL s_init() code to board_init_f()

2015-02-02 Thread Hans de Goede
Hi Simon, Siarhei, On 01-02-15 21:59, Simon Glass wrote: Hi Siarhei, On 1 February 2015 at 11:37, Siarhei Siamashka A comprehensive FEL usage guide is supposed to be in the linux-sunxi wiki. But it might be not very up to date with the mainline u-boot usage. Anyway, first just clone the h

Re: [U-Boot] [PATCH 0/3] arm: reduce .bss section clear time

2015-02-02 Thread Lukasz Majewski
Dear All, > And the next is interesting. > odroid_defconfig has more than 80MB for malloc (we need about 64mb > for the DFU now, to be able write 32MB file). > > This is the CONFIG_SYS_MALLOC_LEN. And the memory area for malloc is > set to 0 in function mem_malloc_init(). So for this config tha

[U-Boot] [PATCH v2] PCI: add 64-bit prefetchable memory support

2015-02-02 Thread fenghua
From: David Feng PCI specification allow prefetchable memory to be 32-bit or 64-bit. PCI express specification states that all memmory bars for prefetchable memory must be implemented as 64-bit. They all require that 64 bit prefetchble memory are suported especially when u-boot is ported to more

Re: [U-Boot] [PATCH v2] PCI: add 64-bit prefetchable memory support

2015-02-02 Thread Bin Meng
Hi David, On Mon, Feb 2, 2015 at 4:53 PM, wrote: > From: David Feng > > PCI specification allow prefetchable memory to be 32-bit or 64-bit. > PCI express specification states that all memmory bars for prefetchable > memory must be implemented as 64-bit. They all require that 64 bit > prefetchbl

[U-Boot] [PATCH] ARM: at91: at91sam9rlek: update the default nand flash configs

2015-02-02 Thread Josh Wu
Update the nand flash offset mapping, default nand bootcmand and bootargs to align with linux4sam.org. Signed-off-by: Josh Wu --- include/configs/at91sam9rlek.h | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/include/configs/at91sam9rlek.h b/include/configs/

[U-Boot] [PATCH 1/2] ARM: at91: at91sam9rlek: add mci support

2015-02-02 Thread Josh Wu
This patch enable the MCI support for at91sam9rlek board. Signed-off-by: Josh Wu --- arch/arm/cpu/arm926ejs/at91/at91sam9rl_devices.c | 17 + board/atmel/at91sam9rlek/at91sam9rlek.c | 10 ++ include/configs/at91sam9rlek.h | 11 +++ 3 fi

[U-Boot] [PATCH 0/2] ARM: at91: at91sam9rlek: add mmc config for at91sam9rlek

2015-02-02 Thread Josh Wu
This patch series will enable mmc support on at91sam9rlek board. And also add a MMC config for it. Josh Wu (2): ARM: at91: at91sam9rlek: add mci support ARM: at91: at91sam9rlek: add mmc environment configuration arch/arm/cpu/arm926ejs/at91/at91sam9rl_devices.c | 17 ++ board/atm

[U-Boot] [PATCH 2/2] ARM: at91: at91sam9rlek: add mmc environment configuration

2015-02-02 Thread Josh Wu
Add a mmc default config, which will save the environment in a FAT file (uboot.env) of MMC. Signed-off-by: Josh Wu --- configs/at91sam9rlek_mmc_defconfig | 3 +++ include/configs/at91sam9rlek.h | 18 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 co

Re: [U-Boot] [PATCH 6/6] imx:mx6sxsabresd board spl support

2015-02-02 Thread Nikolay Dimitrov
Hi Peng, On 01/19/2015 10:29 AM, Peng Fan wrote: Hi Stefano, On 1/19/2015 4:18 PM, Stefano Babic wrote: Hi Peng, series looks ok to me - just a small question: On 30/12/2014 10:24, Peng Fan wrote: Add board level spl support for mx6sxsabresd board. Signed-off-by: Peng Fan --- board/fre

[U-Boot] [PATCH v4 0/6] Exynos5: Fix warnings and enrich clock_get_periph_rate

2015-02-02 Thread Akshay Saraswat
This patch series does following changes - 1. Removing compiler warnings for clock_get_periph_rate. 2. Adding and enabling support for Exynos542x in clock_get_periph_rate. 3. Replacing peripheral specific function calls with clock_get_periph_rate. 4. Remove code from clocks file which became

[U-Boot] [PATCH v4 2/6] Exynos542x: Move exynos5420_get_pll_clk up and rename

2015-02-02 Thread Akshay Saraswat
Moving exynos5420_get_pll_clk function definition up in the code to keep it together with rest of SoC_get_pll_clk functions. This makes code more legible and also removes the need of declaration when called before the position of definition in code. Also, renaming exynos5420_get_pll_clk to exynos54

[U-Boot] [PATCH v4 1/6] Exynos5: Fix compiler warnings due to clock_get_periph_rate

2015-02-02 Thread Akshay Saraswat
Apparently, members of clk_bit_info array do not map correctly to the members of enum periph_id. This mapping got broken after we changed periph_id(s) to reflect interrupt number instead of their position in a sequence. This patch intends to fix above mentioned issue. Signed-off-by: Akshay Saraswa

[U-Boot] [PATCH v4 3/6] Exynos542x: Add and enable get_periph_rate support

2015-02-02 Thread Akshay Saraswat
We planned to fetch peripheral rate through one generic API per peripheral. These generic peripheral functions are in turn expected to fetch apt values from a function refactored as per SoC versions. This patch adds support for fetching peripheral rates for Exynos5420 and Exynos5800. Signed-off-by

[U-Boot] [PATCH v4 4/6] Exynos5: Fix exynos5_get_periph_rate calculations

2015-02-02 Thread Akshay Saraswat
exynos5_get_periph_rate function reads incorrect div for SDMMC2 & 3. It also reads prediv and does division only for SDMMC0 & 2 when actually various other peripherals need that. Adding changes to fix these mistakes in periph rate calculation. Signed-off-by: Akshay Saraswat Reviewed-by: Simon Gla

[U-Boot] [PATCH v4 5/6] Exynos5: Use clock_get_periph_rate generic API

2015-02-02 Thread Akshay Saraswat
Replacing SoC and peripheral specific function calls with generic clock_get_periph_rate calls to get the peripheral clocks. Also, removing dead code of peripheral and SoC specific function implementations which was used earlier for fetching peripheral clocks. This code is not being used anymore bec

[U-Boot] [PATCH v4 6/6] Exynos: clock: change mask bits as per peripheral

2015-02-02 Thread Akshay Saraswat
We have assumed and kept mask bits for divider and pre-divider as 0xf and 0xff, respectively. But these mask bits change from one peripheral to another, and hence, need to be specified in accordance with the peripherals. Signed-off-by: Akshay Saraswat --- Changes since v3: - New patch.

Re: [U-Boot] [PATCH] cmd: Fix gettime command help

2015-02-02 Thread Bin Meng
Hi Tom, On Thu, Jan 22, 2015 at 2:03 AM, Tom Rini wrote: > On Wed, Jan 21, 2015 at 11:54:08PM +0800, Bin Meng wrote: >> +Tom >> >> Hi Tom, >> >> On Mon, Jan 19, 2015 at 9:32 PM, Bin Meng wrote: >> > Remove the additional ',' and '\n' from the gettime command help. >> > >> > Signed-off-by: Bin Me

Re: [U-Boot] [PATCH v3] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig

2015-02-02 Thread Hans de Goede
Hi, On 01-02-15 13:58, Adam Sampson wrote: This is a low-cost Allwinner A20 board with Arduino-style GPIO headers; it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro USB socket for OTG and another for power in, HDMI, SATA, 5V power for SATA devices, gigabit Ethernet, an IR rec

Re: [U-Boot] [PATCH 3/3] sunxi: dram: Allow to configure vdd-dll voltage on sun[457]i

2015-02-02 Thread Hans de Goede
Hi, Thanks for the dram timing patches. Since they do not make any changes without them being explictly enabled in Kconfig, I've queued up patches 1 & 2 into u-boot-sunxi/next for merging upstream. I would like to see this one handled slightly different though, see below. I assume you're also p

Re: [U-Boot] [RFC/PATCH] tools: New 'spl-stackusage' script

2015-02-02 Thread Andreas Bießmann
Dear Siarhei Siamashka, On 02/01/2015 12:47 AM, Siarhei Siamashka wrote: > This is a script, which tries to provide a pessimistic estimate > of the stack usage in the SPL binary. > > A more detailed description about how it works and some example > pictures are available in an earlier e-mail: >

Re: [U-Boot] [PATCH v2 0/11] Add full DDR init for Marvell Armada-XP MV78xx0 (AXP)

2015-02-02 Thread Stefan Roese
On 28.01.2015 23:28, Luka Perkov wrote: On Mon, Jan 19, 2015 at 11:33:38AM +0100, Stefan Roese wrote: This patch adds the DDR3 setup and training code taken from the Marvell U-Boot repository. This code used to be included as a binary (bin_hdr) into the AXP boot image. Not linked with the main U

[U-Boot] [PATCH 1/2] bootstage: Fix typos in the comment

2015-02-02 Thread Bin Meng
There are two typos in the comment block in bootstage.h, fix them. Signed-off-by: Bin Meng --- include/bootstage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bootstage.h b/include/bootstage.h index 6b7588d..0276cb3 100644 --- a/include/bootstage.h +++ b/incl

[U-Boot] [PATCH 2/2] x86: Use tab instead of space to indent in PCIE_ECAM_BASE

2015-02-02 Thread Bin Meng
Space is used before 'default' in PCIE_ECAM_BASE in arch/x86/Kconfig so it looks misaligned. Replace the space with tab to indent. Signed-off-by: Bin Meng --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2370c32..

Re: [U-Boot] [PATCH 2/2] x86: Use tab instead of space to indent in PCIE_ECAM_BASE

2015-02-02 Thread Bin Meng
Hi Simon, On Mon, Feb 2, 2015 at 9:25 PM, Bin Meng wrote: > Space is used before 'default' in PCIE_ECAM_BASE in arch/x86/Kconfig > so it looks misaligned. Replace the space with tab to indent. > > Signed-off-by: Bin Meng > --- > > arch/x86/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 del

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

2015-02-02 Thread Hans de Goede
Hi Tom, We've once again build-up a nice collection of patches for sunxi. Please pull u-boot-sunxi/master into master, highlights: 1) Finish the dram config cleanup 2) Add support for 3 new boards The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console a

[U-Boot] [RFC PATCH v3 1/7] x86: Add header files for Intel Quark SoC defines

2015-02-02 Thread Bin Meng
device.h for integrated pci devices' bdf on Quark SoC and quark.h for various memory-mapped and i/o-mapped base addresses within SoC. Signed-off-by: Bin Meng --- Changes in v3: - Add several macros for message bus port and registers Changes in v2: - Move vairous components' base addresses with

[U-Boot] [RFC PATCH v3 3/7] x86: Define macros for pci configuration space access

2015-02-02 Thread Bin Meng
Move PCI_REG_ADDR and PCI_REG_DATA from arch/x86/lib/pci_type1.c to arch/x86/include/asm/pci.h, also define PCI_CFG_EN so that these macros can be used for pci configuration space access. Signed-off-by: Bin Meng --- Changes in v3: - New patch to define macros for pci configuration space access

[U-Boot] [RFC PATCH v3 2/7] x86: quark: Add routines to access message bus registers

2015-02-02 Thread Bin Meng
In the Quark SoC, some chipset commands are accomplished by utilizing the internal message network within the host bridge (D0:F0). Accesses to this network are accomplished by populating the message control register (MCR), Message Control Register eXtension (MCRX) and the message data register (MDR

[U-Boot] [RFC PATCH v3 4/7] x86: quark: Add Cache-As-RAM initialization

2015-02-02 Thread Bin Meng
Quark SoC contains an embedded 512KiB SRAM (eSRAM) that is initialized by hardware. eSRAM is the ideal place to be used for Cache-As-RAM (CAR) before system memory is available. Signed-off-by: Bin Meng --- Changes in v3: - Use macros from and Changes in v2: - Replace upper case register name

[U-Boot] [RFC PATCH v3 0/7] x86: New Intel Quark SoC support

2015-02-02 Thread Bin Meng
This series adds the first step of bare support for the Intel Quark SoC support which can be validated on Intel Galileo board. Intel Quark is a line of 32-bit x86 SoCs by Intel, designed for small size and low power consumption, and targeted at new markets including wearable devices. They are smal

[U-Boot] [RFC PATCH v3 6/7] x86: Add basic Intel Galileo board support

2015-02-02 Thread Bin Meng
New board/intel/galileo board directory with minimum codes, plus board dts, defconfig and configuration files. Signed-off-by: Bin Meng Reviewed-by: Simon Glass Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/x86/dts/Makefile | 1 + arch/x86/dts/galileo.dts

[U-Boot] [RFC PATCH v3 5/7] x86: Add basic Intel Quark processor support

2015-02-02 Thread Bin Meng
Add minimum codes to support Intel Quark SoC. DRAM initialization is not ready yet so a hardcoded gd->ram_size is assigned. Signed-off-by: Bin Meng --- Changes in v3: - Add simple help for ACPI PM1, PBLK and GEP0 Changes in v2: - Use machine-specific - Move vairous components' base addresses w

[U-Boot] [RFC PATCH v3 7/7] x86: Enable the Intel quark/galileo build

2015-02-02 Thread Bin Meng
Make the Intel quark/galileo support avaiable in Kconfig and Makefile. With this patch, we can generate u-boot.rom for Intel galileo board. Signed-off-by: Bin Meng Reviewed-by: Simon Glass Acked-by: Simon Glass --- Changes in v3: None Changes in v2: - Use Arduino-certified arch/x86/Kconfig

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add workaround for DDR erratum A008378

2015-02-02 Thread York Sun
On 01/31/2015 08:12 PM, Albert ARIBAUD wrote: > Hello York Sun, > > On Wed, 14 Jan 2015 12:46:07 -0800, York Sun > wrote: >> Internal memory controller counters can reach a bad state after >> training in DDR4 mode if accumulated ECC or DBI mode is eanbled. > > typo: eanbled -> enabled. > Tha

Re: [U-Boot] [PATCH 0/4] sunxi: FEL mode fixes

2015-02-02 Thread Tom Rini
On Fri, Jan 30, 2015 at 01:58:45PM +0200, Siarhei Siamashka wrote: > The recent u-boot changes broke FEL mode support on sunxi hardware. > This patch series fixes the regression and also introduces some other > cleanups. I think the community at large here could benefit from some background and d

[U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

2015-02-02 Thread Michal Simek
Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated. This patch is fixing function pointers for DM core and serial-uclass to ensure that relocated functions are called. Signed-off-by: Michal Simek --- drivers/core/root.c

[U-Boot] [PATCH v2 2/5] microblaze: Speedup code copy

2015-02-02 Thread Michal Simek
Remove one instruction in the loop which speedup code copying. Signed-off-by: Michal Simek --- Changes in v2: None arch/microblaze/cpu/start.S | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 3de0e1

[U-Boot] [PATCH v2 5/5] microblaze: Add support for CONFIG_SYS_MALLOC_F_LEN

2015-02-02 Thread Michal Simek
Create space for dm_init where calloc is called and malloc_base has to be initialized. Signed-off-by: Michal Simek --- Changes in v2: - New patch in the series arch/microblaze/cpu/start.S | 8 include/configs/microblaze-generic.h | 1 + 2 files changed, 9 insertions(+) diff

[U-Boot] [PATCH v2 4/5] microblaze: Do not use CONFIG_SYS_GENERIC_GLOBAL_DATA

2015-02-02 Thread Michal Simek
Because it is not compatible with DM where malloc_base has to be available early and init has to be done in ASM. Signed-off-by: Michal Simek --- Changes in v2: - New patch in the series Moving it to C code is also possible. --- arch/microblaze/cpu/start.S | 6 ++ arch/microblaze/i

[U-Boot] [PATCH v2 3/5] bdinfo: Show information about fdt blob via bdinfo

2015-02-02 Thread Michal Simek
Microblaze target supports both OF and !OF cases and from log is not clear which version is running. Signed-off-by: Michal Simek --- Changes in v2: None common/cmd_bdinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 4c51059c1ba4..e9ea

[U-Boot] [PATCH v2 1/5] microblaze: Move architecture to use generic board init

2015-02-02 Thread Michal Simek
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek --- Changes in v2: - Use dram_init instead of init_func_ram() Suggested by Simon This code requires "common/board_r: manual relocation for cmd table" http://l

Re: [U-Boot] [PATCH 5/5] KM/IVM: remove ivm_read_eeprom(void)

2015-02-02 Thread Valentin Longchamp
Hello Tom and Holger, On 01/06/2015 09:19 AM, Brunck, Holger wrote: > On 01/05/2015 07:47 PM, Tom Rini wrote: >> On Tue, Dec 23, 2014 at 02:08:57PM +0100, Valentin Longchamp wrote: >> >>> This is not used anymore since the procedure was split into a simple >>> read function and a later alaysis. >>

[U-Boot] [PATCH v2 0/6] keymile: enhance IVM reading

2015-02-02 Thread Valentin Longchamp
All Keymile boards have an EEPROM that is called IVM that contain information about the board that is progammed at production time. One piece of information is the MAC addresses assigned to the board. u-boot requires the MAC address of the ethernet interfaces it uses to be defined when the interfa

[U-Boot] [PATCH v2 1/6] KM/IVM: split the IVM reading and parsing in 2 parts

2015-02-02 Thread Valentin Longchamp
This allows to first read the IVM content (earlier in the boot sequence) and define the ethaddr env variable thanks to the ivm_read_eepromi(). Later, the IVM content can be parsed and used to define some hush variables, when the hush subsystem is available thanks to ivm_analyze_eeprom(). To avoid

[U-Boot] [PATCH v2 2/6] kirkwood/km_arm: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp --- Changes in v2: None board/keymile/km_

[U-Boot] [PATCH v2 3/6] 85xx/kmp204x: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp --- Changes in v2: None board/keymile/kmp

[U-Boot] [PATCH v2 5/6] 82xx/km82xx: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp --- Changes in v2: None board/keymile/km8

[U-Boot] [PATCH v2 4/6] 83xx/km83xx: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp --- Changes in v2: None board/keymile/km8

[U-Boot] [PATCH v2 6/6] KM/IVM: remove ivm_read_eeprom(void)

2015-02-02 Thread Valentin Longchamp
This is not used anymore since the procedure was split into a simple read function and a later alaysis. The ivm_read_eeprom name is now used for the previous ivm_simple_read_eeprom function. Signed-off-by: Valentin Longchamp --- Changes in v2: None board/keymile/common/common.h | 3 +-- b

Re: [U-Boot] [PATCH 1/2] bootstage: Fix typos in the comment

2015-02-02 Thread Simon Glass
On 2 February 2015 at 06:25, Bin Meng wrote: > There are two typos in the comment block in bootstage.h, fix them. > > Signed-off-by: Bin Meng > --- > > include/bootstage.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Simon Glass

Re: [U-Boot] [RFC PATCH 6/7] arm: Show relocated PC/LR in the register dump

2015-02-02 Thread Simon Glass
Hi Albert, On 1 February 2015 at 01:45, Albert ARIBAUD wrote: > Hello Simon, > > On Fri, 30 Jan 2015 12:04:56 -0700, Simon Glass > wrote: >> If we don't know the relocation address, the raw values are not very useful. >> Show the pre-relocation values as well as these can be looked up in >> Syst

Re: [U-Boot] [PATCH v2 0/11] Add full DDR init for Marvell Armada-XP MV78xx0 (AXP)

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 02:18:24PM +0100, Stefan Roese wrote: > On 28.01.2015 23:28, Luka Perkov wrote: > >On Mon, Jan 19, 2015 at 11:33:38AM +0100, Stefan Roese wrote: > >>This patch adds the DDR3 setup and training code taken from the Marvell > >>U-Boot repository. This code used to be included a

Re: [U-Boot] [PATCH 2/3] arm: relocation: clear .bss section with arch memset if defined

2015-02-02 Thread Bill Pringlemeir
On 2 Feb 2015, bpringlem...@nbsps.com wrote: > On 31 Jan 2015, albert.u.b...@aribaud.net wrote: > >> Hello Przemyslaw, >> >> On Wed, 28 Jan 2015 13:55:42 +0100, Przemyslaw Marczak >> wrote: >>> For ARM architecture, enable the CONFIG_USE_ARCH_MEMSET/MEMCPY, >>> will highly increase the memset/me

Re: [U-Boot] [PATCH 2/3] arm: relocation: clear .bss section with arch memset if defined

2015-02-02 Thread Tom Rini
On Sun, Feb 01, 2015 at 03:38:42AM +0100, Albert ARIBAUD wrote: > Hello Przemyslaw, > > On Wed, 28 Jan 2015 13:55:42 +0100, Przemyslaw Marczak > wrote: > > For ARM architecture, enable the CONFIG_USE_ARCH_MEMSET/MEMCPY, > > will highly increase the memset/memcpy performance. This is able > > than

Re: [U-Boot] [PATCH 2/3] arm: relocation: clear .bss section with arch memset if defined

2015-02-02 Thread Pantelis Antoniou
Hi Tom, > On Feb 2, 2015, at 19:25 , Tom Rini wrote: > > On Sun, Feb 01, 2015 at 03:38:42AM +0100, Albert ARIBAUD wrote: >> Hello Przemyslaw, >> >> On Wed, 28 Jan 2015 13:55:42 +0100, Przemyslaw Marczak >> wrote: >>> For ARM architecture, enable the CONFIG_USE_ARCH_MEMSET/MEMCPY, >>> will high

Re: [U-Boot] [PATCH 2/3] arm: relocation: clear .bss section with arch memset if defined

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 07:28:14PM +0200, Pantelis Antoniou wrote: > Hi Tom, > > > On Feb 2, 2015, at 19:25 , Tom Rini wrote: > > > > On Sun, Feb 01, 2015 at 03:38:42AM +0100, Albert ARIBAUD wrote: > >> Hello Przemyslaw, > >> > >> On Wed, 28 Jan 2015 13:55:42 +0100, Przemyslaw Marczak > >> wro

Re: [U-Boot] [PATCH 0/3] arm: reduce .bss section clear time

2015-02-02 Thread Simon Glass
Hi Lukasz, On 2 February 2015 at 01:46, Lukasz Majewski wrote: > Dear All, > >> And the next is interesting. >> odroid_defconfig has more than 80MB for malloc (we need about 64mb >> for the DFU now, to be able write 32MB file). >> >> This is the CONFIG_SYS_MALLOC_LEN. And the memory area for ma

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Simon Glass
Hi Albert, On 31 January 2015 at 15:36, Albert ARIBAUD wrote: > Hello Simon, > > On Mon, 26 Jan 2015 08:34:21 -0700, Simon Glass > wrote: >> At present SPL uses a single stack, either CONFIG_SPL_STACK or >> CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and >> environment) require

Re: [U-Boot] [RFC PATCH 0/21] ARM: start to move SoC code into arch/arm/mach-*

2015-02-02 Thread Stephen Warren
On 01/31/2015 08:20 PM, Simon Glass wrote: Hi Albert, On 31 January 2015 at 20:02, Albert ARIBAUD wrote: Hello Masahiro, On Sun, 25 Jan 2015 15:11:02 +0900, Masahiro Yamada wrote: This series can be applied on the current u-boot/master (commit 37b608a52dcb133) I'd rather not have all mac

Re: [U-Boot] [PATCH 1/4] sunxi: Make FEL mode usable again

2015-02-02 Thread Simon Glass
Hi Siarhei, On 1 February 2015 at 16:59, Siarhei Siamashka wrote: > > On Sun, 1 Feb 2015 13:59:41 -0700 > Simon Glass wrote: > > > Hi Siarhei, > > > > On 1 February 2015 at 11:48, Siarhei Siamashka > > wrote: > > > On Sun, 1 Feb 2015 09:28:36 -0700 > > > Simon Glass wrote: > > > > > >> Hi, > >

Re: [U-Boot] [PATCH] video: sunxi: Enable cache for the framebuffer

2015-02-02 Thread Hans de Goede
Hi, On 31-01-15 02:21, Siarhei Siamashka wrote: Because the framebuffer resides in a hidden chopped off part of DRAM, caching is not enabled for this area automatically when the MMU is configured. So it needs to be set explicitly. Additionally, the cfb console has a function to check whether th

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-02-02 Thread Tom Rini
On Sat, Jan 31, 2015 at 03:14:35PM -0700, Simon Glass wrote: > Hi Tom, > > On 31 January 2015 at 14:49, Tom Rini wrote: > > > > On Sat, Jan 31, 2015 at 10:25:50PM +0100, Albert ARIBAUD wrote: > > > Hello Tom, > > > > > > On Tue, 27 Jan 2015 09:23:47 -0500, Tom Rini wrote: > > > > On Mon, Jan 26,

Re: [U-Boot] [U-Boot, 4/4] distro_distro_bootcmd: use CONFIG_BOOTCOMMAND instead of setting bootcmd=

2015-02-02 Thread Tom Rini
On Mon, Jan 05, 2015 at 06:13:39PM +0100, Sjoerd Simons wrote: > Move the bootcmd commands into a seperate distro_bootcmd environment > variable. Allowing a user to easily launch the distro boot sequence if > the default bootcmd did not default to distro boot commands. > > Also set CONFIG_BOOTCOM

Re: [U-Boot] [U-Boot, 2/4] part: let list put the list in an environment variable

2015-02-02 Thread Tom Rini
On Mon, Jan 05, 2015 at 06:13:37PM +0100, Sjoerd Simons wrote: > Add an optional third argument to the "part list" command which puts a > space seperated list of valid partitions into the given environment > variable. This is useful for allowing boot scripts to iterate of all > partitions of a dev

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2015-02-02 Thread Tom Rini
On Fri, Jan 30, 2015 at 03:42:25PM +0100, Daniel Schwierzeck wrote: > The following changes since commit ab92da9f47d51d363c7de42e2a7bd807e2c1bd54: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2015-01-26 17:44:49 > -0500) > > are available in the git repository at: > > git://g

Re: [U-Boot] [U-Boot, 1/4] fs: Add command to retrieve the filesystem type

2015-02-02 Thread Tom Rini
On Mon, Jan 05, 2015 at 06:13:36PM +0100, Sjoerd Simons wrote: > New command to determine the filesystem type of a given partition. > Optionally stores the filesystem type in a environment variable. > > Signed-off-by: Sjoerd Simons > Reviewed-by: Stephen Warren Applied to u-boot/master, thanks

Re: [U-Boot] [U-Boot, 1/1] common: add cache flush to imxtract function

2015-02-02 Thread Tom Rini
On Mon, Jan 12, 2015 at 04:23:18PM +0100, Pieter Voorthuijsen wrote: > A cache flush is required when an image is extracted that is required on > another core. > > Signed-off-by: Pieter Voorthuijsen > Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 11:16:16AM -0700, Simon Glass wrote: > Hi Albert, > > On 31 January 2015 at 15:36, Albert ARIBAUD wrote: > > Hello Simon, > > > > On Mon, 26 Jan 2015 08:34:21 -0700, Simon Glass > > wrote: > >> At present SPL uses a single stack, either CONFIG_SPL_STACK or > >> CONFIG_SYS

Re: [U-Boot] Please pull u-boot-dm

2015-02-02 Thread Tom Rini
On Thu, Jan 29, 2015 at 06:16:22PM -0700, Simon Glass wrote: > Hi Tom, > > This includes: > - Export redesign > - Uniphier and Exynos I2C driver model conversions > - Modular exponentiation framework for hardware acceleration (RSA / > verified boot) > - Proper device tree support for GPIOs in dri

Re: [U-Boot] [U-Boot,2/2] doc: fix misspellings

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:37:34AM -0200, Guilherme Maciel Ferreira wrote: > Signed-off-by: Guilherme Maciel Ferreira Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 1/3] imagetool: move common code to imagetool module

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:48:05AM -0200, Guilherme Maciel Ferreira wrote: > The get_type() and verify_print_header() functions have the > same code on both dumpimage.c and mkimage.c modules. > > Signed-off-by: Guilherme Maciel Ferreira Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] linker_lists: fix misspellings

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:39:59AM -0200, Guilherme Maciel Ferreira wrote: > Signed-off-by: Guilherme Maciel Ferreira Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 1/2] doc: "os" is also mandatory for "ramdisk" FIT image components

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:37:33AM -0200, Guilherme Maciel Ferreira wrote: > According to fit_image_print(), the "os" property from "image" node is > required > also when "type=ramdisk". > > Signed-off-by: Guilherme Maciel Ferreira Applied to u-boot/master, thanks! -- Tom signature.asc Des

[U-Boot] [PATCH 2/2] sunxi: video: Dynamically reserve framebuffer memory

2015-02-02 Thread Hans de Goede
Only use CONFIG_SUNXI_MAX_FB_SIZE to reserve memory at the top when relocating u-boot, and calculate the actual amount of memory necessary when setting up the video-mode and use only that, freeing up some additional memory for use by the kernel. Signed-off-by: Hans de Goede --- drivers/video/sun

Re: [U-Boot] [U-Boot, 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-02-02 Thread Tom Rini
On Mon, Jan 05, 2015 at 06:13:38PM +0100, Sjoerd Simons wrote: > Not all devices use the convention that the boot scripts are on the > first partition. For example on chromebooks it seems common for the > first two partitions to be ChromeOS kernel partitions. > > So instead of just the first part

[U-Boot] [PATCH 1/2] sunxi: video: Do not use CONFIG_SYS_MEM_TOP_HIDE for the framebuffer

2015-02-02 Thread Hans de Goede
Do not use CONFIG_SYS_MEM_TOP_HIDE for the framebuffer, instead override board_get_usable_ram_top to make sure that u-boot is not relocated into the area where we want to use the framebuffer, and patch the devicetree from sunxi_simplefb_setup() to tell the kernel to not touch the framebuffer. This

Re: [U-Boot] [U-Boot, 2/3] imagetool: make the image_save_datafile() available to all image types

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:48:06AM -0200, Guilherme Maciel Ferreira wrote: > Move the image_save_datafile() function from an U-Multi specific file > (default_image.c) to a file common to all image types (image.c). And rename it > to genimg_save_datafile(), to make clear it is useful for any image

Re: [U-Boot] [U-Boot, 1/4] dumpimage: add 'T' option to explicitly set the image type

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:54:40AM -0200, Guilherme Maciel Ferreira wrote: > From: Guilherme Maciel Ferreira > > Some image types, like "KeyStone GP", do not have magic numbers to > distinguish them from other image types. Thus, the automatic image > type discovery does not work correctly. > >

Re: [U-Boot] [U-Boot, 2/4] dumpimage: replace the term "datafile" by "subimage"

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:54:41AM -0200, Guilherme Maciel Ferreira wrote: > Signed-off-by: Guilherme Maciel Ferreira Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 3/3] imagetool: replace image registration function by linker_lists feature

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:48:07AM -0200, Guilherme Maciel Ferreira wrote: > The registration was introduced in commit > f86ed6a8d52c99bb2d17d3cac1647edca0c4399c > > This commit also removes all registration functions, and the member "next" > from image_type_params struct > > Signed-off-by: Gui

Re: [U-Boot] common: bootm: Document fake bootm sub-command

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 09:53:13AM +0100, Michal Simek wrote: > Fake option is enabled only when CONFIG_TRACE is > enabled in common/bootm.c:do_boot_states(). > > Signed-off-by: Michal Simek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digi

Re: [U-Boot] [U-Boot,3/4] dumpimage: fit: extract FIT images

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:54:42AM -0200, Guilherme Maciel Ferreira wrote: > The dumpimage is able to extract components contained in a FIT image: > > $ ./dumpimage -T flat_dt -i CONTAINER.ITB -p INDEX FILE > > The CONTAINER.ITB is a regular FIT container file. The INDEX is the poisition > of

Re: [U-Boot] [U-Boot, 4/4] tools: do not print error messages in verify_header() functions

2015-02-02 Thread Tom Rini
On Thu, Jan 15, 2015 at 02:54:43AM -0200, Guilherme Maciel Ferreira wrote: > default_image.c and socfpgaimage.c are the only image modules that print error > messages during header verification. The verify_header() is used to query if a > given image file is processed by the image format. Thus, if

Re: [U-Boot] distro_bootcmd: read DHCP boot script name from a variable

2015-02-02 Thread Tom Rini
On Mon, Jan 19, 2015 at 04:39:11PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Modify $bootcmd_dhcp to read the downloaded script filename from an > environment variable rather than hard-coding it. This allows the user > (or another script) to select a different script name if they w

Re: [U-Boot] cmd: Fix gettime command help

2015-02-02 Thread Tom Rini
On Mon, Jan 19, 2015 at 09:32:00PM +0800, Bin Meng wrote: > Remove the additional ',' and '\n' from the gettime command help. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] arm: switch armltd vexpress to GENERIC_BOARD

2015-02-02 Thread Tom Rini
On Wed, Jan 21, 2015 at 08:52:33PM -0800, Chris Kuethe wrote: > only tested tested under QEMU with vexpress_ca9x4 ("-M vexpress-a9") and > vexpress_ca15_tc2 ("-M vexpress-a15"). Makes the ugly warning go away. > > Signed-off-by: Chris Kuethe Applied to u-boot/master, thanks! -- Tom signatur

Re: [U-Boot] drivers/net/e1000.c: fix compile warning under 64bit mode

2015-02-02 Thread Tom Rini
On Thu, Jan 22, 2015 at 01:21:54PM +0800, Minghuan Lian wrote: > Fix this: > warning: cast from pointer to integer of different size > > Signed-off-by: Minghuan Lian Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 1/2] drivers/pci/pci_rom.c: fix compile warning under 64bit mode

2015-02-02 Thread Tom Rini
On Thu, Jan 22, 2015 at 01:21:55PM +0800, Minghuan Lian wrote: > Fix this: > drivers/pci/pci_rom.c:95:15: warning: cast to pointer from > integer of different size [-Wint-to-pointer-cast] > rom_header = (struct pci_rom_header *)rom_address; > > Signed-off-by: Minghuan Lian Applied to u-boot/mas

Re: [U-Boot] [U-Boot,V5] add README.distro file

2015-02-02 Thread Tom Rini
On Thu, Jan 22, 2015 at 11:34:20AM -0700, Stephen Warren wrote: > From: Dennis Gilmore > > Add documentation on how to setup a system to use the generic distro > configs and boot commands. This spells out what is needed to make a > system conformant, but does not limit the board to only the defa

Re: [U-Boot] [U-Boot, 4/4, v2] vexpress64: support the Juno Development Platform

2015-02-02 Thread Tom Rini
On Fri, Jan 23, 2015 at 02:41:10PM +0100, Linus Walleij wrote: > The Juno Development Platform is a physical Versatile Express > device with some differences from the emulated semihosting > models. The main difference is that the system is split in > a SoC and an FPGA where the SoC hosts the seria

Re: [U-Boot] [U-Boot, 3/4, v2] vexpress64: get rid of CONFIG_SYS_EXTRA_OPTIONS

2015-02-02 Thread Tom Rini
On Fri, Jan 23, 2015 at 11:50:53AM +0100, Linus Walleij wrote: > The Versatile Express ARMv8 semihosted FVP platform is still > using the legacy CONFIG_SYS_EXTRA_OPTIONS method to configure > some compile-time flags. Get rid of this and create a Kconfig > entry for the FVP model, and a selectable

Re: [U-Boot] fpga: Extend dump description

2015-02-02 Thread Tom Rini
On Mon, Jan 26, 2015 at 08:52:27AM +0100, Michal Simek wrote: > There are missing parameters in help which fpga dump command > requires. > > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

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

2015-02-02 Thread Tom Rini
On Fri, Jan 30, 2015 at 04:01:46PM -0600, Joe Hershberger wrote: > The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: > > lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boo

Re: [U-Boot] Please pull u-boot-x86 branch patman

2015-02-02 Thread Tom Rini
On Fri, Jan 30, 2015 at 04:42:24PM -0700, Simon Glass wrote: > Hi Tom, > > Some old patches I lost, plus a few new ones. > > Note this is branch 'patman'. > > > The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: > > lcd: fix console address is not initialized (2015

Re: [U-Boot] ARM: armv7 fix spelling of SCTRL

2015-02-02 Thread Tom Rini
On Thu, Jan 29, 2015 at 06:03:39PM +0800, Peng Fan wrote: > SCTLR is the abbreviation of System Control Register, so we should > use SCTLR but not SCTRL. > > Signed-off-by: Peng Fan Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] Pull request: u-boot-blackfin

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 03:19:00PM +0800, Sonic Zhang wrote: > Hi Tom, > > Please pull the following patches for Blackfin from u-boot-blackfin > into your tree. > > Thanks > > Sonic Zhang > > > The following changes since commit 28c4dae114c9b94b2ad81d4da716e9fc2cba: > > Merge branch 'n

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

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 03:19:48PM +0100, Hans de Goede wrote: > Hi Tom, > > We've once again build-up a nice collection of patches for sunxi. > Please pull u-boot-sunxi/master into master, highlights: > > 1) Finish the dram config cleanup > 2) Add support for 3 new boards > > The following cha

[U-Boot] [ANN] U-Boot v2015.04-rc1 released

2015-02-02 Thread Tom Rini
Hey all, I've pushed v2015.04-rc1 out to the repository and tarballs should exist soon. The merge window is now closed. I'm going to do my best to keep to the every two weeks we do an RC thing again this time and continuing to rely on everyones best judgement about what level of changes they're

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

2015-02-02 Thread Tom Rini
On Fri, Jan 30, 2015 at 09:20:27AM -0500, Tom Rini wrote: > Ahoy! > > The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: > > lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) > > are available in the git repository at: > > git://git.denx.de/u

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-02-02 Thread Simon Glass
+Bin Hi Tom, On 2 February 2015 at 11:56, Tom Rini wrote: > > On Sat, Jan 31, 2015 at 03:14:35PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On 31 January 2015 at 14:49, Tom Rini wrote: > > > > > > On Sat, Jan 31, 2015 at 10:25:50PM +0100, Albert ARIBAUD wrote: > > > > Hello Tom, > > > > > >

  1   2   >