AnsweredAssumed Answered

Increasing U-Boot partition size in emmc | Custom Sabreauto based board

Question asked by Sooraj S on Apr 12, 2018
Latest reply on Apr 13, 2018 by igorpadykov

Iam building android 7.1.2 SabreAuto BSP for our board , i have made changes for emmc boot in u-boot also dts changes in kernel . On flashing the new built firmware using mfgtool it fails on writing u-boot with error "No space left on device"

<CMD state="Updater" type="push" body="send" file="files/android/%folder%/u-boot-imx6q.imx" >Sending u-boot.bin</CMD>
    <CMD state="Updater" type="push" body="$ dd if=/dev/zero of=/dev/mmcblk%mmc% bs=1k seek=768 conv=fsync count=136">clear u-boot arg</CMD>
    <CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk%mmc%boot0 bs=512 seek=2 conv=fsync">write U-Boot to sd card</CMD>


I changed the last dd command with

dd if=$FILE of=/dev/mmcblk%mmc%boot0 bs=1k seek=1 conv=fsync

because my u-boot image size is 580 kb but still this gives me same error

If i comment out this command it successfully flash all partitions except bootloader.
i checked partition-table.bpt but this does not create bootloader partition  .
I checked but but we do not use this to create partition in android 7.1.2 instead we use partition-table.img.

Is there anyway increase bootloader partition size .
Note our board does not have an Ethernet port .