[PATCH 2/2] ARM: zynqmp: defconfig: reenable DRIVER_NET_MACB

2019-11-18 Thread Michael Tretter
R_NET_MACB. Signed-off-by: Michael Tretter --- arch/arm/configs/zynqmp_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/zynqmp_defconfig b/arch/arm/configs/zynqmp_defconfig index 50b7556081..762103c541 100644 --- a/arch/arm/configs/zynqmp_defconfig +++ b/arch/a

[PATCH 1/2] ARM: zynqmp: defconfig: fix FIRMWARE_ZYNQMP_FPGA

2019-11-18 Thread Michael Tretter
The config item has been renamed from FIRMWARE_ZYNQMP_PL to FIRMWARE_ZYNQMP_FPGA, but the defconfig has not been updated. Update it now. Signed-off-by: Michael Tretter --- arch/arm/configs/zynqmp_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs

Re: [PATCH 2/5] firmware-zynqmp: extend driver with fpga relavant functions

2019-10-24 Thread Michael Tretter
On Thu, 24 Oct 2019 10:26:51 +, Thomas Hämmerle wrote: > From: Thomas Haemmerle > > Port functions from xlnx-linux to get FPGA status and invoke bitstream > loading. > > Signed-off-by: Thomas Haemmerle Reviewed-by: Michael Tretter > --- > arch/arm/mach-

Re: [PATCH 3/5] firmware: zynqmp-fpga: introduce driver to load bitstream to FPGA

2019-10-24 Thread Michael Tretter
On Thu, 24 Oct 2019 10:26:51 +, Thomas Hämmerle wrote: > From: Thomas Haemmerle > > The driver provides functionalities to check and load a bitstream to FPGA. > A boolean parameter to check if FPGA is already programmed is > added. > > Signed-off-by: Thomas Haemmerle > --- >

Re: [PATCH 1/5] ARM: zynqmp: dts: move firmware node to src tree

2019-10-24 Thread Michael Tretter
On Thu, 24 Oct 2019 10:26:50 +, Thomas Hämmerle wrote: > From: Michael Tretter > > The firmware node will be added to the mainline device tree. As it will > eventually enter Barebox via a device tree sync, add it to the src tree > already. Not sure, but I think that

[PATCH v2] blspec: skip entries that are not blspec entries

2019-09-24 Thread Michael Tretter
with blspec entries, e.g.: boot -l bootchooser /mnt/nfs Check if a bootentry is a blspec entry by testing if the boot function is blspec_boot. Reported-by: Thomas Hämmerle Signed-off-by: Michael Tretter --- Changelog: v1->v2: - fix compilation error --- common/blspec.c |

Re: [PATCH] blspec: skip entries that are not blspec entries

2019-09-24 Thread Michael Tretter
On Mon, 23 Sep 2019 20:30:35 +0200, Ahmad Fatoum wrote: > On 9/20/19 2:44 PM, Michael Tretter wrote: > > The list of boot entries can contain items that are not blspec entries. > > For example, the bootchooser also adds an item to this list. Therefore, > > blspec cannot unco

[PATCH] blspec: skip entries that are not blspec entries

2019-09-20 Thread Michael Tretter
with blspec entries, e.g.: boot -l bootchooser /mnt/nfs Check if a bootentry is a blspec entry by testing if the boot function is blspec_boot. Reported-by: Thomas Hämmerle Signed-off-by: Michael Tretter --- common/blspec.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v3 1/8] of: add support for devicetree overlays

2019-09-13 Thread Michael Tretter
to whatever tree is fixed. This is necessary to apply the overlay to devicetrees that are passed to Linux, which might differ from the devicetree that is currently live in Barebox. Signed-off-by: Michael Tretter --- Changelog: v2->v3: none v1->v2: - export function for applying a device tree o

[PATCH v3 4/8] firmware: add function to find firmware by devicetree node

2019-09-13 Thread Michael Tretter
Allows to get the firmware manager using a phandle from the devicetree. Signed-off-by: Michael Tretter --- Changelog: v2->v3: - new separate patch for adding the function --- common/firmware.c | 18 ++ include/firmware.h | 15 +++ 2 files changed, 33 inserti

[PATCH v3 5/8] firmware: add support to load firmware from dt overlay

2019-09-13 Thread Michael Tretter
, finds the responsible firmware_mgr and loads the firmware. Signed-off-by: Michael Tretter --- Changelog: v2->v3: - move functions from firmware to new module of_firmware - rename function accordingly - return success whenever there is no firmware in the overlay v1->v2: none --- d

[PATCH v3 0/8] Device Tree Overlay Support

2019-09-13 Thread Michael Tretter
blspec handling - document ownership of overlay memory rfc -> v1: - new of_overlay command - no more notifiers for device tree overlays Michael Tretter (8): of: add support for devicetree overlays blspec: add support for devicetree overlays of: add iterator for overlays firmware: add

[PATCH v3 6/8] blspec: load firmware if specified in dt overlay

2019-09-13 Thread Michael Tretter
If a device tree overlay referenced by the blspec depends on firmware, try to load the firmware from the default Linux firmware search path /lib/firmware in the about to be started rootfs. Signed-off-by: Michael Tretter --- Changelog: v2->v3: - fix name of of_firmware_load_overlay() - pr

[PATCH v3 2/8] blspec: add support for devicetree overlays

2019-09-13 Thread Michael Tretter
Read the devicetree-overlay property from the blspec entry and register the overlays when booting the blspec entry. Do not fail the boot if an overlay cannot be loaded, because if Linux fails to boot without an overlay, the base device tree is broken. Signed-off-by: Michael Tretter

[PATCH v3 7/8] commands: add of_overlay command for device tree overlays

2019-09-13 Thread Michael Tretter
Add a new command "of_overlay" for applying device tree overlays, because it does not really fit into any other device tree related command and would create a mess with the command options. Signed-off-by: Michael Tretter --- Changelog: v2->v3: - select OF_OVERLAY from CMD_OF_OVERL

[PATCH v3 3/8] of: add iterator for overlays

2019-09-13 Thread Michael Tretter
tree overlay internal information in other modules. Signed-off-by: Michael Tretter --- Changelog: v2->v3: - clarify warning if process fails - move phandle resolving step to caller v1->v2: - add static inline for function stub --- drivers/of/overlay.

[PATCH v3 8/8] dtc: optionally add add __symbols__ to build-in devicetree

2019-09-13 Thread Michael Tretter
-by: Michael Tretter --- Changelog: v2->v3: - make __symbols__ configurable v1->v2: none --- drivers/of/Kconfig | 17 + scripts/Makefile.lib | 4 2 files changed, 21 insertions(+) diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 1bb6639c5a..fd820b26f5

Re: [PATCH v2 7/7] commands: add of_overlay command for device tree overlays

2019-09-11 Thread Michael Tretter
On Wed, 11 Sep 2019 09:55:34 +0200, Ahmad Fatoum wrote: > On 9/6/19 3:20 PM, Michael Tretter wrote: > > Add a new command "of_overlay" for applying device tree overlays, > > because it does not really fit into any other device tree related > > command and would

[PATCH v2 2/7] of: add support for devicetree overlays

2019-09-06 Thread Michael Tretter
to whatever tree is fixed. This is necessary to apply the overlay to devicetrees that are passed to Linux, which might differ from the devicetree that is currently live in Barebox. Signed-off-by: Michael Tretter --- Changelog: v1->v2: - export function for applying a device tree overlay - def

[PATCH v2 4/7] of: add iterator for overlays

2019-09-06 Thread Michael Tretter
tree overlay internal information in other modules. Signed-off-by: Michael Tretter --- Changelog: v1->v2: - add static inline for function stub --- drivers/of/overlay.c | 45 include/of.h | 13 + 2 files changed, 58 inserti

[PATCH v2 6/7] blspec: load firmware if specified in dt overlay

2019-09-06 Thread Michael Tretter
If a device tree overlay referenced by the blspec depends on firmware, try to load the firmware from the default Linux firmware search path /lib/firmware in the about to be started rootfs. Signed-off-by: Michael Tretter --- Changelog: v1->v2: none --- common/blspec.c | 16

[PATCH v2 5/7] firmware: add support to load firmware from dt overlay

2019-09-06 Thread Michael Tretter
, finds the responsible firmware_mgr and loads the firmware. Signed-off-by: Michael Tretter --- Changelog: v1->v2: none --- common/firmware.c | 77 ++ include/firmware.h | 3 ++ 2 files changed, 80 insertions(+) diff --git a/common/firmware.c b/com

[PATCH v2 1/7] dtc: add -@ option to enable __symbols__

2019-09-06 Thread Michael Tretter
The devicetree overlay driver requires the __symbols__ node to resolve phandles to the base devicetree. As Barebox applies the overlay to the live devicetree, the build-in devicetree must be built with the __symbols__ node. Signed-off-by: Michael Tretter --- Changelog: v1->v2: n

[PATCH v2 7/7] commands: add of_overlay command for device tree overlays

2019-09-06 Thread Michael Tretter
Add a new command "of_overlay" for applying device tree overlays, because it does not really fit into any other device tree related command and would create a mess with the command options. Signed-off-by: Michael Tretter --- Changelog: v1->v2: none --- commands/Kcon

[PATCH v2 0/7] Device Tree Overlay Support

2019-09-06 Thread Michael Tretter
g/memory leak in blspec handling - document ownership of overlay memory rfc -> v1: - new of_overlay command - no more notifiers for device tree overlays Michael Tretter (7): dtc: add -@ option to enable __symbols__ of: add support for devicetree overlays blspec: add support for dev

Re: [PATCH 2/7] of: add support for devicetree overlays

2019-09-06 Thread Michael Tretter
On Thu, 05 Sep 2019 17:24:08 +0200, Ahmad Fatoum wrote: > On 9/5/19 12:51 PM, Michael Tretter wrote: > > The devicetree overlay support is based on the Linux driver for device > > tree overlays, but many features that are not required in Barebox are > > left out. > &g

[PATCH 2/7] of: add support for devicetree overlays

2019-09-05 Thread Michael Tretter
to whatever tree is fixed. This is necessary to apply the overlay to devicetrees that are passed to Linux, which might differ from the devicetree that is currently live in Barebox. Signed-off-by: Michael Tretter --- drivers/of/Kconfig| 9 ++ drivers/of/Makefile | 1 + drivers/of/overlay.c

[PATCH 7/7] commands: add of_overlay command for device tree overlays

2019-09-05 Thread Michael Tretter
Add a new command "of_overlay" for applying device tree overlays, because it does not really fit into any other device tree related command and would create a mess with the command options. Signed-off-by: Michael Tretter --- commands/Kconfig | 12 ++ commands/Makefil

[PATCH 6/7] blspec: load firmware if specified in dt overlay

2019-09-05 Thread Michael Tretter
If a device tree overlay referenced by the blspec depends on firmware, try to load the firmware from the default Linux firmware search path /lib/firmware in the about to be started rootfs. Signed-off-by: Michael Tretter --- common/blspec.c | 16 1 file changed, 16 insertions

[PATCH 5/7] firmware: add support to load firmware from dt overlay

2019-09-05 Thread Michael Tretter
, finds the responsible firmware_mgr and loads the firmware. Signed-off-by: Michael Tretter --- common/firmware.c | 77 ++ include/firmware.h | 3 ++ 2 files changed, 80 insertions(+) diff --git a/common/firmware.c b/common/firmware.c index 9d55d73e7a

[PATCH 4/7] of: add iterator for overlays

2019-09-05 Thread Michael Tretter
tree overlay internal information in other modules. Signed-off-by: Michael Tretter --- drivers/of/overlay.c | 45 include/of.h | 13 + 2 files changed, 58 insertions(+) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index

[PATCH 0/7] Device Tree Overlay Support

2019-09-05 Thread Michael Tretter
rlay command - no more notifiers for device tree overlays Michael Tretter (7): dtc: add -@ option to enable __symbols__ of: add support for devicetree overlays blspec: add support for devicetree overlays of: add iterator for overlays firmware: add support to load firmware from dt overlay

[PATCH 1/7] dtc: add -@ option to enable __symbols__

2019-09-05 Thread Michael Tretter
The devicetree overlay driver requires the __symbols__ node to resolve phandles to the base devicetree. As Barebox applies the overlay to the live devicetree, the build-in devicetree must be built with the __symbols__ node. Signed-off-by: Michael Tretter --- scripts/Makefile.lib | 2 +- 1 file

[PATCH] clk: zynqmp: rename driver specific CLK_MUX_READ_ONLY

2019-09-05 Thread Michael Tretter
: "CLK_MUX_READ_ONLY" redefined In file included from drivers/clk/zynqmp/clk-mux-zynqmp.c:13:0: include/linux/clk.h:350:0: note: this is the location of the previous definition Signed-off-by: Michael Tretter --- drivers/clk/zynqmp/clk-mux-zynqmp.c | 4 ++-- 1 file changed, 2

[PATCH] libfile: fix typos

2019-09-04 Thread Michael Tretter
Signed-off-by: Michael Tretter --- lib/libfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libfile.c b/lib/libfile.c index f6c588d737..3f3ec21fdb 100644 --- a/lib/libfile.c +++ b/lib/libfile.c @@ -242,9 +242,9 @@ EXPORT_SYMBOL(read_file_2); * * This function

[PATCH] ARM: aarch64: do not use 32bit optimized find bit functions

2019-05-03 Thread Michael Tretter
on CPU_V8, the generic implementation also should be used if CPU_V8 is selected. Reported-by: Thomas Hämmerle Signed-off-by: Michael Tretter --- arch/arm/cpu/Kconfig | 1 + arch/arm/include/asm/bitops.h | 8 2 files changed, 9 insertions(+) diff --git a/arch/arm/cpu/Kconfig b/arch

[RFC PATCH 1/7] commands: unify newlines for options

2019-04-04 Thread Michael Tretter
-by: Michael Tretter --- commands/crc.c| 4 ++-- commands/firmwareload.c | 4 ++-- commands/of_display_timings.c | 8 commands/of_dump.c| 6 +++--- commands/of_fixup_status.c| 2 +- commands/oftree.c | 4 ++-- 6 files changed, 14 insertions(+), 14

[RFC PATCH 3/7] of: add support for devicetree overlays

2019-04-04 Thread Michael Tretter
when an overlay is registered and will be notified before and after the overlay has been registered. The target of the overlay in the notification is the live devicetree to allow drivers to act on the current state of the system. Signed-off-by: Michael Tretter --- drivers/of/Kconfig| 9

[RFC PATCH 2/7] dtc: add -@ option to enable __symbols__

2019-04-04 Thread Michael Tretter
The devicetree overlay driver requires the __symbols__ node to resolve phandles to the base devicetree. As Barebox applies the overlay to the live devicetree, the build-in devicetree must be built with the __symbols__ node. Signed-off-by: Michael Tretter --- scripts/Makefile.lib | 2 +- 1 file

[RFC PATCH 4/7] commands: add oftree -o option for overlays

2019-04-04 Thread Michael Tretter
Extend the oftree command to allow to register devicetree overlays. Signed-off-by: Michael Tretter --- commands/oftree.c | 37 ++--- include/of.h | 2 +- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/commands/oftree.c b/commands/oftree.c

[RFC PATCH 0/7] Device Tree Overlay Support

2019-04-04 Thread Michael Tretter
and allows other drivers or the user to specify the search path. Not sure if this is a good variable name for that. I extended the blspec and allow to specify a device tree overlay with the "devicetree-overlay" key. The overlay is applied before booting the OS from that blspec entry. Michae

[RFC PATCH 5/7] firmware: allow to find manager by device node

2019-04-04 Thread Michael Tretter
the firmware handler using its device tree node. Signed-off-by: Michael Tretter --- common/firmware.c | 18 ++ include/firmware.h | 1 + 2 files changed, 19 insertions(+) diff --git a/common/firmware.c b/common/firmware.c index 9d55d73e7a..609cf11822 100644 --- a/common/firmware.c

[RFC PATCH 7/7] blspec: add support for devicetree overlays

2019-04-04 Thread Michael Tretter
Read the devicetree-overlay property from the blspec entry, set the firmware search-path based on the blspec root and register a devicetree overlay when booting the blspec entry. Signed-off-by: Michael Tretter --- Documentation/user/booting-linux.rst | 4 common/blspec.c

[RFC PATCH 6/7] firmware: add support for fpga-regions

2019-04-04 Thread Michael Tretter
the specified firmware image. Signed-off-by: Michael Tretter --- drivers/firmware/Kconfig | 7 ++ drivers/firmware/Makefile | 1 + drivers/firmware/of-fpga-region.c | 153 ++ 3 files changed, 161 insertions(+) create mode 100644 drivers/firmware/of-fpga

[PATCH 4/6] clk: add ZynqMP clock driver

2019-03-12 Thread Michael Tretter
. Signed-off-by: Michael Tretter --- drivers/clk/Makefile| 1 + drivers/clk/zynqmp/Makefile | 5 + drivers/clk/zynqmp/clk-divider-zynqmp.c | 111 + drivers/clk/zynqmp/clk-gate-zynqmp.c| 93 drivers/clk/zynqmp/clk-mux-zynqmp.c | 102 + drivers

[PATCH 2/6] ARM: zynqmp: populate zynqmp_firmware dt node

2019-03-12 Thread Michael Tretter
From: Thomas Haemmerle The zynqmp_firmware node has sub-nodes for the various APIs to expose the platform management, as e.g. clock management. Therefore, the driver must populate the subnodes to initialize these drivers. Signed-off-by: Thomas Haemmerle Signed-off-by: Michael Tretter

[PATCH 3/6] ARM: zynqmp: move PAYLOAD_ARG_CNT to firmware header

2019-03-12 Thread Michael Tretter
In order to use the query() call, the users of the firmware driver need to know the number of arguments. Signed-off-by: Michael Tretter --- arch/arm/mach-zynqmp/firmware-zynqmp.c | 2 -- arch/arm/mach-zynqmp/include/mach/firmware-zynqmp.h | 2 ++ 2 files changed, 2 insertions(+), 2

[PATCH 6/6] ARM: zynqmp: switch to firmware clock driver

2019-03-12 Thread Michael Tretter
in the Barebox device tree for now. Signed-off-by: Michael Tretter --- arch/arm/dts/zynqmp-clk.dtsi| 155 arch/arm/dts/zynqmp-zcu104-revA.dts | 1 + 2 files changed, 156 insertions(+) create mode 100644 arch/arm/dts/zynqmp-clk.dtsi diff --git a/arch/arm/dts/zynqmp

[PATCH 0/6] ZynqMP clock driver

2019-03-12 Thread Michael Tretter
. Patch 3 provides the size of the return value from the ZynqMP firmware to firmware client drivers. This is necessary to use the "query" call. Patch 4 adds the actual driver. Patches 5 and 6 add the firmware to the device tree and connect various devices to the clock controller. Michae

[PATCH 5/6] ARM: zynqmp: add firmware DT node

2019-03-12 Thread Michael Tretter
From: Thomas Haemmerle Add firmware DT node in ZynqMP device tree. This node uses bindings as per new firmware interface driver. Signed-off-by: Thomas Haemmerle Signed-off-by: Michael Tretter --- arch/arm/dts/zynqmp-zcu104-revA.dts | 1 + arch/arm/dts/zynqmp.dtsi| 17

[PATCH 1/6] of: populate "/firmware" while populating device tree

2019-03-12 Thread Michael Tretter
From: Thomas Haemmerle The sub-nodes of "/firmware" are not populated, since it has no "compatible" property. Copy the behavior of Linux and call of_platform_populate() on the "/firmware" node to probe firmware drivers. Signed-off-by: Thomas Haemmerle

Re: [PATCH] ARM: zynqmp: select macb driver

2019-01-31 Thread Michael Tretter
On Wed, 30 Jan 2019 07:11:19 +0100, Sascha Hauer wrote: > Hi Thomas, > > On Tue, Jan 29, 2019 at 11:13:36AM +0100, thomas.haemmerle1...@gmail.com > wrote: > > From: Thomas Haemmerle > > > > macb supports Xilinx ZynqMP GEM, so select HAS_MACB by default. > > I think this should be solved by

[PATCH v3 4/4] ARM: zynqmp: add support for Xilinx ZCU104 board

2018-12-07 Thread Michael Tretter
have to add the Barebox binary to a boot image as described in "Chapter 11: Boot and Configuration" of "Zynq Ultrascale+ Device Technical Reference Manual". Signed-off-by: Michael Tretter --- Changelog: v3: - add more SPDX-License-Identifiers v2: - introduce ENTRY_PROC

[PATCH v3 0/4] Xilinx Zynq Ultrascale+ MPSoC support

2018-12-07 Thread Michael Tretter
rce files v1 -> v2: - move ENTRY_PROC to a more generic location - add separate patch for ENTRY_PROC - rebase onto piggydata patches - remove empty zynqmp.c and board.c - use SPDX-License-Identifiers Michael Tretter (4): ARM: lib64: .gitignore barebox.lds ARM: aarch64: compile with general-reg

[PATCH v3 2/4] ARM: aarch64: compile with general-regs-only

2018-12-07 Thread Michael Tretter
the general-regs-only flag to prevent usage of floating point and Advanced SIMD register. Signed-off-by: Michael Tretter --- arch/arm/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 5db67b9db8..50958b787f 100644 --- a/arch/arm/Makefile +++ b

[PATCH v3 3/4] ARM: aarch64: add ENTRY_PROC macro for arm64

2018-12-07 Thread Michael Tretter
if the entry is a C function. Provide a macro to implement the entry in assembly to be able to setup the stack before entering the low level entry function. Signed-off-by: Michael Tretter --- v3: - add SPDX-License-Identifier --- arch/arm/include/asm/barebox-arm64.h | 35 1

[PATCH v3 1/4] ARM: lib64: .gitignore barebox.lds

2018-12-07 Thread Michael Tretter
.lds files. Copy the .gitignore from lib32 to lib64. Signed-off-by: Michael Tretter --- arch/arm/lib64/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/arm/lib64/.gitignore diff --git a/arch/arm/lib64/.gitignore b/arch/arm/lib64/.gitignore new file mode 100644 index

[PATCH v2 2/4] ARM: aarch64: compile with general-regs-only

2018-11-28 Thread Michael Tretter
the general-regs-only flag to prevent usage of floating point and Advanced SIMD register. Signed-off-by: Michael Tretter --- arch/arm/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 5db67b9db8..50958b787f 100644 --- a/arch/arm/Makefile +++ b

[PATCH v2 0/4] Xilinx Zynq Ultrascale+ MPSoC support

2018-11-28 Thread Michael Tretter
ther arm64 architectures as well. Changelog: v1 -> v2: - move ENTRY_PROC to a more generic location - add separate patch for ENTRY_PROC - rebase onto piggydata patches - remove empty zynqmp.c and board.c - use SPDX-License-Identifiers Michael Tretter (4): ARM: lib64: .gitignore barebox.lds

[PATCH v2 3/4] ARM: aarch64: add ENTRY_PROC macro for arm64

2018-11-28 Thread Michael Tretter
if the entry is a C function. Provide a macro to implement the entry in assembly to be able to setup the stack before entering the low level entry function. Signed-off-by: Michael Tretter --- arch/arm/include/asm/barebox-arm64.h | 34 1 file changed, 34 insertions(+) create

[PATCH v2 4/4] ARM: zynqmp: add support for Xilinx ZCU104 board

2018-11-28 Thread Michael Tretter
have to add the Barebox binary to a boot image as described in "Chapter 11: Boot and Configuration" of "Zynq Ultrascale+ Device Technical Reference Manual". Signed-off-by: Michael Tretter --- Changelog: v2: - introduce ENTRY_PROC in a separate patch - move ENTRY_PROC to a

[PATCH v2 1/4] ARM: lib64: .gitignore barebox.lds

2018-11-28 Thread Michael Tretter
.lds files. Copy the .gitignore from lib32 to lib64. Signed-off-by: Michael Tretter --- arch/arm/lib64/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/arm/lib64/.gitignore diff --git a/arch/arm/lib64/.gitignore b/arch/arm/lib64/.gitignore new file mode 100644 index

Re: [PATCH 3/3] ARM: zynqmp: add support for Xilinx ZCU104 board

2018-11-23 Thread Michael Tretter
On Fri, 23 Nov 2018 16:08:18 +0100, Oleksij Rempel wrote: > Hi Michael, > > Am 23.11.18 um 14:35 schrieb Michael Tretter: > > Add support for the Xilinx Zynq Ultrascale+ MPSoC architecture (ZynqMP) > > and the Xilinx ZCU104 board. > > > > Barebox is booted as BL

Re: [PATCH 3/3] ARM: zynqmp: add support for Xilinx ZCU104 board

2018-11-23 Thread Michael Tretter
On Fri, 23 Nov 2018 14:35:53 +0100, Michael Tretter wrote: > Add support for the Xilinx Zynq Ultrascale+ MPSoC architecture (ZynqMP) > and the Xilinx ZCU104 board. > > Barebox is booted as BL33 in EL-1 and expects that a BL2 (i.e. the FSBL) > already took care of initializin

[PATCH 0/3] Xilinx Zynq Ultrascale+ MPSoC support

2018-11-23 Thread Michael Tretter
boot.bin binary first. See "mkimage -T zynqmpbif" from U-Boot for how to generate such an image. I'm not really happy how the entry function is implemented in arch/arm/boards/xilinx-zcu104/lowlevel_init.S and any suggestions for improvement are welcome. Michael Michael Tretter (3):

[PATCH 3/3] ARM: zynqmp: add support for Xilinx ZCU104 board

2018-11-23 Thread Michael Tretter
a function prologue to the entry function which writes to the stack, but the stack is not set up. Thus, the entry has to be implemented in assembly. Signed-off-by: Michael Tretter --- arch/arm/Kconfig | 14 +++ arch/arm/Makefile |

[PATCH 2/3] ARM: aarch64: compile with general-regs-only

2018-11-23 Thread Michael Tretter
usage of floating point and Advanced SIMD register. Signed-off-by: Michael Tretter --- arch/arm/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 5db67b9db8..50958b787f 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -27,6 +27,10

[PATCH 1/3] ARM: lib64: .gitignore barebox.lds

2018-11-23 Thread Michael Tretter
.lds files. Copy the .gitignore from lib32 to lib64. Signed-off-by: Michael Tretter --- arch/arm/lib64/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/arm/lib64/.gitignore diff --git a/arch/arm/lib64/.gitignore b/arch/arm/lib64/.gitignore new file mode 100644 index

Re: [PATCH] net: on ifup -a only detect devices when necessary

2018-04-12 Thread Michael Tretter
sual case in which a USB network adapter shall be used > even when an internal network interface is present we introduce the > global variable "global.net.ifup_force_detect" which can be used to > force detection of devices. > > Signed-off-by: Sascha Hauer <s.ha...

[PATCH] ARM: dts: i.MX6: fix usdhc3 pinmuxing on tqma6x

2017-06-23 Thread Michael Tretter
The usdhc3 pin group wrongly referred the SD4 pads instead of the SD3 pads. This leads to issues when muxing the SD4_CMD and SD4_CLK pads for uart3. This regression was introduced by code refactoring in commit a5207a6 ("ARM: dts: i.MX6: drop usage of pin group defines"). Signed-off-b

<    1   2