From: Suniel Mahesh <sunil.m@techveda.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Watchdog DM - ENOMEM(out of memory) error
Date: Thu, 27 Jun 2019 19:39:01 +0530 [thread overview]
Message-ID: <cbd13fb6-0574-b4ee-9e98-9ffcb2d760fe@techveda.org> (raw)
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 servicing (60s timeout)
Error binding driver 'omap_timer': -12
Error binding driver 'omap_timer': -12
Error binding driver 'omap_timer': -12
Error binding driver 'omap_timer': -12
The watchdog DM driver has successfully got binded (checked the debug log).
The error is related to ENOMEM(out of memory). After a bit of search on the mailing lists I found
out that may be tweaking CONFIG_SYS_MALLOC_F_LEN might resolve the error.
CONFIG_SYS_MALLOC_F_LEN is defined as 0x1000 initially, I changed it to 0x2000, 0x40000 and 0x8000
but the result stays the same..
Any pointers on what could be the issue ?
Regards
--
Suniel Mahesh
Embedded Linux, Kernel & U-Boot engineer
https://github.com/sunielmahesh
www.tuxtrons.com
https://github.com/techveda
Hyderabad, India
next reply other threads:[~2019-06-27 14:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 14:09 Suniel Mahesh [this message]
2019-06-27 17:33 ` [U-Boot] Watchdog DM - ENOMEM(out of memory) error patrick.delaunay
2019-06-28 5:23 ` Suniel Mahesh
2019-07-06 17:16 ` Simon Glass
2019-07-07 9:34 ` Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cbd13fb6-0574-b4ee-9e98-9ffcb2d760fe@techveda.org \
--to=sunil.m@techveda.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.