Closed elasticdotventures closed 7 months ago
@danjenkins imho for now, for me at least .. baby steps. this was a "will they (sipeed) review & accept a PR"
I'm attempting (and failing, but perservering) to build an ubuntu jammy image. For this script I just wanted a deterministic way to execute the commands -- once I get the ubuntu rootfs (*a server build, for k8s), then I'll add a github build action and ghcr.io download artifact.
The present instructions from sipeed for building an image are heavy toil, they assume (*incorrectly in my case) that /dev/sdc is the flash device!! 😱 .. easily could have nuked a hard disk.
Sounds good. I need to recompile the kernel to add usb hid support at which point I'd just make a new image that doesn't look at Chinese mirrors etc... so very interested in a script that just works :)
@danjenkins
recompiling this kernel as-is is super complicated, there are a bunch of custom patches, running make menuconfig
irreparabily breaks the build process. (it will build, but the resulting kernel doesn't work and it's not obvious why)
🤬 At this point -- I've lost ~3 days of my life I can't get back, and finally decided this board has no support from sipeed, the way it's distributed it will be extremely difficult to maintain. It's a piece of crap and I've paused all my efforts & energy toward it, going to look at boards from other manufacturers.
I've been working on other stuff in the past few days. Thanks for ur work. I'll the mkimage.sh for now. And there are a lot to be done in to improving the build process indeed, I'll continue working on it later. However, since the mainline kernel has not yet merged our commits, we can only update our SDK by patching. If you need to compile custom kernels, you need to handle the relevant conflicts by yourself.
@danjenkins recompiling this kernel as-is is super complicated, there are a bunch of custom patches, running
make menuconfig
irreparabily breaks the build process. (it will build, but the resulting kernel doesn't work and it's not obvious why)🤬 At this point -- I've lost ~3 days of my life I can't get back, and finally decided this board has no support from sipeed, the way it's distributed it will be extremely difficult to maintain. It's a piece of crap and I've paused all my efforts & energy toward it, going to look at boards from other manufacturers.
@elasticdotventures your new script isn't mentioned in the README :)
The instructions aren't hugely clear for anyone coming to the repo and wanting to build their own image.... does it all need to be run on a machine thats running your OS you want to tun on the pi3h... etc etc...