On Fri, 21 Feb 2020 at 19:24, Lukasz Majewski wrote:
>
> Hi Nathan,
>
> > On Tue, 28 Jan 2020 at 20:26, Lukasz Majewski wrote:
> > >
> > > On Tue, 28 Jan 2020 17:50:03 +1000
> > > Nathan Rossi wrote:
> > >
> > > &g
On Sun, 2 Feb 2020 at 23:52, Wolfgang Denk wrote:
>
> Dear Nathan,
>
> In message <20200202130227.7755-1-nat...@nathanrossi.com> you wrote:
> > When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included
> > as part of the build. Use the CONFIG_ENV_SUPPORT, CONFIG_SPL_ENV_SUPPORT
> >
When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included
as part of the build. Use the CONFIG_ENV_SUPPORT, CONFIG_SPL_ENV_SUPPORT
or CONFIG_TPL_ENV_SUPPORT values to enable/disable the inclusion of
nvedit.
Signed-off-by: Nathan Rossi
---
Changes in v2:
* Changed $(SPL_) to
On Tue, 28 Jan 2020 at 20:26, Lukasz Majewski wrote:
>
> On Tue, 28 Jan 2020 17:50:03 +1000
> Nathan Rossi wrote:
>
> > On Mon, 27 Jan 2020 at 22:51, Lukasz Majewski wrote:
> > >
> > > Hi Nathan,
> > >
> > > > Handle selection of obj
Use CONFIG_$(SPL_)NET to conditionally select object files depending on
the SPL or U-Boot specific configuration.
Signed-off-by: Nathan Rossi
---
net/Makefile | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/net/Makefile b/net/Makefile
index fef71b940a..8e45103168
Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET to match CONFIG_NET
so that CONFIG_$(SPL_)NET can be used to conditionally select build
objects between SPL and U-Boot.
Signed-off-by: Nathan Rossi
---
Changes in v2:
- Missed entry in common/spl/Makefile that already has conditional
prefix
Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET to match CONFIG_NET
so that CONFIG_$(SPL_)NET can be used to conditionally select build
objects between SPL and U-Boot.
Signed-off-by: Nathan Rossi
---
common/Makefile | 2 +-
common/spl/Kconfig
Use CONFIG_$(SPL_)NET to conditionally select object files depending on
the SPL or U-Boot specific configuration.
Signed-off-by: Nathan Rossi
---
net/Makefile | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/net/Makefile b/net/Makefile
index fef71b940a..8e45103168
On Tue, 28 Jan 2020 at 02:51, Tom Rini wrote:
>
> On Mon, Jan 27, 2020 at 12:40:17PM +, Nathan Rossi wrote:
>
> > Whilst the net/ directory is excluded from libs-y when
> > CONFIG_SPL_NET_SUPPORT is disabled, this does not prevent SPL builds
> > trying to compi
ature -
> could you run:
>
> ./tools/buildman/buildman.py --branch=HEAD siemens samsung bbb
> --detail --verbose --show_errors --force-build --count=1
> --output-dir=./BUILD/
Running this showed no regressions. Also I noticed "bbb" does not
refer to any board
: Nathan Rossi
---
net/Makefile | 4
1 file changed, 4 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index fef71b940a..0f57244015 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -5,6 +5,10 @@
#ccflags-y += -DDEBUG
+ifdef CONFIG_SPL_BUILD
+CONFIG_NET = $(CONFIG_SPL_NET_SUPPORT)
+endif
Handle selection of objects based on $(SPL_) to allow for normal and SPL
builds to have differing object compilation.
Signed-off-by: Nathan Rossi
---
drivers/usb/gadget/Makefile | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb
When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included
as part of the build. Use the CONFIG_SPL_ENV_SUPPORT value as well as
the non SPL CONFIG_ENV_SUPPORT variable to enable/disable the inclusion
of nvedit.
Signed-off-by: Nathan Rossi
---
cmd/Makefile | 2 +-
1 file changed
On 16 March 2018 at 07:49, Alexander Graf wrote:
> The zynqmp image format has support for inline partitions which are
> used by FSBL to describe payloads that are loaded by FSBL itself.
>
> While we can't create images that contain partitions (yet), we should
> still at least be able to examine t
On 4 April 2017 at 17:20, Michal Simek wrote:
> On 3.4.2017 13:38, Jean-Francois Dagenais wrote:
>>
>>> On Apr 3, 2017, at 02:55, Michal Simek wrote:
>>>
>>> This is not only one way how to configure system. You can use
>>> psu_init*.tcl and configure chip through jtag and then you don't need
>>>
("net: gem: Fix gem driver on 1Gbps LAN")
Signed-off-by: Nathan Rossi
Tested-by: Arno Steffens
Cc: Joe Hershberger
Cc: Michal Simek
---
drivers/net/zynq_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index
his change makes the dram_init* functions use a generic implementation
of decoding and populating memory bank and size data.
Signed-off-by: Nathan Rossi
Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT")
Cc: Michal Simek
---
board/xilinx/z
data.
Signed-off-by: Nathan Rossi
Fixes: 758f29d0f8 ("ARM: zynq: Support systems with more memory banks")
Cc: Michal Simek
---
board/xilinx/zynq/board.c | 112 ++
1 file changed, 3 insertions(+), 109 deletions(-)
diff --git a/board/xilinx/zy
with an #if on
CONFIG_NR_DRAM_BANKS, so that the function is only available for
configs that have memory banks available in bd_t.
Nathan Rossi (3):
fdt: add memory bank decoding functions for board setup
ARM: zynq: Replace board specific with generic memory bank decoding
ARM64: zynqmp
from the boards dram_init_banksize().
Signed-off-by: Nathan Rossi
Cc: Simon Glass
Cc: Michal Simek
Reviewed-by: Simon Glass
---
v2:
* Make fdtdec_setup_memory_banksize() return value consistent
* Add more detail into the function documentation
v3:
* Wrap the fdtdec_setup_memory_banksize() func
from the boards dram_init_banksize().
Signed-off-by: Nathan Rossi
Cc: Simon Glass
Cc: Michal Simek
Reviewed-by: Simon Glass
---
v2:
* Make fdtdec_setup_memory_banksize() return value consistent
* Add more detail into the function documentation
This implementation of decoding has been tested on
his change makes the dram_init* functions use a generic implementation
of decoding and populating memory bank and size data.
Signed-off-by: Nathan Rossi
Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT")
Cc: Michal Simek
---
board/xilinx/z
and zynqmp board implementations to use
these functions to resolve a issue with static variable use.
Changes in v2:
* Make fdtdec_setup_memory_banksize() return value consistent
* Add more detail into the function documentation
Nathan Rossi (3):
fdt: add memory bank decoding functions for
data.
Signed-off-by: Nathan Rossi
Fixes: 758f29d0f8 ("ARM: zynq: Support systems with more memory banks")
Cc: Michal Simek
---
board/xilinx/zynq/board.c | 112 ++
1 file changed, 3 insertions(+), 109 deletions(-)
diff --git a/board/xilinx/zy
On 12 December 2016 at 06:27, Simon Glass wrote:
> Hi Nathan,
>
> On 11 December 2016 at 08:58, Nathan Rossi wrote:
>> Add two functions for use by board implementations to decode the memory
>> banks of the /memory node so as to populate the global data with
>> ram_siz
On 12 December 2016 at 03:08, Igor Grinberg wrote:
> On 12/11/16 18:47, Nathan Rossi wrote:
>> On 12 December 2016 at 01:08, Igor Grinberg wrote:
>>> Hi Nathan,
>>>
>>> On 12/11/16 15:58, Nathan Rossi wrote:
>>>> This series adds two fun
On 12 December 2016 at 01:08, Igor Grinberg wrote:
> Hi Nathan,
>
> On 12/11/16 15:58, Nathan Rossi wrote:
>> This series adds two functions for handling the memory bank decoding and
>> initialization of global data for use by boards in their dram_init and
>> dram_ini
his change makes the dram_init* functions use a generic implementation
of decoding and populating memory bank and size data.
Signed-off-by: Nathan Rossi
Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT")
Cc: Michal Simek
---
board/xilinx/z
from the boards dram_init_banksize().
Signed-off-by: Nathan Rossi
Cc: Simon Glass
Cc: Michal Simek
---
This implementation of decoding has been tested on zynq and zynqmp
boards with address/size cells of (1, 1), (1, 2), (2, 1), (2, 2) and
up to 2 memory banks.
---
include/fdtd
data.
Signed-off-by: Nathan Rossi
Fixes: 758f29d0f8 ("ARM: zynq: Support systems with more memory banks")
Cc: Michal Simek
---
board/xilinx/zynq/board.c | 112 ++
1 file changed, 3 insertions(+), 109 deletions(-)
diff --git a/board/xilinx/zy
variable use.
Nathan Rossi (3):
fdt: add memory bank decoding functions for board setup
ARM: zynq: Replace board specific with generic memory bank decoding
ARM64: zynqmp: Replace board specific with generic memory bank
decoding
board/xilinx/zynq/board.c| 112
es the existing code and copies the implementation of
the dram_init and dram_init_banksize from the
arch/arm/mach-uniphier/dram_init.c source. This version of these
functions does not use static variables and behaves the same (reading
banks from fdt, and using the first bank as the ram_size).
Signed-
uring auto-negotiation.
Signed-off-by: Nathan Rossi
Cc: Joe Hershberger
Cc: Michal Simek
Cc: Stefan Roese
---
drivers/net/phy/marvell.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index d2e68d4..58d287b 100644
--- a/d
On Thu, Jun 2, 2016 at 3:59 PM, Michal Simek wrote:
> On 2.6.2016 07:42, Stefan Roese wrote:
>> Hi Michal,
>>
>> On 02.06.2016 07:31, Michal Simek wrote:
>>> On 1.6.2016 18:22, Nathan Rossi wrote:
>>>> Commit a058052c "net: phy: do not read con
://parallella.org/
Signed-off-by: Nathan Rossi
Cc: Albert Aribaud
Cc: Michal Simek
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/zynq-parallella.dts | 96 +++
configs/zynq_parallella_defconfig | 36 +++
include/configs/zynq_parallella.h
that auto-negotiation occurs after reset.
Signed-off-by: Nathan Rossi
Cc: Joe Hershberger
Cc: Michal Simek
Cc: Stefan Roese
---
drivers/net/phy/marvell.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
ind
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote:
> Add missing DT nodes and enable USB.
>
> Signed-off-by: Michal Simek
Reviewed-by: Nathan Rossi
> ---
>
> arch/arm/dts/zynq-microzed.dts | 38 +-
> configs/zynq_microzed_defconfig
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote:
> Keep nodes alphabelitally sorted.
>
> Signed-off-by: Michal Simek
Reviewed-by: Nathan Rossi
> ---
>
> arch/arm/dts/zynq-zc702.dts | 10 +-
> arch/arm/dts/zynq-zc706.dts | 10 +-
> arch/
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote:
> From: Christian Kohn
>
> Add missing adv7511 and configure to match Base TRD.
>
> Signed-off-by: Christian Kohn
> Signed-off-by: Michal Simek
Reviewed-by: Nathan Rossi
> ---
>
> arch/arm/dts/zynq-zc706.dts | 1
Enable u-boot,dm-pre-reloc for qspi for zc706, zed and microzed.
Signed-off-by: Nathan Rossi
Cc: Albert Aribaud
Cc: Michal Simek
Cc: Simon Glass
---
arch/arm/dts/zynq-microzed.dts | 1 +
arch/arm/dts/zynq-zc706.dts| 1 +
arch/arm/dts/zynq-zed.dts | 1 +
3 files changed, 3 insertions
This feature is required in SPL to enable support for loading from SPI
flash.
Also clean up the #define in socfpga_common.h.
Signed-off-by: Nathan Rossi
Reviewed-by: Stefan Roese
Cc: Dinh Nguyen
Cc: Chin-Liang See
Cc: Marek Vasut
Cc: Stefan Roese
---
v2: Added this patch
v3: Dropped config
Select SPL_DM_SEQ_ALIAS which is required for certain uclasses,
specifically SPI Flash.
Signed-off-by: Nathan Rossi
Reviewed-by: Stefan Roese
Cc: Albert Aribaud
Cc: Stefan Roese
---
v2: Added this patch
v3: no changes.
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a
Add a config option for SPL_DM_SEQ_ALIAS and enable it for the Zynq
targets which require it for SPI flash support in SPL.
Changes in v2:
* Add patches to enable the config for mvebu and socfpga targets.
Changes in v3:
* Removed de0nano and mcvevk boards from socfpga config patch
Nathan
: Nathan Rossi
Acked-by: Simon Glass
Acked-by: Michal Simek
Cc: Simon Glass
Cc: Masahiro Yamada
Cc: Linus Walleij
Cc: Marek Vasut
Cc: Michal Simek
Cc: Stefan Roese
---
v2: no changes.
v3: no changes.
---
drivers/core/Kconfig | 9 +
drivers/core/device.c | 2 +-
include
This feature is required in SPL to enable support for loading from SPI
flash.
Also clean up the #define in socfpga_common.h.
Signed-off-by: Nathan Rossi
Cc: Dinh Nguyen
Cc: Chin-Liang See
Cc: Marek Vasut
Cc: Stefan Roese
---
v2: Added this patch
---
configs/socfpga_arria5_defconfig
Select SPL_DM_SEQ_ALIAS which is required for certain uclasses,
specifically SPI Flash.
Signed-off-by: Nathan Rossi
Cc: Albert Aribaud
Cc: Stefan Roese
---
v2: Added this patch
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index
This feature is required in SPL to enable support for loading from SPI
flash when the device is booted from QSPI.
Signed-off-by: Nathan Rossi
Cc: Michal Simek
---
v2: no changes.
---
configs/zynq_microzed_defconfig| 1 +
configs/zynq_picozed_defconfig | 1 +
configs
: Nathan Rossi
Acked-by: Simon Glass
Acked-by: Michal Simek
Cc: Simon Glass
Cc: Masahiro Yamada
Cc: Linus Walleij
Cc: Marek Vasut
Cc: Michal Simek
Cc: Stefan Roese
---
v2: no changes.
---
drivers/core/Kconfig | 9 +
drivers/core/device.c | 2 +-
include/config_uncmd_spl.h
Add a config option for SPL_DM_SEQ_ALIAS and enable it for the Zynq
targets which require it for SPI flash support in SPL.
Changes in v2:
* Add patches to enable the config for mvebu and socfpga targets.
Nathan Rossi (4):
spl: dm: Add SPL_DM_SEQ_ALIAS config option
arm: zynq: Enable
On Mon, Dec 14, 2015 at 5:29 PM, Michal Simek wrote:
> On 14.12.2015 07:26, Stefan Roese wrote:
>> On 12.12.2015 15:08, Nathan Rossi wrote:
>>> On Sat, Dec 12, 2015 at 10:05 PM, Stefan Roese wrote:
>>>> On 11.12.2015 18:32, Marek Vasut wrote:
>>>>>
&
On Sat, Dec 12, 2015 at 10:05 PM, Stefan Roese wrote:
> On 11.12.2015 18:32, Marek Vasut wrote:
>>
>> On Friday, December 11, 2015 at 04:46:40 PM, Michal Simek wrote:
>>>
>>> On 11.12.2015 16:07, Marek Vasut wrote:
>>>>
>>>> On Fri
This feature is required in SPL to enable support for loading from SPI
flash when the device is booted from QSPI.
Signed-off-by: Nathan Rossi
Cc: Michal Simek
---
configs/zynq_microzed_defconfig| 1 +
configs/zynq_picozed_defconfig | 1 +
configs/zynq_zc702_defconfig | 1
: Nathan Rossi
Cc: Simon Glass
Cc: Masahiro Yamada
Cc: Linus Walleij
Cc: Marek Vasut
Cc: Michal Simek
---
Based on a small amount of inspection for the Zynq platform, enabling
this config option adds ~1KB of code size.
Also on a side note, this might affect the socfpga target as it forcibly
Add a config option for SPL_DM_SEQ_ALIAS and enable it for the Zynq
targets which require it for SPI flash support in SPL.
Nathan Rossi (2):
spl: dm: Add SPL_DM_SEQ_ALIAS config option
arm: zynq: Enable SPL_DM_SEQ_ALIAS for all Zynq configs
configs/zynq_microzed_defconfig| 1 +
configs
Clean up the param checking, removing some code paths that will never
happen.
Signed-off-by: Nathan Rossi
Cc: Michal Simek
Cc: Tom Rini
---
tools/zynqimage.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/zynqimage.c b/tools/zynqimage.c
index 25f558d..c43bd5d
The Device Model sequence alias feature is required by some Uclasses.
Specifically SPI which picks the bus to use based on the sequence.
Without this the SPI Uclass will not probe any bus and will fail which
prevents SPL from using SPI flash as a boot location.
Signed-off-by: Nathan Rossi
Cc
Update the ZYBO device tree and enable config options that relate to the
added devices in the device tree.
Signed-off-by: Nathan Rossi
Cc: Albert Aribaud
Cc: Michal Simek
Cc: Simon Glass
---
arch/arm/dts/zynq-zybo.dts | 18 ++
configs/zynq_zybo_defconfig | 3 +++
include
mode is disabled before re-enabling the
device.
Signed-off-by: Nathan Rossi
Cc: Jagan Teki
Cc: Siva Durga Prasad Paladugu
Cc: Simon Glass
---
drivers/spi/zynq_qspi.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/spi/zynq_qspi.c b/drivers/spi/zynq_qspi.c
index 5825c6d
Add a build target to generate 'boot.bin' which includes SPL. This is
used by the platforms BootROM to load SPL directly.
This change also conditionally changes what the 'boot.bin' target
generates depending on the SoC. Leaving the behaviour unchanged for the
AT91 targets.
S
or image dumping use cases (vector table and
register initialization).
Signed-off-by: Nathan Rossi
Cc: Michal Simek
Cc: Tom Rini
Reviewed-by: Tom Rini
---
Changes in v2:
* Remove code that was used for testing
---
common/image.c| 1 +
include/image.h | 3 +-
tools/Makefile| 1
This patch series adds support for the 'zynqimage' type to mkimage for
the Xilinx Zynq platform. As well as adding make targets to generate
the boot.bin image file containing SPL by default.
Changes in v2:
* Remove test code
Nathan Rossi (2):
tools: zynqimage: Add Xilinx Zynq b
On Wed, Nov 11, 2015 at 9:46 PM, Nathan Rossi wrote:
> As with other platforms vendors love to create their own boot header
> formats. Xilinx is no different and for the Zynq platform/SoC there
> exists the "boot.bin" which is read by the platforms bootrom. This
> format is
This patch series adds support for the 'zynqimage' type to mkimage for
the Xilinx Zynq platform. As well as adding make targets to generate
the boot.bin image file containing SPL by default.
Nathan Rossi (2):
tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage
ARM:
or image dumping use cases (vector table and
register initialization).
Signed-off-by: Nathan Rossi
Cc: Michal Simek
Cc: Tom Rini
---
common/image.c| 1 +
include/image.h | 3 +-
tools/Makefile| 1 +
tools/zynqimage.c | 259 ++
Add a build target to generate 'boot.bin' which includes SPL. This is
used by the platforms BootROM to load SPL directly.
This change also conditionally changes what the 'boot.bin' target
generates depending on the SoC. Leaving the behaviour unchanged for the
AT91 targets.
S
itionally remove the function prototypes as they are not required due
to the functions being declared static and functions are correctly
ordered based on dependence.
Signed-off-by: Nathan Rossi
Cc: Michal Simek
Cc: Tom Rini
---
arch/microblaze/include/asm/bitops.h | 63 -
Fix various style issues in MicroBlaze header files. Specifically fixing
style voilations including '__inline__', 'foo * bar' and 'void foo ('.
Signed-off-by: Nathan Rossi
Cc: Michal Simek
Cc: Tom Rini
---
arch/microblaze/include/asm/bitops.h | 66
some code style
clean up, followed by the patch that fixes the compatiblity.
Nathan Rossi (2):
microblaze: Fix style issues in header files
microblaze: Fix C99/gnu99 compatiblity for inline functions
arch/microblaze/include/asm/bitops.h | 63
arch
It is possible for CONFIG_XILINX_EMACLITE to be defined without
XILINX_EMACLITE_BASEADDR being defined as the EMAC Lite driver support
OF init. Check that the driver is enabled and the base address is
available before initializing with a static base address.
Signed-off-by: Nathan Rossi
/picozed
Signed-off-by: Nathan Rossi
---
arch/arm/cpu/armv7/zynq/Kconfig |4
arch/arm/dts/Makefile |1 +
arch/arm/dts/zynq-picozed.dts | 23 +++
configs/zynq_picozed_defconfig |6 ++
include/configs/zynq_picozed.h | 28
70 matches
Mail list logo