[VIM3] Board burn fuchsia,partiton size to small

52 views
Skip to first unread message

yixue ge

unread,
Feb 18, 2022, 7:24:32 AM2/18/22
to drivers-dev
key log:
Preparing to upload /home/gyx/work/fuchsia/source/fuchsia/out/default/firmware.img
Uploading... Done [0.08s]
Partitioning bootloader... Done [0.16s]
Rebooting to bootloader... Done [4.69s]
Preparing to stage /home/gyx/.ssh/fuchsia_authorized_keys
Uploading... Done [0.00s]
Sending command "add-staged-bootloader-file ssh.authorized_keys"
Preparing to upload /home/gyx/work/fuchsia/source/fuchsia/out/default/fuchsia.zbi
Uploading... large file, please wait... Done [1.42s]
Partitioning zircon_a... Failed to flash "zircon_a": galileitoo large for partition

so I need modify some partition`s size from uboot.

and modify some code as fellow:

--- a/include/emmc_partitions.h
+++ b/include/emmc_partitions.h
-#define MMC_ZIRCON_A_SIZE (24*SZ_1M)
+#define MMC_ZIRCON_A_SIZE (32*SZ_1M)
-#define MMC_ZIRCON_B_SIZE (24*SZ_1M)
+#define MMC_ZIRCON_B_SIZE (32*SZ_1M)
-#define MMC_ZIRCON_R_SIZE (24*SZ_1M)
+#define MMC_ZIRCON_R_SIZE (32*SZ_1M)

But we found this uboot code too old.There is no vbmate_a vbmate_b... partitions

so.what can i do about this

Ruby Zhuang

unread,
Feb 22, 2022, 6:10:43 PM2/22/22
to drivers-dev, yixue ge
Hi Yixue,

Are you by any chance using `fx set workstation.vim3`? If you try using `fx set core.vim3`, you'll get a smaller partition.

Sincerely,
Ruby

Yecheng Zhao

unread,
Feb 24, 2022, 7:20:49 PM2/24/22
to drivers-dev, Ruby Zhuang, yixue ge

Hey Yixue,

Thanks for reporting the issue. We have updated the u-boot image and increased the zircon_a/b/r partition size to 32MB. Our public u-boot repo is missing a number of patches. We are working on the release process to get it up to date. Sorry for the inconvenience. Please let us know if problem persists. Thank you very much.

Yours Sincerely
Yecheng Zhao

yixue ge

unread,
Apr 11, 2022, 1:28:03 AM4/11/22
to Yecheng Zhao, drivers-dev, Ruby Zhuang
Hi Yecheng 
Thanks very much,I will test this patch ASAP.

Yecheng Zhao <zyec...@google.com> 于 2022年2月25日周五 07:13写道:
Reply all
Reply to author
Forward
0 new messages