Re: scripts/dtc/fdtget: No such file or directory

2018-08-08 Thread Sascha Hauer
Hi Peter, On Wed, Aug 08, 2018 at 07:22:51PM +0300, Peter Mamonov wrote: > Hi, > > After "8a8982541 scripts/dtc: Update to upstream version 1.4.6" > scripts/dtc/Makefile lacks rule for scripts/dtc/fdtget, which causes > scripts/gen-dtb-s to complain: > > $ make > ... > scrip

[PATCH] scripts/dtc: Reenable fdtget

2018-08-08 Thread Sascha Hauer
compilation of fdtget was lost during the update to version 1.4.6. We need this tool internally for the build process when imd support is enabled. Apparently our dtc code comes from the Kernel which doesn't have the upstream version of fdtget.c and it doesn't compile. This patch changes fdtget.c t

Re: scripts/dtc/fdtget: No such file or directory

2018-08-08 Thread Oleksij Rempel
Hi, Am 08.08.2018 um 18:22 schrieb Peter Mamonov: > Hi, > > After "8a8982541 scripts/dtc: Update to upstream version 1.4.6" > scripts/dtc/Makefile lacks rule for scripts/dtc/fdtget, which causes > scripts/gen-dtb-s to complain: > > $ make > ... > scripts/gen-dtb-s: line 24:

[PATCH v2 1/3] phylib: add Davicom PHY support

2018-08-08 Thread Sam Ravnborg
Based on driver from Linux kernel 4.18.0-rc4 Signed-off-by: Sam Ravnborg --- drivers/net/phy/Kconfig | 5 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/davicom.c | 140 ++ 3 files changed, 146 insertions(+) create mode 100644 drivers/net/p

[PATCH v2 3/3] at91sam9263ek: add PHY, miitool etc. to config

2018-08-08 Thread Sam Ravnborg
Added Davicom phy to the config now it is supported. Add miitool to show the phy info. Also add a bunch of extra commands that can be useful when handling the evaluation board. Signed-off-by: Sam Ravnborg --- arch/arm/configs/at91sam9263ek_defconfig | 12 +++- 1 file changed, 11 insertio

[PATCH v2 2/3] phylib: add support for reset-gpios

2018-08-08 Thread Sam Ravnborg
Add minimal support for reset-gpios. Example DT that uses this: mdio { #address-cells = <1>; #size-cells = <0>; reset-gpios = <&pioE 17 GPIO_ACTIVE_LOW>; reset-delay-us = <1000>; ethphy0: ethernet-phy@1 {

[PATCH v2 0/3] Add Davicom phy + reset-gpios

2018-08-08 Thread Sam Ravnborg
Changes in v2: - Added patch to enable Davicom PHY on at91sam9263ek - evaluation kit - Fix so we do reset before comunicating with the PHY - Rename to mdio_reset() - Reference correct binding file in commit log (mdio.txt) - Tested on at91sam9263ek The at91sam9263ek kit do not require the reset li

scripts/dtc/fdtget: No such file or directory

2018-08-08 Thread Peter Mamonov
Hi, After "8a8982541 scripts/dtc: Update to upstream version 1.4.6" scripts/dtc/Makefile lacks rule for scripts/dtc/fdtget, which causes scripts/gen-dtb-s to complain: $ make ... scripts/gen-dtb-s: line 24: scripts/dtc/fdtget: No such file or directory scripts/

Re: optee in barebox

2018-08-08 Thread Sascha Hauer
Hi Siva, On Thu, Jul 26, 2018 at 06:04:53PM +0530, siva wrote: > Hi Dear Team, > > Is there any OP-TEE support for barebox. There is a patch for some initial support, that hasn't made it into mainline yet: https://www.spinics.net/lists/u-boot-v2/msg30313.html Sascha -- Pengutronix e.K.

Re: [PATCH v2] mx5: Implement Spectre v2 workaround for Cortex-A8

2018-08-08 Thread Sascha Hauer
On Thu, Jul 12, 2018 at 02:45:03PM -0300, Fabio Estevam wrote: > Since 4.18-rc1 kernel the following warning is seen on i.MX51 and > i.MX53: > > CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, > system vulnerable > > Implement the suggested workaround by settin

Re: PATCH added tftp port to fsoptions

2018-08-08 Thread Sascha Hauer
On Fri, Aug 03, 2018 at 11:07:11AM +, Toews, Dietrich wrote: > Hi all, > > we are using barebox for a while now, but we need different tftp-server with > different ports. > Here a proposition for a patch, if someone else needs it also. > > Usage: tftp -o port=1234 > > Sincirely > Dietr

Re: root= kernel cmdline parameter

2018-08-08 Thread Sascha Hauer
On Tue, Jul 31, 2018 at 01:20:12PM +0200, Giorgio Dal Molin wrote: > Hi all, > > I'm trying to find out the best method to define the root= > parameter when booting the linux kernel from barebox. > > My system boots from an sd card partitioned with a GPT. > The sd card has two independent set of

Re: kernel ubi boot

2018-08-08 Thread Sascha Hauer
On Thu, Jul 26, 2018 at 01:52:32PM +, Dimitri Van Dyck | IndigoCare wrote: > Hi, > > Is it possible to boot zImage from ubi, and not from raw flash? Yes, this should be possible. > If so, from what version is this supported? > > barebox@Voipac VMX53:/ boot > booting nand-dtb-ubi > > Loadin

Re: [PATCH] ARM: Mark SP as being clobbered in arm_setup_stack()

2018-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2018 at 02:00:37PM -0700, Andrey Smirnov wrote: > Not sure why it was working before, but with recent update of AArch64 > GCC to 8.1.1 on my Fedora 28 machine, compiling barebox_arm_entry() > yields the following assembly: > > 2aac : > 2aac: a9bd7bfdstp

Re: [PATCH] ARM: phytec-som-am335x: make autoenable actually usable

2018-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2018 at 04:21:16PM +0200, Uwe Kleine-König wrote: > IS_ENABLED has to be passed the full symbol name including the CONFIG_ > prefix. Otherwise IS_ENABLED evaluates to 0. > > Fixes: 2877e08f9e1a ("ARM: phytec-som-am335x: Add autoenable") > Signed-off-by: Uwe Kleine-König > -- > Cc:

Re: [PATCH v2] usb: gadget: allow to actually enable sparse fastboot support

2018-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2018 at 04:23:44PM +0200, Uwe Kleine-König wrote: > When sparse support was (intended to be) made optional it was > effectively unconditionally disabled because > > IS_ENABLED(USB_GADGET_FASTBOOT_SPARSE) > > always evaluates to 0. To actually make use of the introduced kconf

Re: [PATCH] mci: s3c: fix providing info callback

2018-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2018 at 04:11:09PM +0200, Uwe Kleine-König wrote: > There is no symbol iCONFIG_MCI_INFO, CONFIG_MCI_INFO makes sense here > and matches what was added in the same commit to other drivers. > > Fixes: 73b0d228e5b0 ("driver: Attach info callback to device, not to driver") > Signed-off

Re: [PATCH] of_node: clearify help text and do stricter commandline parsing

2018-08-08 Thread Sascha Hauer
On Mon, Aug 06, 2018 at 09:14:18PM +0200, Uwe Kleine-König wrote: > To create an oftree node /path/node I tried after reading the help text > of of_node: > > of_node -c /path node > > similar to the syntax of of_property. This didnt result in any output > but still failed to do what I meant

Re: [PATCH 1/3] PCI: link PCI devices with potentially existing OF nodes

2018-08-08 Thread Sascha Hauer
On Wed, Aug 01, 2018 at 10:38:29AM +0200, Lucas Stach wrote: > The document "PCI Bus Binding to: IEEE Std 1275-1994 Standard for Boot > (Initialization Configuration) Firmware" describes how the PCI topology > can be described in the DT, in order to augment the PCI devices with > additional informa

Re: [PATCH 00/19] ARM: SoCFPGA: Arria10: Early FPGA config

2018-08-08 Thread Sascha Hauer
On Tue, Jul 31, 2018 at 12:44:23PM +0200, Steffen Trumtrar wrote: > Hi! > > This series allows configuring the FPGA of an Arria10 SoCFPGA early > in the bootprocess from barebox. Early means: before the SDRAM is used. > > The patches where developed for and tested on the Achilles board. > > Whil

Re: [PATCH 1/4] ARM: i.MX: HAB: fix missing include for EPERM

2018-08-08 Thread Sascha Hauer
On Mon, Jul 30, 2018 at 01:14:34PM +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > include/hab.h | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks Sascha > > diff --git a/include/hab.h b/include/hab.h > index fb7149ef53..78c2b865ba 100644 > --- a/include/hab.h > +++

Re: [PATCH] arm: dts: am335x-bone-common.dtsi: add eeprom device to DT

2018-08-08 Thread Sascha Hauer
Hi Marc, On Fri, Jul 27, 2018 at 08:02:08PM +1000, m...@cpdesign.com.au wrote: > From: Marc Reilly > > This adds a device node to provide support for the onboard eeprom of > beaglebone products. The eeprom contents can be used to determine the > type of beaglebone running. For example this can b

Re: [PATCH] reset: socfpga: add missing driver name

2018-08-08 Thread Sascha Hauer
On Fri, Jul 27, 2018 at 11:54:56AM +0200, Steffen Trumtrar wrote: > The driver_d is missing the name property. When the reset driver is used in a > non-of setup, this will result in an error during device_registration where > the dev->name is matched to the driver->name. > > Signed-off-by: Steffen

Re: [PATCH 2/2] Documentation: fix code block and literal block highlighting

2018-08-08 Thread Sascha Hauer
On Wed, Jul 25, 2018 at 04:18:11PM +0200, Roland Hieber wrote: > Use shell script highlighting where it is resonable, use console > highlighting for transcripts, and fix some of the few cases where the > syntax was broken, resulting in text not being rendered at all. > > Signed-off-by: Roland Hieb