{"id":584,"date":"2012-12-12T00:27:19","date_gmt":"2012-12-12T00:27:19","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=584"},"modified":"2012-12-12T00:27:19","modified_gmt":"2012-12-12T00:27:19","slug":"dreamplug-to-3-7-and-an-obsolete-patch","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=584","title":{"rendered":"Dreamplug to 3.7 &#8211; and an Obsolete Patch.."},"content":{"rendered":"<p>Just updated the Dreamplug kernel to 3.7, and &#8211; although I don&#8217;t use it &#8211; decided to see if the Marvell-supplied 8688_UAP (Access Point) patch still worked..<\/p>\n<p>Not surprisingly, the patch worked, but the compilation failed:<\/p>\n<p><strong>CC [M]\u00a0 drivers\/net\/wireless\/libertas_uap\/uap_main.o<\/strong><br \/>\n<strong>drivers\/net\/wireless\/libertas_uap\/uap_main.c: In function &#8216;uap_init_sw&#8217;:<\/strong><br \/>\n<strong>drivers\/net\/wireless\/libertas_uap\/uap_main.c:446:44: warning: passing argument 3 of &#8216;netlink_kernel_create&#8217; makes pointer from integer without a cast [enabled by default]<\/strong><br \/>\n<strong>In file included from \/home\/rgadsdon\/Desktop\/compile_parameters_and_setup_howtos\/dreamplug_info_and_fixes-2011-2012\/dreamplug_kernel_arm_cross_compile\/dreamplug-3.7\/linux-3.7\/include\/uapi\/linux\/neighbour.h:5:0,<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from include\/linux\/netdevice.h:51,<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from drivers\/net\/wireless\/libertas_uap\/uap_headers.h:48,<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from drivers\/net\/wireless\/libertas_uap\/uap_main.c:36:<\/strong><br \/>\n<strong>include\/linux\/netlink.h:48:1: note: expected &#8216;struct netlink_kernel_cfg *&#8217; but argument is of type &#8216;int&#8217;<\/strong><br \/>\n<strong>drivers\/net\/wireless\/libertas_uap\/uap_main.c:446:44: error: too many arguments to function &#8216;netlink_kernel_create&#8217;<\/strong><br \/>\n<strong>In file included from \/home\/rgadsdon\/Desktop\/compile_parameters_and_setup_howtos\/dreamplug_info_and_fixes-2011-2012\/dreamplug_kernel_arm_cross_compile\/dreamplug-3.7\/linux-3.7\/include\/uapi\/linux\/neighbour.h:5:0,<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from include\/linux\/netdevice.h:51,<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from drivers\/net\/wireless\/libertas_uap\/uap_headers.h:48,<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from drivers\/net\/wireless\/libertas_uap\/uap_main.c:36:<\/strong><br \/>\n<strong>include\/linux\/netlink.h:48:1: note: declared here<\/strong><br \/>\n<strong>drivers\/net\/wireless\/libertas_uap\/uap_main.c: In function &#8216;uap_set_multicast_list&#8217;:<\/strong><br \/>\n<strong>drivers\/net\/wireless\/libertas_uap\/uap_main.c:1334:2: warning: #warning uap_set_multicast_list not implemented. Expect problems with IPv6. [-Wcpp]<\/strong><br \/>\n<strong>drivers\/net\/wireless\/libertas_uap\/uap_main.c: In function &#8216;uap_process_event&#8217;:<\/strong><br \/>\n<strong>drivers\/net\/wireless\/libertas_uap\/uap_main.c:1507:24: error: &#8216;struct netlink_skb_parms&#8217; has no member named &#8216;pid&#8217;<\/strong><br \/>\n<strong>make[4]: *** [drivers\/net\/wireless\/libertas_uap\/uap_main.o] Error 1<\/strong><br \/>\n<strong>make[3]: *** [drivers\/net\/wireless\/libertas_uap] Error 2<\/strong><br \/>\n<strong>make[2]: *** [drivers\/net\/wireless] Error 2<\/strong><br \/>\n<strong>make[1]: *** [drivers\/net] Error 2<\/strong><br \/>\n<strong>make: *** [drivers] Error 2<\/strong><\/p>\n<p>So.. I disabled support, again, and the compilation completed successfully.\u00a0\u00a0\u00a0\u00a0 I tried to find a more up-to-date version of the patch (the latest one I have is <em>Marvell-Libertas-8688-SDIO-micro-AP-support-3.2.x-v2.patch<\/em>) but there does not seem to be one existing&#8230;\u00a0\u00a0\u00a0 There are a lot of patch references, but most of them are even older..<\/p>\n<p>Still&#8230;\u00a0 Apart from that, everything works as expected..<\/p>\n<p>F<strong>edora release 18 (Spherical Cow)<\/strong><br \/>\n<strong>Kernel 3.7.0 on an armv5tel (ttyS0)<\/strong><br \/>\n<strong>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<\/strong><br \/>\n<strong># <em>uname -a<\/em><\/strong><br \/>\n<strong>Linux rgdreamplug 3.7.0 #1 Wed Dec 12 00:03:19 GMT 2012 armv5tel armv5tel armv5tel GNU\/Linux<\/strong><\/p>\n<p><em>Robert Gadsdon.\u00a0 December 12th, 2012.<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just updated the Dreamplug kernel to 3.7, and &#8211; although I don&#8217;t use it &#8211; decided to see if the Marvell-supplied 8688_UAP (Access Point) patch still worked.. Not surprisingly, the patch worked, but the compilation failed: CC [M]\u00a0 drivers\/net\/wireless\/libertas_uap\/uap_main.o drivers\/net\/wireless\/libertas_uap\/uap_main.c: In function &#8216;uap_init_sw&#8217;: drivers\/net\/wireless\/libertas_uap\/uap_main.c:446:44: warning: passing argument 3 of &#8216;netlink_kernel_create&#8217; makes pointer from integer without a cast <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=584\"><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,7,10,14,16,20],"tags":[60,120,136,1173,257,1175],"class_list":["post-584","post","type-post","status-publish","format-standard","hentry","category-compilation","category-dreamplug","category-fedora","category-kernel","category-linux-arm","category-performance-2","tag-3-7","tag-compile","tag-dreamplug-2","tag-kernel","tag-marvell-uap-8688-patch-fail","tag-success"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/584","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=584"}],"version-history":[{"count":0,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/584\/revisions"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}