snapcore / pi-gadget

Universal pi (pi2,pi3,pi4,cm3,cm4 and future) gadget snap for Ubuntu Core and classic systems.
30 stars 60 forks source link

Missing documentation about how to customize #46

Open ogra1 opened 4 years ago

ogra1 commented 4 years ago

With the switch to using a Makefile and binary debs from the archive for u-boot it is not easily possible anymore to patch the bootloader i.e. for addon boards that need to be initialized before a kernel loads etc ...

the old setup that was building u-boot from upstream source had well dcumented ways of adding patches and modifying u-boot build configuration for addon hardware (even by following the generic snapcraft documentation about patching and building snaps) so people could follow manufacturer instructions easily. It would be nice to have ways of cusomization documented for the new setup of the snap.

xnox commented 4 years ago

Do you have specific examples of specific patches for addon boards not supported by the current gadget?

Can you provide pointers to sample "manufacturer instructions" too please?

The old setup did not support newere pi models, and there were differences between core and classic images. The current setup gave us a broader support of more pi models, to the point of being interchangeable (i.e. the same sdcard can be unplugged and plugged into a different Pi model and still boot).