# Changing the partition table on the Connectcore 6UL using Digi Embeddded Yocto Version 3.2.

**URL:** <https://forums.digi.com/t/changing-the-partition-table-on-the-connectcore-6ul-using-digi-embeddded-yocto-version-3-2/22744>\
**Category:** Embedded Devices\
**Tags:** embedded-linux, connectcore6ul\
**Created:** [October 19, 2021, 4:33pm UTC](https://forums.digi.com/t/changing-the-partition-table-on-the-connectcore-6ul-using-digi-embeddded-yocto-version-3-2/22744 "2021-10-19T16:33:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkrueger](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mkrueger](https://forums.digi.com/u/mkrueger)\
**Post date:** [October 19, 2021, 4:33pm UTC](https://forums.digi.com/t/changing-the-partition-table-on-the-connectcore-6ul-using-digi-embeddded-yocto-version-3-2/22744/1 "2021-10-19T16:33:37Z")

</div>

I am trying to Change the partition table on the Connectcore 6UL using Digi Embeddded Yocto Version 3.2.

I am following the run-time procedure described at this link:  
[https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.2/cc6ul/yocto\_t\_change-partition-table\_nand](https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.2/cc6ul/yocto_t_change-partition-table_nand)

I am able to edit the mtdparts and save my changes (increase the size of rootfs).

I then nand erase.part rootfs and nand erase.part update because one changes size and I assume the other moves.

When I reboot I get a Kernel Panic.

I then noticed a discussion below “Adjust Digi Embedded Yocto for partition table changes”. It discusses updating MKUBIFS\_ARGS for rootfs.

I cannot find these MKUBIFS variables. I have searched the web and cannot find much info on this variable.

My questions are:

1. Where is this variable located?
2. Can it be changed in UBOOT?
3. Is there a document that describes how to do this?

Thanks

---

<div class="post-metadata">

**Author:** ![mkrueger](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mkrueger](https://forums.digi.com/u/mkrueger)\
**Post date:** [October 20, 2021, 11:03pm UTC](https://forums.digi.com/t/changing-the-partition-table-on-the-connectcore-6ul-using-digi-embeddded-yocto-version-3-2/22744/2 "2021-10-20T23:03:53Z")

</div>

I have an update on my issue. I have solved my Kernel Panic by updating the rootfs image after I perform the nand erase.

// Update the rootfs image from SD card  
update rootfs mmc 0 dey-image-qt-x11-ccimx6ulsbc.ubifs

I no longer get a Kernel Panic. I have increased my rootfs partition from 512m to 900m.

I still want to get info about MKUBIFS\_ARGS because I think it should be updated for this size increase.

Thanks.

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [October 20, 2021, 11:10pm UTC](https://forums.digi.com/t/changing-the-partition-table-on-the-connectcore-6ul-using-digi-embeddded-yocto-version-3-2/22744/3 "2021-10-20T23:10:11Z")

</div>

After you have erased the partitions you have to reprogram them.

MKUBIFS\_ARGS I believe is the variable in core/Makefile  
Please take a look here: [https://www.engicam.com/art/193888/NAND-programming](https://www.engicam.com/art/193888/NAND-programming)

But I don’t think you need to do anything about it.
