On Monday 13 February 2017 01:04 PM, Vignesh R wrote:
> Use CONFIG_IS_ENABLED() macro to check whether OF_LIBFDT is enabled, so
> that code block is compiled irrespective of SPL or U-Boot build
> depending on CONFIG_SPL_OF_LIBFDT(for SPL) or CONFIG_OF_LIBFDT(for
> U-Boot).
>
> Signed-off-by: Vig
Hi Simon,
On 02/08/2017 01:10 PM, Simon Glass wrote:
Hi Kever,
On 4 February 2017 at 16:30, Kever Yang wrote:
Hi Simon,
For rk3399, the data for sdram driver in dts is big, I don't want to do
the copy for it,
Are you referring to the call to fdtdec_get_int_array()? Don't you
have heaps
ARM64 is using 64bit address which address cell is 2 instead of 1,
update to support it when of-platdata enabled.
Signed-off-by: Kever Yang
---
drivers/core/regmap.c | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/drivers/core/regmap.c b/drivers/core/re
On 12.02.2017 10:08, Masahiro Yamada wrote:
These two functions are only used in lib/tiny-printf.c .
Signed-off-by: Masahiro Yamada
---
lib/tiny-printf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c
index dfa8432..6def8f9 100644
Hi Stefan,
On Fri, Feb 10, 2017 at 6:17 PM, Stefan Roese wrote:
> Hi Bin,
>
> On 10.02.2017 06:45, Bin Meng wrote:
>
>
>
>
>>> @@ -127,6 +120,44 @@ struct spi_trans {
>>> #define SPI_OPCODE_WREN0x06
>>> #define SPI_OPCODE_FAST_READ 0x0b
>>>
>>> +#define SPI_OPCODE_TYPE_READ_N
The return value of fstat was not checked in kwbimage, and in the case
of an error, the already open file was not closed. Fix both errors.
Reported-by: Coverity (CID: 155971)
Reported-by: Coverity (CID: 155969)
Signed-off-by: Mario Six
---
tools/kwbimage.c | 13 +++--
1 file changed, 11
ERR_remove_thread_state is deprecated in OpenSSL 1.1.x and does not do
anything anymore. Thread initialisation and deinitialisation is now
handled by the OpenSSL library.
Signed-off-by: Jelle van der Waa
---
lib/rsa/rsa-sign.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff -
The rsa_st struct has been made opaque in 1.1.x, add forward compatible
code to access the n, e, d members of rsa_struct.
EVP_MD_CTX_cleanup has been removed in 1.1.x and EVP_MD_CTX_reset should be
called to reinitialise an already created structure.
---
lib/rsa/rsa-sign.c | 33 ++
Hi Simon,
On 01/16/2017 12:15 PM, Simon Glass wrote:
Hi Kever,
On 15 January 2017 at 18:28, Kever Yang wrote:
Hi Simon,
I met two issue when using of-platdata
1. compitable name with '.'
I get compile error as below:
In file included from include/dt-structs.h:16:0,
fr
Add ddr clock setting, add rockchip_get_pmucru API,
and enable of-platdata support.
Signed-off-by: Kever Yang
Reviewed-by: Simon Glass
---
Changes in v2: None
Changes in v1: None
arch/arm/include/asm/arch-rockchip/clock.h | 7 ++
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 5 ++
rk3399 grf register bit defenitions should locate in header
file, so that not only pinctrl can use it.
Signed-off-by: Kever Yang
Reviewed-by: Simon Glass
---
Changes in v2: None
Changes in v1: None
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 118
drivers/pinctrl
This series patch enable basic driver for rk3399 SPL, the ATF support
has been split as a separate patch.
SPL_OF_PLATDATA is consider to be must because the dram driver has much
configuration parameter from dts, but we don't want to do the copy.
Other driver like clock, pinctrl, sdhci has update
RK3399 support DDR3, LPDDR3, DDR4 sdram, this patch is porting from
coreboot, support 4GB lpddr3 in this version.
Signed-off-by: Kever Yang
---
Changes in v2:
- use lower-case hex for input dts data
- using rk3288 like style to encode/decode sys_reg
- gather some parameters as base params in rk3
Do not use the API which of-platdata not support.
Signed-off-by: Kever Yang
Reviewed-by: Simon Glass
---
Changes in v2: None
Changes in v1: None
drivers/pinctrl/rockchip/pinctrl_rk3399.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/rockchip/pinctrl_r
Add SPL support for rk3399, default with of-platdata enabled.
Signed-off-by: Kever Yang
---
Changes in v2:
- split SPL patch into 4 patches
Changes in v1: None
arch/arm/Kconfig | 1 +
arch/arm/mach-rockchip/Kconfig| 2 +
arch/arm/mach-rockchip/Makefile
Add syscon and dmc node, and 'u-boot,dm-pre-reloc' option for
required driver.
Signed-off-by: Kever Yang
---
Changes in v2: None
Changes in v1: None
arch/arm/dts/rk3399-evb.dts | 2 ++
arch/arm/dts/rk3399.dtsi| 44
2 files changed, 46 insertion
Change some API in order to enable of-platdata.
Signed-off-by: Kever Yang
Reviewed-by: Simon Glass
---
Changes in v2: None
Changes in v1: None
drivers/mmc/rockchip_sdhci.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/rockchip_sdhci.c b/driv
rk3399 has different syscon registers which may used in spl,
add to support rk3399 spl.
Signed-off-by: Kever Yang
---
Changes in v2: None
Changes in v1: None
arch/arm/include/asm/arch-rockchip/clock.h| 2 ++
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 40 +++
2
Enable all the CONFIGs which need by SPL.
Signed-off-by: Kever Yang
---
Changes in v2: None
Changes in v1: None
configs/evb-rk3399_defconfig| 18 ++
include/configs/rk3399_common.h | 5 +
2 files changed, 23 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/co
Hi Vikas,
On 12 February 2017 20:53, Vikas MANOCHA wrote:
> > On Fri, Feb 03, 2017 at 02:48:40PM +, Phil Edworthy wrote:
> >
> > > The SysTick is a 24-bit down counter that is found on all ARM Cortex
> > > M3, M4, M7 devices and is always located at a fixed address.
> > >
> > > Signed-off-by:
Hi Vikas,
On 12 February 2017 21:10, Vikas MANOCHA wrote:
> Hi Phil,
>
> > -Original Message-
> > From: Phil Edworthy [mailto:phil.edwor...@renesas.com]
> > Sent: Tuesday, February 07, 2017 6:34 AM
> > To: Tom Rini
> > Cc: Kamil Lulko ; Vikas MANOCHA
> ; Michael Kurz ;
> > Albert Aribaud
On 02/13/2017 06:23 PM, Kever Yang wrote:
> Hi Simon,
>
> On 01/16/2017 12:15 PM, Simon Glass wrote:
>> Hi Kever,
>>
>> On 15 January 2017 at 18:28, Kever Yang wrote:
>>> Hi Simon,
>>>
>>> I met two issue when using of-platdata
>>>
>>> 1. compitable name with '.'
>>> I get compile error as b
Hi Jagan, Scott,
On Mon, Jan 23, 2017 at 02:46:42PM +0100, Maxime Ripard wrote:
> The CHIP Pro is a SoM made by NextThing Co, and that embeds a GR8 SIP, an
> AXP209 PMIC, a WiFi BT chip and a 512MB SLC NAND.
>
> Since the first Allwinner device coming whit an SLC NAND that doesn't have
> the shor
On Mon, Feb 13, 2017 at 9:00 AM, Jelle van der Waa wrote:
> The rsa_st struct has been made opaque in 1.1.x, add forward compatible
> code to access the n, e, d members of rsa_struct.
>
> EVP_MD_CTX_cleanup has been removed in 1.1.x and EVP_MD_CTX_reset should be
> called to reinitialise an alread
On Monday 13 February 2017 03:23 PM, Maxime Ripard wrote:
Hi Jagan, Scott,
On Mon, Jan 23, 2017 at 02:46:42PM +0100, Maxime Ripard wrote:
The CHIP Pro is a SoM made by NextThing Co, and that embeds a GR8 SIP, an
AXP209 PMIC, a WiFi BT chip and a 512MB SLC NAND.
Since the first Allwinner device
Various USB related comits for the CL-SOM-AM57x module.
---
V1 -> V2: Replace commit "fix XHCI registers base address" with "reintroduce
the CONFIG_AM57XX symbol".
Uri Mashiach (6):
arm: am57xx: reintroduce the CONFIG_AM57XX symbol
usb: host: xhci-omap: fix double weak board_usb_init functio
The SOC family symbol CONFIG_AM57XX was removed by the commit
3891a54: "ARM: DRA7x/AM57xx: Get rid of CONFIG_AM57XX".
The symbol is needed by the XHCI OMAP USB driver.
Without the symbol all the AM57x targets symbols should be ored in the
ifdef'ery.
Signed-off-by: Uri Mashiach
---
V1 -> V2: Repl
A weak version of the function board_usb_init is implemented in:
common/usb.c
drivers/usb/host/xhci-omap.c
To fix the double implementations:
* Convert the board_usb_init function in drivers/usb/host/xhci-omap.c
normal (not weak).
* The function board_usb_init in drivers/usb/host/xhci-omap.c cal
Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks
during board_usb_exit to enable and disable clocks respectively.
Modifications:
* Enable USB clocks in the OMAP version of the function
board_usb_init.
* Disable USB clocks in the OMAP version of the function
board_usb_clean
USB bus scan attempt:
--cut--
=> usb start
starting USB...
USB0: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... data abort
pc : [] lr : []
reloc pc : [<8081b40e>]lr : [<80
Add CONFIG_USB_STORAGE to the defconfig file.
Signed-off-by: Uri Mashiach
Reviewed-by: Tom Rini
---
V1 -> V2: none
configs/cl-som-am57x_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig
index 916b836..1831f45 100644
--
Add CONFIG_CMD_USB to the defconfig file.
Signed-off-by: Uri Mashiach
Reviewed-by: Tom Rini
---
V1 -> V2: none
configs/cl-som-am57x_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig
index 1831f45..83d7bd0 100644
--- a/
On Sunday 12 February 2017 09:17 PM, Tom Rini wrote:
> On Sun, Feb 12, 2017 at 10:55:27AM +0200, Uri Mashiach wrote:
>> Hi Tom,
>>
>> On 02/09/2017 10:29 PM, Tom Rini wrote:
>>> On Thu, Feb 09, 2017 at 09:00:26AM +0200, Uri Mashiach wrote:
>>>
The following XHCI registers base address are se
My am335x based board doesn't detect USB sticks:
U-Boot 2017.03-rc1 (Feb 13 2017 - 12:46:54 +0100)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
Net:not set. Validating first E-fuse MAC
cpsw
Hit any key to
On 02/13/2017 01:46 PM, Lokesh Vutla wrote:
On Sunday 12 February 2017 09:17 PM, Tom Rini wrote:
On Sun, Feb 12, 2017 at 10:55:27AM +0200, Uri Mashiach wrote:
Hi Tom,
On 02/09/2017 10:29 PM, Tom Rini wrote:
On Thu, Feb 09, 2017 at 09:00:26AM +0200, Uri Mashiach wrote:
The following XHCI
The omapl-138 board can boot the ais image from mmc,
but the right offset needs to be provided to SPL.
This series fixes the uboot raw offset config option
and adds help text for the user to copy the AIS image
to the sd card.
Axel Haslam (2):
da850: Add instructions to copy AIS image to an MMC
The da850 soc's can boot from a external mmc card, but
the AIS image should be written to the correct sector.
Add instructions to copy the AIS image to a MMC card.
Signed-off-by: Axel Haslam
---
board/davinci/da8xxevm/README.da850 | 16
1 file changed, 16 insertions(+)
diff --
Hi Andreas,
> -Original Message-
> From: Andreas Bießmann [mailto:andr...@biessmann.org]
> Sent: 2017年2月13日 7:42
> To: Tony Yang - A41535
> Cc: U-Boot Mailing List ; Stephen Warren
>
> Subject: Re: [U-Boot,v5,1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro
>
> On Tue, Feb 07, 2017 at 02
Hi,
Marek Vasut writes:
> On 02/10/2017 05:32 PM, Andy Shevchenko wrote:
>> From: Felipe Balbi
>>
>> If last packet is short, we shouldn't write req->length bytes to
>> non-volatile media, we should write only what's available to us, which
>> is held in req->actual.
>>
>> Signed-off-by: Felip
Hi Lukasz,
Lukasz Majewski writes:
> Hi Felipe,
>
> Thanks for the patch.
> Please see my comments below.
>
> On 13 Feb 2017 11:42 am, Felipe Balbi wrote:
>
> Hi,
>
> Marek Vasut writes:
> > On 02/10/2017 05:32 PM, Andy Shevchenko wrote:
> >> From: Felipe Balbi
> >>
> >> If last pa
The uboot binary on the AIS file starts at offset 0x8000.
This would be sector 0x40 on a mmc card with 512 bytes per
sector: 0x8000/0x200 = 0x40.
But because we usually skip the first mmc sector to preserve
the partition table, the ais image is written starting
on sector 0x1, and the u-boot binary
On Sat, Feb 11, 2017 at 12:39:54PM +0900, Masahiro Yamada wrote:
> Re-sync all files under the scripts/kconfig directory with
> Linux 4.10.
>
> Some parts include U-Boot own modification. I made sure to not
> revert the following commits:
>
> 5b8031ccb4ed ("Add more SPDX-License-Identifier tag
On Sat, Feb 11, 2017 at 12:39:55PM +0900, Masahiro Yamada wrote:
> With the Kconfig re-sync with Linux 4.10, characters such as
> '}', ';' in Kconfig help message cause warnings:
>
> $ make defconfig
> *** Default configuration is based on 'sandbox_defconfig'
> drivers/i2c/Kconfig:132:warning: ig
On Monday 13 February 2017 05:42 PM, Uri Mashiach wrote:
>
>
> On 02/13/2017 01:46 PM, Lokesh Vutla wrote:
>>
>>
>> On Sunday 12 February 2017 09:17 PM, Tom Rini wrote:
>>> On Sun, Feb 12, 2017 at 10:55:27AM +0200, Uri Mashiach wrote:
Hi Tom,
On 02/09/2017 10:29 PM, Tom Rini wrot
Enable SPL_DM on all AM4xx based boards.
This series depends on:
- DRA7 SPL_DM series[1]
- http://patchwork.ozlabs.org/patch/727106/
[1] https://www.mail-archive.com/u-boot@lists.denx.de/msg238751.html
Lokesh Vutla (3):
ARM: dts: am43xx: Add u-boot specific dtsi
config: am43xx_usbhost_boot:
Add u-boot specific dtsi for am43xx-gp-evm so
that it will be used for SPL.
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 38 ++
1 file changed, 38 insertions(+)
create mode 100644 arch/arm/dts/am437x-gp-evm-u-boot.dtsi
diff --git a/ar
am43xx_evm defconfig has been modified without making changes
in am43xx_usbhost_boot defconfig. Synce here.
Signed-off-by: Lokesh Vutla
---
- The only reason to have usbhost defconfig is that the
load address is different from that of other bootmodes.
configs/am43xx_evm_usbhost_boot_defconfig
Enable SPL_DM on all AM43xx based platforms
Signed-off-by: Lokesh Vutla
---
configs/am43xx_evm_defconfig | 7 ++-
configs/am43xx_evm_usbhost_boot_defconfig | 7 ++-
configs/am43xx_hs_evm_defconfig | 7 ++-
include/configs/am43xx_evm.h | 4
4 f
Hi Simon,
forwarding this directly to you since nobody did response on the
mailinglist.
Maybe you have some suggestion to me.
many thanks,
Hannes
Forwarded Message
Subject:how to trigger DM rescan ?
Date: Wed, 8 Feb 2017 08:05:31 +0100
From: Hannes Schmelzer
To
Hello,
did anybody setup successfully setup a direct MAC connection using RGMII
with a zynq ?
For example to a switch.
The zynq_gem driver wants to probe for phy by itself.
I already made a connection with very bad hacks in various files.
In linux such things are working with "fixed-link". Al
On Mon, Feb 13, 2017 at 11:44:57AM +0100, Axel Haslam wrote:
> The uboot binary on the AIS file starts at offset 0x8000.
> This would be sector 0x40 on a mmc card with 512 bytes per
> sector: 0x8000/0x200 = 0x40.
>
> But because we usually skip the first mmc sector to preserve
> the partition tabl
On Mon, Feb 13, 2017 at 01:34:52PM +0200, Uri Mashiach wrote:
> The SOC family symbol CONFIG_AM57XX was removed by the commit
> 3891a54: "ARM: DRA7x/AM57xx: Get rid of CONFIG_AM57XX".
>
> The symbol is needed by the XHCI OMAP USB driver.
> Without the symbol all the AM57x targets symbols should b
From: Konstantin Porotchkin
This patch set adds support for Marvell ESPRESSOBin community board.
The Marvell ESPRESSOBin is a tiny board made by Globalscale
and available on KickStarter site.
It has (current board version 3.1.1):
- Dual core Cortex-A53 @1.2GHz CPU (Marvell Armada-3720)
- 512MB/1G
From: Konstantin Porotchkin
Enable support for Marvell Ethernet PHYs on A37xx platforms
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
---
include/configs/mvebu_db-88f3720.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/mvebu_db-88f3720.h
b/inc
From: Konstantin Porotchkin
Enable mvebu bubt command support on A3720 DB
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
---
configs/mvebu_db-88f3720_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/mvebu_db-88f3720_defconfig
b/configs/mvebu_
From: Konstantin Porotchkin
Add pin control nodes for North and South bridges to
Armada-37xx DT
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
---
arch/arm/dts/armada-37xx.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/armada-37
From: Konstantin Porotchkin
Add support for fixed link to NETA driver.
This feature requred for proper support of SFP modules
and onboard connected devices like Ethernet switches
Signed-off-by: Konstantin Porotchkin
Signed-off-by: Terry Zhou
Cc: Stefan Roese
Cc: Igal Liberman
---
drivers/ne
From: Konstantin Porotchkin
Implement the board-specific network init function for
ESPRESSOBin community board, setting the on-board Topaz
switch port to forward mode and allow network connection
through any of the available Etherenet ports.
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
From: Konstantin Porotchkin
Fix the default pin control values in a board-specific
function on early board init stage.
This fix allows the NETA driver to work in RGMII
mode until the full-featured pin control driver gets
introduced.
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Iga
From: Konstantin Porotchkin
Initial DTS file for Marvell ESPRESSOBin comunity board
based on Armada-3720 SoC.
The Marvell ESPRESSOBin is a tiny board made by Globalscale
and available on KickStarter site. It has dual core Armv8
Marvell SoC (Armada-3720) with 512MB/1GB/2GB DDR3 RAM,
mini-PCIe 2.0
From: Konstantin Porotchkin
Add ability to use board-specific initialization flow
to NETA driver (for instance Ethernet switch bring-up)
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
---
drivers/net/mvneta.c | 16 +++-
1 file changed, 15 insertions(+), 1
From: Konstantin Porotchkin
Add initial default configuration for Marvell ESPRESSOBin
community board based on Aramda-3720 SoC
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
---
configs/mvebu_espressobin-88f3720_defconfig | 67 +
1 file ch
From: Konstantin Porotchkin
Bypass XHCI and AHCi board configuration flow on ESPRESSOBin
community board.
The community board does not have i2c expander and USB VBUS
is always on, so the scan for AHCi and USB devices can be
faster.
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal
Hi Felipe,
>
> Hi Lukasz,
>
> Lukasz Majewski writes:
> > Hi Felipe,
> >
> > Thanks for the patch.
> > Please see my comments below.
> >
> > On 13 Feb 2017 11:42 am, Felipe Balbi
> > wrote:
> >
> > Hi,
> >
> > Marek Vasut writes:
> > > On 02/10/2017 05:32 PM, Andy Shevchenko wrote:
> >
Hi Tom
On Mon, Feb 13, 2017 at 2:23 PM, Tom Rini wrote:
> On Mon, Feb 13, 2017 at 11:44:57AM +0100, Axel Haslam wrote:
>> The uboot binary on the AIS file starts at offset 0x8000.
>> This would be sector 0x40 on a mmc card with 512 bytes per
>> sector: 0x8000/0x200 = 0x40.
>>
>> But because we us
On Mon, Feb 13, 2017 at 03:14:28PM +0100, Axel Haslam wrote:
> Hi Tom
>
> On Mon, Feb 13, 2017 at 2:23 PM, Tom Rini wrote:
> > On Mon, Feb 13, 2017 at 11:44:57AM +0100, Axel Haslam wrote:
> >> The uboot binary on the AIS file starts at offset 0x8000.
> >> This would be sector 0x40 on a mmc card w
Hi Yegor,
On Mon, Feb 13, 2017 at 12:57 PM, Yegor Yefremov wrote:
> My am335x based board doesn't detect USB sticks:
>
> U-Boot 2017.03-rc1 (Feb 13 2017 - 12:46:54 +0100)
>
> CPU : AM335X-GP rev 2.1
> I2C: ready
> DRAM: 256 MiB
> NAND: 256 MiB
> MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
> Using
On Mon, Feb 13, 2017 at 3:17 PM, Tom Rini wrote:
> On Mon, Feb 13, 2017 at 03:14:28PM +0100, Axel Haslam wrote:
>> Hi Tom
>>
>> On Mon, Feb 13, 2017 at 2:23 PM, Tom Rini wrote:
>> > On Mon, Feb 13, 2017 at 11:44:57AM +0100, Axel Haslam wrote:
>> >> The uboot binary on the AIS file starts at offse
Hi Tom,
here are some fixes, please pull them to your tree.
Mike: I have rebased your origin patches because of some conflicts.
Please check when they are applied.
Thanks,
Michal
The following changes since commit f1cc97764be4383d2aeb56d5ba5415439a1d5c97:
Merge branch 'master' of git://git.
From: Felipe Balbi
We should only compile pci_mmc.c on platforms that actually need
this. Some platforms are using generic sdhci through driver model.
Signed-off-by: Felipe Balbi
Signed-off-by: Andy Shevchenko
---
drivers/mmc/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
On Mon, 2017-02-13 at 14:41 +0100, Lukasz Majewski wrote:
> > [1] https://github.com/andy-shev/u-boot/tree/edison
> > [2] https://communities.intel.com/message/435516#435516
> >
>
> Ok. I will check this. Thanks for pointing out :-)
Just in case, mentioned branch is occasionally rebased, so, fo
On Mon, Feb 13, 2017 at 3:17 PM, Belisko Marek wrote:
> Hi Yegor,
>
> On Mon, Feb 13, 2017 at 12:57 PM, Yegor Yefremov
> wrote:
>>
>> My am335x based board doesn't detect USB sticks:
>>
>> U-Boot 2017.03-rc1 (Feb 13 2017 - 12:46:54 +0100)
>>
>> CPU : AM335X-GP rev 2.1
>> I2C: ready
>> DRAM: 2
We used to get the address of the optionnal ctrl_mod_mmap register as the
third memory range of the "reg" property. the linux driver moved to use a
syscon instead. In order to keep the DTS as close as possible to that of
linux, we move to using a syscon as well.
If SYSCON is not supported, the dri
Use OF_TRANSLATE for both u-boot and SPL to tell whether fdt address
translation should be used.
Signed-off-by: Jean-Jacques Hiblot
---
to: s...@chromium.org
lib/fdtdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 81f47ef..1edfbf2 10064
This series allows the ti_qspi driver to use the same dts description as the
linux kernel. In Linux since 4.6 the ctrl_mod_mmap is described in the DTS as a
syscon. It used to be the 3rd memory range in "reg".
The first two patches of this series are generic ones:
* Allow the SPL version of fdtde
This is required by the ti_qspi driver to get from the DTS the address of
the ctrl_mod_mmap register in SPL and in u-boot.
Signed-off-by: Jean-Jacques Hiblot
---
configs/am57xx_evm_defconfig| 6 ++
configs/am57xx_hs_evm_defconfig | 6 ++
configs/dra7xx_evm_defconfig| 6 ++
co
In the DTS, the addresses are defined relative to the parent bus. We need
to translate them to get the address as seen by the CPU core.
Signed-off-by: Jean-Jacques Hiblot
---
to: s...@chromium.org
drivers/core/regmap.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff
On 13/02/2017 16:41, Lokesh Vutla wrote:
On 2/13/2017 8:47 PM, Jean-Jacques Hiblot wrote:
Use OF_TRANSLATE for both u-boot and SPL to tell whether fdt address
translation should be used.
Signed-off-by: Jean-Jacques Hiblot
Vignesh has posted a similar patch[1].
Sorry, I had missed this one
Hi Tom
On Mon, Feb 13, 2017 at 3:23 PM, Axel Haslam wrote:
> On Mon, Feb 13, 2017 at 3:17 PM, Tom Rini wrote:
>> On Mon, Feb 13, 2017 at 03:14:28PM +0100, Axel Haslam wrote:
>>> Hi Tom
>>>
>>> On Mon, Feb 13, 2017 at 2:23 PM, Tom Rini wrote:
>>> > On Mon, Feb 13, 2017 at 11:44:57AM +0100, Axel
On 2/13/2017 8:47 PM, Jean-Jacques Hiblot wrote:
> Use OF_TRANSLATE for both u-boot and SPL to tell whether fdt address
> translation should be used.
>
> Signed-off-by: Jean-Jacques Hiblot
Vignesh has posted a similar patch[1].
[1]http://patchwork.ozlabs.org/patch/727131/
Thanks and regards,
Currently, arch/arm/mach-uniphier/boot-mode/boot-mode.c is messed up
with unrelated code; there is no reason why the "mmcsetn" command
must be placed in this file.
Split out the MMC code into arch/arm/mach-uniphier/mmc-first-dev.c.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Make
The spl_boot_mode() is unrelated to the other code in this file.
Besides, this function is only called from common/spl/spl_mmc.c,
so it is reasonable to guard with CONFIG_SPL_MMC_SUPPORT.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Makefile | 1 +
arch/arm/mach-uniph
The current implementation has ugly switch statements here and there,
and duplicates similar code. Rework it using table lookups for SoC
data and reduce code duplication.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Makefile| 2 +-
arch/arm/mach-uniphier/boar
On 02/13/2017 12:35 PM, Uri Mashiach wrote:
> A weak version of the function board_usb_init is implemented in:
> common/usb.c
> drivers/usb/host/xhci-omap.c
>
> To fix the double implementations:
> * Convert the board_usb_init function in drivers/usb/host/xhci-omap.c
> normal (not weak).
> * The
2017年2月13日 15:17于 Maxime Ripard 写道:
>
> Hi,
>
> On Sat, Feb 11, 2017 at 07:11:02PM +0800, Icenowy Zheng wrote:
> > @@ -0,0 +1,13 @@
> > +CONFIG_ARM=y
> > +CONFIG_ARCH_SUNXI=y
> > +# CONFIG_ARMV7_NONSEC is not set
>
> Why? It doesn't have Trustzone?
The CPU has Secure mode, but no TrustZone
On Mon, Feb 13, 2017 at 01:35:40PM +0200, Uri Mashiach wrote:
> A weak version of the function board_usb_init is implemented in:
> common/usb.c
> drivers/usb/host/xhci-omap.c
[snip]
> diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
> index bd1c809..21fa824 100644
> --- a/board/ti/dra7xx
serial# variable is used to correctly display device ID in
"fastboot devices". It also can be used further for displaying device ID
in "adb devices" (should be passed as "androidboot.serialno" to kernel
cmdline, via "bootargs" variable).
Serial number generating algorithm is described at [1].
[1]
On Mon, Feb 13, 2017 at 07:09:37PM +0200, Sam Protsenko wrote:
> serial# variable is used to correctly display device ID in
> "fastboot devices". It also can be used further for displaying device ID
> in "adb devices" (should be passed as "androidboot.serialno" to kernel
> cmdline, via "bootargs"
On Mon, Feb 13, 2017 at 05:11:09PM +0100, Axel Haslam wrote:
> Hi Tom
>
> On Mon, Feb 13, 2017 at 3:23 PM, Axel Haslam wrote:
> > On Mon, Feb 13, 2017 at 3:17 PM, Tom Rini wrote:
> >> On Mon, Feb 13, 2017 at 03:14:28PM +0100, Axel Haslam wrote:
> >>> Hi Tom
> >>>
> >>> On Mon, Feb 13, 2017 at 2:
The da850 soc's can boot from a external mmc card, but
the AIS image should be written to the correct sector.
Add instructions to copy the AIS image to a MMC card.
Signed-off-by: Axel Haslam
---
board/davinci/da8xxevm/README.da850 | 23 +++
1 file changed, 23 insertions(+)
Add a Kconfig option that enables Legacy image support, this allows
boards to explicitly disable this, for instance when needed for
security reasons.
Signed-off-by: Andrew F. Davis
Reviewed-by: Simon Glass
---
Kconfig | 8
common/spl/spl.c | 10 --
2 files changed, 16
Disable support for loading non-FIT images for AM335x platforms using
the high-security (HS) device variant.
Signed-off-by: Andrew F. Davis
Reviewed-by: Simon Glass
---
configs/am335x_hs_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am335x_hs_evm_defconfig b/config
Disable support for loading non-FIT images for DRA7xx platforms using
the high-security (HS) device variant.
Signed-off-by: Andrew F. Davis
Reviewed-by: Simon Glass
---
configs/dra7xx_hs_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/dra7xx_hs_evm_defconfig b/config
Hello all,
To address a needed feature brought up by Andreas[0], we need a way to
disable SPL from loading non-FIT images.
The function spl_parse_image_header is common to all SPL loading paths
(common/spl/spl_(nand|net|nor|etc..)) so we add the check here.
This version of the series is a bit di
Disable support for loading non-FIT images for AM43xx platforms using
the high-security (HS) device variant.
Signed-off-by: Andrew F. Davis
Reviewed-by: Simon Glass
---
configs/am43xx_hs_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am43xx_hs_evm_defconfig b/config
CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it
encounters RAW images, express this same functionality as a positive
option enabling support for RAW images: CONFIG_SPL_RAW_IMAGE_SUPPORT
Signed-off-by: Andrew F. Davis
---
Kconfig | 7 +++
READM
Disable support for loading non-FIT images for AM57xx platforms using
the high-security (HS) device variant.
Signed-off-by: Andrew F. Davis
Reviewed-by: Simon Glass
---
configs/am57xx_hs_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am57xx_hs_evm_defconfig b/config
On 02/10/2017 10:21 AM, Simon Glass wrote:
> Hi,
>
> On 2 February 2017 at 15:18, Grygorii Strashko
> wrote:
>>
>> Convert OMAP hsmmc driver to use driver-model block devices.
>>
>> Signed-off-by: Grygorii Strashko
>> ---
>> Hi All,
>>
>> First of all, sorry if my questions/problems are looks
Dear Wenyou,
On 13.02.17 03:07, Wenyou Yang wrote:
> The intention of this patch is the preparation to introduce
> the pinctrl driver for AT91 PIO.
>
> Use "union" to make the PIO3 and PIO2's registers be together
> and make their offset aligned.
unfortunately there is another breakage in this p
On Sat, 2017-02-11 at 04:41 +0100, Marek Vasut wrote:
> On 02/11/2017 02:15 AM, Dalon Westergreen wrote:
> >
> > This adds support for the spl to seach for and boot from an arbitrary
> > partition type rather then a specific partition number. When
> > USE_PARTITION_TYPE is enabled, spl will searc
1 - 100 of 140 matches
Mail list logo