[yocto] hddimg 4GB limit?

Takashi Matsuzawa tmatsuzawa at xevo.com
Wed Mar 8 23:04:43 PST 2017


Hello.

I found hddimg 4GB-1 bye restriction because it creates a file called rootfs.img which is copied into FAT.

That means rootfs.img size must be below FAT max file size...


________________________________
From: Takashi Matsuzawa
Sent: Thursday, March 9, 2017 1:51 PM
To: yocto at yoctoproject.org
Subject: hddimg 4GB limit?


Hello, Yocto.


I have looked into hddimg file.

According to image-live.bbclass, it is hardcoded to maximum 4GB size.

But should not this more large?

hddimg is generated by mkdosfs -F 32 that means the filesystem capacity is larger than 4GB.


I just hit this limit when generating an image that exceeds 4GB size.


I think I am look into using hdddirect instead (hopefully it does not have this limit?),

but I also want to check if hddimg 4GB limitation has some practical reason (other than above image-live.bbclass checking).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170309/78bd14bc/attachment.html>


More information about the yocto mailing list