Re: [U-Boot] Watchdog DM - ENOMEM(out of memory) error

2019-07-07 Thread Stefan Roese
Hi Simon, On 06.07.19 19:16, Simon Glass wrote: On Thu, 27 Jun 2019 at 23:23, Suniel Mahesh wrote: Hi Patrick, thanks for the pointer and I understood your point. CONFIG_SYS_MALLOC_LEN is defined as SZ_32M which should be enough i guess ? still trying to figure out what is causing that err

Re: [U-Boot] Watchdog DM - ENOMEM(out of memory) error

2019-07-06 Thread Simon Glass
Hi, On Thu, 27 Jun 2019 at 23:23, Suniel Mahesh wrote: > > Hi Patrick, > > thanks for the pointer and I understood your point. > > CONFIG_SYS_MALLOC_LEN is defined as SZ_32M which should be enough i guess ? > > still trying to figure out what is causing that error. This is very strange, particul

Re: [U-Boot] Watchdog DM - ENOMEM(out of memory) error

2019-06-27 Thread Suniel Mahesh
Hi Patrick, thanks for the pointer and I understood your point. CONFIG_SYS_MALLOC_LEN is defined as SZ_32M which should be enough i guess ? still trying to figure out what is causing that error. -- Sent from: http://u-boot.10912.n7.nabble.com/ _

Re: [U-Boot] Watchdog DM - ENOMEM(out of memory) error

2019-06-27 Thread patrick.delaunay
Hi, The error is after the trace "DRAM: 512 MiB" , so after relocation!. And in this case the CONFIG_SYS_MALLOC_LEN is used. FYI: CONFIG_SYS_MALLOC_F_LEN is used before relocation (tag '_F_ ') Regards Patrick -- Sent from: http://u-boot.10912.n7.nabble.com/ ___

[U-Boot] Watchdog DM - ENOMEM(out of memory) error

2019-06-27 Thread Suniel Mahesh
Hi, I am trying to convert watchdog driver(omap3_wdt) on TI AM33XX platform to Driver Model. I am getting the following error: U-Boot 2019.07-rc4-00179-g77f6e2d-dirty (Jun 27 2019 - 15:11:15 +0530) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB WDT: Started with s