Hello Diego,
I came up with another solution which I did try manually and it works. I
need to check if this can be done via LAVA (and here I need your experience). This is the worflow:
On the LAVA worker:
- Download the wic.gz image
- Uncompress the image
- Split the image in chunks of 800M (anyway less than 1GB
- Start tftp server serving those chunks of data
On the RPI3:
- boot at uboot and initialise network
- tftp the first chunk
- write the chunk to mmc
- tftp the second chunk
- write the chunk to mmc
… x) reboot the board
Few things to note:
- our image has u-boot in it
Now I have few questions:
- Can such workflow be implemented in LAVA?
This looks possible yes. Where is uboot stored? On the mmc or on another media? Because you should avoid touching the default uboot.
- How can I achieve the multiple calls of tftp on the RPI3 in order to be
dynamic (e.g.: image size changes)?
You will have to add some code in LAVA in order to send the right commands. So LAVA will know the addresses and can send the right strings.