a-v-s / make_arch_sd

Make ArchLinux ARM SD cards for various SBCs
0 stars 0 forks source link

Board: Nezha #9

Open a-v-s opened 10 months ago

a-v-s commented 10 months ago

Building opensbi and u-boot Using ArchLinux RISCV from https://archriscv.felixc.at/

It seems the kernel provided by their repositories does not provide a kernel in "Image" format as required by u-boot. Building my own kernel instead. Initial image kernel panics right away.

The image built by https://github.com/sehraf/d1-riscv-arch-image-builder (which was the inspiration for creating this whole repository) boots fine. When I inject by kernel and u-boot it still boots fine. They are using extlinux to boot in stead of boot.scr. It might be my boot.scr is incorrect, as I've adjusted one from another board, which may be incorrect.

a-v-s commented 10 months ago

Seems the boot.scr was the culprit something based upon https://github.com/grant-olson/buildroot_ext_lichee_rv/blob/main/board/licheedock/overlay/boot.scr.txt boots

They don't seem to load a device tree?

a-v-s commented 10 months ago

The device boots, but issue "charset ascii not found" when trying to mount the /boot fs generated using genfstab. Also no HDMI output. Possibly need to be enabled in the kernel, as I am now building a riscv defconfig.

Also, we might not need the 2 partition layout on this platform