<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/porting-alpine-linux-to-risc-v-bh1hve863" -->

---
title: Porting Alpine Linux to RISC-V | daily.dev
description: A hands-on account of porting Alpine Linux to RISC-V architecture on the HiFive Unleashed board. Covers the two-phase process: bootstrapping (cross-compiler...
canonical: https://daily.dev/posts/porting-alpine-linux-to-risc-v-bh1hve863
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Porting Alpine Linux to RISC-V | daily.dev
og:description: A hands-on account of porting Alpine Linux to RISC-V architecture on the HiFive Unleashed board. Covers the two-phase process: bootstrapping (cross-compiler...
og:url: https://daily.dev/posts/porting-alpine-linux-to-risc-v-bh1hve863
og:image: https://api.daily.dev/og/posts/Bh1HVE863.png
og:image:alt: Porting Alpine Linux to RISC-V
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Porting Alpine Linux to RISC-V

**[Drew DeVault](https://daily.dev/sources/drewdevault)** · 5 min read · 0 upvotes · 0 comments

## Summary

A hands-on account of porting Alpine Linux to RISC-V architecture on the HiFive Unleashed board. Covers the two-phase process: bootstrapping (cross-compiler setup, musl libc patching for RISC-V, building essential packages) and the broader porting effort. The author encountered and fixed several bugs in the RISC-V musl libc patch, integrated Alpine's bootstrap script, and discusses the tradeoff between cross-compilation and native builds. Plans include making RISC-V build cycles publicly available via builds.sr.ht, and a preliminary Alpine RISC-V repository is shared for early adopters.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://drewdevault.com/2018/12/20/Porting-Alpine-Linux-to-RISC-V.html>

## Similar posts on daily.dev

- [AlmaLinux OS Kitten 10 Begins Supporting RISC-V](https://daily.dev/posts/almalinux-os-kitten-10-begins-supporting-risc-v-3a3yenaah) · Phoronix · 0 upvotes · 0 comments
- [Making a micro Linux distro](https://daily.dev/posts/making-a-micro-linux-distro-opv8lmaob) · Hacker News · 21 upvotes · 3 comments
- [RISC-V is sloooow – Marcin Juszkiewicz](https://daily.dev/posts/risc-v-is-sloooow-marcin-juszkiewicz-f19ouew8p) · Hacker News · 1 upvotes · 0 comments
- [A Third World Embedded Engineer Responds to "RISC-V: They Should Have Known Better"](https://daily.dev/posts/a-third-world-embedded-engineer-responds-to-risc-v-they-should-have-known-better--1bh7jvqtz) · Lobsters · 2 upvotes · 0 comments
- [Main changes, Arm, RISC-V, and MIPS architectures](https://daily.dev/posts/main-changes-arm-risc-v-and-mips-architectures-eds3j61xx) · CNX Software · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/porting-alpine-linux-to-risc-v-bh1hve863)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Porting Alpine Linux to RISC-V","url":"https://daily.dev/posts/porting-alpine-linux-to-risc-v-bh1hve863","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/porting-alpine-linux-to-risc-v-bh1hve863"},"datePublished":"2026-03-31T12:29:01.005Z","dateModified":"2026-03-31T12:46:41.532Z","description":"A hands-on account of porting Alpine Linux to RISC-V architecture on the HiFive Unleashed board. Covers the two-phase process: bootstrapping (cross-compiler...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7287358d663937b982b8a1d4a72d16fd?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7287358d663937b982b8a1d4a72d16fd?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Drew DeVault","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Drew DeVault","logo":"https://media.daily.dev/image/upload/s--BGhGBu0U--/f_auto,q_auto/v1774960025/logos/drewdevault?_a=BAMAMiWQ0","url":"https://daily.dev/sources/drewdevault"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/porting-alpine-linux-to-risc-v-bh1hve863","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Drew DeVault","item":"https://daily.dev/sources/drewdevault"},{"@type":"ListItem","position":3,"name":"Porting Alpine Linux to RISC-V"}]}
```

