Skip to content

Disk full when compiling OP-TEE 4.6.0 on hikey960.xml #327

@qianfei11

Description

@qianfei11

I follow the instructions in the document:

repo init -u https://github.com/OP-TEE/manifest.git -m hikey960.xml -b 4.6.0
repo sync -c -j$(nproc)
cd build/; make -j2 toolchains
make -j$(nproc)

After compiling all the software components, the output shows that the boot-img has reached its limit:

...
make[1]: Leaving directory '/home/dd/optee/out-br'
rm -f /home/dd/optee/build/../out/boot-fat.uefi.img
mformat -i /home/dd/optee/build/../out/boot-fat.uefi.img -n 64 -h 255 -T 131072 -v "BOOT IMG" -C ::
mcopy -i /home/dd/optee/build/../out/boot-fat.uefi.img /home/dd/optee/build/../linux/arch/arm64/boot/Image ::
mcopy -i /home/dd/optee/build/../out/boot-fat.uefi.img /home/dd/optee/build/../linux/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb ::
mmd -i /home/dd/optee/build/../out/boot-fat.uefi.img ::/EFI
mmd -i /home/dd/optee/build/../out/boot-fat.uefi.img ::/EFI/BOOT
mcopy -i /home/dd/optee/build/../out/boot-fat.uefi.img /home/dd/optee/build/../out/grubaa64.efi ::/EFI/BOOT/
mcopy -i /home/dd/optee/build/../out/boot-fat.uefi.img /home/dd/optee/build/../patches_hikey/grub/grub_uart6.cfg ::/EFI/BOOT/grub.cfg
mcopy -i /home/dd/optee/build/../out/boot-fat.uefi.img /home/dd/optee/build/../out-br/images/rootfs.cpio.gz ::/initrd.img
Disk full
make: *** [Makefile:265: boot-img] Error 1
~/optee/build on  #4.6.0

Is it a bug, or have I missed anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions