SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-03-23 Thread Manuel Luís Reis
Hello, I've been having issues with SPL booting in the SAMA5D3 Xplained board getting the following error, with up-to-date mainline U-boot and sama5d3_xplained _mmc_defconfig: --- RomBOOT Could not initialize timer (err -19) .

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-03-23 Thread Manuel Luís Reis
enx.de/u-boot/custodians/u-boot-atmel/-/commit/786f35b619ddbfb88e4532d11a56413f5dab473f > > > > On 3/23/21 1:06 PM, Manuel Luís Reis wrote: > > Hello, > > > > I've been having issues with SPL booting in the SAMA5D3 Xplained board > > getting the f

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-03-23 Thread Manuel Luís Reis
u've sent seems to be board independent -> mach-at91/spl_atmel.c. Doesn't it apply to all of the at91 boards, sama5d3 inclusive? I don't see where else I could make a change like that. Thanks for your patience. On Tue, 23 Mar 2021 at 11:38, wrote: > On 3/23/21 1:28 PM, Ma

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-03-23 Thread Manuel Luís Reis
ould tell. Any thoughts on how to fix this? Anything I can do to help? Cheers On Tue, 23 Mar 2021 at 13:20, Manuel Luís Reis wrote: > > > The change may be dedicated to sama5d2 devices. Could you have a look > > please if your device (sama5d3) needs this change as well ? I mean, do

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-03-23 Thread Manuel Luís Reis
thread, as he is more familiar with PIT and > timers than I am, and maybe he has some opinion related to this issue. Thanks for clarifying this for me. Look forward to hearing from Claudiu. Cheers, On Tue, 23 Mar 2021 at 16:26, wrote: > > On 3/23/21 6:08 PM, Manuel Luís Reis wrote: &

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-04-02 Thread Manuel Luís Reis
> As it seems from the dump of dm_dump_all() the atmel_pit_timer is not > probed. I did a bit of debug and the dm_timer_init() -> > uclass_first_device() -> uclass_find_first_device() found zero timers > registered for UCLASS_TIMER. The driver is compiled. Also checked that > atmel_pit_timer probe

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-04-02 Thread Manuel Luís Reis
time.c 177Could not initialize timer (err -11) ... On Fri, 2 Apr 2021 at 18:12, Manuel Luís Reis wrote: > > > As it seems from the dump of dm_dump_all() the atmel_pit_timer is not > > probed. I did a bit of debug and the dm_timer_init() -> > > uclass_first_device() -&g

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-04-05 Thread Manuel Luís Reis
the weak > > timer_init in /lib/time.c, which is empty. > > > > Is there a way we can force start the pit timer? > > Any pointer would be very helpful. Let me know if you'd like me to do > > something in particular. > > > > Thanks > > > >

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-04-05 Thread Manuel Luís Reis
R_MODE_NOP_CMD, ram_address); - /* A 200 us is provided to precede any signal toggle */ - udelay(200); - /* Issue a NOP command */ atmel_mpddr_op(mpddr, ATMEL_MPDDRC_MR_MODE_NOP_CMD, ram_address); -- 2.27.0 On Mon, 5 Apr 2021 at 14:58, wrote: > On

Re: SAMA5D3 Xplained: SPL broken after panic added to /lib/time.c:94

2021-04-05 Thread Manuel Luís Reis
e is a need to correct anything. Cheers On Mon, 5 Apr 2021 at 17:00, wrote: > > On 4/5/21 6:42 PM, Manuel Luís Reis wrote: > > > Hi Eugen, > > > > > Does the node have the property > > > > > > u-boot,dm-pre-reloc; > > > > > > Maybe

Re: [PATCH v2] ARM: dts: at91: sama5d3: add u-boot properties to sama5d3 pit timer

2021-04-07 Thread Manuel Luís Reis
Hi, @Derald: Thanks for trying this out. @Eugen: For what is worth, I can also confirm that I also tried with the latest version v2021.04 and the board boots OK out of the box with this patch only. RomBOOT U-Boot SPL 2021.04-00372-g90eba245a6-dir

Re: [PATCH v2] ARM: dts: at91: sama5d3: add u-boot properties to sama5d3 pit timer

2021-04-07 Thread Manuel Luís Reis
Great, thanks for your help. Cheers Manuel M. Luís Reis MSc MIET Chartered Engineer On Wed, 7 Apr 2021 at 10:31, wrote: > > On 4/7/21 12:16 PM, Manuel Luís Reis wrote: > > Hi, > > > > @Derald: Thanks for trying this out. > > > > @Eugen: For what is worth,

Re: FW: [PATCH] add check for ignored CONFIG_ENV_EXT4_DEVICE_AND_PART definition

2020-12-09 Thread Manuel Luís Reis
Hi Patrick, Apologies. Must have missed that. Thanks Manuel On Wed, 9 Dec 2020 at 10:28, Patrick DELAUNAY wrote: > > On 12/9/20 10:06 AM, Patrick DELAUNAY wrote: > > Hi Manuel, > > > > On 12/9/20 9:59 AM, Patrick DELAUNAY wrote: > >> From: Manuel Reis > >> Sent: mercredi 25 novembre 2020 11:1