On Wed, May 24, 2017 at 5:35 AM, Jernej Škrabec wrote:
> Hi,
>
> Dne sreda, 24. maj 2017 ob 03:00:16 CEST je Tom Rini napisal(a):
>> On Tue, May 23, 2017 at 11:05:30PM +0200, Jernej Skrabec wrote:
>> > This commit fixes the warning produced by gcc 7.1.
>> >
>> > Signed-off-by: Jernej Skrabec
>>
>
> -Original Message-
> From: york sun
> Sent: Tuesday, May 23, 2017 9:50 PM
> To: Suresh Gupta ; u-boot@lists.denx.de
> Cc: ja...@openedev.com
> Subject: Re: [PATCH] LS1012A: change the size of flash
>
> On 04/25/2017 02:20 AM, Suresh Gupta wrote:
> > LS1012A has S25FS512S flash of 64M s
Currently while setting the vsel value for dcdc1 and dcdc2
the driver is wrongly masking the entire 8 bits in the process
clearing PFM (bit7) field as well. Hence describe an appropriate
mask for vsel field and modify only those bits in the vsel
mask.
Source: http://www.ti.com/lit/ds/symlink/tps65
Hi,
Dne sreda, 24. maj 2017 ob 03:00:16 CEST je Tom Rini napisal(a):
> On Tue, May 23, 2017 at 11:05:30PM +0200, Jernej Skrabec wrote:
> > This commit fixes the warning produced by gcc 7.1.
> >
> > Signed-off-by: Jernej Skrabec
>
> Reviewed-by: Tom Rini
>
> And I'm curious, where is your gcc-
Hi,
I just upgraded my Arch Linux system to the latest arm-none-eabi-gcc
version which is "7.1.0-1" (from 6.3.1-1). After I did this I ran into
two issues. First, u-boot no longer links. I get several linker errors
[1]. Secondly, if I build a Linux kernel v4.10 image with this compiler
it won
On Tuesday 23 May 2017 05:25 PM, Vignesh R wrote:
> Enable USB nodes required to support RNDIS boot in SPL.
>
> Signed-off-by: Vignesh R
> ---
> arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 20
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/dts/am437x-gp-evm-u-b
Hi Simon,
On 05/20/2017 10:29 AM, Simon Glass wrote:
Hi Kever,
On 16 May 2017 at 21:44, Kever Yang wrote:
In rk3328, some function pin may have more than one choice, and muxed
with more than one IO, for example, the UART2 controller IO,
TX and RX, have 3 choice(setting in com_iomux):
- M0 wh
From: Tien Fong Chee
Move FPGA manager driver which is Gen5 specific code from arch/arm/
into FPGA driver at driver/fpga/. No functional change.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/Makefile | 1 -
arch/arm/mach-socfpga/fpga_manager.c | 78
From: Tien Fong Chee
Enable FPGA driver build for SPL because FPGA driver is needed for SPL
to configure and getting DDR up before loading U-boot into DDR and
booting from there.
Signed-off-by: Tien Fong Chee
---
drivers/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/Make
From: Tien Fong Chee
Add FPGA driver support for Arria 10.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 +
.../include/mach/fpga_manager_arria10.h| 100 +
drivers/fpga/Makefile | 1 +
drivers/fpga/socf
From: Tien Fong Chee
This patch is for enabling the FPGA driver support on SPL.
Signed-off-by: Tien Fong Chee
---
include/configs/socfpga_common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index da7e4ad..e74e7eb 1006
From: Tien Fong Chee
Move FPGA driver which is Gen5 specific code into Gen5 driver file
and keeping common FPGA driver intact. All the changes are still keeping
in driver/fpga/ and no functional change. Subsequent patch would move
FPGA manager driver from arch/arm into driver/fpga/.
Signed-off-b
From: Tien Fong Chee
Remove parameter from socfpga_bridges_reset(), and keeping this function
for single purpose which is just triggering reset on bridges.
socfpga_reset_deassert_bridges_handoff() can be called for releasing reset
on any bridges based on the bridge setting defined in fdt.
Signed
From: Tien Fong Chee
This is the 6th version of patchset to adds support for Intel Arria 10 SoC FPGA
driver. This version mainly resolved comments from Dinh in [v5].
This series is working on top of u-boot-socfpga-next branch
http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads
From: rick
Support Andestech ftsdc010 SD/MMC device tree flow
on AG101P/AE3XX platforms.
Verification : boot linux kernel from sd card
NDS32 # mmc rescan
NDS32 # fatls mmc 0:1
13938796 boomimage-310y-ag101p.bin
1 file(s)
NDS32 # fatload mmc 0:1 0x60 boomimage-310y-ag101p.bin
reading boom
Hi Tom,
Please pull the following patch from u-boot-nds32 into your tree.
Thanks!
The following changes since commit be71a179bdd935336fb0bee8283be729144ac965:
nds32: eth: Support ftmac100 DM. (2017-05-23 13:48:27 +0800)
are available in the git repository at:
git://git.denx.de/u-boot-nd
On Sel, 2017-05-23 at 09:11 -0500, Dinh Nguyen wrote:
>
> On 05/23/2017 01:25 AM, tien.fong.c...@intel.com wrote:
> >
> > From: Tien Fong Chee
> >
> > Enable FPGA driver build for SPL. FPGA driver is needed for SPL
> > to configure and getting DDR up before loading U-boot into DDR and
> > booti
2017-05-24 8:44 GMT+08:00 Simon Glass :
> Hi Eddie,
>
> On 22 May 2017 at 00:43, Eddie Cai wrote:
>> this patch enable rockusb support on rk3288 based device.
>>
>> Signed-off-by: Eddie Cai
>>
>> Changes in v6:
>> -enable rockusb in defconfig
>>
>> Changes in v5:
>> -none
>>
>> Changes in v4:
>>
On 5 May 2017 at 00:50, Kever Yang wrote:
> The rk8xx_priv structure need to allocate for driver, or else
> it will cause data abort when CPU access it.
>
> This is a bug fix for below patch set:
> https://www.mail-archive.com/u-boot@lists.denx.de/msg247345.html
>
> Signed-off-by: Kever Yang
> --
On Tue, May 23, 2017 at 11:05:30PM +0200, Jernej Skrabec wrote:
> This commit fixes the warning produced by gcc 7.1.
>
> Signed-off-by: Jernej Skrabec
Reviewed-by: Tom Rini
And I'm curious, where is your gcc-7.1 toolchain from, self built or
something else? Thanks!
--
Tom
signature.asc
D
Since priv->init_voltage is an unsigned integer it can never be
negative. So the current code fails to detect a missing
'regulator-init-microvolt' property and instead misconfigures the
PWM device. Fix this by making the relevant members of
'struct pwm_regulator_info' signed integers.
Signed-off
On 15 May 2017 at 03:49, Andy Yan wrote:
> Add driver to setup the various PLLs and peripheral
> clocks on the RK3368.
>
> Signed-off-by: Andy Yan
> ---
>
> Changes in v2:
> - fix typo in subject
> - remove CRU base definition in cru head file
> - Drop extra blank lines
>
> arch/arm/include/a
From: Andreas Färber
The RK3368 is an octa-core Cortex-A53 SoC from Rockchip.
This adds basic support to chain-load U-Boot from Rockchip's
miniloader.
Signed-off-by: Andreas Färber
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Changes in v2:
- remove directly reference of GRF and CRU
On 5 May 2017 at 11:21, Philipp Tomsich
wrote:
> With everything in place (i.e. the new efuse driver, the clk-support
> for the non-secure efuse block, and the board-specific functions to
> derive 'serial#' from the cpu-id within the efuses), enable this in
> the RK3399-Q7 defconfig.
>
> Signed-of
On 5 May 2017 at 11:21, Philipp Tomsich
wrote:
> With our efuse driver for the RK3399 ready, we can add the
> board-specific code that consumes the cpuid from the efuse block and
> postprocesses it into the system serial (using the same CRC32 based
> derivation as in Linux).
>
> We expose the cpui
On 17 May 2017 at 04:21, Meng Dongyang wrote:
Commit message?
> Signed-off-by: Meng Dongyang
> ---
> arch/arm/dts/rk3328-evb.dts | 8
> arch/arm/dts/rk3328.dtsi| 14 ++
> 2 files changed, 22 insertions(+)
Reviewed-by: Simon Glass
Applied to u-boot-rockchip, thanks!
On 15 May 2017 at 03:50, Andy Yan wrote:
> Add driver to support iomux setup for the most commonly
> used peripherals on rk3368.
>
> Signed-off-by: Andy Yan
> ---
>
> Changes in v2:
> - remove GRF base definition in cru head file
> - remove unused function
>
> arch/arm/include/asm/arch-rockchip/
On 17 May 2017 at 04:25, Meng Dongyang wrote:
Commit message?
> Signed-off-by: Meng Dongyang
> ---
> arch/arm/dts/rk3328-evb.dts | 5 +
> arch/arm/dts/rk3328.dtsi| 11 +++
> 2 files changed, 16 insertions(+)
>
Reviewed-by: Simon Glass
Applied to u-boot-rockchip, thanks!
___
Hi Simon:
On 2017年05月17日 09:38, Simon Glass wrote:
> On 15 May 2017 at 03:53, Andy Yan wrote:
>> Sheep board is designed by Rockchip as a EVB for rk3368.
>> Currently it is able to boot a linux kernel and system
>> to console with the miniloader run as fist level loader.
>>
>> Reviewed-by: Simon
On 15 May 2017 at 06:52, Kever Yang wrote:
> Embeded the shift in mask MACRO definition in cru header file
> and clock driver.
>
> Signed-off-by: Kever Yang
> ---
>
> Changes in v2:
> - split into two patches
>
> arch/arm/include/asm/arch-rockchip/cru_rk3036.h | 70 +++---
> driv
On 6 May 2017 at 13:21, Heiko Stuebner wrote:
> Till now get_ldo_reg did a return &rk808_ldo[num - 1]; to return
> the ldo register offset but didn't take into account that its
> calling functions already created the ldo as ldo = dev->driver_data - 1.
>
> This resulted in the setting for ldo8 writ
PX5 EVB is designed by Rockchip for automotive field
with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS
HDMI video input/output interface, audio codec ES8396,
WIFI / BT (on RTL8723BS), Gsensor BMA250E and light&proximity
sensor STK3410.
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Ch
On 15 May 2017 at 03:54, Andy Yan wrote:
> From: Andreas Färber
>
> The GeekBox is a TV box from GeekBuying, based on an MXM3 module.
> The module can be used with base boards such as the GeekBox Landingship.
> This adds basic support to chain-load U-Boot from Rockchip's miniloader.
>
> Signed-of
On 5 May 2017 at 11:22, Philipp Tomsich
wrote:
Commit message?
> Signed-off-by: Philipp Tomsich
> ---
>
> board/theobroma-systems/puma_rk3399/README | 5 ++---
> configs/puma-rk3399_defconfig | 1 +
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
Acked-by: Simon Glass
Appl
On 17 May 2017 at 04:21, Meng Dongyang wrote:
> Add defconfig for usb and ehci and ohci controller, config maximal
> number of ports of the root hub for ohci driver.
>
> Signed-off-by: Meng Dongyang
> ---
> configs/evb-rk3328_defconfig| 8
> include/configs/rk3328_common.h | 3 +++
>
From: Klaus Goger
Generate a MAC address based on the cpuid available in the efuse
block: Use the first 6 byte of the cpuid's SHA256 hash and set the
locally administered bits. Also ensure that the multicast bit is
cleared.
The MAC address is only generated and set if there is no ethaddr
present
This adds a simple driver for reading the efuse block of the RK3399.
It should be easy enough to add drivers for other devices (e.g. the
RK3328, RK3368, etc.) by passing the device details via driver_data.
Unlike the kernel driver (using the nvmem subsystem), we don't expose
the efuse as multiple
On 15 May 2017 at 06:52, Kever Yang wrote:
> - hclk/pclk_div range should use '<=' instead of '<'
> - use GPLL for pd_bus clock source
> - pd_bus HCLK/PCLK clock rate should not bigger than ACLK
>
> Signed-off-by: Kever Yang
> ---
>
> Changes in v2: None
>
> arch/arm/include/asm/arch-rockchip/cr
On 3 May 2017 at 17:29, Heiko Stuebner wrote:
>
> The option is named PINCTRL_ROCKCHIP_RK3399 not ROCKCHIP_RK3399_PINCTRL.
> Set the correct option.
>
> Signed-off-by: Heiko Stuebner
> ---
> configs/firefly-rk3399_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Sim
On 15 May 2017 at 06:52, Kever Yang wrote:
> U-Boot prefer to use MASKs with SHIFT embeded, clean the Macro
> definition in grf header file and pinctrl driver.
>
> Signed-off-by: Kever Yang
> ---
>
> Changes in v2:
> - add grf code clean
>
> arch/arm/include/asm/arch-rockchip/grf_rk3036.h | 133
Add sysreset driver to reset rk3368 SOC.
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
---
Changes in v2:
- slect soft reset source before reset
drivers/sysreset/Makefile | 1 +
drivers/sysreset/sysreset_rk3368.c | 62 ++
2 files changed, 63 i
On 4 May 2017 at 21:01, Kever Yang wrote:
> Some host like SD and eMMC may use DMA to transter data to SRAM,
> set memory to non-secure to make sure the address can be accessed.
>
> The security of SRAM in OS suppose to initialized in ATF bl31, and
> the SPL is before the bl31.
>
> Signed-off-by:
On 17 May 2017 at 04:21, Meng Dongyang wrote:
> Add config of max root ports and add config to enable xhci
> controller.
>
> Signed-off-by: Meng Dongyang
> ---
> configs/evb-rk3328_defconfig| 3 +++
> include/configs/rk3328_common.h | 3 +++
> 2 files changed, 6 insertions(+)
Reviewed-by: S
Hi Wadim,
On 15 May 2017 at 08:19, Wadim Egorov wrote:
> The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC.
> The module can be connected to different carrier boards.
> It can be also equipped with different RAM, SPI flash and eMMC variants.
> The Rapid Development Kit option
On 22 May 2017 at 11:48, Tom Rini wrote:
> In the case where a new build only decreases sizes and does not increase
> any size we still want to report what functions have been dropped when
> doing a bloat comparison.
>
> Cc: Simon Glass
> Signed-off-by: Tom Rini
> ---
> This is important when do
Hi,
On 23 May 2017 at 16:18, Andreas Färber wrote:
> Hi Heiko,
>
> Am 23.05.2017 um 23:27 schrieb Heiko Stuebner:
>> Am Dienstag, 23. Mai 2017, 17:14:19 CEST schrieb Tom Rini:
>>> On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote:
> From: Heiko Stuebner
> Date: Tue, 23 May 20
On 22 May 2017 at 01:42, wrote:
> From: Patrice Chotard
>
> Add support of generic PHY framework support
>
> Signed-off-by: Patrice Chotard
> ---
>
> v2: _ none
>
> drivers/usb/host/xhci-dwc3.c | 32
> 1 file changed, 32 insertions(+)
Reviewed-by: Simon Gl
Hi Tom,
On 22 May 2017 at 16:15, Tom Rini wrote:
> On Fri, May 19, 2017 at 08:30:43AM -0600, Simon Glass wrote:
>> This moves an entire board to use a live device tree as an example of the
>> impact.
>>
>> Nyan-big was chosen because I can easily and boot U-Boot without any
>> media swapping, etc
On 22 May 2017 at 01:42, wrote:
> From: Patrice Chotard
>
> DWC3 dual role mode is selected using DT "dr_mode"
> property. If not found, DWC3 controller is configured
> in HOST mode by default
>
> Signed-off-by: Patrice Chotard
> ---
>
> v2: _ none
>
> drivers/usb/host/xhci-dwc3.c | 9
On 22 May 2017 at 01:42, wrote:
> From: Patrice Chotard
>
> Add Driver Model support with use of generic DT
> compatible string "snps,dwc3"
>
> Signed-off-by: Patrice Chotard
> ---
>
> v2: _ use dev_get_addr() and removed useless piece of code
>
> drivers/usb/host/xhci-dwc3.c | 50
> +
Hi Eddie,
On 22 May 2017 at 00:43, Eddie Cai wrote:
> this patch enable rockusb support on rk3288 based device.
>
> Signed-off-by: Eddie Cai
>
> Changes in v6:
> -enable rockusb in defconfig
>
> Changes in v5:
> -none
>
> Changes in v4:
> -move to rk3288_common.h
>
> Changes in v3:
> -move to de
On Wed, May 24, 2017 at 04:49:41AM +0900, Nobuhiro Iwamatsu wrote:
> Hi Tom,
>
> Please pull ARM/r-mobile updates for v2017.07.
>
> The following changes since commit a375ff8e14bea0a5cbfff99d6456aa8d9a3320ab:
>
> Merge branch 'master' of git://www.denx.de/git/u-boot-imx
> (2017-05-18 17:17:45
At present if the PWM set_invert() method is not called then the flags are
not set up and the driver does not work properly. Fix this by setting up
the default flags when probing.
Signed-off-by: Simon Glass
Fixes: 874ee59 (rockchip: pwm: implement pwm_set_invert())
---
drivers/pwm/rk_pwm.c | 1
Hi Andre,
Am 23.05.2017 um 12:09 schrieb Andre Przywara:
> an updated version: the first patch is unchanged (still the exact
> same DT as in Linux), but the second patch reformats the Ethernet nodes
> as a .dtsi and uses the new U-Boot specific DT addon feature to make
> it clear that these nodes
Hi Heiko,
Am 23.05.2017 um 23:27 schrieb Heiko Stuebner:
> Am Dienstag, 23. Mai 2017, 17:14:19 CEST schrieb Tom Rini:
>> On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote:
From: Heiko Stuebner
Date: Tue, 23 May 2017 22:29:33 +0200
Hi Kever, Tom,
Am Dienst
Hi,
Am Dienstag, 23. Mai 2017, 17:14:19 CEST schrieb Tom Rini:
> On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote:
> > > From: Heiko Stuebner
> > > Date: Tue, 23 May 2017 22:29:33 +0200
> > >
> > > Hi Kever, Tom,
> > >
> > > Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Ya
On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote:
> > From: Heiko Stuebner
> > Date: Tue, 23 May 2017 22:29:33 +0200
> >
> > Hi Kever, Tom,
> >
> > Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang:
> > > This is not from kernel, seems the kernel mmc driver does not
This commit fixes the warning produced by gcc 7.1.
Signed-off-by: Jernej Skrabec
---
common/edid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/edid.c b/common/edid.c
index 19410aa4fc..854d40c8f8 100644
--- a/common/edid.c
+++ b/common/edid.c
@@ -295,7 +295,7 @@ st
> From: Heiko Stuebner
> Date: Tue, 23 May 2017 22:29:33 +0200
>
> Hi Kever, Tom,
>
> Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang:
> > This is not from kernel, seems the kernel mmc driver does not
> > support aliases now,
> >
> > thought I hope they both support the aliase
On Tue, May 23, 2017 at 10:29:33PM +0200, Heiko Stuebner wrote:
> Hi Kever, Tom,
>
> Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang:
> > This is not from kernel, seems the kernel mmc driver does not
> > support aliases now,
> >
> > thought I hope they both support the aliases f
Hi Kever, Tom,
Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang:
> This is not from kernel, seems the kernel mmc driver does not
> support aliases now,
>
> thought I hope they both support the aliases for ordering.
there was a lengthy discussion about the pros and cons of orderi
Hi Jernej,
On Mon, May 22, 2017 at 08:49:57PM +0200, Jernej Škrabec wrote:
> Dne ponedeljek, 22. maj 2017 ob 09:35:56 CEST je Maxime Ripard napisal(a):
> > On Fri, May 19, 2017 at 05:41:17PM +0200, Jernej Skrabec wrote:
> > > This commit adds support for TV (composite) output.
> > >
> > > Because
Hi Tom,
Please pull ARM/r-mobile updates for v2017.07.
The following changes since commit a375ff8e14bea0a5cbfff99d6456aa8d9a3320ab:
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
(2017-05-18 17:17:45 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-sh.git
Instead of having a peripheral clock of 50 MHz like the BCM63xx family, it
has a 48 MHz clock.
This fixes uart baud rate calculation for BCM3380.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm3380.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mip
This driver manages the high speed SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm63268.dtsi | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi
index 6
It's a Macronix (mx25l12805d) 16 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/comtrend,ar-5387un.dts| 12
configs/comtrend_ar5387un_ram_defconfig | 8
2 files changed, 20 insertions(+)
diff --git a/arch/mips/dts/comtrend,ar-5387un.dts
b/arch/
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm6328.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi
index a996075..67d
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c
Signed-off-by: Álvaro Fernández Rojas
---
drivers/spi/Kconfig | 8 +
drivers/spi/Makefile| 1 +
drivers/spi/bcm63xx_hsspi.c | 392
3 files changed, 401 in
BCM63xx HSSPI controller has the same issue as BCM63xx SPI controller: it
doesn't allow keeping CS active between transfers.
However, this controller allows changing CS polarities, which is used in the
linux upstream driver to manage CS as desired.
Álvaro Fernández Rojas (4):
dm: spi: add BCM63x
K2G ICE evm will have its own dtb. Therefore, add it to the list of dtbs
located in the appended U-boot dtb FIT image. Therefore, when swapping out
dtbs K2G ICE boards can grab the correct one.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 2 ++
1
Add basic DT support for K2G ICE evm. Only minimal peripherals are
supported to allow console output and MMC boot.
Signed-off-by: Franklin S Cooper Jr
---
Version 2 changes:
Updated to the dts recently accepted into the Linux kernel.
arch/arm/dts/Makefile | 3 ++-
arch/arm/
Add basic pinmux data for new K2G ICE evm. Also add pinmuxing for a
generic K2G evm which includes I2C 0 and 1 used for board detection
purposes.
Since multiple K2G boards are supported that means initially generic
pinmuxing should be used when board detection hasn't ran. Once board
detection runs
Certain peripherals used by K2G GP aren't used on K2G ICE evm. Or
configuration is slightly different. Therefore, use board detection to
deal with these variations.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 16 ++--
1 file changed,
This patch gives U-boot the runtime support to have the board specific
code decide which FDT to use. This is especially useful for devices
that need this type of runtime determination and also doesn't use SPL.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Lokesh Vutla
Reviewed-by: Tom Rini
-
Include K2G ICE to OF_LIST so it can be used for runtime board
detection.
Signed-off-by: Franklin S Cooper Jr
---
configs/k2g_evm_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index 7b105da..a5639ea 100644
---
From: Nishanth Menon
In some situations the EEPROM used for board detection may not be
programmed or simply programmed incorrectly. Therefore, it may be
necessary to "simulate" reading the contents of the EEPROM to set
appropriate variables used in the board detection code.
This may also be help
Runtime U-boot dtb selection is generally a two step process. First step
is to simply use an initial generic dtb. The second step is to select
the dtb and perhaps execute additional code ones U-boot knows what board
it is running on. Embedded_dtb_select handles the second step by allowing
board spe
Some code doesn't apply to K2G ICE evm. Therefore, use board detection to
wrap these calls.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/board/
Introduce K2G evm specific dtsi file for U-boot specific configurations.
This will help seperate U-boot only configurations thus making it easier to
keep device tree files synced between U-boot and Linux.
For now only add nodes to allow i2c drivers to be probed early during
the boot process.
Sign
Enable CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to allow "board_name" to
be set depending on the board it is being ran on.
Update findfdt to use this new dynamic board_name value to determine
which dtb should be used.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/b
Some K2G evms have their EEPROM programming while most do not. Therefore,
add EEPROM board detection to be used as the default method and fall back
to the alternative board detection when needed.
Also reorder board configuration. Perform bare minimal configuration
initially since board detection h
Disable netcp by default like all other peripherals in the dtsi file.
Enable the peripheral explicitly in the board specific dts file.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/dts/keystone-k2g-evm.dts| 4
arch/arm/dts/keystone-k2g-netcp.dtsi | 1 +
2 files changed, 5 insertions(
Add a function that can be used to determine if the board being ran on is
a K2G Industrial Communication Engine EVM or K2G General Purpose EVM based
on values programmed on the EEPROM.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.h | 20 ++
u-boot.bin is a copy of:
u-boot-fit-dtb.bin if CONFIG_FIT_EMBED is enabled,
u-boot-dtb.bin if CONFIG_OF_SEPARATE is enabled,
u-boot-nodtb.bin if DT is not enabled.
So, use u-boot.bin to to generate keystone images instead of
u-boot-dtb.bin
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Enable various config options to allow U-boot at runtime to select the
proper dtb to use from the list of dtb's within the FIT image.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
configs/k2e_evm_defconfig | 3 +++
configs/k2g_evm_defconfig | 3 +++
configs/k2hk_evm_defconfig
Add configuration settings used by the K2G ICE evm. Also use board
detection to determine which DDR3 configuration to use.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/ddr3_k2g.c | 62 +++--
1 file changed, 60 insertions(
Adding the unit address to the memory node was causing the below error:
Warning (reg_format): "reg" property in /memory has invalid length
(8 bytes) (#address-cells == 2, #size-cells == 2)
Further debugging showed that this was due to the memory node added by
default to skeleton.dtsi which was bei
Different K2G evms may need to program the various
KS2_DDRPHY_DATX8_X_OFFSET registers in different ways. Therefore, use
the mask and val registers for each KS2_DDRPHY_DATAX_X_OFFSET to
properly program the register.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach-ke
With U-boot runtime board detect for DTB selection a "default" dtb needs
to be created. This will be used temporarily until the "proper" dtb is
selected.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
Version 2 changes:
Added -u-boot.dtsi with U-boot specific dts changes.
arch/
Upstream Linux has the unit address being added to the various 66AK2Gx
boards dts. Therefore, update the dts to mimic this change.
Also remove memory node from the base K2G dtsi file.
Signed-off-by: Franklin S Cooper Jr
---
Version 2 changes:
This patch attempts to get the dts closer to what is
Future boards will need to configure DDR3 registers in a slightly
different manner. Support this by defining additional variables and
defines that will be utilized later.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach-keystone/include/mach/ddr3.h | 14 ++
For K2G, runtime DTB selection utilizes the embedded_dtb_select function.
Therefore, define the function which will perform a EEPROM read and then
retries selecting the correct dtb now that it can detect which board its
on. For other Keystone devices use an empty function since they will still
use
OF_LIST will be useable by SPL and U-boot. Therefore, update its
dependency to allow it to be enable by either SPL or U-boot specific
config option.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Lokesh Vutla
Acked-by: Andrew F. Davis
---
dts/Kconfig | 11 ++-
Now with support for U-boot runtime dtb selection each board needs to
define board_fit_config_name_match so U-boot can determine what the
correct dtb is within the FIT blob.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2e.c | 10 ++
board/ti/ks2
Add additional make targets and options for building embedded FIT U-boot
images.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
.gitignore | 1 +
Makefile | 18 --
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 7fa
K2G GP doesn't require the MR2 register to be programed since the
default is good enough. However, newer K2G boards do need to change
this register value. Therefore, instead of not writing this register if
ran on a K2G board just program the value to be written to match the
default/reset value.
Si
Some platforms may append a FIT image to the U-boot image. This function
aids in parsing the FIT image and selecting the correct DTB at runtime.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
common/Kconfig | 8
common/Makefile| 1 +
common/boot_fit.c | 58 +++
When the EEPROM is first read its contents are stored in memory as a
cache to avoid further I2C operations. To determine if the EEPROM was
previously read the easiest way is to check the memory to see if the
EEPROM's magic header value is set. Create a new function that can
determine if the EEPROM
Some of the functions within spl_fit will be used for non spl purposes.
Instead of duplicating functions simply break the functions to be reused
into its own file.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
---
common/Makefile | 1 +
common/common_
This patchset adds support for the new Keystone 2 Industrial Communication
Engine board.
This patchset includes the introduction of embedded FIT images in U-boot.
This creates a FIT image of dtb files that enables board specific code to
select which DTB to use at runtime. Initially during boot a g
1 - 100 of 177 matches
Mail list logo