Star64: Armbian Installation
#2
OK I cross-compiled the kernel. I'm using a different toolchain, because arm64 Debian's riscv64 gcc is broken.
I'm using this one:
https://github.com/riscv-collab/riscv-gnu-toolchain

I encountered a build error due to a missing file vdso.so.dbg. I changed a script riscv/kernel/vdso/.vdso.so.dbg.cmd and was able to create it. This issue was probably due to my toolchain.

For copying files into Armbian, I didn't see a "dirty" image directory, so I removed that suffix. My commands were these:

sudo rsync -avzH debian/linux-image/usr/lib/linux-image-5.15.107-15659-g7943fd6427b0/ /mnt/boot/dtb
sudo rsync -avzH debian/linux-image/lib/modules/5.15.107-15659-g7943fd6427b0 /mnt/lib/modules
sudo rsync -avzH arch/riscv/boot/Image /mnt/boot/
sudo sed -i s/jh7110-star64-pine64.dtb/jh7110-pine64-star64.dtb/ /mnt/boot/extlinux/extlinux.conf

Then finally I booted it and it worked, albeit with only 4GB of RAM detected, and there were startup errors.
The Armbian welcome screen stayed visible for probably 4 minutes.
There are also almost no packages installed, but luckily Ethernet works fine, so there will be a lot of apt installing tonight.

Caveat 1:
I discovered that because I refused to enter passwords for my root and user accounts, I later couldn't log in to either account. So I'll have to redo the process.

Caveat 2:
I'm finding that if I disconnect the HDMI cable while on a virtual console i.e. not X, so that I can use the monitor with my main computer, the Star64 will have video issues e.g. blanking for a while or indefinitely. This happens whether I'm using Armbian or Fishwaldo's build.
  Reply


Messages In This Thread
RE: Star64: Armbian Installation - by tantamount - 05-30-2023, 02:41 PM
RE: Star64: Armbian Installation - by tantamount - 05-31-2023, 02:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Star64: GPU firmware loading on Armbian Der Geist der Maschine 14 8,145 09-30-2024, 02:49 AM
Last Post: Marco2024
  [Star64] Help needed in understanding Yocto and U-boot build process InterestedinFOSS 0 681 04-23-2024, 10:58 AM
Last Post: InterestedinFOSS
  Star64 JH7110 (slarm64, riscv64) mara 2 1,781 10-09-2023, 03:43 AM
Last Post: mara
  Star64: jtag debugging? bluepill 1 1,560 09-20-2023, 08:26 AM
Last Post: bwooster0
  Star64: 4GB on 8GB boards Der Geist der Maschine 4 3,167 07-27-2023, 12:32 AM
Last Post: balbes150
  Star64: SATA Der Geist der Maschine 1 1,576 07-26-2023, 12:35 PM
Last Post: Gladox114
  Star64: a first benchmark Der Geist der Maschine 0 2,438 05-29-2023, 01:00 PM
Last Post: Der Geist der Maschine
  Star64 first boot (and success) bortzmeyer 1 2,238 05-24-2023, 02:45 AM
Last Post: draintroup
  No WIFI network discovery in any manjaro installation (but works on fedora) pineitup 1 3,368 02-02-2021, 12:13 AM
Last Post: PineSupporter
  Probably stupid question from me re: installation RAK64pine 7 10,596 05-23-2016, 07:50 AM
Last Post: RAK64pine

Forum Jump:


Users browsing this thread: 3 Guest(s)