{"id":35649,"date":"2021-02-16T10:30:19","date_gmt":"2021-02-16T15:30:19","guid":{"rendered":"http:\/\/pappp.net\/?guid=addd2be64d0556d47ca9d9036bcec3ee"},"modified":"2021-02-16T10:30:19","modified_gmt":"2021-02-16T15:30:19","slug":"fuzix-unix-on-a-raspberry-pi-pico-raspberrypipico-unix-hjalfi","status":"publish","type":"post","link":"https:\/\/pappp.net\/?p=35649","title":{"rendered":"Fuzix: Unix on a Raspberry Pi Pico #RaspberryPiPico #Unix @hjalfi"},"content":{"rendered":"<p class=\"syndicated-attribution\">Source: <a href=\"https:\/\/blog.adafruit.com\/2021\/02\/16\/fuzix-unix-on-a-raspberry-pi-pico-raspberrypipico-unix-hjalfi\/\">adafruit industries blog<\/a><\/p>\n<div style=\"background-color : #fff7d5;\n\t\t\tborder-width : 1px; padding : 5px; border-style : dashed; border-color : #e7d796;margin-bottom : 1em; color : #9a8c59;\">Article note: Fuckin' cool.  An only slightly feeble V7 clone on the Pico. \r\n\r\nAlso, I find their notes about the Pico's C SDK very promising - I've been thinking about where I'd like to move UK's intro embedded lab long term and the quality and simplicity of documentation makes the Pico suddenly kind of appealing.  \r\nWe're on Keil in legacy mode which is foul + TI TivaC Cortex M4 right now because there is a good, cheap book for it, major contenders ST CubeIDE + STM32 or TI CCS + TivaC, but maybe I should be looking at the Pico.<\/div><p><img loading=\"lazy\" src=\"https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43.jpg\" alt=\"\" srcset=\"https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43.jpg 700w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-294x300.jpg 294w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-471x480.jpg 471w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-147x150.jpg 147w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-428x437.jpg 428w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43.jpg 700w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-294x300.jpg 294w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-471x480.jpg 471w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-147x150.jpg 147w,https:\/\/cdn-blog.adafruit.com\/uploads\/2021\/02\/Untitled-43-428x437.jpg 428w\" sizes=\"(max-width: 700px) 100vw, 700px\" referrerpolicy=\"no-referrer\"\/><\/p><p>David Given <a href=\"http:\/\/cowlark.com\/2021-02-16-fuzix-pi-pico\/index.html\"  rel=\"noopener noreferrer\">blogs<\/a> about porting <a href=\"http:\/\/fuzix.org\/\"  rel=\"noopener noreferrer\">Fuzix<\/a>, a small V7 Unix clone, to the new Raspberry Pi Pico microcontroller:<\/p><blockquote><p>Working with the Pico was an experience: the documentation is excellent, as is the C SDK. The SDK provides a set of libraries which are thin wrappers around the underlying hardware, making most features utter simplicity to use. Unlike the ESP8266&rsquo;s libraries, the Pico SDK is unopinionated and doesn&rsquo;t require you to use any of its features: if you want to talk directly to the hardware, you can (and in fact there&rsquo;s library support for doing just this).<\/p>\n<p>There are some high-level features like a heap, stdio emulation, multicore primitives, etc which I&rsquo;m not using, but if you don&rsquo;t use them you don&rsquo;t pay for them. For my embedded-systems brain it&rsquo;s the ideal ratio of functionality to complexity.<\/p><\/blockquote><p>The Fuzix port provides:<\/p><ul><li>user binaries using up to 64kB of code and data each (this could be expanded, as there&rsquo;s plenty of spare RAM)<\/li>\n<li>up to 15 processes<\/li>\n<li>a proper Unix filesystem<\/li>\n<li>SD card support, used for both the filesystem and swap space<\/li>\n<li>serial console on UART0<\/li>\n<li>the full set of Fuzix core binaries work &mdash; fsck, Bourne shell, the standard Unix tools, a vi clone, etc, plus some simple games<\/li>\n<\/ul><blockquote><p>If you&rsquo;re looking for the source code, I&rsquo;m currently upstreaming it piece by piece to&nbsp;the <a href=\"https:\/\/github.com\/EtchedPixels\/FUZIX\"  rel=\"noopener noreferrer\">main FUZIX repository<\/a>. Until that&rsquo;s done, look in&nbsp;<a href=\"https:\/\/github.com\/davidgiven\/FUZIX\/tree\/rpipico\"  rel=\"noopener noreferrer\">my own fork<\/a>.<\/p>\n<p>If you just want a binary to flash and try for yourself, here&rsquo;s one: <a href=\"http:\/\/cowlark.com\/2021-02-16-fuzix-pi-pico\/fuzix.tar.xz\"  rel=\"noopener noreferrer\">Raspberry Pi Pico Fuzix binaries<\/a><\/p>\n<div>\n<p>Poorly put-together, bugridden and unsupported Fuzix binaries for the Raspberry Pi Pico. Instructions are enclosed, more or less.<\/p>\n<\/div>\n<\/blockquote><p>See more in <a href=\"http:\/\/cowlark.com\/2021-02-16-fuzix-pi-pico\/index.html\"  rel=\"noopener noreferrer\">the post here<\/a>.<\/p><div><\/div><div><\/div><div><\/div>\n<span><!-- --><\/span>","protected":false},"excerpt":{"rendered":"<p>David Given blogs about porting Fuzix, a small V7 Unix clone, to the new Raspberry Pi Pico microcon&#8230;<\/p>\n<p> <a href=\"https:\/\/pappp.net\/?p=35649\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[226],"tags":[],"class_list":["post-35649","post","type-post","status-publish","format-standard","hentry","category-news-2"],"_links":{"self":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/35649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35649"}],"version-history":[{"count":0,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/35649\/revisions"}],"wp:attachment":[{"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}