<div dir="ltr"><div><div><div>Hi<br><br></div>I just had a quick look at the APU3a schema, looks like D+ D- lines on the J13 connector have switched places.<br><br></div>Regards,<br></div>Kyösti<br><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 5:31 PM, Kamil <span dir="ltr"><<a href="mailto:kamil.wcislo@3mdeb.com" target="_blank">kamil.wcislo@3mdeb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody,<br>
<br>
We're trying to enable the USB on the J13 connector on APU3 board. It's using<br>
the EHCI1 device (ports 0 to 3). As far as I understand it, USB controllers are<br>
configured and set by the AGESA PI binary. I've tried with both versions of<br>
AGESA - the one specific for pcengines boards (`3rdparty/blobs/mainboard/<wbr>pcengines/apu2/AGESA.bin`)<br>
and the latest one for this kind of chip (`3rdparty/blobs/pi/amd/<wbr>00730F01/FT3b/AGESA.bin`).<br>
Both versions deliver the same results. I've managed to use the latter version<br>
by enabling all devices in `mainboard/pcengines/apu2/<wbr>devicetree.cb`.<br>
I'm using the master branch of coreboot, but also I've tried with some older<br>
versions (same issue).<br>
<br>
We're working on mainlining all the changes needed for APU3 and one of them is<br>
this USB header. It's unconnected and not used on APU2 boards, so disabled by<br>
default. Besides that, shouldn't have more changes in this area. APU3 is similar<br>
to APU2 board (the same SOC and design in general). The USB connections are on<br>
page 6 on the schematics.<br>
<br>
My question is, what can we look for to investigate this issue further? Right<br>
now we're out of options and we don't know what to do next. We would be grateful<br>
for any insights on this matter.<br>
<br>
* Schematics for APU2 board: <a href="https://pcengines.ch/schema/apu2c.pdf" rel="noreferrer" target="_blank">https://pcengines.ch/schema/<wbr>apu2c.pdf</a><br>
* Schematics for APU3 board: <a href="https://pcengines.ch/schema/apu3a.pdf" rel="noreferrer" target="_blank">https://pcengines.ch/schema/<wbr>apu3a.pdf</a><br>
* Diff of my changes: <a href="http://pastebin.com/8YKkzB7Z" rel="noreferrer" target="_blank">http://pastebin.com/8YKkzB7Z</a><br>
* Boot log: <a href="http://pastebin.com/uBAubrz9" rel="noreferrer" target="_blank">http://pastebin.com/uBAubrz9</a><br>
* PCI config space dumps: <a href="http://pastebin.com/3aBrt6wp" rel="noreferrer" target="_blank">http://pastebin.com/3aBrt6wp</a><br>
* lsusb dump: <a href="http://pastebin.com/V7NTWAnq" rel="noreferrer" target="_blank">http://pastebin.com/V7NTWAnq</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Best regards,<br>
Kamil Wcisło<br>
Embedded Systems Engineer<br>
<a href="http://3mdeb.com" rel="noreferrer" target="_blank">http://3mdeb.com</a> | @3mdeb_com<br>
<br>
</font></span></blockquote></div><br></div></div></div></div></div>