{"id":636,"date":"2023-02-25T13:06:30","date_gmt":"2023-02-25T12:06:30","guid":{"rendered":"https:\/\/www.simernes.com\/?p=636"},"modified":"2023-03-25T08:28:23","modified_gmt":"2023-03-25T07:28:23","slug":"install-void-linux-on-a-rockpi-4","status":"publish","type":"post","link":"https:\/\/www.simernes.com\/?p=636","title":{"rendered":"Install Void Linux on a RockPi 4"},"content":{"rendered":"\n<p>Basically what I did was to put <code>tow-boot<\/code> on the SD card, then boot from the official debian image on a USB. From there I did a chroot install to another USB with the aarch64 rootfs tarball, and finally configured extlinux manually for the void kernel. I used the debian extlinux config as a template.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Automatically updating extlinux.conf with new kernels<\/h2>\n\n\n\n<p>To automatically update the <code>\/boot\/extlinux\/extlinux.conf<\/code> you can install <code>u-boot-menu<\/code>. The kernel requires the <code>DEVICETREEDIR<\/code> option to be set, so make sure to update <code>\/etc\/default\/extlinux<\/code> and set <code>USE_DEVICETREEDIR=\"yes\"<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Radio<\/h2>\n\n\n\n<p>The board has a wifi\/bt chip: AP6256. To get it to work I had to manually copy some blobs into <code>\/lib\/firmware\/brcm<\/code>, which I found in the Radxa provided debian image:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>BCM4345C5.hcd\nbrcmfmac43456-sdio.bin\nbrcmfmac43456-sdio.txt<\/code><\/pre>\n\n\n\n<p>I did this on a RockPi4 SE, which is a modified RockPI4 B, and it comes with a pre-installed eMMC module <code>NCEMAD9D-16G<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Basically what I did was to put tow-boot on the SD card, then boot from the official debian image on a USB. From there I did a chroot install to another USB with the aarch64 rootfs tarball, and finally configured extlinux manually for the void kernel. I used the debian extlinux config as a template.<\/p>\n","protected":false},"author":1,"featured_media":641,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-636","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles"],"_links":{"self":[{"href":"https:\/\/www.simernes.com\/index.php?rest_route=\/wp\/v2\/posts\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simernes.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simernes.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simernes.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simernes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=636"}],"version-history":[{"count":5,"href":"https:\/\/www.simernes.com\/index.php?rest_route=\/wp\/v2\/posts\/636\/revisions"}],"predecessor-version":[{"id":646,"href":"https:\/\/www.simernes.com\/index.php?rest_route=\/wp\/v2\/posts\/636\/revisions\/646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.simernes.com\/index.php?rest_route=\/wp\/v2\/media\/641"}],"wp:attachment":[{"href":"https:\/\/www.simernes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simernes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simernes.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}