[ConnectCore 6 SBC] How to update rootfs via tftp (or sdcard) directly to flash (image > than 1Gb) ?

Hello everyone,

I purchased a ConnectCore 6 SBC few weeks ago. I used the Yocto project provided with it, build first image, flash my target, and worked properly on it since then.

But the other day I tried to make a more “complete” yocto-image for my need, adding few (like 2 or 3) packages. But my rootfs image is now greater than 1 Gb… So U-Boot can not copy it to the sdram (which is 1Gb).

I’ve done my homework, and found out that there were possibility to ask for U-Boot to load the images directly to the flash, via tftp, with the “On-the-fly” mode => https://forums.digi.com/45191/there-size-limit-the-files-transfer-with-update-command-tftp

Yep… Well doesn’t seems to work. Because at the end, I still have: “Writing chunk…[Error]: length of data exceeds partition size”

Then I fount another way to ask U-Boot to provide that: https://forms.na1.netsuite.com/app/site/hosting/scriptlet.nl?script=457&deploy=2&compid=818164&h=5928a16f2b6f9582b799&article=how-do-i-program-my-linux-images-onto-a-digi-embedded-module

Awesome ! But the function flpart doesn’t exist with my U-Boot version… Great…

So, if anyone as an idea or just even a lead of what to do, that would be awesome !

Btw, my actual U-Boot version (for which I can not even find a complete doc): U-Boot dub-2015.04-r9.2+g0a4ec9f

Thanks a lot !

>Yep… Well doesn’t seems to work. Because at the end, I still have: “Writing chunk…[Error]: length of data exceeds partition size”

Your real problem is that your partition size is smaller than the rootfs image you are tryint to fit in to it.
Please resize partiton from u-boot and then try again.
for more details look here:
https://www.digi.com/resources/documentation/digidocs/90001546/#task/t_change_partition_table.htm