Home/Support/Support Forum/[ConnectCore 6 SBC] How to update rootfs via tftp (or sdcard) directly to flash (image > than 1Gb) ?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

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

0 votes
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://www.digi.com/support/forum/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 !
asked Sep 27, 2017 in Linux by PeroKetStory New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
>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
answered Sep 29, 2017 by LeonidM Veteran of the Digi Community (2,860 points)
...