Post AvIyS1qYNXaexMWMuO by khm@hj.9fs.net
 (DIR) More posts by khm@hj.9fs.net
 (DIR) Post #AvIyS1qYNXaexMWMuO by khm@hj.9fs.net
       0 likes, 1 repeats
       
       how to boot alpine linux on your mnt reform 2 with the rcore module:- Install alpine in a chroot- packages I installed in my chroot:  http://sciops.net/downloads/rcore-world- Add my repo to /etc/apk/repositories:  http://sciops.net/downloads/alpine/edge/testing/aarch64/- Add my pubkey  to /etc/apk/keys:  http://sciops.net/downloads/khm-6850e797.rsa.pub- apk add linux-rcore- delete the /boot/extlinux directory- put this file in /boot/boot.scr:  http://sciops.net/downloads/rcore-boot.scr- format an sdcard with two partitions: partition number one vfat, partition number two ext4- copy /boot from the chroot to the sdcard's vfat partition- copy everything else to the sdcard's ext4 partition- insert the sd card and turn on the computer- log in as root- run rmmod dwmac_rk; gpioset -c 3 -t 100ms,100ms,0ms 23=1; modprobe dwmac_rk- plug an ethernet cable in the computer if you don't have wifi- install to nvme via setup-alpine- check the resulting /boot/extlinux/extlinux.conf- reference:  http://sciops.net/downloads/rcore-extlinux.conf- boot up / rock outTODO:- publish the APKBUILD and config for the kernel package- try out some different kernel versions (lts and stable?)- make a 'reformations' package that does gpioset on boot and contains some useful sway config- fix bugs