Tool/software: Linux
Hi,
I was successful in building linux image for am65xx-evm. Used MACHINE=am65xx-evm bitbake arago-base-tisdk-image. And all executable was found in /deploy/image/am65xx-evm folder.
I used this link for copying images to sd card. So I executed create-sdcard.sh as root.
But If I select Install prebuilt images , boot partition will populate with u-boot and other files.
But if I give custom path it is not taking. In that execution itself it will show to give either directory or tar file. I am giving directory which contains following files.
arago-base-tisdk-image-am65xx-evm-20190627052256.rootfs.cpio
arago-base-tisdk-image-am65xx-evm-20190627052256.rootfs.cpio.xz
arago-base-tisdk-image-am65xx-evm-20190627052256.rootfs.manifest
arago-base-tisdk-image-am65xx-evm-20190627052256.rootfs.tar.xz
arago-base-tisdk-image-am65xx-evm-20190627052256.rootfs.tar.xz.md5
arago-base-tisdk-image-am65xx-evm-20190627052256.rootfs.wic.xz
arago-base-tisdk-image-am65xx-evm-20190627052256.testdata.json
arago-base-tisdk-image-am65xx-evm.cpio
arago-base-tisdk-image-am65xx-evm.cpio.xz
arago-base-tisdk-image-am65xx-evm.manifest
arago-base-tisdk-image-am65xx-evm.tar.xz
arago-base-tisdk-image-am65xx-evm.tar.xz.md5
arago-base-tisdk-image-am65xx-evm.testdata.json
arago-base-tisdk-image-am65xx-evm.wic.xz
bl31.bin
bl31.elf
bl32.bin
bl32.elf
Image
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-am65xx-evm-20190626115958.bin
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-base-board-20190626115958.dtb
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-evm-csi2-ov490-20190626115958.dtbo
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-evm-oldi-lcd1evm-20190626115958.dtbo
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-evm-tc358876-20190626115958.dtbo
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-gp-20190626115958.dtbo
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-idk-20190626115958.dtbo
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-idk-interposer-20190626115958.dtbo
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-pcie-usb2-20190626115958.dtbo
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-pcie-usb3-20190626115958.dtbo
Image-am65xx-evm.bin
Image-k3-am654-base-board.dtb
Image-k3-am654-evm-csi2-ov490.dtbo
Image-k3-am654-evm-oldi-lcd1evm.dtbo
Image-k3-am654-evm-tc358876.dtbo
Image-k3-am654-gp.dtbo
Image-k3-am654-idk.dtbo
Image-k3-am654-idk-interposer.dtbo
Image-k3-am654-pcie-usb2.dtbo
Image-k3-am654-pcie-usb3.dtbo
k3-am654-base-board.dtb
k3-am654-evm-csi2-ov490.dtbo
k3-am654-evm-oldi-lcd1evm.dtbo
k3-am654-evm-tc358876.dtbo
k3-am654-gp.dtbo
k3-am654-idk.dtbo
k3-am654-idk-interposer.dtbo
k3-am654-pcie-usb2.dtbo
k3-am654-pcie-usb3.dtbo
modules--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-am65xx-evm-20190626115958.tgz
modules-am65xx-evm.tgz
sysfw-2019.02.itb
sysfw.itb
tiboot3-am65xx-evm-2018.01+gitAUTOINC+313dcd69c2-r30.tisdk1.bin
tiboot3-am65xx-evm.bin
tiboot3.bin
ti-sci-firmware-am65x-gp.bin
tispl.bin
tispl.bin-am65xx-evm
tispl.bin-am65xx-evm-2018.01+gitAUTOINC+313dcd69c2-r30.tisdk1
u-boot-am65xx-evm-2018.01+gitAUTOINC+313dcd69c2-r30.tisdk1.img
u-boot-am65xx-evm.img
u-boot.img
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-base-board-20190626115958.dtb
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-evm-csi2-ov490-20190626115958.dtbo
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-evm-oldi-lcd1evm-20190626115958.dtbo
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-evm-tc358876-20190626115958.dtbo
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-gp-20190626115958.dtbo
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-idk-20190626115958.dtbo
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-idk-interposer-20190626115958.dtbo
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-pcie-usb2-20190626115958.dtbo
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-pcie-usb3-20190626115958.dtbo
vmlinux.gz
vmlinux.gz--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-am65xx-evm-20190626115958.bin
vmlinux.gz-am65xx-evm.bin
vmlinux-k3-am654-base-board.dtb
vmlinux-k3-am654-evm-csi2-ov490.dtbo
vmlinux-k3-am654-evm-oldi-lcd1evm.dtbo
vmlinux-k3-am654-evm-tc358876.dtbo
vmlinux-k3-am654-gp.dtbo
vmlinux-k3-am654-idk.dtbo
vmlinux-k3-am654-idk-interposer.dtbo
vmlinux-k3-am654-pcie-usb2.dtbo
vmlinux-k3-am654-pcie-usb3.dtbo
But after excution I will get error like this.
################################################################################
Copying files now... will take minutes
################################################################################
Copying boot partition
xz: /u/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/am65xx-evm/: Is a directory, skipping
tar (child): /u/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/am65xx-evm/: Cannot read: Is a directory
tar (child): At beginning of tape, quitting now
tar (child): Error is not recoverable: exiting now
xz: (stdin): File format not recognized
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cp: cannot stat '/u/ti-pdk/bin/tmp/*': No such file or directory
Copying rootfs System partition
Syncing...
file not found
Image--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-base-board-20190626115958.dtb copied
Image-k3-am654-base-board.dtb copied
k3-am654-base-board.dtb copied
vmlinux--4.14.79+git0+e669d52447-r0c.arago5.tisdk4.9-k3-am654-base-board-20190626115958.dtb copied
vmlinux-k3-am654-base-board.dtb copied
Un-mount the partitions
Remove created temp directories
Operation Finished
For U-boot :
################################################################################
For U-boot and MLO
If files are located in Tarball write complete path including the file name.
e.x. $: /home/user/MyCustomTars/boot.tar.xz
If files are located in a directory write the directory path
e.x. $: /ti-sdk/board-support/prebuilt-images/
NOTE: Not all platforms will have an MLO file and this file can
be ignored for platforms that do not support an MLO.
Update: The proper location for the kernel image and device tree
files have moved from the boot partition to the root filesystem.
################################################################################
Enter path for Boot Partition : /u/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/deploy/images/am65xx-evm/
I gave directory.
Can you help me on this.
Thanks and Regards,
Vishnu