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/AM5728: Installing custom image on SD card

Part Number: AM5728

Tool/software: Linux

I followed the guide to create a custom image with bitbake arago-core-tisdk-image and created a successful build. I ran the script in build/arago...toolchain/deploy/sdk/arago-2017.12-armv7a-linux-gnueabi-tisdk.sh and installed the SDK, but I can't find any create_sdcard.sh in the installation folder. 

So instead I tried with the create_sdcard.sh that came with the original SDK, but the script find the necessary tarballs in .../deploy/images. 

My .../deploy/images folder:

arago-base-tisdk-image-am57xx-evm-20180801044718.rootfs.cpio.xz
arago-base-tisdk-image-am57xx-evm-20180801044718.rootfs.manifest
arago-base-tisdk-image-am57xx-evm-20180801044718.rootfs.tar.xz
arago-base-tisdk-image-am57xx-evm-20180801044718.rootfs.tar.xz.md5
arago-base-tisdk-image-am57xx-evm-20180801044718.rootfs.ubi
arago-base-tisdk-image-am57xx-evm-20180801044718.rootfs.ubifs
arago-base-tisdk-image-am57xx-evm.cpio.xz
arago-base-tisdk-image-am57xx-evm.manifest
arago-base-tisdk-image-am57xx-evm.tar.xz
arago-base-tisdk-image-am57xx-evm.tar.xz.md5
arago-base-tisdk-image-am57xx-evm.ubi
arago-base-tisdk-image-am57xx-evm.ubifs
MLO
MLO-am57xx-evm
MLO-am57xx-evm-2017.01+gitAUTOINC+c68ed086bd-r21
modules--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-20180730155002.tgz
modules-am57xx-evm.tgz
processor-sdk-linux-image-am57xx-evm-20180801090538.rootfs.manifest
processor-sdk-linux-image-am57xx-evm-20180801090538.tar.xz
processor-sdk-linux-image-am57xx-evm.manifest
processor-sdk-linux-image-am57xx-evm.tar.xz
tisdk-rootfs-image-am57xx-evm-20180801044718.rootfs.manifest
tisdk-rootfs-image-am57xx-evm-20180801044718.rootfs.tar.xz
tisdk-rootfs-image-am57xx-evm-20180801044718.rootfs.tar.xz.md5
tisdk-rootfs-image-am57xx-evm.manifest
tisdk-rootfs-image-am57xx-evm.tar.xz
tisdk-rootfs-image-am57xx-evm.tar.xz.md5
ubinize-arago-base-tisdk-image-am57xx-evm-20180801044718.cfg
u-boot-am57xx-evm-2017.01+gitAUTOINC+c68ed086bd-r21.img
u-boot-am57xx-evm.img
u-boot.img
u-boot-spl.bin
u-boot-spl.bin-am57xx-evm
u-boot-spl.bin-am57xx-evm-2017.01+gitAUTOINC+c68ed086bd-r21
uImage
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-lcd-osd101t2045-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-lcd-osd101t2587-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-pps-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-pru-excl-uio-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-evm-jailhouse-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-jailhouse-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2045-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2045-jh-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2587-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2587-jh-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-pps-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-pru-excl-uio-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-jailhouse-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-lcd-osd101t2587-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-pru-excl-uio-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-beagle-x15-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-beagle-x15-revb1-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-beagle-x15-revc-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-20180730155002.bin
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-cam-mt9t111-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-cam-ov10635-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-reva3-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-reva3-cam-mt9t111-20180730155002.dtb
uImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-reva3-cam-ov10635-20180730155002.dtb
uImage-am571x-idk.dtb
uImage-am571x-idk-lcd-osd101t2045.dtb
uImage-am571x-idk-lcd-osd101t2587.dtb
uImage-am571x-idk-pps.dtb
uImage-am571x-idk-pru-excl-uio.dtb
uImage-am572x-evm-jailhouse.dtb
uImage-am572x-idk.dtb
uImage-am572x-idk-jailhouse.dtb
uImage-am572x-idk-lcd-osd101t2045.dtb
uImage-am572x-idk-lcd-osd101t2045-jh.dtb
uImage-am572x-idk-lcd-osd101t2587.dtb
uImage-am572x-idk-lcd-osd101t2587-jh.dtb
uImage-am572x-idk-pps.dtb
uImage-am572x-idk-pru-excl-uio.dtb
uImage-am574x-idk.dtb
uImage-am574x-idk-jailhouse.dtb
uImage-am574x-idk-lcd-osd101t2587.dtb
uImage-am574x-idk-pru-excl-uio.dtb
uImage-am57xx-beagle-x15.dtb
uImage-am57xx-beagle-x15-revb1.dtb
uImage-am57xx-beagle-x15-revc.dtb
uImage-am57xx-evm.bin
uImage-am57xx-evm-cam-mt9t111.dtb
uImage-am57xx-evm-cam-ov10635.dtb
uImage-am57xx-evm.dtb
uImage-am57xx-evm-reva3-cam-mt9t111.dtb
uImage-am57xx-evm-reva3-cam-ov10635.dtb
uImage-am57xx-evm-reva3.dtb
zImage
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-lcd-osd101t2045-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-lcd-osd101t2587-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-pps-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am571x-idk-pru-excl-uio-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-evm-jailhouse-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-jailhouse-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2045-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2045-jh-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2587-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-lcd-osd101t2587-jh-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-pps-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am572x-idk-pru-excl-uio-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-jailhouse-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-lcd-osd101t2587-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am574x-idk-pru-excl-uio-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-beagle-x15-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-beagle-x15-revb1-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-beagle-x15-revc-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-20180730155002.bin
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-cam-mt9t111-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-cam-ov10635-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-reva3-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-reva3-cam-mt9t111-20180730155002.dtb
zImage--4.9.69+git0+9ce43c71ae-r7a.arago5.tisdk22-am57xx-evm-reva3-cam-ov10635-20180730155002.dtb
zImage-am571x-idk.dtb
zImage-am571x-idk-lcd-osd101t2045.dtb
zImage-am571x-idk-lcd-osd101t2587.dtb
zImage-am571x-idk-pps.dtb
zImage-am571x-idk-pru-excl-uio.dtb
zImage-am572x-evm-jailhouse.dtb
zImage-am572x-idk.dtb
zImage-am572x-idk-jailhouse.dtb
zImage-am572x-idk-lcd-osd101t2045.dtb
zImage-am572x-idk-lcd-osd101t2045-jh.dtb
zImage-am572x-idk-lcd-osd101t2587.dtb
zImage-am572x-idk-lcd-osd101t2587-jh.dtb
zImage-am572x-idk-pps.dtb
zImage-am572x-idk-pru-excl-uio.dtb
zImage-am574x-idk.dtb
zImage-am574x-idk-jailhouse.dtb
zImage-am574x-idk-lcd-osd101t2587.dtb
zImage-am574x-idk-pru-excl-uio.dtb
zImage-am57xx-beagle-x15.dtb
zImage-am57xx-beagle-x15-revb1.dtb
zImage-am57xx-beagle-x15-revc.dtb
zImage-am57xx-evm.bin
zImage-am57xx-evm-cam-mt9t111.dtb
zImage-am57xx-evm-cam-ov10635.dtb
zImage-am57xx-evm.dtb
zImage-am57xx-evm-reva3-cam-mt9t111.dtb
zImage-am57xx-evm-reva3-cam-ov10635.dtb
zImage-am57xx-evm-reva3.dtb

  • Hello Jerry,

    Please, see this thread. The create_sdcard.sh script is not capable to determine with which exact images you are willing to flash your SD card. Therefore you need to copy the MLO-am57xx-evm-2017.01+gitAUTOINC+c68ed086bd-r21 and u-boot-am57xx-evm-2017.01+gitAUTOINC+c68ed086bd-r21.img as a MLO and u-boot.img to a separate directory then pass the absolute path of this directory to the create_sdcard.sh as boot partition. You can pass the full path of tisdk-rootfs-image-am57xx-evm-20180801044718.rootfs.tar.xz or arago-base-tisdk-image-am57xx-evm-20180801044718.rootfs.tar.xz, depending which rootfs you want to use as rootfs partition, and select to reuse the kernel image and device tree files found in the selected rootfs when the script prompts.

    Best regards,
    Kemal

  • Thanks for the quick response, this solved my issue but the image didn't contain any of the packages that I installed with bitbake. The procedure I did was to run bitbake python3-flask and then bitbake arago-core-tisdk-image, shouldn't that include the flask module for python3?
  • Please, see this thread. If you want to add python3-flask to your rootfs you need to add IMAGE_INSTALL_append = " python3-flask" line to your <tisdk>/build/conf/local.conf file.

  • Thanks! And if I wanted to install more than one package I just need to add them as IMAGE_INSTALL_append = " python3-flask python3-multiprocessing" separated by spaces?