[U-Boot] [PATCH] bcm2835_wdt: support for the BCM2835/2836 watchdog

2017-02-10 Thread Paolo Pisati
Signed-off-by: Paolo Pisati <p.pis...@gmail.com> --- arch/arm/mach-bcm283x/reset.c | 21 ++--- board/raspberrypi/rpi/rpi.c| 4 drivers/watchdog/Kconfig | 15 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/bcm2835_wdt.

[U-Boot] [PATCH] [V2] bcm2835: wdt: support for the bcm2835/2836 wdt

2017-02-10 Thread Paolo Pisati
The following patch add support for the watchdog built into the bcm2835/2836 chips, using the max timeout (~15s). Tested on my RaspberryPi2. Changelog: v2: fixed __eufi_runtime usage and moved to Kconfig Paolo Pisati (1): bcm2835_wdt: support for the BCM2835/2836 watchdog arch/arm/mach

Re: [U-Boot] [PATCH] bcm2835_wdt: support for the BCM2835/2836 watchdog

2017-02-10 Thread Paolo Pisati
On Fri, Jan 27, 2017 at 04:20:10PM +, BrĂ¼ns, Stefan wrote: > > ... > > + > > __efi_runtime_data struct bcm2835_wdog_regs *wdog_regs = > > (struct bcm2835_wdog_regs *)BCM2835_WDOG_PHYSADDR; > > > > -void __efi_runtime reset_cpu(ulong addr) > > +void __efi_runtime reset_cpu(ulong ticks) >

[U-Boot] [PATCH] bcm2835_wdt: support for the BCM2835/2836 watchdog

2017-01-27 Thread Paolo Pisati
Signed-off-by: Paolo Pisati <p.pis...@gmail.com> --- arch/arm/mach-bcm283x/reset.c | 21 ++--- board/raspberrypi/rpi/rpi.c| 4 drivers/watchdog/Makefile | 1 + drivers/watchdog/bcm2835_wdt.c | 34 ++ include/configs

[U-Boot] [PATCH] bcm2835: wdt: support for the bcm2835/2836 wdt

2017-01-27 Thread Paolo Pisati
@@ -109,6 +109,7 @@ /* Watchdog support */ #define CONFIG_BCM2835_WDT +#define CONFIG_HW_WATCHDOG /* Console configuration */ #define CONFIG_SYS_CBSIZE 1024 -- 2.7.4 Tested on my RaspberryPi2. Paolo Pisati (1): bcm2835_wdt: support for the BCM2835/2836 watchdog arch/arm/mach

[U-Boot] [PATCH] bcm2835_wdt: support for the BCM2835/2836 watchdog

2017-01-27 Thread Paolo Pisati
Signed-off-by: Paolo Pisati <p.pis...@gmail.com> --- arch/arm/mach-bcm283x/reset.c | 21 ++--- board/raspberrypi/rpi/rpi.c| 4 drivers/watchdog/Makefile | 1 + drivers/watchdog/bcm2835_wdt.c | 34 ++ include/configs

[U-Boot] [PATCH] bcm2835: wdt: support for the bcm2835/2836 wdt

2017-01-27 Thread Paolo Pisati
@@ /* Watchdog support */ #define CONFIG_BCM2835_WDT +#define CONFIG_HW_WATCHDOG /* Console configuration */ #define CONFIG_SYS_CBSIZE 1024 -- 2.7.4 Tested on my RaspberryPi2. Paolo Pisati (1): bcm2835_wdt: support for the BCM2835/2836 watchdog arch/arm/mach-bcm283x/reset.c | 21

Re: [U-Boot] Upstream uboot and Arndale 5250 support

2014-10-08 Thread Paolo Pisati
, Guillaume Gardet guillaume.gar...@free.fr wrote: I used the following values with 2014.10-rc2: kerneladdr=0x4400 ramdiskaddr=0x4500 fdtaddr=0x4c00 But I used a zImage. If you use a uImage, you need to modify the kernel load addr. Guillaume Le 07/10/2014 17:02, Paolo Pisati

[U-Boot] Upstream uboot and Arndale 5250 support

2014-10-07 Thread Paolo Pisati
Hi, i've been trying to update the u-boot on my board (sd booting), from the Linaro one (2012.10) to a v2014.X, but so far had no luck: make arndale_config export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- make ... dd if=arndale-bl1.bin of=/dev/sdc bs=512 skip=1 dd if=arndale-spl.bin

Re: [U-Boot] Upstream uboot and Arndale 5250 support

2014-10-07 Thread Paolo Pisati
those are the addresses suggested by u-boot and yes, i already tried moving stuff around but it didn't fix it: what's the working config with your board? u-boot version? On Tue, Oct 7, 2014 at 4:34 PM, Guillaume Gardet guillaume.gar...@free.fr wrote: Hi, Le 07/10/2014 14:58, Paolo Pisati