4 Replies Latest reply on Jan 6, 2015 4:02 PM by Andre.M

    edison partition management

    Andre.M

      i would like to add a new partition named but have some questions

       

      Increasing the Root Partition Size why does ota not work if the root partition size is over 640 ?

      i thought as long as the partition is smaller than available ram ota should work, so in theory 768 should also work?

       

      i assume i need to change the following files:

       

      meta-edison-distro/recipes-bsp/u-boot/files/edison.env

      change

      rootfs size

      add

      name=NEWNAME,size=512MiB,uuid=${uuid_????};

       

      meta-edison-distro/recipes-core/images/edison-image.bb

      change

      IMAGE_ROOTFS_SIZE

       

      meta-edison-distro/recipes-core/base-files/base-files/fstab

      add

      /dev/disk/by-partlabel/NEWNAME     /NEWNAME       auto    noauto,x-systemd.automount,nosuid,nodev,noatime,discard,barrier=1,data=ordered,noauto_da_alloc 1   1

       

      meta-edison-distro/recipes-core/first-install/files/first-install.sh

      add

      # format partition NEWNAME to ext4

      mkfs.ext4 -m0 /dev/disk/by-partlabel/NEWNAME

      fi_assert $? "Formatting NEWNAME partition"

       

      is this the right way?

       

      where are variables like ${uuid_disk}, ${uuid_uboot1}, .... defined?