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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

4,171件の閲覧回数
soorajs
Contributor III

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 mksdcard-android.sh 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 .


ラベル(3)
1 返信

3,179件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sooraj

according to emmc specifications like eMMCv4.5 JESD84-B451 boot partition size

is fixed during production, its size is defined by Extended CSD register EXT_CSD byte [226]:

Boot partition size BOOT_SIZE_MULTI [Read Only]. One can apply to emmc vendor how

it could be changed.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------