On Sun, Sep 29, 2024 at 12:44:07PM +0000, Aoba K wrote:
Hello Charlie,
I've been working on bringing up the Sipeed Lichee RV Dock (which also uses the D1 SoC) with the kernel patches you provided. The patches applied cleanly to Palmer's for-next branch, but I've encountered a couple of issues:
- Skiffos Compilation Error during the compilation process of `cgo`:
`unknown relocation type 17; compiled without -fpic?` Unfortunately, I closed the terminal before saving the full log, so I don't have the complete details, but the result should be reproducible. While this should be a SkiffOS issue, mention it in case SkiffOS is the method that you mentioned for bringing up the device.
- Image Building with sehraf/riscv-arch-image-builder:
After building the image, the device failed to start at an early stage. I suspect this may be related to incorrect RAM size detection, as the board only has 512MB of RAM. Interestingly, the vendor image reports 1GB, and the Sipeed website also states that the Dock has 1GB, despite there being no extra memory bank present.
You can find the boot log here: https://fars.ee/bdYk.log
Any help would be appreciated, and big thanks to your work to make the efficient part of this board to work (again)!
The log you posted at https://fars.ee/XFzR appears to be using the devicetree of a Nezha not the Lichee RV Dock. Why are you doing that, when the Lichee RV Dock is supported in the kernel already?
Cheers, Conor.