Re: [U-Boot] Unable to boot from QSPI (u-boot 2016.11-rc1)

2016-10-06 Thread Anatolij Gustschin
Hi, On Tue, 4 Oct 2016 15:40:08 +0800 Teoh Choon Zone choon-zone.t...@vie.com.my wrote: .. > u-boot from Altera working fine, but I plan to use the mainline u-boot. > Any idea why it does not work? Can you please revert commit dac3bf20 and try again? Does it solve the problem? -- Anatolij __

[U-Boot] [PATCH v2 2/2] rockchip: doc: add GPT partition layout

2016-10-06 Thread Jacob Chen
A simple introduction. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v2: None doc/README.rockchip | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 69b926c..06ec80e 100644 --- a/doc/README.rockchip

[U-Boot] [PATCH v2 1/2] rockchip: use rockchip linux partitions layout

2016-10-06 Thread Jacob Chen
Unify the partitions of each chip then it will be more easy for us to write scripts, tools or guides for rockchip chips. Those extra partitions mostly are used to be compatible with our internal loaders (such as miniloader which was same as spl, or android loader then we can support dual boot

Re: [U-Boot] [PATCH][v2] armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS

2016-10-06 Thread Pratiyush Srivastava
> -Original Message- > From: york sun > Sent: Thursday, October 06, 2016 10:19 PM > To: Pratiyush Srivastava ; u- > b...@lists.denx.de > Cc: Prabhakar Kushwaha > Subject: Re: [PATCH][v2] armv8: ls1012a: Updating > CONFIG_EXTRA_ENV_SETTINGS > > On 10/04/2016 04:38 AM, Pratiyush Mohan Sri

Re: [U-Boot] [PATCH][v3] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-10-06 Thread Pratiyush Srivastava
> -Original Message- > From: york sun > Sent: Thursday, October 06, 2016 10:02 PM > To: Pratiyush Srivastava ; u- > b...@lists.denx.de > Cc: Prabhakar Kushwaha > Subject: Re: [PATCH][v3] board: ls1012afrdm: overwrite > CONFIG_EXTRA_ENV_SETTINGS > > On 10/04/2016 04:38 AM, Pratiyush Moha

Re: [U-Boot] [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

2016-10-06 Thread Sriram Dash
>From: york sun >Sent: Thursday, October 06, 2016 9:33 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: Prabhakar Kushwaha ; >albert.u.b...@aribaud.net; Suresh Gupta >Subject: Re: [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs > >On 10/05/2016 11:03 PM, Sriram Dash wrote: >>> From: y

[U-Boot] [PATCH v4 2/2] ARM: sun7i: dts: add support for Sinovoip/Bananapi R1

2016-10-06 Thread Stephen Arnold
From: Steve Arnold Signed-off-by: Steve Arnold Cc: Ian Campbell Cc: Hans De Goede --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-bananapi-r1.dts | 376 + 2 files changed, 377 insertions(+) create mode 100644 arch/arm/dts/sun7i-a20-b

[U-Boot] [PATCH v4 0/2] ARM: add support for Bananapi BPI-R1

2016-10-06 Thread Stephen Arnold
From: Steve Arnold * changes from lamobo-r1 required include: - unset ahci power pin - usbvbus gpio pin change - mmc cd gpio pin change - enable uart2, set default LED trigger - CONFIG_GMAC_TX_DELAY change Changes for v2: - incorprated feedback for config options (remove 3, add 1

[U-Boot] [PATCH v4 1/2] ARM: sun7i: config: add config for Sinovoip/Bananapi R1

2016-10-06 Thread Stephen Arnold
From: Steve Arnold Signed-off-by: Steve Arnold Cc: Ian Campbell Cc: Hans De Goede --- configs/Bananapi_R1_defconfig | 16 1 file changed, 16 insertions(+) create mode 100644 configs/Bananapi_R1_defconfig diff --git a/configs/Bananapi_R1_defconfig b/configs/Bananapi_R1_defco

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-06 Thread Eric Anholt
Stefan Bruens writes: > On Donnerstag, 6. Oktober 2016 12:32:12 CEST Eric Anholt wrote: >> Alexander Graf writes: >> >> Am 05.10.2016 um 18:48 schrieb Fabian Vogt : >> >> >> >> Hi, >> >> >> >> Am Mittwoch, 5. Oktober 2016, 09:54:46 CEST schrieb Stephen Warren: >> >>> On 09/26/2016 06:26 AM, Fa

Re: [U-Boot] [PATCH 0/6] ARM: Introduce function to switch to hypervisor mode and enable LPAE

2016-10-06 Thread Keerthy
On Wednesday 14 September 2016 10:43 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot because the ROM code puts the chip to supervisor mode after it jumps to boot loader. Patch 1-4 enable LPAE. Patch 5: Introduces a weak function which can

Re: [U-Boot] Unable to boot from QSPI (u-boot 2016.11-rc1)

2016-10-06 Thread Teoh Choon Zone
Hi, Can you elaborate more on which file or function to look at? I am quite new to u-boot. On Thu, Oct 6, 2016 at 11:31 PM, Jagan Teki wrote: > On Tue, Oct 4, 2016 at 1:10 PM, Teoh Choon Zone > wrote: > > Hi all, > > > > I have a custom board based on Altera Cyclone V SoC, when I tried to boot

Re: [U-Boot] Cash flash correction of do_load()

2016-10-06 Thread Tom Rini
On Sun, Sep 25, 2016 at 12:10:07PM +0900, yoko wrote: > Signed-off-by: yoko > --- > fs/fs.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > For a program execution abnormal measure by the fatload command, cash flash > processing is added to do_load(). Can you please move this b

Re: [U-Boot] ML: SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-10-06 Thread Tom Rini
On Fri, Sep 16, 2016 at 10:43:51AM +0200, Lukasz Majewski wrote: > This define gives the possibility to copy entire image (including header) > from NOR parallel memory to e.g. SDRAM. > > The legacy behavior is preserved, since other board don't enabled this option. > > Signed-off-by: Lukasz Maje

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

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:11PM -0600, Simon Glass wrote: > This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it. > > Signed-off-by: Simon Glass > Acked-by: Scott Wood > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,14/16] README: Drop README.imx31

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:09PM -0600, Simon Glass wrote: > The only content of this file is CONFIG options which are no-longer present > in U-Boot. Drop it. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] [U-Boot,12/16] README: Drop CONFIG_SYS_USE_OSCCLK

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:07PM -0600, Simon Glass wrote: > This is not used in U-Boot so drop it. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,11/16] README: Drop CONFIG_SYS_INIT_DATA_SIZE

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:06PM -0600, Simon Glass wrote: > This appears to be calculated automatically now. Drop the old reference. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,13/16] atmel: Drop README.at91-soc

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:08PM -0600, Simon Glass wrote: > This issue covered by this doc appears to be fixed, so let's remove the > README. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > Acked-by: Andreas Bießmann Applied to u-boot/master, thanks! -- Tom signature.asc Descr

Re: [U-Boot] [U-Boot,15/16] README: Drop CONFIG_MPC8349ADS

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:10PM -0600, Simon Glass wrote: > This option is not used now. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot ma

Re: [U-Boot] [U-Boot,07/16] README: Drop CONFIG_LAN91C96_BASE

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:02PM -0600, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mai

Re: [U-Boot] [U-Boot,08/16] README: Drop CONFIG_SYS_USB_BRG_CLK

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:03PM -0600, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mai

Re: [U-Boot] [U-Boot, 10/16] README: i2c: Drop unused i2c CONFIG options

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:05PM -0600, Simon Glass wrote: > CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used > in U-Boot, so drop them. > > Signed-off-by: Simon Glass > Acked-by: Heiko Schocher > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom s

Re: [U-Boot] [U-Boot, 09/16] README: sh: Drop CONFIG_SYS_I2C_SH_BASE5

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:04PM -0600, Simon Glass wrote: > This is not used in U-Boot. Drop both the BASE and the SIZE config. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,04/16] README: Drop unused JFFS2 options

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:00:59PM -0600, Simon Glass wrote: > There appear to be neither implemented nor used. Drop them. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 05/16] README: Drop unused CONFIG_SYS_LS_MC_FW_... options

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:00PM -0600, Simon Glass wrote: > Drop a few that are not used in U-Boot. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 03/16] README: Correct CONFIG_ENV_OFFSET_RENDUND typo

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:00:58PM -0600, Simon Glass wrote: > Change this to CONFIG_ENV_OFFSET_REDUND. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 02/16] README: Drop CONFIG_COGENT and related options

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:00:57PM -0600, Simon Glass wrote: > These are no-longer present in U-Boot. Drop them. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,06/16] README: Drop CONFIG_OF_BOOT_CPU

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:01:01PM -0600, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mai

Re: [U-Boot] [U-Boot, 01/16] README: Drop old Intel Monahans comment

2016-10-06 Thread Tom Rini
On Sun, Oct 02, 2016 at 06:00:56PM -0600, Simon Glass wrote: > This is no longer in the U-Boot source code, so drop this note from the > README. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 27/27] spl: Make spl_boot_list a local variable

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:17PM -0600, Simon Glass wrote: > There is no need for this to be in the BSS region. By moving it we can delay > use of BSS in SPL. This is useful for machines where the BSS region is not > in writeable space. On 64-bit x86, SPL runs from SPI flash and it is easier > t

Re: [U-Boot] [U-Boot, v2, 25/27] spl: Update fat functions to take an spl_image parameter

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:15PM -0600, Simon Glass wrote: > Update the fat loader to avoid using the spl_image global variable. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2, 24/27] spl: Update ext functions to take an spl_image parameter

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:14PM -0600, Simon Glass wrote: > Update the ext loader to avoid using the spl_image global variable. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2, 26/27] spl: Update spl_load_simple_fit() to take an spl_image param

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:16PM -0600, Simon Glass wrote: > Upda the SPL FIT code to use the spl_image parameter. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 22/27] spl: Convert spl_board_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:12PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. Update existing users. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] [U-Boot, v2, 23/27] spl: Pass spl_image as a parameter to load_image() methods

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:13PM -0600, Simon Glass wrote: > Rather than having a global variable, pass the spl_image as a parameter. > This avoids BSS use, and makes it clearer what the function is actually > doing. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/ma

Re: [U-Boot] [U-Boot, v2, 17/27] spl: Convert spl_sata_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:07PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 18/27] spl: spi: Move the generic SPI loader into common/spl

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:08PM -0600, Simon Glass wrote: > All the other SPL loaders are in this directory, so move the SPI one in > there too. > > There are two board-specific SPI loaders (fsl and sunxi). These remain in > the drivers/mtd/spi directory, since they do not contain generic code

Re: [U-Boot] [U-Boot, v2, 21/27] spl: Convert spl_net_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:11PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. We need two variants - one for BOOT_DEVICE_CPGMAC and one for > BOOT_DEVICE_USBETH. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Appli

Re: [U-Boot] [U-Boot, v2, 19/27] spl: Convert spl_spi_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:09PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. Also set up the sunxi function. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.as

Re: [U-Boot] [U-Boot, v2, 20/27] spi: Move freescale-specific code into a private header

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:10PM -0600, Simon Glass wrote: > At present there are two SPI functions only used by freescale which are > defined in the spi_flash.h header. One function name matches an existing > generic SPL function. > > Move these into a private header to avoid confusion. > > A

Re: [U-Boot] [U-Boot, v2, 13/27] spl: Convert spl_onenand_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:03PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 16/27] spl: Convert spl_usb_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:06PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 14/27] spl: Convert spl_nor_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:04PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 15/27] spl: Convert spl_ymodem_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:05PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 12/27] spl: Convert spl_nand_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:02PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 09/27] spl: Convert spl_ram_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:59PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Converted the DFU case as well and applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [U-Boot, v2, 07/27] spl: Convert boot_device into a struct

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:57PM -0600, Simon Glass wrote: > At present some spl_xxx_load_image() functions take a parameter and some > don't. Of those that do, most take an integer but one takes a string. > > Convert this parameter into a struct so that we can pass all functions the > same thi

Re: [U-Boot] [U-Boot, v2, 08/27] spl: Add a way to declare an SPL image loader

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:58PM -0600, Simon Glass wrote: > Add a linker list macro which can be used to declare an SPL image loader. > Update spl_load_image() to search available loaders for the correct one. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, t

Re: [U-Boot] [U-Boot, v2, 11/27] spl: Convert spl_ubi_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:01PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 10/27] spl: Convert spl_mmc_load_image() to use linker list

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:00PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 03/27] spl: Add a parameter to spl_parse_image_header()

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:53PM -0600, Simon Glass wrote: > Instead of using the global spl_image variable, pass the required struct in > as an argument. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital si

Re: [U-Boot] [U-Boot, v2, 05/27] spl: Add function comments to spl_start_uboot()

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:55PM -0600, Simon Glass wrote: > Add some comments to describe this function. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 02/27] spl: Add a parameter to spl_set_header_raw_uboot()

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:52PM -0600, Simon Glass wrote: > Rather than act on the global variable, pass the required struct in as a > parameter. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 04/27] spl: Add a parameter to jump_to_image_linux()

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:54PM -0600, Simon Glass wrote: > Instead of using the global spl_image variable, pass the required struct in > as an argument. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital si

Re: [U-Boot] [U-Boot, v2, 06/27] spl: Kconfig: Move SPL_DISPLAY_PRINT to Kconfig

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:56PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. Also add a function > comment to the header file. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] serial: ns16550: Handle -ENOENT when requesting clock

2016-10-06 Thread Tom Rini
On Fri, Sep 30, 2016 at 05:37:00PM +0900, Alexandre Courbot wrote: > When calling clk_get_by_index(), fall back to the legacy method of > getting the clock if -ENOENT is returned. > > Signed-off-by: Alexandre Courbot > Tested-by: Stephen Warren > Acked-by: Thierry Reding Applied to u-boot/mas

Re: [U-Boot] [U-Boot, v2, 01/27] spl: Move spl_board_load_image() into a generic header

2016-10-06 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:51PM -0600, Simon Glass wrote: > At present this is only used on ARM and sandbox, but it is just as > applicable to other architectures. Move the function prototype into the > generic SPL header. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-

Re: [U-Boot] [PATCH] fastboot: add support for writing raw MMC

2016-10-06 Thread Jaehoon Chung
On 10/05/2016 10:38 PM, Petr Kulhavy wrote: > The current fastboot implementation is only able to flash partition images. > However sometimes it is needed to write the raw MMC, e.g. when storing the > U-boot environment image or SPL. > > This patch adds the possibility to write MMC as a block devi

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-06 Thread Jaehoon Chung
On 10/03/2016 02:39 AM, AneoX wrote: > Emmc Card was the new one, so i just burn a dump of working sd. Previously > sd have been wired to board for test. > > Board is a custom, like olinuxino lime which with nand and sd slot, 512 mb > ram. So i using it defconfig and in case of sd card, it works.

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-06 Thread Stefan Bruens
On Donnerstag, 6. Oktober 2016 12:32:12 CEST Eric Anholt wrote: > Alexander Graf writes: > >> Am 05.10.2016 um 18:48 schrieb Fabian Vogt : > >> > >> Hi, > >> > >> Am Mittwoch, 5. Oktober 2016, 09:54:46 CEST schrieb Stephen Warren: > >>> On 09/26/2016 06:26 AM, Fabian Vogt wrote: > This patc

Re: [U-Boot] [PATCH 6/6] [RFC] at91: SPL clock fix for AT91SAM9G15 based boards.

2016-10-06 Thread Andreas Bießmann
Hi Heiko, On 17.08.16 09:13, Heiko Schocher wrote: > on a at91sam9g15 basd board I need another MOR register > init as common for at91 based boards. Changes: > > - set AT91_PMC_MOR_KEY to 0x37, without this writting has > no effect to tthis register. > - AT91_PMC_MOR_OSCOUNT to 0 > - set AT91_P

Re: [U-Boot] [PATCH 5/6] at91: add function to set IO drive

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add new function to set I/O drive. > > Signed-off-by: Heiko Schocher > --- > > arch/arm/mach-at91/include/mach/at91_pio.h | 5 + > arch/arm/mach-at91/include/mach/gpio.h | 2 ++ > drivers/gpio/at91_gpio.c | 29 ++

Re: [U-Boot] [PATCH 4/6] arm, at91: add some missing fields in PIO struct

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add missing > > u32 io_delay; /* 0x110 I/O delay register */ > u32 io_driver1; /* 0x114 I/O driver register 1 */ > u32 io_driver2; /* 0x118 I/O driver register 2 */ This is also a mess ... it is true for sam9x5, but sama5d4 has

Re: [U-Boot] [PATCH 3/6] arm, at91: add icache support

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add at least icache support for at91 based boards. > This speeds up NOR flash access on an at91sam9g15 > based board from 15.2 seconds reading 8 MiB from > a SPI NOR flash to 5.7 seconds. > > Signed-off-by: Heiko Schocher Reviewed-by: Andreas Bießmann

Re: [U-Boot] [PATCH 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > on at91sam9x5 PRES offset is 4 in the PMC master > clock register. > > Signed-off-by: Heiko Schocher > --- > > arch/arm/mach-at91/arm926ejs/clock.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/mach-at91/arm926ejs/clock.c >

[U-Boot] [PATCH v2] spi: fsl_qspi: Preserve endianness of QSPI MCR

2016-10-06 Thread York Sun
The endianness can be changed by RCW + PBI sequence. It may have other than power on reset value. Signed-off-by: York Sun CC: Yuan Yao CC: Peng Fan CC: Alison Wang --- Change log v2: Fix variable name in spi_setup_slave drivers/spi/fsl_qspi.c | 10 -- 1 file changed, 8 insertions(+)

[U-Boot] [PATCH v2 5/5] arm: kirkwood: fix Synology board tag

2016-10-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- Changes in v2: None board/Synology/ds109/ds109.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c index 8ab1387..b46c09d 100644 --- a/board/Synology/ds109/ds109.c +++ b/board/Synology/ds109

[U-Boot] [PATCH v2 1/5] arm: kirkwood: add support for Synology DS109 board

2016-10-06 Thread Walter Schweizer
Synology DS109 is based on MV88F6281. The code is based on Dreamplug code with modificatons from Synologys open source repository. Signed-off-by: Walter Schweizer --- Changes in v2: - adapt config options to new checks - tag with kirkwood instead of mvebu arch/arm/mach-kirkwood/Kconfig|

[U-Boot] [PATCH v2 4/5] arm: kirkwood: fix output enable settings

2016-10-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- Changes in v2: None board/Synology/ds109/ds109.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/Synology/ds109/ds109.h b/board/Synology/ds109/ds109.h index 95d924c..a57cda7 100644 --- a/board/Synology/ds109/ds109.h +++ b/board/S

[U-Boot] [PATCH v2 3/5] arm: kirkwood: fix kirkwood initial setup

2016-10-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- Changes in v2: None board/Synology/ds109/kwbimage.cfg | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/board/Synology/ds109/kwbimage.cfg b/board/Synology/ds109/kwbimage.cfg index 19d77e3..d544af5 100644 --- a/

[U-Boot] [PATCH v2 2/5] arm: kirkwood: ds109 board is maintained

2016-10-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- Changes in v2: None board/Synology/ds109/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/Synology/ds109/MAINTAINERS diff --git a/board/Synology/ds109/MAINTAINERS b/board/Synology/ds109/MAINTAINERS new file mode 100644 index

Re: [U-Boot] [PATCH 0/6] libfdt: Sync to upstream

2016-10-06 Thread Maxime Ripard
Hi Simon, On Thu, Oct 06, 2016 at 08:36:36AM -0600, Simon Glass wrote: > > On Sun, Oct 02, 2016 at 05:59:24PM -0600, Simon Glass wrote: > >> In a few cases the upstream versions of functions first written for U-Boot > >> have landed in a slightly different form. > >> > >> This includes a few patch

Re: [U-Boot] [PATCH 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add missing MPDDRC_MD defines > > Signed-off-by: Heiko Schocher Reviewed-by: Andreas Bießmann > --- > > arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-at91/include/mach/atmel

[U-Boot] [PATCH v4 02/11] binman: Add basic entry types for U-Boot

2016-10-06 Thread Simon Glass
Add entries to support some standard U-Boot binaries, such as u-boot.bin, u-boot.dtb, etc. Also add some tests for these. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None tools/binman/entry_test.py | 27 + tools/binman/etype/_t

[U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-10-06 Thread Simon Glass
Change x86 boards to use binman to produce the ROM. This involves adding the image definition to the device tree and using it in the Makefile. The existing ifdtool features are no-longer needed. Note that the .dtsi file is common and is used for all x86 boards. Signed-off-by: Simon Glass --- Ch

[U-Boot] [PATCH v4 10/11] sunxi: Use binman for sunxi boards

2016-10-06 Thread Simon Glass
Move sunxi boards to use binman. This involves adding the image definition to the device tree and using it in the Makefile. Signed-off-by: Simon Glass --- Changes in v4: - Remove RFC tag - Update sunxi rule to depend on u-boot.dtb - Use binman for all sunxi boards Changes in v3: - Use a -u-boot

[U-Boot] [PATCH v4 09/11] binman: Automatically include a U-Boot .dtsi file

2016-10-06 Thread Simon Glass
For boards that need U-Boot-specific additions to the device tree, it is a minor annoyance to have to add these each time the tree is synced with upstream. Add a means to include a file (e.g. u-boot.dtsi) automatically into the .dts file before it is compiled. The file uses is the first one that

[U-Boot] [PATCH v4 07/11] binman: Add a build rule for binman

2016-10-06 Thread Simon Glass
Add a standard command definition for binman so that it can be used in makefiles. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b5c9421..a5428a2 100644 ---

[U-Boot] [PATCH v4 06/11] binman: Add support for building x86 images with FSP/CMC

2016-10-06 Thread Simon Glass
Add support for two more from the inexhaustible supply of x86 binary blob types. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to support building x86 images with FSP/CMC Changes in v3: None Changes in v2: None tools/binman/etype/intel_cmc.py| 17 + tools/b

[U-Boot] [PATCH v4 08/11] binman: Allow configuration options to be used in .dts files

2016-10-06 Thread Simon Glass
It is sometimes useful to be able to reference configuration options in a device tree source file. Add the necessary includes so that this works. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None scripts/Makefile.lib | 5 + 1 file changed, 5 inserti

[U-Boot] [PATCH v4 05/11] binman: Add support for building x86 ROMs with SPL

2016-10-06 Thread Simon Glass
When building for 64-bit x86 we need an SPL binary in the ROM. Add support for this. Also increase entry test code coverage to 100%. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None tools/binman/etype/u_boot_spl_bss_pad.py | 26 + tool

[U-Boot] [PATCH v4 04/11] binman: Add support for u-boot.img as an input binary

2016-10-06 Thread Simon Glass
Add an entry type for u-boot.img (a legacy U-Boot image) and a simple test. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None tools/binman/etype/u_boot_img.py| 17 + tools/binman/func_test.py | 5 + tools/binman/test/3

[U-Boot] [PATCH v4 03/11] binman: Add support for building x86 ROMs

2016-10-06 Thread Simon Glass
The structure of x86 ROMs is pretty complex. There are various binary blobs to place in the image. Microcode requires special handling so that it is available to very early code and can be used without any memory whatsoever. Add support for the various entry types that are currently needed, along

[U-Boot] [PATCH v4 01/11] binman: Introduce binman, a tool for building binary images

2016-10-06 Thread Simon Glass
This adds the basic code for binman, including command parsing, processing of entries and generation of images. So far no entry types are supported. These will be added in future commits as examples of how to add new types. See the README for documentation. Signed-off-by: Simon Glass --- Chang

[U-Boot] [PATCH v4 00/11] binman: A tool for creating firmware images

2016-10-06 Thread Simon Glass
This series introduces binman, a tool designed to create firmware images. It provides a way to bring together various binaries and place them in an image, at particular positions and with configurable alignment. Packaging of firmware is quite a different task from building the various parts. In ma

Re: [U-Boot] [PATCH 13/16] atmel: Drop README.at91-soc

2016-10-06 Thread Andreas Bießmann
On 03.10.16 02:01, Simon Glass wrote: > This issue covered by this doc appears to be fixed, so let's remove the > README. > > Signed-off-by: Simon Glass Acked-by: Andreas Bießmann > --- > > doc/README.at91-soc | 48 > 1 file changed, 48 deleti

Re: [U-Boot] [PATCH][v3] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-10-06 Thread york sun
On 10/04/2016 04:38 AM, Pratiyush Mohan Srivastava wrote: > LS1012AFRDM has 512MB of DDR. > So update Kernel load address as 0x9600 instead of default > 0xa000. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Pratiyush Mohan Srivastava > --- > Changes for v3: > - Rebased v2 p

Re: [U-Boot] ACPI in general

2016-10-06 Thread Olof Johansson
On Thu, Oct 6, 2016 at 6:01 AM, Timur Tabi wrote: > Bin Meng wrote: >>> >>> >I believe that ACPI systems generally expect EFI runtime services to >>> >be present as well. I know ours does. >> >> This is not true. ACPI does not require any EFI runtime services. > > > Please re-read my sentence. I

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-06 Thread Eric Anholt
Alexander Graf writes: >> Am 05.10.2016 um 18:48 schrieb Fabian Vogt : >> >> Hi, >> >> Am Mittwoch, 5. Oktober 2016, 09:54:46 CEST schrieb Stephen Warren: >>> On 09/26/2016 06:26 AM, Fabian Vogt wrote: This patch series modifies the used drivers to work with OF_CONTROL and switches th

Re: [U-Boot] [PATCH v1 0/2] spl: move SPL_OS_BOOT and SYS_OS_BASE to Kconfig

2016-10-06 Thread Tom Rini
On Thu, Oct 06, 2016 at 11:29:27AM -0500, Andrew F. Davis wrote: > On 10/06/2016 12:55 AM, Heiko Schocher wrote: > > This 2 patches move SPL_OS_BOOT and SYS_OS_BASE > > to Kconfig. Checked with tbot testcase: > > https://github.com/hsdenx/tbot/blob/master/src/tc/uboot/tc_uboot_check_kconfig.py > >

Re: [U-Boot] [PATCH v1 1/4] sf: add ADDR_4B for 4byte address support

2016-10-06 Thread york sun
On 09/28/2016 04:21 AM, Yuan Yao wrote: > From: Yuan Yao > > Some new flash don't support bar register but use 4bytes address to > support exceed 16MB flash size. > So add flash flag: > ADDR_4B > for some flash which support 4bytes address. > > Signed-off-by: Yuan Yao > --- > drivers/mtd/spi/sf_

Re: [U-Boot] [PATCH 0/6] libfdt: Sync to upstream

2016-10-06 Thread Simon Glass
Hi Maxime, On 6 October 2016 at 07:53, Maxime Ripard wrote: > Hi Simon, > > On Sun, Oct 02, 2016 at 05:59:24PM -0600, Simon Glass wrote: >> In a few cases the upstream versions of functions first written for U-Boot >> have landed in a slightly different form. >> >> This includes a few patches to

Re: [U-Boot] [PATCH v1 0/2] spl: move SPL_OS_BOOT and SYS_OS_BASE to Kconfig

2016-10-06 Thread Andrew F. Davis
On 10/06/2016 12:55 AM, Heiko Schocher wrote: > This 2 patches move SPL_OS_BOOT and SYS_OS_BASE > to Kconfig. Checked with tbot testcase: > https://github.com/hsdenx/tbot/blob/master/src/tc/uboot/tc_uboot_check_kconfig.py > > result: > > Boards : 1213 > compile err : 13 > not checked : 1 > U

Re: [U-Boot] [PATCH v6 0/6] power: pmic: Add support for Palmas family of PMICs

2016-10-06 Thread Keerthy
On Friday 30 September 2016 09:20 AM, Keerthy wrote: The series adds support for Palmas family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Supports TPS659038, TPS65917, Palmas. Tested on TPS659038, TPS65917 using DRA7XX-EVM and AM57XX

Re: [U-Boot] [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

2016-10-06 Thread york sun
On 10/05/2016 11:03 PM, Sriram Dash wrote: >> From: york sun >> Sent: Thursday, October 06, 2016 12:37 AM >> To: Sriram Dash ; u-boot@lists.denx.de >> Cc: Prabhakar Kushwaha ; >> albert.u.b...@aribaud.net; Suresh Gupta >> Subject: Re: [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs >

Re: [U-Boot] [PATCH][v2] armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS

2016-10-06 Thread york sun
On 10/04/2016 04:38 AM, Pratiyush Mohan Srivastava wrote: > Remove ramdisk_addr, ramdisk_size and update UART baud-rate. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Pratiyush Mohan Srivastava > --- > Changes for v2 : > - Removed "initrd_high=0x\0" > - Removed consol

Re: [U-Boot] sf: proposed status register protect

2016-10-06 Thread George McCollister
On Thu, Oct 6, 2016 at 11:55 AM, Jagan Teki wrote: > On Thu, Oct 6, 2016 at 9:21 PM, George McCollister > wrote: >> On Thu, Oct 6, 2016 at 10:27 AM, Jagan Teki wrote: >>> On Thu, Oct 6, 2016 at 8:32 PM, George McCollister >>> wrote: I'm looking into adding a sub-command to sf to protect st

Re: [U-Boot] sf: proposed status register protect

2016-10-06 Thread Jagan Teki
On Thu, Oct 6, 2016 at 9:21 PM, George McCollister wrote: > On Thu, Oct 6, 2016 at 10:27 AM, Jagan Teki wrote: >> On Thu, Oct 6, 2016 at 8:32 PM, George McCollister >> wrote: >>> I'm looking into adding a sub-command to sf to protect status >>> registers on Winbond SPI flash parts via the status

Re: [U-Boot] [PATCH v2 5/9] tegra: select ARM_GIC for Tegra TK1s

2016-10-06 Thread Antoine Tenart
Hi Stephen, On Thu, Oct 06, 2016 at 10:15:06AM -0600, Stephen Warren wrote: > On 10/06/2016 08:33 AM, Antoine Tenart wrote: > >Select the newly introduced ARM_GIC option to the relevant configuration > >which also have a psci implementation. > > >diff --git a/arch/arm/mach-tegra/tegra124/Kconfig

  1   2   >