TheSin- / rpi-img-builder

Scripts to create custom images for RaspberryPi
MIT License
107 stars 30 forks source link

CM3L image #26

Closed natxopedreira closed 6 years ago

natxopedreira commented 6 years ago

Hello

Sorry if this not the correct place as is more a question that an issue....

Im trying to install ubuntu classic on a cm3l and the ubuntu server img for rpi3 does not work on the cm3l so i want to try to build an image.

Wich param i net to set in RPI to set the cm3 as target board?

As your readmei think will be:

mv plugins/tmpfs plugins/disabled/
mv plugins/fsckboot plugins/disabled/
sudo make REPO=Ubuntu RPI=???

Thanks

TheSin- commented 6 years ago

sorry ubuntu is a WIP, the support for PRI built in to ubuntu when I started working on it was lacking to say the least so I gave on it. This was some time ago so it may have gotten better and should be revisited, but for now I'd say ubuntu is simply not supported. Please try with Debian or raspbian.

natxopedreira commented 6 years ago

Thank you!!

I will be happy with raspbian but i need ubuntu server or any other ubuntu LTS distro.... it runs ok in rpi3 but not on the compute module, i will dig to see if found a solution.

TheSin- commented 6 years ago

I remember that the CM3 needs a different dtb, if you find one that works properly with the ubuntu kernel you could get it to work. You could use the plugins to inject it at that point. The issue is with the dtb that are provided with uboot in ubuntu IIRC.

natxopedreira commented 6 years ago

cool, so for example those from ubuntu core, do you think that can be used? https://github.com/kubiko/pi3-gadget/tree/cm3/prebuilt/boot-assets

thanks!

TheSin- commented 6 years ago

dtb are compile are the same time as the kernel, so if the kernel build matches they will work other wise you'll have a version taint issue. It's worth a shot, you could just write a plugin to copy that git repo to your card and remove the ubuntu kernel completely.

natxopedreira commented 6 years ago

ok, thanks again, i will try