This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/66AK2H12: building nand.bin (or ubi file) from kernel files.

Part Number: 66AK2H12

Tool/software: Linux

Hi. i use k2h board and processor sdk u-boot and kernel.

I want to build a nand.bin file (.ubi file) from my rebuilt kernel (zImage file) and device tree fils (.dtb) and some other files (skern-k2hk.bin and k2-fw-initrd.cpio.gz).

I used arago-console-image-k2hk-evm.tar.gz in MCSDK 3.01.04.07 and extract it. then copied these files in /boot.

with use of these two commands, i made an Ubi files:

sudo mkfs.ubifs -F -m 2048 -e 126976 -c 3970 -r ~/tisdk-server-rootfs-image-k2hk-evm tisdk-server-rootfs-image-k2hk-evm.img
ubinize -o tisdk-server-rootfs-image-k2hk-evm.ubi -m 2048 -p 128KiB -s 2048 -O 2048 ubinize.ini

 ubinize file is:

[ubi_rfs]
mode=ubi
image=tisdk-server-rootfs-image-k2hk-evm.img
vol_id=0
vol_size=480MiB
vol_type=dynamic
vol_name=ubi_rfs
vol_flags=autoresize

but it didnt boot on my board.