Alpine Linux
#12
Lightbulb 
I made a few mistakes but now it works:
Ready to use solution: https://codeberg.org/AVG7/diy_hardened_alpine_linux

Create Initramfs and modloop File, this guides will help: 
https://wiki.alpinelinux.org/wiki/DIY_Fu...r_ARM_SOCs
https://a-delacruz.github.io/alpine/alpine-linux.html

Delete from the Alpine Linux Download all folders except the folders “apks” “boot” and “alpine.apkovl.tar.gz”. Replace all files in the dtbs and boot-folder with the files from ayufan (https://github.com/ayufan-rock64/linux-kernel/releases) or https://codeberg.org/AVG7/diy_hardened_alpine_linux and your initramfs and modloop file.

Create a textfile and name it extlinux.conf with the following content (replace XXX with the filenames of the files from ayufan and your initramfs and modloop file):
LABEL XXX
KERNEL /boot/vmlinuz-XXX
INITRD /boot/initramfs-XXX
FDT /boot/dtbs/XXX.dtb
APPEND modules=loop,squashfs,sd-mod,usb-storage

Create a folder in the boot-folder with name extlinux and place in this folder the extlinux.conf textfile.

Then for SPI follow this guide: https://github.com/ayufan-rock64/linux-b...ash-spi.md

Then create a partition on a emty sdcard with gparted and mark it bootable. Place the folder “apks” “boot” and “alpine.apkovl.tar.gz” on the sdcard.

Use Serial Console (https://forum.pine64.org/showthread.php?tid=4928) at first boot if hdmi does not work at first boot.

Then run setup-alpine.


Or simply follow this guide: https://codeberg.org/AVG7/diy_hardened_alpine_linux

Good to know:
Howto cross-compile Upstream U-Boot for rock64: https://forum.pine64.org/showthread.php?tid=8174

This page has been archived:
http://archive.is/w3uQN
https://web.archive.org/web/201910222216...881&page=2
  Reply


Messages In This Thread
Alpine Linux - by isndw - 03-22-2018, 02:03 AM
RE: Alpine Linux - by a1w.ca - 03-25-2018, 11:35 PM
RE: Alpine Linux - by isndw - 03-26-2018, 02:45 AM
RE: Alpine Linux - by ebike - 12-28-2018, 07:11 PM
RE: Alpine Linux - by Jame3243324 - 01-03-2019, 09:37 AM
RE: Alpine Linux - by a1w.ca - 01-03-2019, 11:10 PM
RE: Alpine Linux - by ebike - 01-03-2019, 01:17 PM
RE: Alpine Linux - by Jame3243324 - 01-03-2019, 08:08 PM
RE: Alpine Linux - by ebike - 01-03-2019, 11:55 PM
RE: Alpine Linux - by meier - 03-10-2019, 01:30 PM
RE: Alpine Linux - by rock7 - 08-13-2019, 05:25 PM
RE: Alpine Linux - by rock7 - 10-22-2019, 04:09 PM
RE: Alpine Linux - by pix - 08-12-2021, 05:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,264 11-19-2024, 02:54 PM
Last Post: mara
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 2 2,416 06-02-2023, 07:52 AM
Last Post: diederik
  Linux 5.15 Kernel - openSuse mark1250 0 1,571 12-02-2021, 04:36 PM
Last Post: mark1250
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 1,637 07-29-2021, 07:19 AM
Last Post: shivarj89
Information Linux Mainline ayufan 63 107,104 05-14-2021, 10:41 AM
Last Post: Wizzard
  Linux Images (ROCK64) pineadmin 164 319,909 02-12-2021, 10:14 AM
Last Post: useful64
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 14,315 08-31-2020, 01:41 AM
Last Post: as365n4
  Arch Linux ARM on the Rock64 V3 justinweiss 2 5,581 08-24-2020, 05:16 PM
Last Post: justinweiss
  Arch Linux Arm - external RTC problem max 1 3,382 08-17-2020, 10:35 AM
Last Post: max
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 11,099 07-09-2020, 10:02 PM
Last Post: nethammer

Forum Jump:


Users browsing this thread: 1 Guest(s)