{"id":1222,"date":"2014-11-08T19:24:50","date_gmt":"2014-11-08T19:24:50","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1222"},"modified":"2014-11-08T19:24:50","modified_gmt":"2014-11-08T19:24:50","slug":"arm-odroid-kernel-3-173-18-usb-solution","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1222","title":{"rendered":"ARM &#8211; Odroid Kernel 3.17\/3.18 USB Solution.."},"content":{"rendered":"<p>I had been trying to get USB working with 3.17 and 3.18-rc kernels on my Odroid U3 for some time, and had been looking for fixes in the source code.<\/p>\n<p>It turned out that I was looking in the wrong place &#8211; and a clue to this was the lack of any mention of the problem on the Linux Kernel Mailing List..<\/p>\n<p>It seems that the &#8216;original&#8217; version of U-Boot on the Odroid U3 was the culprit, and updating this to a newer version fixed the problem:<\/p>\n<pre><strong># uname -a<\/strong>\r\n<strong>Linux localhost 3.18.0-rc3 #3 SMP PREEMPT Sat Nov 8 01:03:47 EST 2014 armv7l armv7l armv7l GNU\/Linux<\/strong>\r\n<strong>..................<\/strong>\r\n<strong># lsusb<\/strong>\r\n<strong>Bus 001 Device 003: ID 0424:3503 Standard Microsystems Corp.<\/strong>\r\n<strong>Bus 001 Device 002: ID 0424:9730 Standard Microsystems Corp.<\/strong>\r\n<strong>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<\/strong><\/pre>\n<p>And &#8211; this means that networking works as well, as this is connected via the USB bus:<\/p>\n<pre><strong># ifup eth0<\/strong>\r\n<strong>IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready<\/strong>\r\n<strong>IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready<\/strong>\r\n<strong>smsc95xx 1-2:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1<\/strong><\/pre>\n<p>I found the &#8216;new&#8217; U-Boot at: <a title=\"https:\/\/github.com\/tobiasjakobi\/u-boot\" href=\"https:\/\/github.com\/tobiasjakobi\/u-boot\" target=\"_blank\">https:\/\/github.com\/tobiasjakobi\/u-boot<\/a><\/p>\n<p>Full instructions can be found in the <strong>u-boot\/doc\/README.odroid<\/strong> file..\u00a0\u00a0 This newer U-Boot (<strong><em>u-boot-dtb.bin<\/em><\/strong>) also has support for loading both <strong>zImage<\/strong> and <strong>xxx.dtb<\/strong> files at boot time..<\/p>\n<p>The examples above were using the <strong><em>kernel.org<\/em><\/strong> version of 3.18-rc3, but this did not boot cleanly, and fell back to an emergency shell..\u00a0\u00a0\u00a0\u00a0 I will probably go back to -rc2 for the time being, as I did manage to get this version to boot OK..\u00a0\u00a0\u00a0\u00a0 It should be mentioned that none of these should be considered as &#8216;stable&#8217;, and boot results &#8211; on my system &#8211; were not always consistent..<\/p>\n<p>Thanks are due to <em>tobiasjakobi<\/em> and <em>prahal<\/em> for all the work they have put in with the Odroid and newer kernels..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 November 8, 2014.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had been trying to get USB working with 3.17 and 3.18-rc kernels on my Odroid U3 for some time, and had been looking for fixes in the source code. It turned out that I was looking in the wrong place &#8211; and a clue to this was the lack of any mention of the problem on <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1222\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,6,11,14,16,794,20,937],"tags":[161,938,939,795,1175,383],"class_list":["post-1222","post","type-post","status-publish","format-standard","hentry","category-compilation","category-crash-and-burn","category-hacks","category-kernel","category-linux-arm","category-odroid","category-performance-2","category-u-boot-2","tag-fix","tag-kernel-3-18-rc","tag-new-u-boot","tag-odroid-u3","tag-success","tag-usb"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1222"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1222\/revisions"}],"predecessor-version":[{"id":1223,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1222\/revisions\/1223"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}