Hi, I am new to EDK2 and UEFI. I am working on an ARM32 embedded Linux board that supports NAND and UBI images. I have several partitions in my system images, and some partitions have sub-volumes. I am looking for help on how to support flashing ubi-volumes directly using the fastboot flash method.
I see that our EDK2 does not have a mechanism to flash ubi-volumes. But the underlying UEFI code, have support for ubi-volume. {{{ UEFI Code flow: ubi_flasher_write(...) { [...] if (hdl->is_it_volume) { result = ubi_flasher_vol_write(hdl); if (result != 0) goto End; } else { result = ubi_flasher_ubi_write(hdl); if (result != 0) goto End; } [...] } }}} When I tried to invoke ubi_flasher_write from EDK2, by passing the ubifs volume name, instead of PartitionName, it does not work (crash). Thus I am wondering, what needs to done at EDK2 (and how) to invoke this ubi volume write at uefi. Or, is there some functionality missing at the UEFI layer itself ? Please provide some suggestions on this. Thanks, Pintu -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#74098): https://edk2.groups.io/g/devel/message/74098 Mute This Topic: https://groups.io/mt/82100680/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-