[U-Boot] [PATCH v7 2/2] Add support for Sysam AMCORE board

2014-08-21 Thread angelo
From: Angelo Dureghello Signed-off-by: Angelo Dureghello Cc: Tom Rini --- This patch adds support for Sysam AMCORE mcf5307-based board Changes for v2: - fix patch email sending issues Changes for v3: - fix code format issues Changes for v4: - add MAINTAINERS file entry - remove

[U-Boot] [PATCH v5 1/2] m68k: add support for Freescale Coldfire mcf5307 cpu

2014-08-21 Thread angelo
From: Angelo Dureghello Add support for Freescale Coldfire mcf5307 cpu. Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - add MAINTAINERS entry - add boards.cfg entry Changes for v3: - fix code format issues Changes for v4: - removed MAINTAINERS file / entry

Re: [U-Boot] [PATCH 1/1 V2] add support for mcf5307 cpu

2011-08-22 Thread angelo
On 22/08/2011 05:49, Jin Zhengxiong-R64188 wrote: -Original Message- From: Angelo Dureghello [mailto:angel...@gmail.com] Sent: Friday, August 12, 2011 5:20 AM To: U-Boot@lists.denx.de Cc: Jin Zhengxiong-R64188 Subject: [PATCH 1/1 V2] add support for mcf5307 cpu Add cpu related files and

[U-Boot] [PATCH 1/1 V2] add support for mcf5307 cpu

2011-09-02 Thread angelo
Hi Jason and all, i am really interested to bring mcf5307 inside u-boot. But still waiting for your feedback/help on my comments below. Let me know your comments. Many thanks, Regards, angelo > Hello Jason and all, > i started to work to rewrite the patch. > > Starting from m

[U-Boot] [PATCH v4 1/1] add support for mcf5307

2011-09-21 Thread angelo
Add support for mcf5307 cpu. Signed-off-by: Angelo Dureghello --- Changes for v4: - all previous patches was wrong, some files was missing, for an improper usage of git. arch/m68k/cpu/mcf530x/Makefile | 48 +++ arch/m68k/cpu/mcf530x/config.mk| 25 arch/m68k

[U-Boot] How to change splash screen in u-boot

2009-11-17 Thread Angelo
Hi all. I'd like to substitute freescale logo inside u-boot code with another one. I refer to "board/freescale/common/fsl_logo_bmp.c". Anyway I know there's something usable inside tool/ directory like bmp_logo that convert a bmp image into a structured C file and like easylogo/ directory. Do y

[U-Boot] ads5121 - remove PSC serial console support

2009-10-30 Thread Angelo
Hi all, I'm working on freescale ev. board ads5121ev and I'm trying to remove serial console support. Do you know the right procedure to remove it? Thanks in advance. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/l

Re: [U-Boot] ads5121 - remove PSC serial console support

2009-10-30 Thread Angelo
x/serial.c, include/configs/ads5121.h ...) that I have to modify? I suppose that should be a way to remove it completely. Thanks --- Ven 30/10/09, Wolfgang Denk ha scritto: Da: Wolfgang Denk Oggetto: Re: [U-Boot] ads5121 - remove PSC serial console support A: "Angelo" Cc: u-boot@lists.denx

[U-Boot] mcf5307

2010-02-23 Thread angelo
Hello all, is ColdFire mcf5307 supported ? in 1.1.6 i found mcf52x2 cpu only. Regards, Angelo -- AD ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] mcf 5307

2010-02-24 Thread angelo
Hello all, is ColdFire mcf5307 cpu supported ? in 1.1.6 i found mcf52x2 cpu only. Regards, Angelo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] mcf 5307

2010-02-24 Thread angelo
Hi Wolfgang, i didn't know it is stone-age, anyway, it is still well-sold in the Freescale site, quite cheap and suit perfectly my needs. Core V4 also is Harvard architecture, and i don't like it. many thanks Wolfgang Wegner wrote: > Hi Angelo, > > On Wed, Feb 24, 2010

Re: [U-Boot] coldfire support

2010-02-25 Thread angelo
that someday it will be added also. greetings, Angelo TC Liew wrote: > Thirumalai, > > These ColdFire processors (MCF52277, MCF5235, MCF5249, MCF5253, > MCF5271, MCF5272, MCF5275, MCF5282, MCF5329, MCF5373, MCF5445x, and > MCF547x_8x) are supported by u-boot. > > Like Wolf

[U-Boot] m68k _int_handler help

2011-05-24 Thread angelo
ntil here works. But just after, rte generate the exception 3. This is really a misterious issue. I don't see any reason why the stack frame should be wrong. Could it be compiler-related ? Reagrds, angelo ___ U-Boot mailing list U-Boot@lis

[U-Boot] coldfire, bad program counter on "rte"

2011-06-06 Thread angelo
t really undertsand for what reason the PC is set badly from the micro, hope some 68k expert here can help me. Many thanks in advance, angelo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] coldfire, bad program counter on "rte"

2011-06-06 Thread angelo
On 06/06/2011 15:30, Andy Pont wrote: Hello Angelo, U-Boot 1.1.6 (May 27 2011 - 00:09:24) I suggest that you have two options: 1. Create a time machine and set it for November 2006 when 1.1.6 was current. 2. Try the latest code base for U-Boot. :-) Andy. Hi Andy, thanks

[U-Boot] [PATCH RFC] mcf5307 support

2011-08-01 Thread angelo
what would be the correct procedure for the patch now ? Many Thanks angelo dureghello ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH RFC] mcf5307 support

2011-08-02 Thread angelo
Hi Wolfgang, thanks for the help, I changed url using git, but i still have an issue: angelo@angel7:~/sysam/amcore/u-boot.git$ git checkout master M Makefile A arch/m68k/cpu/mcf530x/Makefile A arch/m68k/cpu/mcf530x/config.mk A arch/m68k/cpu/mcf530x/cpu.c A arch

[U-Boot] mcf5307, timer 2 issue loading linux

2011-08-03 Thread angelo
owing linux to load, but execution is locked inside this ROMFS copy of head.S. Disabling the timer2 init in board.c, linux is loaded as expected. Shouldn't timer2 be disabled for al coldfire models before loading linux ? Every help is appreciated. reagrds, angelo _

Re: [U-Boot] mcf5307, timer 2 issue loading linux

2011-08-03 Thread angelo
<>___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] mcf5307, timer 2 issue loading linux

2011-08-03 Thread angelo
<>___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2 1/2] coldfire: Add support for amcore board

2012-10-31 Thread angelo
Add support for coldfire mcf5307 used from amcore board. Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - None --- arch/m68k/cpu/mcf530x/Makefile | 48 arch/m68k/cpu/mcf530x/config.mk| 30 +++ arch/m68k/cpu/mcf530x/cpu.c| 48 arch/m68k/cpu

[U-Boot] [PATCH v2 2/2] coldfire: Add support for amcore board

2012-10-31 Thread angelo
Add support for amcore board. Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - Add MAINTAINERS entry - Add boards.cfg entry --- MAINTAINERS|4 + board/sysam/amcore/Makefile| 43 board/sysam/amcore/amcore.c| 174

[U-Boot] [PATCH v3 1/2] m68k: add support for mcf5307 cpu

2012-11-04 Thread angelo
Add support for freescale coldfire mcf5307 cpu. Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - Add MAINTAINERS entry - Add boards.cfg entry Changes for v3: - Fix code format issues --- MAINTAINERS|4 + arch/m68k/cpu/mcf530x/Makefile | 48

[U-Boot] [PATCH v3 2/2] amcore: add support for amcore board

2012-11-04 Thread angelo
Add support for amcore board. Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - None Changes for v3: - Fix code format issues --- board/sysam/amcore/Makefile| 43 board/sysam/amcore/amcore.c| 168 ++ board/sysam/amcore/config.mk

[PATCH] board: amcore: fix u-boot mtd partition

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Signed-off-by: Angelo Dureghello --- include/configs/amcore.h | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/include/configs/amcore.h b/include/configs/amcore.h index 648d30a5b2..37c45e7172 100644 --- a/include/configs/amcore.h

[PATCH] m68k: use longword-based jumps

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Increasing of binary size requires longword-based jumps. Signed-off-by: Angelo Durgehello --- arch/m68k/cpu/mcf530x/start.S | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/m68k/cpu/mcf530x/start.S b/arch/m68k/cpu/mcf530x

[PATCH 1/3] m68k: add mmc device for mcf5441x

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Add mmc support for the mcf5441x family. Signed-off-by: Angelo Durgehello --- arch/m68k/dts/mcf5441x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/m68k/dts/mcf5441x.dtsi b/arch/m68k/dts/mcf5441x.dtsi index 6769bdc270..6383b50f11 100644 --- a

[PATCH 2/3] board: stmark2: add mmc support

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Enable mmc boot. Signed-off-by: Angelo Durgehello --- arch/m68k/dts/stmark2.dts | 4 configs/stmark2_defconfig | 12 ++-- include/configs/stmark2.h | 6 -- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/arch/m68k/dts/stmark2.dts b

[PATCH 3/3] mmc: fsl_esdhc_imx: add ColdFire support

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello ColdFire mcf5441x includes the same imx esdhc controller module, so adding minimal code to support it. Signed-off-by: Angelo Durgehello --- drivers/mmc/fsl_esdhc_imx.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc

[PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Angelo Dureghello
: m68k: dts: stmark2: set correct compatible field for spi nor (2023-02-28 21:19:47 +0100) Angelo Dureghello (6): board: amcore: fix u-boot mtd partition m68k: use longword-based jumps m68k: add global variable

Re: [PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Angelo Dureghello
Hi Tom, On 28/02/23 9:34 PM, Tom Rini wrote: On Tue, Feb 28, 2023 at 09:21:23PM +0100, Angelo Dureghello wrote: The following changes since commit e8c80ac0f7a13bf0fc016ce324b870c0cff7a2b8: Prepare v2023.04-rc3 (2023-02-27 17:18:36 -0500) are available in the Git repository at: git

[PATCH] m68k: rename CONFIG_MCFTMR to CFG_MCFTMR

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello This is not a Kconfig option so changing to _CFG. Signed-off-by: Angelo Durgehello --- arch/m68k/cpu/mcf523x/interrupts.c| 2 +- arch/m68k/cpu/mcf52x2/interrupts.c| 12 ++-- arch/m68k/cpu/mcf532x/interrupts.c| 2 +- arch/m68k/cpu/mcf5445x

[PATCH] board: amcore: fix config options namespace

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello Remove CONFIG_ namespace options from .h, moving them to defconfig, while changing non-defconfig options to CFG_ namespace. Signed-off-by: Angelo Durgehello --- configs/amcore_defconfig | 3 ++- include/configs/amcore.h | 13 +++-- 2 files changed, 5

[PATCH] m68k: add private libgcc ashrdi3

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello Add ashrdi3.c to private libgcc. Signed-off-by: Angelo Dureghello --- arch/m68k/lib/Makefile | 2 +- arch/m68k/lib/ashrdi3.c | 48 + 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 arch/m68k/lib/ashrdi3.c

[PATCH] board: m5253demo: remove floating point flash size calculation

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello This board is using floating point arithmetic to display the SST39VF6401B flash size. This actually generates errors with toolchains without appropriate sw fp math functions available. SST39VF6401B is the only flash for wich the size is displayed, it's size is 8

[PULL] Please pull u-boot-coldfire/master

2023-03-14 Thread Angelo Dureghello
: board: m5253demo: remove floating point flash size calculation (2023-03-15 01:52:15 +0100) Angelo Dureghello (10): board: amcore: fix u-boot mtd partition m68k: use longword-based jumps m68k: add global variable

Re: [PATCH 1/4] arch: m68k: Use existing CONFIG_MCFTMR instead of CFG_MCFTMR

2023-03-19 Thread Angelo Dureghello
7ff7b46e6ce44b2ee09647a928ce1021c3c8a66e i mainly misunderstood the CI error, moving this to CFG namespace. Thanks for fixing it. Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini --- arch/m68k/Kconfig | 1 + arch/m68k

Re: [PATCH 2/4] arch: m68k: Introduce trivial PIT based timer

2023-03-19 Thread Angelo Dureghello
Hi Marek, On 19/03/23 4:14 AM, Marek Vasut wrote: The QEMU emulation of m68k does not support DMA timer, the only timer that is supported is the PIT timer. Implement trivial PIT timer support for m68k. Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc

Re: [PATCH 4/4] CI: Add m68k target

2023-03-19 Thread Angelo Dureghello
-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini --- .azure-pipelines.yml | 5 + .gitlab-ci.yml | 8 2 files changed, 13

Re: [PATCH 3/5] m68k: dts: add watchdog node

2023-07-18 Thread Angelo Dureghello
Hi Stefan, On 18/07/23 2:26 PM, Stefan Roese wrote: On 6/25/23 21:35, Angelo Dureghello wrote: Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello ---   arch/m68k/dts/M5208EVBE.dts | 5 +   arch/m68k/dts/mcf5208.dtsi  | 7 +++   arch/m68k/dts

Re: [PATCH 1/5] drivers: watchdog: add mcf watchdog support

2023-07-18 Thread Angelo Dureghello
Hi Stefan, thanks for the feedbacks, On 18/07/23 2:23 PM, Stefan Roese wrote: On 6/25/23 21:35, Angelo Dureghello wrote: This watchdog driver applies to the following mcf families: - mcf52x2 (5271 5275 5282) - mcf532x (5329 5373) - mcf523x (5235) Cpu's not listed for each family doe

[PATCH v2 0/5] m68k: add ColdFire watchdog driver

2023-07-23 Thread Angelo Dureghello
This patch allows to reach 0 warning for the m68k family. Watchdog driver was the last one producing the "conversion to DM" warning, Angelo Dureghello (5): drivers: watchdog: add mcf watchdog support m68k: move watchdog functions in mcf_wdt driver m68k: dts: add watchdog node

[PATCH v2 1/5] drivers: watchdog: add mcf watchdog support

2023-07-23 Thread Angelo Dureghello
perly. The driver has been tested in a real M5282EVM. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary hardcoded timeouts - remove unnecessary hw_watchdog_xxx stuff - rewrite wdog module reg calculation - using IS_ENABLED() where possible --- drivers/watchdog/Kconfig

[PATCH v2 2/5] m68k: move watchdog functions in mcf_wdt driver

2023-07-23 Thread Angelo Dureghello
Move watchdog functions inside a separate watchdog driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none --- arch/m68k/cpu/mcf523x/cpu.c | 42 - arch/m68k/cpu/mcf52x2/cpu.c | 47 + arch/m68k/cpu/mcf532x/cpu.c | 44

[PATCH v2 3/5] m68k: dts: add watchdog node

2023-07-23 Thread Angelo Dureghello
Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary big-endian property --- arch/m68k/dts/M5208EVBE.dts | 5 + arch/m68k/dts/mcf5208.dtsi | 6 ++ arch/m68k/dts/mcf523x.dtsi | 6 ++ arch/m68k/dts/mcf5271

[PATCH v2 4/5] configs: m68k: add watchdog driver

2023-07-23 Thread Angelo Dureghello
Add config options for mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none --- configs/M5208EVBE_defconfig | 2 ++ configs/astro_mcf5373l_defconfig | 4 ++-- configs/eb_cpu5282_defconfig | 1 + configs/eb_cpu5282_internal_defconfig | 1 + 4 files

[PATCH v2 5/5] MAINTAINERS: add myself as mcf_wdt.c maintainer

2023-07-23 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- Changes for v2: - none --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 87991cccdd..2b157214cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -867,6 +867,7 @@ S: Maintained T: git https://source.denx.de

[PATCH] board: m68k add missing maintainer

2023-07-23 Thread Angelo Dureghello
Add myself as a maintainer for orphaned boards. All these boards are covered by buildman m68k test. Signed-off-by: Angelo Dureghello --- board/cobra5272/MAINTAINERS | 2 +- board/freescale/m5208evbe/MAINTAINERS | 2 +- board/freescale/m5249evb/MAINTAINERS | 2 +- board/freescale

Re: [PATCH v2 1/5] drivers: watchdog: add mcf watchdog support

2023-07-23 Thread Angelo Dureghello
Hi Stefan, On 24/07/23 8:21 AM, Stefan Roese wrote: Hi Angelo, On 7/23/23 23:35, Angelo Dureghello wrote: This watchdog driver applies to the following mcf families: - mcf52x2 (5271 5275 5282) - mcf532x (5329 5373) - mcf523x (5235) Cpu's not listed for each family does not have WDT m

[PATCH v3 0/5] m68k: add ColdFire watchdog driver

2023-07-23 Thread Angelo Dureghello
This patch allows to reach 0 warning for the m68k family. Watchdog driver was the last one producing the "conversion to DM" warning, Angelo Dureghello (5): drivers: watchdog: add mcf watchdog support m68k: move watchdog functions in mcf_wdt driver m68k: dts: add watchdog node

[PATCH v3 1/5] drivers: watchdog: add mcf watchdog support

2023-07-23 Thread Angelo Dureghello
perly. The driver has been tested in a real M5282EVM. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary hardcoded timeouts - remove unnecessary hw_watchdog_xxx stuff - rewrite wdog module reg calculation - using IS_ENABLED() where possible Changes for v3: - remove hardcod

[PATCH v3 3/5] m68k: dts: add watchdog node

2023-07-23 Thread Angelo Dureghello
Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary big-endian property Changes for v3: - none --- arch/m68k/dts/M5208EVBE.dts | 5 + arch/m68k/dts/mcf5208.dtsi | 6 ++ arch/m68k/dts/mcf523x.dtsi | 6

[PATCH v3 4/5] configs: m68k: add watchdog driver

2023-07-23 Thread Angelo Dureghello
Add config options for mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none Changes for v3: - none --- configs/M5208EVBE_defconfig | 2 ++ configs/astro_mcf5373l_defconfig | 4 ++-- configs/eb_cpu5282_defconfig | 1 + configs

[PATCH v3 2/5] m68k: move watchdog functions in mcf_wdt driver

2023-07-23 Thread Angelo Dureghello
Move watchdog functions inside a separate watchdog driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none Changes for v3: - none --- arch/m68k/cpu/mcf523x/cpu.c | 42 - arch/m68k/cpu/mcf52x2/cpu.c | 47 + arch/m68k

[PATCH v3 5/5] MAINTAINERS: add myself as mcf_wdt.c maintainer

2023-07-23 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- Changes for v2: - none Changes for v3: - none --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 87991cccdd..2b157214cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -867,6 +867,7 @@ S: Maintained T: git

[PULL] Please pull u-boot-coldfire/master

2023-07-25 Thread Angelo Dureghello
: MAINTAINERS: add myself as mcf_wdt.c maintainer (2023-07-25 23:21:42 +0200) Angelo Dureghello (6): board: m68k add missing maintainer drivers: watchdog: add mcf watchdog support m68k: move watchdog functions in

Re: [PATCH 4/7] m68k: Remove common.h usage

2023-10-13 Thread Angelo Dureghello
Hi Tom, On 13/10/23 1:03 AM, Tom Rini wrote: We can remove common.h from most cases of the code here, and only a few places need an additional header instead. Signed-off-by: Tom Rini --- Cc: Angelo Dureghello --- arch/m68k/cpu/mcf523x/cpu.c | 1 - arch/m68k/cpu/mcf523x/cpu_init.c

Re: [PATCH 4/7] m68k: Remove common.h usage

2023-10-13 Thread Angelo Dureghello
Hi Tom, sorry, applied all now, it works, i can boot properly. Thanks. Acked-by: Angelo Dureghello On 13/10/23 10:55 PM, Tom Rini wrote: On Fri, Oct 13, 2023 at 10:53:04PM +0200, Angelo Dureghello wrote: Hi Tom, On 13/10/23 1:03 AM, Tom Rini wrote: We can remove common.h from most cases

Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-29 Thread Angelo Dureghello
Hi Michal, thanks, built all m68k stuff, no issues. Also tested on stmark2, all is ok. Reviewed-by: Angelo Dureghello On 25/10/23 9:25 AM, Michal Simek wrote: Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all default n/no options") and again sync is required. de

[PATCH] m68k: remove common.h references

2023-11-04 Thread Angelo Dureghello
In one case (mcffec.c), had to replace common.h include with config.h, to avoid CFG_SYS_CACHE_ACR0 redefine-order conflict. Signed-off-by: Angelo Dureghello --- drivers/net/mcffec.c| 2 +- drivers/net/mcfmii.c| 1 - drivers/rtc/mcfrtc.c| 2 -- drivers/serial/serial_mcf.c

Re: [PATCH 01/20] m68k: Remove CONFIG_FSLDMAFEC

2023-11-04 Thread Angelo Dureghello
Hi Tom, Reviewed by: Angelo Dureghello Thanks for the cleanup, m68k boards build fine. fsl_mcdmafec driver is still referenced in arch/m68k/dts/mcf54xx.dtsi, (from compatible field) but no board is including it. You can remove the dtsi too if you want. Regards, angelo On 01/11/23 5:28 PM

Re: [PATCH 01/20] m68k: Remove CONFIG_FSLDMAFEC

2023-11-06 Thread Angelo Dureghello
Hi Tom, sure, i remove the unused dtsi, patch will follow. Regards, angelo On 06/11/23 5:32 PM, Tom Rini wrote: On Sat, Nov 04, 2023 at 09:58:07PM +0100, Angelo Dureghello wrote: Hi Tom, Reviewed by: Angelo Dureghello Thanks for the cleanup, m68k boards build fine. fsl_mcdmafec driver

[PATCH] m68k: remove unused mcf54xx devicetree

2023-11-06 Thread Angelo Dureghello
Remove unused devicetree, can be re-added later, in case some board would use it. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/mcf54xx.dtsi | 72 -- 1 file changed, 72 deletions(-) delete mode 100644 arch/m68k/dts/mcf54xx.dtsi diff --git a/arch/m68k

Re: [PATCH] tools: relocate-rela: Fix BE symtab handling

2023-08-26 Thread Angelo Dureghello
Hi Marek, thanks ! Reviewed-by: Angelo Dureghello On 31/07/23 12:16 AM, Marek Vasut wrote: The symtab contains data in target endianness, convert the data to native endianness before doing any operations and on them, and back to target endianness before updating the bin file. Signed-off-by

Re: [PATCH 1/2] tools: relocate-rela: Add M68K support

2023-08-26 Thread Angelo Dureghello
ek Vasut wrote: Add M68K ELF32 support into this tool, so it can patch static rela into M68K u-boot-nodtb.bin . This is the first step toward M68K relocation support, and in turn, removal of NEEDS_MANUAL_RELOC from the codebase altogether. Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: A

Re: [PATCH 1/2] tools: relocate-rela: Add M68K support

2023-08-27 Thread Angelo Dureghello
Hi Marex, thanks, Acked-by: Angelo Dureghello On 27/08/23 12:29 AM, Marek Vasut wrote: On 8/26/23 09:44, Angelo Dureghello wrote: Hi Marek, thanks a lot for the job i should have done. Tested on real hw: m5282evb   worked out of the box mcf54415   not working, had a lot of unsupported

Re: [PATCH 1/2] tools: relocate-rela: Add M68K support

2023-08-28 Thread Angelo Dureghello
Hi, applying this patchset to u-boot-coldfire Thanks, angelo On 27/08/23 12:29 AM, Marek Vasut wrote: On 8/26/23 09:44, Angelo Dureghello wrote: Hi Marek, thanks a lot for the job i should have done. Tested on real hw: m5282evb   worked out of the box mcf54415   not working, had a lot of

Re: [PATCH] tools: relocate-rela: Fix BE symtab handling

2023-08-28 Thread Angelo Dureghello
applied to u-boot-coldfire Thanks, angelo On 31/07/23 12:16 AM, Marek Vasut wrote: The symtab contains data in target endianness, convert the data to native endianness before doing any operations and on them, and back to target endianness before updating the bin file. Signed-off-by: Marek

[PULL] please pull u-boot-coldfire/next

2023-09-06 Thread Angelo Dureghello
Hi Tom, The following changes since commit b53ab97150314674edc25508f4fc528be2baa73f: event.h: Documented some newly added portions better (2023-09-04 11:19:50 -0400) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git next for you to fetch changes up to 26af162

Re: [PATCH v2] CI: Add m68k target

2023-03-23 Thread Angelo Dureghello
Acked-by: Angelo Dureghello On 23/03/23 1:22 AM, Marek Vasut wrote: Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command is as

Re: [PATCH v2 1/3] arch: m68k: Use existing CONFIG_MCFTMR instead of CFG_MCFTMR

2023-03-25 Thread Angelo Dureghello
am i missing something ? Regards, angelo On 23/03/23 1:20 AM, Marek Vasut wrote: There is an existing CONFIG_MCFTMR Kconfig symbol, use it and drop all other instances of CFG_MCFTMR. This duality is likely a result of bogus conversion to Kconfig. Fixes: 7ff7b46e6ce ("m68k: rename CONFIG_M

Re: [PATCH] travis-ci: Add m68k M5208EVBE machine

2023-04-01 Thread Angelo Dureghello
, angelo

Re: [PATCH] travis-ci: Add m68k M5208EVBE machine

2023-04-04 Thread Angelo Dureghello
Hi Tom, On 02/04/23 4:36 PM, Tom Rini wrote: On Sun, Apr 02, 2023 at 07:37:29AM +0200, Angelo Dureghello wrote: Hi Marek, On 26/03/23 4:33 PM, Tom Rini wrote: On Mon, 20 Mar 2023 20:46:47 +0100, Marek Vasut wrote: Add m68k M5208EVBE machine configured to test U-Boot m68k support

[PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace

2023-04-04 Thread Angelo Dureghello
Move CONFIG_SYS_I2C_X to CFG_ namespace. This is a preliminary step to move to dm i2c. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/cpu_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x

[PATCH 2/6] board: stmark2: add i2c0 pinmux pad configuration

2023-04-04 Thread Angelo Dureghello
Add CFG option to enable proper pinmux pad setting for i2c0. Signed-off-by: Angelo Dureghello --- include/configs/stmark2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index ffc47c8076..af5da096b7 100644 --- a/include/configs

[PATCH 4/6] i2c: fsl_i2c: fix m68k transferts

2023-04-04 Thread Angelo Dureghello
each transfert, while considering this fix as not harming powerpc arch. Signed-off-by: Angelo Dureghello --- arch/m68k/include/asm/fsl_i2c.h | 10 ++ drivers/i2c/fsl_i2c.c | 16 +--- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/arch/m68k/include/asm/fsl_i2

[PATCH 3/6] m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition

2023-04-04 Thread Angelo Dureghello
Fix CONFIG_SYS_FSL_I2C to correct name CONFIG_SYS_I2C_FSL. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/speed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/speed.c b/arch/m68k/cpu/mcf5445x/speed.c index eb73da68c6..5c78eb9834

[PATCH 5/6] m68k: dts: add i2c nodes

2023-04-04 Thread Angelo Dureghello
Add all the i2c nodes for each family, and add specific i2c overwrites in the related board-specific dts. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/M5208EVBE.dts | 6 +++ arch/m68k/dts/M5253DEMO.dts | 5 +++ arch/m68k/dts/M5275EVB.dts| 6 +++ arch

[PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-04 Thread Angelo Dureghello
Upgrading all board configs where i2c is involved to DM i2c. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 5 + configs/M5235EVB_Flash32_defconfig| 1 + configs/M5235EVB_defconfig| 1 + configs/M5253DEMO_defconfig | 5 + configs

[PATCH] doc: arch: m68k: fix maintainer email

2023-04-04 Thread Angelo Dureghello
Fix email with currently used address. Signed-off-by: Angelo Dureghello --- doc/arch/m68k.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/arch/m68k.rst b/doc/arch/m68k.rst index a9180fd785..8474ece62c 100644 --- a/doc/arch/m68k.rst +++ b/doc/arch/m68k.rst @@ -5,7

Re: [PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-11 Thread Angelo Dureghello
Hi Helko, On 11/04/23 6:41 AM, Heiko Schocher wrote: Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: Upgrading all board configs where i2c is involved to DM i2c. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 5 + configs

Re: [PATCH] configs: m68k: Use default shell prompt

2023-04-16 Thread Angelo Dureghello
ical to the shell prefix. Switch the prompt to default '=>' one to avoid this interference. Suggested-by: Tom Rini # found the CI oddity Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini --- configs/

[PULL] Please pull u-boot-coldfire/master

2023-04-16 Thread Angelo Dureghello
The following changes since commit 12c1e5782401abca1a8cff578d1911a9ca7d2e7d: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-marvell (2023-04-14 10:50:55 -0400) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git master for you to fetch

Re: [PATCH 05/18] treewide: bootm: Drop command-line args to boot_os_fn

2023-12-04 Thread Angelo Dureghello
t;. And getting similar issues for the "pxe: Allow extlinux booting without CMDLINE enabled" Am i doing something wrong ? Thanks, Regards angelo On 04/12/23 1:26 AM, Simon Glass wrote: These arguments are not used now. They cannot be provided when there is no bootm command in

Re: [PATCH 08/18] m68k: Add a reset_cpu() function

2023-12-10 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 04/12/23 1:26 AM, Simon Glass wrote: The current do_reset() is called from a command context. Add a function which can be used from anywhere, as is done on ARM. Since there are lots of reset functions, this one actually just calls do_reset(). Future

Re: [PATCH 05/18] treewide: bootm: Drop command-line args to boot_os_fn

2023-12-10 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 04/12/23 1:26 AM, Simon Glass wrote: These arguments are not used now. They cannot be provided when there is no bootm command invoked to provide arguments. Drop the argc and argv parameters. Signed-off-by: Simon Glass --- arch/arc/lib/bootm.c

Re: [PATCH 04/14] treewide: Make arch-specific bootm code depend on BOOTM

2023-12-22 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 04/12/23 1:31 AM, Simon Glass wrote: Allow these functions to be compiled in when CONFIG_BOOTM is enabled, even if CONFIG_CMD_BOOTM is not. Signed-off-by: Simon Glass --- arch/arc/lib/Makefile| 2 +- arch/arm/lib/Makefile| 2

Re: [PATCH v2 04/16] treewide: Make arch-specific bootm code depend on BOOTM

2023-12-22 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 15/12/23 5:19 AM, Simon Glass wrote: Allow these functions to be compiled in when CONFIG_BOOTM is enabled, even if CONFIG_CMD_BOOTM is not. Signed-off-by: Simon Glass --- (no changes since v1) arch/arc/lib/Makefile| 2 +- arch/arm/lib

Acked

2024-06-24 Thread Angelo Dureghello
Hi Tom, Acked-by: Angelo Dureghello thanks, angelo On 19/06/24 11:27 PM, Tom Rini wrote: Implement a weak default version of flush_dcache_all which is based on the ARM default, which is to flush the entire range via flush_dcache_range(...). Signed-off-by: Tom Rini --- Cc: Huan Wang Cc

Re: M68K Vectors

2024-07-28 Thread Angelo Dureghello
Hi Peter, glad to hear you solved. As a toolchain i use those provided by kernel.org: /opt/toolchains/m68k/gcc-12.2.0-nolibc/m68k-linux/bin/m68k-linux- https://cdn.kernel.org/pub/tools/crosstool/ Just out of curiosity, what's the cpu model you used ? Regards, Angelo Dureghello On

Acked

2024-07-29 Thread Angelo Dureghello
Acked-by: Angelo Dureghello On 24/07/24 5:08 PM, Simon Glass wrote: Only m68k and powerpc use this field, so move it to the arch-specific info, to reduce the size for other archs. Signed-off-by: Simon Glass --- arch/m68k/cpu/mcf5445x/cpu.c | 2 +- arch/m68k/include/asm

Re: M68K Vectors

2024-07-30 Thread Angelo Dureghello
pu/Makefile, see the -fPIC. I follow the thread. Thanks, regards, angelo On 29/07/24 4:27 PM, Peter LaDow wrote: It's not solved yet. I forgot I had hard coded some items. I will give the flavors you suggest a try. I'm trying to add the MCF548x for a legacy board we have. It's near

Re: [PATCH 04/11] m68k: Rework asm/global_data.h slightly

2023-11-22 Thread Angelo Dureghello
Hi Tom, thanks, On 22/11/23 2:11 PM, Tom Rini wrote: In the architecture global data, replace the one case of u32 with unsigned long. Now, we can drop config.h here but then do need to add it in two m68k-centric spaces. Signed-off-by: Tom Rini --- Cc: Huan Wang Cc: Angelo Dureghello

Re: [PATCH 04/11] m68k: Rework asm/global_data.h slightly

2023-11-23 Thread Angelo Dureghello
Hi Tom, sorry, i have difficulties to get the full patchset, was also looking into patchwork, but seems not updated. Anyway, i applied patches one by one, all is ok. Acked-by: Angelo Dureghello On 22/11/23 10:09 PM, Tom Rini wrote: On Wed, Nov 22, 2023 at 10:04:38PM +0100, Angelo Dureghello

Re: [PATCH 040/149] board: cobra5272: Remove and add needed includes

2024-05-01 Thread Angelo Dureghello
Hi Tom, Acked-by:Angelo Dureghello On 01/05/24 4:41 AM, Tom Rini wrote: Remove from this board vendor directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- Cc: Angelo Dureghello --- board/cobra5272/cobra5272.c | 2 +- board/cobra5272/flash.c | 6

Re: [PATCH 78/81] watchdog: Remove and add needed includes

2024-05-01 Thread Angelo Dureghello
Hi Tom, Acked-by: Angelo Dureghello On 02/05/24 3:31 AM, Tom Rini wrote: Remove from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- Cc: Stefan Roese Cc: Tom Rini Cc: Ryan Chen Cc: Chia-Wei Wang Cc: Aspeed BMC SW team Cc: Joel

Acked

2024-05-29 Thread Angelo Dureghello
Only lightly compile-tested. Apart from the two sh4 patches, these are independent of each other and can be applied individually. Thanks for the cleanup, Acked-by: Angelo Dureghello Cc: Angelo Dureghello Cc: Christophe Leroy Cc: Huan Wang Cc: Nobuhiro Iwamatsu Rasmus Villemoes (7): m68k: r

Re: [PATCH v3] test/py: reset: Add a test for reset command

2024-03-03 Thread Angelo Dureghello
both this and the saveenv test cause qemu_m68k to fail now. See: https://source.denx.de/u-boot/u-boot/-/jobs/791635 looking into this. Regards, angelo On 02/03/24 4:18 PM, Tom Rini wrote:

Re: [PATCH 32/36] bdinfo: m68k: Move m68k-specific info into its own file

2020-05-06 Thread Angelo Dureghello
7dd5000 reloc off = 0xfffd4c00 Build = 32-bit fdt_blob= 0x47d90670 new_fdt = 0x47d90670 fdt_size= 0x2860 sramstart = 0x sramsize= 0x busfreq =120 MHz mbar= 0xfc00 cpufreq =240 MHz flbfreq = 60 MHz inpfreq = 30 MHz Tested-by: Angelo Dureghello

Re: [PATCH v2 35/39] bdinfo: m68k: Move m68k-specific info into its own file

2020-05-14 Thread Angelo Dureghello
Tested-by: Angelo Dureghello Environment size: 680/8188 bytes stmark2 $ bdi boot_params = 0x47d96770 DRAM bank = 0x -> start= 0x4000 -> size = 0x0800 memstart= 0x4000 memsize = 0x0800 flashstart = 0x flashsize = 0x flash

  1   2   3   4   5   >