The partition mounted at /boot/efi has to be formatted fat32, not ext4 and also should have the boot flat set (which also automatically sets an esp flag).
This is partition is called an EFI system...