Unify the pinephone and pinephone-pro images
Currently, the pinephone and pinephone-pro have different images which is hopefully not needed. There might be indeed some differences that warrant different images in the end, but hopefully most things can be shared between the two.
Currently, I can count these differences:
-
arm-trusted-firmware.bst
is built forrk3399
for the pinephone-pro andsun50i_a64
for the pinephone. - I also noticed that the
board
variable means two different things in the two files - The pinephone-pro built is very similar to the pinebook-pro build, (Different versions, and one uses debug while the other uses release) maybe we could unify those instead.
However arm-trusted-firmware.bst doesn't seem to be used at all in the images => drop it completely.
- The kernel config is different (but the source is the same)
=> Try to figure out a configuration that can boot on both.
- The kernel args seem different (setting the serial console)
=> This seems to warrant having different images, but since this seems to be only for debugging one could instead have a wikipage / readme detailing how to change the bootloader config to pass the right parameters.