tmolteno / d1_build

Debian disk image builder for the Sipeed Lichee RV Risc-v Single Board Computer
GNU General Public License v3.0
59 stars 16 forks source link

Use mainline OpenSBI, use patched mainline U-Boot, use newer kernel branch #22

Closed jailbird777 closed 1 year ago

jailbird777 commented 1 year ago

(Disclaimer: XR829 module builds, but I have no way to test the functionality currently)

jailbird777 commented 1 year ago

$ uname -a ; cat /etc/debian_version Linux licheerv 6.1.0-rc3-gb466df90d48f #1 Fri Dec 2 23:06:44 UTC 2022 riscv64 GNU/Linux bookworm/sid

tmolteno commented 1 year ago

Overall these look pretty exciting. Would like your thoughts on referring to specific state of the d1 kernel rather than d1/all?

jailbird777 commented 1 year ago

That's fine with me, that's what the Arch script is doing. I'll work on that.

jailbird777 commented 1 year ago

Added the commit now

mtuxpe commented 1 year ago
  • BSP boot0 isn't needed anymore
  • TOC1 isn't needed anymore
  • Included Xradio driver needed patching for the newer kernel, the version at https://github.com/YuzukiHD/Xradio-XR829 worked as-is, so switched to that

(Disclaimer: XR829 module builds, but I have no way to test the functionality currently) Hello @jailbird777 Maybe you need to change work directory before run git checkout: WORKDIR /build/linux

RUN git clone --depth 1 --branch ${KERNEL_TAG} https://github.com/smaeul/linux RUN git checkout ${KERNEL_COMMIT}