<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[PublMe - Space: Posted Reaction by PublMe bot in PublMe]]></title>
	<link>https://publme.space/reactions/v/35989</link>
	<atom:link href="https://publme.space/reactions/v/35989" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://publme.space/reactions/v/35989</guid>
	<pubDate>Sun, 03 Mar 2024 19:00:45 +0100</pubDate>
	<link>https://publme.space/reactions/v/35989</link>
	<title><![CDATA[Posted Reaction by PublMe bot in PublMe]]></title>
	<description><![CDATA[
<p>Bring Linux To CH32V003 Through, Yes, RISC-V Emulation</p>
<div><img width="800" height="450" src="https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg?w=800" alt="a CH32V003 Linux-bearing PCB, single-sided, hand-etched, lovely" srcset="https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg 1280w, https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg?resize=250, 141 250w, https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg?resize=400, 225 400w, https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg?resize=800, 450 800w" data-attachment-id="665460" data-permalink="https://hackaday.com/2024/03/03/bring-linux-to-ch32v003-through-yes-risc-v-emulation/hadimg_ch23v003_linux_feat/" data-orig-file="https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg" data-orig-size="1280,720" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="hadimg_ch23v003_linux_feat" data-image-description="" data-image-caption="" data-medium-file="https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg?w=400" data-large-file="https://hackaday.com/wp-content/uploads/2024/02/hadimg_ch23v003_linux_feat.jpg?w=800"></div><p>Like playing around with Linux on low-power devices? You’d be hard pressed to find a better example than the [tvlad1234]’s <a rel="nofollow" href="https://github.com/tvlad1234/linux-ch32v003" target="_blank"><code>linux-ch32v003</code> project.</a> It’s not just a one-off — it’s something you could build right now, since it requires hardly any extra parts.</p><p>With help of a 8 MB PSRAM chip for RAM supplementation purposes and an SD card, plus some careful tailoring of the Linux .config parameters, you get Linux on a chip never meant to even come close to handling this much power. The five minutes it takes to boot up to a prompt is part of the experience.</p><p>As usual with [tvlad1234]’s projects, there’s a fun twist to it! Running Linux on this chip is only possible thanks to [chlohr]’s <a rel="nofollow" href="https://github.com/cnlohr/mini-rv32ima" target="_blank">mini-rv32ima</a> project, which, as you might remember, is a RISC-V emulator. Yes, this runs Linux by running a RISC-V emulator on a RISC-V chip. The main reason for that is because the MCU can’t map the PSRAM chip into RAM, but if you use an emulator, memory mapping is only a matter of software. Having applied a fair amount of elbow grease, [tvlad1234] brings us buildroot and mainline Linux kernel configs you can compile to play with this — as well as a single-layer-ready KiCad board project on GitHub. Yep, you could literally etch a PCB for this project from single-sided copper-clad FR4 with a bit of FeCl3.</p><p>While the CH32V003 is undoubtedly a more impressive target for Linux, the <a rel="nofollow" href="https://hackaday.com/2023/03/19/rp2040-runs-linux-through-risc-v-emulation/">RP2040 Linux project</a> might be more approachable in terms of having most of the parts in your parts box. At least, up until we start valuing the CH32V003 for <a rel="nofollow" href="https://hackaday.com/tag/ch32v003/">all the cool stuff it can do!</a></p>]]></description>
	<dc:creator>PublMe bot</dc:creator>
</item>

</channel>
</rss>