{"id":300,"date":"2012-08-07T21:21:44","date_gmt":"2012-08-07T21:21:44","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=300"},"modified":"2012-08-07T21:21:44","modified_gmt":"2012-08-07T21:21:44","slug":"apc-extra-ammunition-another-armv6-compiler-toolchain","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=300","title":{"rendered":"APC &#8211; Extra Ammunition&#8230; Another ARMv6 Compiler Toolchain.."},"content":{"rendered":"<p>As my APCs are being held to ransom, until I get an invoice for UK customs duty and taxes (by post!!) and am then able to pay it (online?)..\u00a0 I decided to add another flavour of cross-compiler to the ones I already have installed.<\/p>\n<p>This one comes from the self-contained OpenELEC environment which is used to create a Linux + XBMC installation for the Raspberry Pi..\u00a0\u00a0\u00a0\u00a0 It includes the &#8216;<strong>armv6zk-openelec-linux-gnueabi<\/strong>&#8216; compiler environment, and &#8216;installation&#8217; is a straightforward &#8211; if a bit messy &#8211; case of copying the appropriate files and directories to my main X86_64 setup.\u00a0\u00a0\u00a0 The only slight complication is to replace some of the shell script versions of the OpenELEC-centric compiler files with the equivalent &#8216;softlinks&#8217; to the appropriate gcc executables..\u00a0\u00a0\u00a0\u00a0 I checked these links &#8211; and the file \/ directory locations &#8211; against the existing ones for a similar toolchain (arnv5l-redhat&#8230;) that I had been using for compiling kernels for the Dreamplug.<\/p>\n<p>I tested this by (re)compiling kernel 3.2.24 for the raspberry Pi, and everything appears to work correctly&#8230;\u00a0\u00a0\u00a0 All I need now is the actual APC (and UART connector\/converter) to try it all out on!<\/p>\n<p>I am &#8211; of course &#8211; making the giant assumption that it will be possible to get some sort of Linux kernel to compile and run on the APC &#8211; albeit with limited functionality due to certain drivers being apparently unavailable in open-source format..\u00a0\u00a0 At least the CPU itself is the same as the Raspberry Pi&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As my APCs are being held to ransom, until I get an invoice for UK customs duty and taxes (by post!!) and am then able to pay it (online?)..\u00a0 I decided to add another flavour of cross-compiler to the ones I already have installed. This one comes from the self-contained OpenELEC environment which is used to create <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=300\"><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":[3,5,6,11,14,16,27],"tags":[89,1174,94,123,131,242,287,367,423],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-apc","category-compilation","category-crash-and-burn","category-hacks","category-kernel","category-linux-arm","category-xbmc","tag-apc-2","tag-arm","tag-armv6","tag-compiler","tag-cross-compile","tag-linux","tag-openelec","tag-toolchain","tag-x86_64"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/300","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=300"}],"version-history":[{"count":0,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}