{"id":1246,"date":"2012-05-12T01:02:38","date_gmt":"2012-05-11T19:32:38","guid":{"rendered":"http:\/\/judepereira.com\/blog\/?p=1246"},"modified":"2012-05-12T01:06:02","modified_gmt":"2012-05-11T19:36:02","slug":"hacking-your-goflex-1-build-your-kernel","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/hacking-your-goflex-1-build-your-kernel\/","title":{"rendered":"Hacking your GoFlex Home, #1 Build your KERNEL"},"content":{"rendered":"<p>It&#8217;s been quite sometime that I&#8217;ve got my GoFlex Home now, and it&#8217;s only recently that I&#8217;ve received my RS232 Serial USB UART Adapter.<br \/>\nThe pin connections are simple and easy, I&#8217;ll post that as well. As I&#8217;ve already got Gentoo Linux running on the Marvell SoC, I was still using the Archlinux ARM kernel, for lack of better options. Building the kernel seemed to be a simple task, but apparently, if you have used the Archlinux ARM kernel config as a base to build your own, you won&#8217;t see the kernel debug messages, you only see the warnings, and those are few.<\/p>\n<p>To get going:<br \/>\nDownload the kernel sources, I&#8217;ve got a successful build with vanilla sources(patched with <a href=\"https:\/\/github.com\/archlinuxarm\/PKGBUILDs\/blob\/master\/core\/linux\/archlinuxarm.patch\" title=\"Archlinux ARM Patches\" target=\"_blank\">archlinuxarm patches<\/a>) 3.1.10<br \/>\nAfter patching the kernel, you can quickly generate the default config, by<\/p>\n<pre>\r\n# make kirkwood_defconfig\r\n<\/pre>\n<p>That would generate the default configuration, then you could configure it via <em>menuconfig<\/em>, and set the required options.<br \/>\nI&#8217;ve attached my <a href='http:\/\/judepereira.com\/blog\/wp-content\/uploads\/config.txt'>present kernel configuration<\/a>, you could use that as a base, as it took me quite a while to get the kernel working right. This kernel does not support an initrd, as I don&#8217;t think embedded devices should need one. So, if your kernel says that it <strong>can&#8217;t mount the VFS<\/strong>, it&#8217;s likely that your U-boot is giving it an initrd to use, and that surprisingly, took me quite a while to figure out.<\/p>\n<p>Goodluck hacking your GoFlex :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s been quite sometime that I&#8217;ve got my GoFlex Home now, and it&#8217;s only recently that I&#8217;ve received my RS232 Serial USB UART Adapter. The pin connections are simple and easy, I&#8217;ll post that as well. As I&#8217;ve already got Gentoo Linux running on the Marvell SoC, I was still using the Archlinux ARM kernel, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11],"tags":[347,122,103,345,346,348,349,253,350],"class_list":["post-1246","post","type-post","status-publish","format-standard","hentry","category-gen-sab-fed","tag-arm","tag-embedded","tag-gentoo","tag-goflex","tag-goflex-home","tag-hack","tag-hacking","tag-kernel","tag-seagate"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pqtyx-k6","jetpack-related-posts":[{"id":893,"url":"https:\/\/judepereira.com\/blog\/coloured-varlogmessages-at-tty12\/","url_meta":{"origin":1246,"position":0},"title":"Coloured \/var\/log\/messages at tty12","author":"Jude Pereira","date":"April 26, 2011","format":false,"excerpt":"Reading logs could never become any more easier, at just a keystroke, you have your logs displayed where you want, in some fancy colour. They look great too. TTY's can be accessed by pressing Alt + Ctrl + F[1 - 12] simultaneously. In the following, you'll get a decent, colourized\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":289,"url":"https:\/\/judepereira.com\/blog\/sabayon-four-oh\/","url_meta":{"origin":1246,"position":1},"title":"Sabayon fOuR oH","author":"Jude Pereira","date":"June 16, 2009","format":false,"excerpt":"Based on Gentoo, Sabayon 4.1, tells me: Great performance with less RAM(though you need like 1GB RAM for it to work well enough). Package Management System is absolutely fantastic, with it's new \"Entropy\". Totally the perfect distribution. A fine distribution for the newbie or the expert. This is what a\u2026","rel":"","context":"In &quot;gnu linux&quot;","block_context":{"text":"gnu linux","link":"https:\/\/judepereira.com\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":694,"url":"https:\/\/judepereira.com\/blog\/visual-basic-6-revisited-linux-wine\/","url_meta":{"origin":1246,"position":2},"title":"visual basic 6 revisited &#8211; linux &#8211; wine","author":"Jude Pereira","date":"August 5, 2010","format":false,"excerpt":"Earlier this year, I had written an article on running Visual Basic 6 on linux under wine, this is an update for it, the prior one is deprecated Getting Visual Basic 6 to work on linux is pretty easy, not much trouble, all the basic things work, as of what\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1940,"url":"https:\/\/judepereira.com\/blog\/lessons-learnt-from-esp-now\/","url_meta":{"origin":1246,"position":3},"title":"Lessons learnt from ESP NOW","author":"Jude Pereira","date":"February 18, 2021","format":false,"excerpt":"For those of you who aren\u2019t aware of ESP NOW, it\u2019s a communication protocol developed by Espressif for their ESP modules. What began as a simple \u201chook up my plant lights to HomeKit\u201d, turned into a massive home grown firmware, but more about that in another post. I\u2019ve successfully setup\u2026","rel":"","context":"In &quot;hardware&quot;","block_context":{"text":"hardware","link":"https:\/\/judepereira.com\/blog\/category\/hardware\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1685,"url":"https:\/\/judepereira.com\/blog\/compile-less-on-the-fly-for-your-exploded-war-in-intellij\/","url_meta":{"origin":1246,"position":4},"title":"Compile LESS on the fly for your exploded WAR in IntelliJ","author":"Jude Pereira","date":"February 5, 2016","format":false,"excerpt":"At CleverTap, we've recently started using LESS for dynamic CSS. While it has it's upsides, the biggest downside\u00a0was that most of our developers couldn't use the hot deploy feature for their local deployments. After an hour or so, we came up with a neat solution. \u00a0 There are two parts\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"External Tool configuration for compiling LESS files before deployment","src":"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screen-Shot-2016-02-05-at-01.32.45-1024x494.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screen-Shot-2016-02-05-at-01.32.45-1024x494.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/Screen-Shot-2016-02-05-at-01.32.45-1024x494.png?resize=525%2C300 1.5x"},"classes":[]},{"id":2094,"url":"https:\/\/judepereira.com\/blog\/the-are-you-sure-chatgpt-hack\/","url_meta":{"origin":1246,"position":5},"title":"The &#8220;Are you sure?&#8221; ChatGPT Hack","author":"Jude Pereira","date":"June 30, 2024","format":false,"excerpt":"The more I use ChatGPT, the more I tend to learn about its intricacies and nuances. One of my latest discoveries is the \"Are you sure?\" hack: Yet another example: This is just me trying to have some fun now ;) Both chats were with 4o. What's the take away?\u2026","rel":"","context":"In &quot;miscellaneous&quot;","block_context":{"text":"miscellaneous","link":"https:\/\/judepereira.com\/blog\/category\/misc\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/are-you-sure-1.gif?fit=400%2C223&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=1246"}],"version-history":[{"count":4,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1246\/revisions"}],"predecessor-version":[{"id":1255,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1246\/revisions\/1255"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=1246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=1246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=1246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}