[meta-ti] Kernel Hang I2C1??
Maupin, Chase
chase.maupin at ti.com
Wed Apr 30 12:40:52 PDT 2014
Josh,
Do you have the I2C2 entry in your DT? There are examples in the am33xx.dtsi file.
Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin at ti.com
phone: (214) 567-2950
For support:
Forums - http://e2e.ti.com<http://e2e.ti.com/>
Wiki - http://processors.wiki.ti.com/index.php/Main_Page
From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-bounces at yoctoproject.org] On Behalf Of Vanderpool Josh
Sent: Wednesday, April 30, 2014 9:03 AM
To: meta-ti at yoctoproject.org
Subject: [meta-ti] Kernel Hang I2C1??
I have a custom board and expect to use i2c1 on the board but it appears to not allow this in the kernel…
u-boot was able to be modified to support the hardware port i2c1. Note that that software is 1based and hardware is zero-based…
This is the dump:
· [ 1.482628] ------------[ cut here ]------------
· [ 1.487549] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_device.c:888 omap_device_get_by_hwmod_name+0x94/0xb4()
· [ 1.498803] omap_device_get_by_hwmod_name: no omap_device for i2c1
· [ 1.505365] Modules linked in:
· [ 1.508606] CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.10-ti2013.12.01 #2
· [ 1.515990] Backtrace:
· [ 1.518595] [<c0017880>] (dump_backtrace+0x0/0x10c) from [<c0017a1c>] (show_stack+0x18/0x1c)
· [ 1.527542] r6:c002f564 r5:00000009 r4:dd083e28 r3:00000000
· [ 1.533567] [<c0017a04>] (show_stack+0x0/0x1c) from [<c0580ba4>] (dump_stack+0x20/0x28)
· [ 1.542068] [<c0580b84>] (dump_stack+0x0/0x28) from [<c0046d08>] (warn_slowpath_common+0x70/0x90)
· [ 1.551480] [<c0046c98>] (warn_slowpath_common+0x0/0x90) from [<c0046dcc>] (warn_slowpath_fmt+0x38/0x40)
· [ 1.561528] r8:c076b3fc r7:c0768410 r6:c0c8c9ac r5:c084df08 r4:c06b9fa4
· [ 1.568647] [<c0046d94>] (warn_slowpath_fmt+0x0/0x40) from [<c002f564>] (omap_device_get_by_hwmod_name+0x94/0xb4)
· [ 1.579523] r3:c058be8c r2:c06b6584
· [ 1.583341] [<c002f4d0>] (omap_device_get_by_hwmod_name+0x0/0xb4) from [<c0778280>] (am33xx_pm_init+0x204/0x45c)
· [ 1.594120] r4:00000000
· [ 1.596808] [<c077807c>] (am33xx_pm_init+
The full capture is http://pastebin.com/VyY8CQ0L
I found where roughly where there might be an issue…pm33xx.c as line#395 states it can only use bus i2c1(one based(I assume this is i2c0))
Note I do not need smart reflex or sleep mode at all so any patches to work around this are welcome.
Thanks
Josh Vanderpool
Electrical Engineer
Confidentiality Notice: The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20140430/5935d6b4/attachment.html>
More information about the meta-ti
mailing list