Openvario / meta-openvario

Official OpenEmbedded layer for Openvario flight computer.
http://www.openvario.org
30 stars 29 forks source link

openvario-recovery-image doesn't build (part 2) #254

Open MaxKellermann opened 2 years ago

MaxKellermann commented 2 years ago

Sequel to https://github.com/Openvario/meta-openvario/issues/247

DEBUG: Executing shell function do_configure
'/srv/openvario-honister/tmp/deploy/images/openvario-7-PQ070/uImage' -> '/srv/openvario-honister/tmp/work/cortexa7hf-neon-vfpv4-ovlinux-linux-gnueabi/openvario-recovery-image/1.0-r24/openvario-recovery-image-1.0/uImage'
cp: cannot stat '/srv/openvario-honister/tmp/deploy/images/openvario-7-PQ070/openvario-base-initramfs-openvario-7-PQ070.cpio.gz': No such file or directory
WARNING: exit code 1 from a shell command.

I had a look at openvario-recovery-image.bb and openvario-recovery-initramfs.bb and ... I'm ... confused. None of this appears to make sense.

linuxianer99 commented 2 years ago

Hmmm ... this was a very early stage ...

The idea behind all this recovery stuff was a single file which can be booted from an USB stick just for updating the Openvario. So we used the method of ITB file. Packing kernel + DTB + initramfs into one file. The problem was, that the kernel linux-sunxi 3.4 had no support for DTB. Therefore i packed all the image building stuff into the recipe ...

Think we this needs really a redesign ;-) But i think the idea with the ITB is still a good one !

Would it make sense, to make a own class for this ITB build beside the sd-img class for the SDCard image ??