[PATCH v4] imx: imx8mm: Add support for Mettler-Toledo snowflake board.

2023-06-29 Thread Sebastian Andrzej Siewior
of cleanup ] Signed-off-by: Manuel Traut Reviewed-by: Frieder Schrempf Signed-off-by: Sebastian Andrzej Siewior --- v3…v4: - Added Frieder's tag - Rebased on top of v2023.07-rc5. v2…v3: Addressing Frieder's comments: - Add "kontron,imx8mm-sl" to the compatible string. - Remove pca9450 n

[PATCH v3] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-31 Thread Sebastian Andrzej Siewior
y: porting and a bit of cleanup ] Signed-off-by: Manuel Traut Signed-off-by: Sebastian Andrzej Siewior --- v2…v3: Addressing Frieder's comments: - Add "kontron,imx8mm-sl" to the compatible string. - Remove pca9450 node and pinctrl_i2c1. The included imx8mm-kontron-sl.dtsi already pro

Re: [PATCH] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-31 Thread Sebastian Andrzej Siewior
On 2023-03-16 11:33:47 [+0100], Frieder Schrempf wrote: > > diff --git a/arch/arm/dts/imx8mm-mt-snowflake-v2.dts > > b/arch/arm/dts/imx8mm-mt-snowflake-v2.dts > > new file mode 100644 > > index 0..49761b22afcf0 > > --- /dev/null > > +++ b/arch/arm/dts/imx8mm-mt-snowflake-v2.dts > > @@

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Sebastian Andrzej Siewior
On 2023-03-28 11:34:42 [+0200], Frieder Schrempf wrote: > You can easily answer that yourself, by looking at the comments I made > in [1]. There are comments for the DT compatible, the PMIC node, the > I2C1 pinctrl node and the DDR init code you haven't responded to. I'm sorry. I really haven't

Re: [PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Sebastian Andrzej Siewior
On 2023-03-28 09:53:28 [+0200], Frieder Schrempf wrote: > On 28.03.23 09:47, Sebastian Andrzej Siewior wrote: > > The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two > > variants. > > Snowflake_v2 has an external SDCard Interface. LEIG is th

[PATCH v2] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-28 Thread Sebastian Andrzej Siewior
Signed-off-by: Sebastian Andrzej Siewior --- v1…v2: - Clarify details about the board and whether or not there is an external SD-card interface. arch/arm/dts/Makefile |1 + .../dts/imx8mm-mt-snowflake-v2-u-boot.dtsi| 116 ++ arch/arm/dts/imx8mm-mt-snowflake-v2.dts

[PATCH] gitattributes: Treat .bin files as binary.

2023-03-10 Thread Sebastian Andrzej Siewior
Binary files, which are committed to a private fork of this repository, will be subject to line feed substitution unless marked as binary. Mark .bin files as binary. Signed-off-by: Sebastian Andrzej Siewior --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b

[PATCH] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-10 Thread Sebastian Andrzej Siewior
From: Manuel Traut The board is similar to Kontron's N801x design. It lacks external eMMC support and only supports only 1GiB of main memory. [ bigeasy: porting and a bit of cleanup ] Signed-off-by: Manuel Traut Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/dts/Makefile

Re: [U-Boot] [PATCH] imx: iomux-v3: provide MX7D_PAD_ENET1_RX_CLK__ENET1_RGMII_RXC

2016-11-18 Thread Sebastian Andrzej Siewior
On 2016-11-16 13:10:23 [-0800], Stefan Agner wrote: > On 2016-11-16 12:02, Sebastian Andrzej Siewior wrote: > > MX7D_PAD_ENET1_RX_CLK__ENET1_RX_CLK is in its currently RGMII_RXC. > > Fix this by providing RX_CLK with properly setting the DAISY value and > > MX7D_PAD_ENET1_RX

[U-Boot] [PATCH] imx: iomux-v3: provide MX7D_PAD_ENET1_RX_CLK__ENET1_RGMII_RXC

2016-11-16 Thread Sebastian Andrzej Siewior
tree users of MX7D_PAD_ENET1_RX_CLK__ENET1_RX_CLK. Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de> --- arch/arm/dts/imx7d-pinfunc.h | 3 ++- arch/arm/include/asm/arch-mx7/mx7d_pins.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/imx7d-pinfunc.h b/ar

Re: [U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW

2015-03-26 Thread Sebastian Andrzej Siewior
On 03/25/2015 04:53 PM, Stefano Babic wrote: On 03/03/2015 17:45, Sebastian Andrzej Siewior wrote: with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle around while the watchdog is not triggered. It seems the timer makes progress very slowly if at all. I managed to remain

Re: [U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW

2015-03-25 Thread Sebastian Andrzej Siewior
* Stefano Babic | 2015-03-25 09:03:06 [+0100]: Hi Sebastian, Hi Stefano, (sorry for late answer) no worries. On 03/03/2015 17:45, Sebastian Andrzej Siewior wrote: with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle around while the watchdog is not triggered. It seems

[U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW

2015-03-03 Thread Sebastian Andrzej Siewior
in userland (something like while (1) { }). While I don't see a reason why the WDT should not be running while the CPU is in idle, I'm dropping this bit. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- drivers/watchdog/imx_watchdog.c | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2014 03:45 PM, Marek Vasut wrote: I agree. Is there a version of this file with BSD license on it ? Then that'd be a problem solved, right ? Right. I don't recall the locations of the second tree but if Steve is going to search it, he should find it. Best regards, Marek Vasut

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2014 03:09 PM, Marek Vasut wrote: + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the License); Please note that this license is not compatible with GPL version 2, because it has some requirements that are not in that GPL

Re: [U-Boot] [PATCH v3 0/5] Android Fastboot support

2014-04-11 Thread Sebastian Andrzej Siewior
On 04/10/2014 09:18 PM, Rob Herring wrote: From: Rob Herring r...@kernel.org I'm reviving the Android Fastboot support after 2+ years since the last posting[1]. The previous postings had some questions about licensing and source of some code. I believe I've traced the history sufficiently

Re: [U-Boot] [PATCH 1/3] net/eth: set status to active before calling init

2012-04-03 Thread Sebastian Andrzej Siewior
On 04/03/2012 10:41 PM, Mike Frysinger wrote: On Friday 23 March 2012 16:11:17 Sebastian Andrzej Siewior wrote: If we set the status after successful init call then we get in trouble if stdout (or setderr) is set to netconsole. If we are going to use one of those (lets say printf) during -init

Re: [U-Boot] [PATCH 3/3] net/tsec: Don't tell the link status if used with netconsole

2012-04-03 Thread Sebastian Andrzej Siewior
On 04/03/2012 10:42 PM, Mike Frysinger wrote: On Friday 23 March 2012 16:11:19 Sebastian Andrzej Siewior wrote: --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c + if (strcmp(getenv(stdout), nc)) i really don't like special casing devices like this - serial_printf(Speed: %d, %s

[U-Boot] [PATCH 1/3] net/eth: set status to active before calling init

2012-03-23 Thread Sebastian Andrzej Siewior
nc_puts() does not get confused and disables the network interface in case of a printf() on its way. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- net/eth.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/net/eth.c b/net/eth.c index 4280d6d

[U-Boot] [PATCH 3/3] net/tsec: Don't tell the link status if used with netconsole

2012-03-23 Thread Sebastian Andrzej Siewior
Since we start/stop the network after each character we see that line printed a lot. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- drivers/net/tsec.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index

[U-Boot] [PATCH 2/3] net/tsec: convert the printf() to serial_printf()

2012-03-23 Thread Sebastian Andrzej Siewior
In case we use netconsole for stdout and something goes wrong here and we run into one of this printf() then there is no point of sending this over network again since it is likely that will fail again. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- drivers/net/tsec.c | 12

Re: [U-Boot] Fastboot gadget, v2

2012-02-29 Thread Sebastian Andrzej Siewior
* Marek Vasut | 2012-02-27 00:09:16 [+0100]: Hi, Hi, what's the status of this patch/patchset? the status is that Wolfgang wants me to change the license to GPLv2 because he thinks that the BSD license is not compatible with GPLv2 or later and I can't. I can't change the copyright because I

Re: [U-Boot] [PATCH v2 1/3] image: add support for Android's boot image format

2012-01-09 Thread Sebastian Andrzej Siewior
* Aneesh V | 2011-12-29 13:13:29 [+0530]: ping Wonder what happened to this series. Is this ready to be merged this merge window? If so, who is going to merge it in the absence of a USB custodian? I've sent the series and Wolfgang kept nacking it due to some GPL vs BSD license incompatibilities

Re: [U-Boot] [PATCH 1/2] image: add support for Android's boot image format

2011-11-23 Thread Sebastian Andrzej Siewior
* Wolfgang Denk | 2011-11-22 20:04:47 [+0100]: Dear Sebastian Andrzej Siewior, In message 2022123007.ga5...@linutronix.de you wrote: + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions

Re: [U-Boot] [PATCH 2/2] usb/gadget: add the fastboot gadget

2011-11-23 Thread Sebastian Andrzej Siewior
* Stefan Schmidt | 2011-11-21 15:48:29 [+0100]: Hello. Hi, On Mon, 2011-11-21 at 15:09, Sebastian Andrzej Siewior wrote: This patch contains an implementation of the fastboot protocol on the device side and a little of documentation. The gadget expects the new-style gadget framework. Which

Re: [U-Boot] [PATCH 1/2] image: add support for Android's boot image format

2011-11-22 Thread Sebastian Andrzej Siewior
* Wolfgang Denk | 2011-11-21 21:19:07 [+0100]: Dear Sebastian Andrzej Siewior, Hi Wolfgang, Please provide _exact_ reference where this code has been copied from, see bullet 4 etc. at http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign Also please provide exact

[U-Boot] [PATCH 1/2] image: add support for Android's boot image format

2011-11-21 Thread Sebastian Andrzej Siewior
that is creating this. Cc: Wolfgang Denk w...@denx.de Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- common/cmd_bootm.c | 87 +- common/image.c | 17 + include/android_image.h | 89

[U-Boot] [PATCH 2/2] usb/gadget: add the fastboot gadget

2011-11-21 Thread Sebastian Andrzej Siewior
to media. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- common/Makefile |2 + common/cmd_fastboot.c| 28 ++ doc/README.android-fastboot | 86 ++ doc/README.android-fastboot-protocol | 170 ++ drivers/usb/gadget

Re: [U-Boot] [PATCH v2 1/3] image: add support for Android's boot image format

2011-10-19 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2011-09-20 16:02:01 [+0200]: This patch adds support for the Android boot-image format. The header file is from the Android project and got slightly alterted so the struct + its defines are not generic but have something like a namespace. The header file is from

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-20 Thread Sebastian Andrzej Siewior
* Wolfgang Denk | 2011-09-17 15:10:31 [+0200]: Dear Sebastian Andrzej Siewior, Hi Wolfgang, In message 4e73bf68.9040...@linutronix.de you wrote: Are you 100% sure this is a GPLv2+ compatible license??? I don't think so... How so? This is a 3-clause BSD license. According to [0

[U-Boot] [Example v2 3/3] fastboot: add board specific implementation

2011-09-20 Thread Sebastian Andrzej Siewior
This is just an example how the board specific implementation can look like. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- board/ti/sdp4430/Makefile |7 --- board/ti/sdp4430/fastboot.c | 34 ++ 2 files changed, 38 insertions(+), 3

[U-Boot] [PATCH v2 1/3] image: add support for Android's boot image format

2011-09-20 Thread Sebastian Andrzej Siewior
that is creating this. Cc: Wolfgang Denk w...@denx.de Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- common/cmd_bootm.c | 87 +- common/image.c | 17 + include/android_image.h | 89

[U-Boot] Fastboot gadget, v2

2011-09-20 Thread Sebastian Andrzej Siewior
This series contains a smaller version of the fastboot gadget. I removed the flash/mmc/write to media part and re-add once I'm through with this basic thing :) This basic gadget supports the retrieval of variables (like serial number), reboot functionality, download of binary data and booting them

[U-Boot] [PATCH v2 2/3] usb/gadget: add the fastboot gadget

2011-09-20 Thread Sebastian Andrzej Siewior
to media. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- common/Makefile |2 + common/cmd_fastboot.c| 28 ++ doc/README.android-fastboot | 86 ++ doc/README.android-fastboot-protocol | 170 ++ drivers/usb/gadget

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-17 Thread Sebastian Andrzej Siewior
On 09/17/2011 03:10 PM, Wolfgang Denk wrote: Dear Sebastian Andrzej Siewior, Hi Wolfgang, In message4e73bf68.9040...@linutronix.de you wrote: Are you 100% sure this is a GPLv2+ compatible license??? I don't think so... How so? This is a 3-clause BSD license. According to [0

[U-Boot] Fastboot gadget

2011-09-16 Thread Sebastian Andrzej Siewior
This series contains a smaller version of the fastboot gadget. I removed the flash/mmc/write to media part and re-add once I'm through with this basic thing :) This basic gadget supports the retrieval of variables (like serial number), reboot functionality, download of binary data and booting them

[U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
that is creating this. Cc: Wolfgang Denk w...@denx.de Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- common/cmd_bootm.c | 87 +- common/image.c | 17 + include/android_image.h | 89

[U-Boot] [Example 3/3] fastboot: add board specific implementation

2011-09-16 Thread Sebastian Andrzej Siewior
This is just an example how the board specific implementation can look like. Not for merging. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- board/ti/sdp4430/Makefile |7 --- board/ti/sdp4430/fastboot.c | 36 2 files changed

[U-Boot] [PATCH 2/3] usb/gadget: add the fastboot gadget

2011-09-16 Thread Sebastian Andrzej Siewior
to media. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- common/Makefile |2 + common/cmd_fastboot.c| 28 ++ doc/README.android-fastboot | 86 ++ doc/README.android-fastboot-protocol | 170 +++ drivers/usb

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
On 09/16/2011 08:22 PM, Mike Frysinger wrote: On Friday, September 16, 2011 12:51:17 Sebastian Andrzej Siewior wrote: +#ifdef CONFIG_ANDROID_BOOT_IMAGE we already have a standard here: CONFIG_BOOTM_ANDROID Ehm. Can't follow. If you want me to s/CONFIG_ANDROID_BOOT_IMAGE /CONFIG_BOOTM_ANDROID

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
On 09/16/2011 11:03 PM, Wolfgang Denk wrote: Dear Sebastian Andrzej Siewior, Hi Wolfgang, + * Copyright (C) 2008 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
On 09/16/2011 11:35 PM, Mike Frysinger wrote: On Friday, September 16, 2011 17:28:08 Sebastian Andrzej Siewior wrote: On 09/16/2011 11:03 PM, Wolfgang Denk wrote: Dear Sebastian Andrzej Siewior, + * Copyright (C) 2008 The Android Open Source Project + * All rights reserved

Re: [U-Boot] [RFC] fastboot gadget support

2011-08-26 Thread Sebastian Andrzej Siewior
On 08/24/2011 09:34 PM, Remy Bohmer wrote: Hi, Hi, thanks for your time. 2011/8/10 Sebastian Andrzej Siewiorbige...@linutronix.de: It was tested before it has been re-written. It is possible that it is broken. It is posted for reference only not for merging. Looking at this code, I can

Re: [U-Boot] [RFC] fastboot gadget support

2011-08-24 Thread Sebastian Andrzej Siewior
On 08/13/2011 12:22 PM, Remy Bohmer wrote: Hi Sebastian, Hi Remy, 2011/8/10 Sebastian Andrzej Siewiorbige...@linutronix.de: This is the faastboot gadget code based on git://git.omapzoom.org/repo/u-boot.git as of commit 601ff71c8 including a few changes. Some of them are: - generic mmc

[U-Boot] [ RFC ] fastboot protocol support in u-boot

2011-08-10 Thread Sebastian Andrzej Siewior
Hi, The patch which should come as a reply to this email contains a fastboot gadget for u-boot. I don't claim that the code has been tested or anything. I just want to post what I have now and get some feedback on it. The code uses the newer gadget API which is used by the rndis gadget for

Re: [U-Boot] Memory problems on mpc8572ds

2009-05-15 Thread Sebastian Andrzej Siewior
* Liu Dave-R63238 | 2009-05-15 08:47:04 [+0800]: (v1.3.0-rc2): - ddr-sdram_mode 0x00400a62; - ddr-sdram_data_init = 0x; - ddr-sdram_cfg_2 = 0x04401000; to (v2009.03): - ddr-sdram_mode 0x00440a62 - ddr-sdram_data_init 0xdeadbeef - ddr-sdram_cfg_2 0x24401000 I cherry-picked

Re: [U-Boot] Memory problems on mpc8572ds

2009-05-15 Thread Sebastian Andrzej Siewior
* Rafal Jaworowski | 2009-05-15 20:12:48 [+0200]: I can confirm this. We have been suffering from instabilities of the main line U-Boot on MPC8572DS since a long time ago. It is strongly correlated with memory controller settings: the same h/w unit works fine with 1.3.0-rc2 (Freescale