We have tried rebuild file system and create SD-card that custom image follow Getting Started Guide.
Getting Started Guide from :
(rebuild file system) software-dl.ti.com/.../Overview_Building_the_SDK.html
(create SD-card) software-dl.ti.com/.../Overview_Getting_Started_Guide.html
File system was built without errors.
But when creating SD-card, Below log is displaied and Image is not written into u-boot partision.
----------------------------------------------------
rzn1@11-virtualbox:~/work/ti-processor-sdk-linux-am57xx-evm-06.00.00.07/bin$ sudo /home/rzn1/work/ti-processor-sdk-linux-am57xx-evm-06.00.00.07/bin/cre
ate-sdcard.sh
[sudo] password for rzn1:
################################################################################
This script will create a bootable SD card from custom or pre-built binaries.
The script must be run with root permissions and from the bin directory of
the SDK
Example:
$ sudo ./create-sdcard.sh
Formatting can be skipped if the SD card is already formatted and
partitioned properly.
################################################################################
Available Drives to write images to:
# major minor size name
1: 8 16 15612928 sdb
Enter Device Number or n to exit: ^[[F
grep: Unmatched [ or [^
Invalid selection!
These are the only Drives available to write images to:
# major minor size name
1: 8 16 15612928 sdb
Enter Device Number or n to exit: 1
sdb was selected
/dev/sdb is an sdx device
Unmounting the sdb drives
unmounted /dev/sdb1
unmounted /dev/sdb2
Current size of sdb1 71680 bytes
Current size of sdb2 15523840 bytes
################################################################################
Select 2 partitions if only need boot and rootfs (most users).
Select 3 partitions if need SDK & other content on SD card. This is
usually used by device manufacturers with access to partition tarballs.
****WARNING**** continuing will erase all data on sdb
################################################################################
Number of partitions needed [2/3] : 2
Now partitioning sdb with 2 partitions...
################################################################################
Now making 2 partitions
################################################################################
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.743754 s, 1.4 MB/s
DISK SIZE - 15987638272 bytes
################################################################################
Partitioning Boot
################################################################################
mkfs.fat 3.0.28 (2015-05-16)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
/dev/sdb1: No such file or directory
################################################################################
Partitioning rootfs
################################################################################
mke2fs 1.42.13 (17-May-2015)
/dev/sdb2 contains a ext3 file system labelled 'rootfs'
last mounted on /media/rzn1/rootfs on Mon Sep 30 10:30:09 2019
Proceed anyway? (y,n) y
Creating filesystem with 3880960 4k blocks and 971040 inodes
Filesystem UUID: b5decd50-9864-4f9c-9b07-b98d9f9f69b2
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
################################################################################
Partitioning is now done
Continue to install filesystem or select 'n' to safe exit
**Warning** Continuing will erase files any files in the partitions
################################################################################
Would you like to continue? [y/n] : y
Mount the partitions
Emptying partitions
Syncing....
################################################################################
Choose file path to install from
1 ) Install pre-built images from SDK
2 ) Enter in custom boot and rootfs file paths
################################################################################
Choose now [1/2] : 2
################################################################################
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 : /home/rzn1/work/tisdk/build/arago-tmp-external-arm-toolchain/deploy/images/am57xx-evm
Directory exists
This directory contains:
MLO
MLO-am57xx-evm
MLO-am57xx-evm-2019.01+gitAUTOINC+8b90adfb16-r13.tisdk3
am571x-idk--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am571x-idk-am57xx-evm.dtb
am571x-idk-lcd-osd101t2045--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am571x-idk-lcd-osd101t2045-am57xx-evm.dtb
am571x-idk-lcd-osd101t2045.dtb
am571x-idk-lcd-osd101t2587--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am571x-idk-lcd-osd101t2587-am57xx-evm.dtb
am571x-idk-lcd-osd101t2587.dtb
am571x-idk-pps--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am571x-idk-pps-am57xx-evm.dtb
am571x-idk-pps.dtb
am571x-idk-pru-excl-uio--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am571x-idk-pru-excl-uio-am57xx-evm.dtb
am571x-idk-pru-excl-uio.dtb
am571x-idk.dtb
am572x-idk--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-am57xx-evm.dtb
am572x-idk-jailhouse--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-jailhouse-am57xx-evm.dtb
am572x-idk-jailhouse.dtb
am572x-idk-lcd-osd101t2045--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-lcd-osd101t2045-am57xx-evm.dtb
am572x-idk-lcd-osd101t2045-jailhouse--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-lcd-osd101t2045-jailhouse-am57xx-evm.dtb
am572x-idk-lcd-osd101t2045-jailhouse.dtb
am572x-idk-lcd-osd101t2045.dtb
am572x-idk-lcd-osd101t2587--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-lcd-osd101t2587-am57xx-evm.dtb
am572x-idk-lcd-osd101t2587-jailhouse--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-lcd-osd101t2587-jailhouse-am57xx-evm.dtb
am572x-idk-lcd-osd101t2587-jailhouse.dtb
am572x-idk-lcd-osd101t2587.dtb
am572x-idk-pps--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-pps-am57xx-evm.dtb
am572x-idk-pps.dtb
am572x-idk-pru-excl-uio--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am572x-idk-pru-excl-uio-am57xx-evm.dtb
am572x-idk-pru-excl-uio.dtb
am572x-idk.dtb
am574x-idk--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am574x-idk-am57xx-evm.dtb
am574x-idk-jailhouse--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am574x-idk-jailhouse-am57xx-evm.dtb
am574x-idk-jailhouse.dtb
am574x-idk-lcd-osd101t2587--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am574x-idk-lcd-osd101t2587-am57xx-evm.dtb
am574x-idk-lcd-osd101t2587.dtb
am574x-idk-pps--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am574x-idk-pps-am57xx-evm.dtb
am574x-idk-pps.dtb
am574x-idk-pru-excl-uio--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am574x-idk-pru-excl-uio-am57xx-evm.dtb
am574x-idk-pru-excl-uio.dtb
am574x-idk.dtb
am57xx-beagle-x15--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-beagle-x15-am57xx-evm.dtb
am57xx-beagle-x15-revb1--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-beagle-x15-revb1-am57xx-evm.dtb
am57xx-beagle-x15-revb1.dtb
am57xx-beagle-x15-revc--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-beagle-x15-revc-am57xx-evm.dtb
am57xx-beagle-x15-revc.dtb
am57xx-beagle-x15.dtb
am57xx-evm--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-am57xx-evm.dtb
am57xx-evm-cam-mt9t111--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-cam-mt9t111-am57xx-evm.dtb
am57xx-evm-cam-mt9t111.dtb
am57xx-evm-cam-ov10635--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-cam-ov10635-am57xx-evm.dtb
am57xx-evm-cam-ov10635.dtb
am57xx-evm-jailhouse--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-jailhouse-am57xx-evm.dtb
am57xx-evm-jailhouse.dtb
am57xx-evm-reva3--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-reva3-am57xx-evm.dtb
am57xx-evm-reva3-cam-mt9t111--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-reva3-cam-mt9t111-am57xx-evm.dtb
am57xx-evm-reva3-cam-mt9t111.dtb
am57xx-evm-reva3-cam-ov10635--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-reva3-cam-ov10635-am57xx-evm.dtb
am57xx-evm-reva3-cam-ov10635.dtb
am57xx-evm-reva3-jailhouse--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.dtb
am57xx-evm-reva3-jailhouse-am57xx-evm.dtb
am57xx-evm-reva3-jailhouse.dtb
am57xx-evm-reva3.dtb
am57xx-evm.dtb
arago-base-tisdk-image-am57xx-evm-20190924004222.rootfs.cpio.xz
arago-base-tisdk-image-am57xx-evm-20190924004222.rootfs.manifest
arago-base-tisdk-image-am57xx-evm-20190924004222.rootfs.tar.xz
arago-base-tisdk-image-am57xx-evm-20190924004222.rootfs.tar.xz.md5
arago-base-tisdk-image-am57xx-evm-20190924004222.rootfs.ubi
arago-base-tisdk-image-am57xx-evm-20190924004222.rootfs.ubifs
arago-base-tisdk-image-am57xx-evm-20190924004222.testdata.json
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.testdata.json
arago-base-tisdk-image-am57xx-evm.ubi
arago-base-tisdk-image-am57xx-evm.ubifs
modules--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.tgz
modules-am57xx-evm.tgz
u-boot-am57xx-evm-2019.01+gitAUTOINC+8b90adfb16-r13.tisdk3.img
u-boot-am57xx-evm.img
u-boot-spl.bin
u-boot-spl.bin-am57xx-evm
u-boot-spl.bin-am57xx-evm-2019.01+gitAUTOINC+8b90adfb16-r13.tisdk3
u-boot.img
uEnv.txt
uImage
uImage--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.bin
uImage-am57xx-evm.bin
ubinize-arago-base-tisdk-image-am57xx-evm-20190924004222.cfg
zImage
zImage--4.19.38+git0+4dae378bbe-r7a.arago5.tisdk0.3-am57xx-evm-20190924004222.bin
zImage-am57xx-evm.bin
Is this correct? [y/n] : y
################################################################################
For Kernel Image and Device Trees files
What would you like to do?
1) Reuse kernel image and device tree files found in the selected rootfs.
2) Provide a directory that contains the kernel image and device tree files
to be used.
################################################################################
Choose option 1 or 2 : 1
Reusing kernel and dt files from the rootfs's boot directory
################################################################################
For Rootfs partition
If files are located in Tarball write complete path including the file name.
e.x. $: /home/user/MyCustomTars/rootfs.tar.xz
If files are located in a directory write the directory path
e.x. $: /ti-sdk/targetNFS/
################################################################################
Enter path for Rootfs Partition : /home/rzn1/work/tisdk/build/arago-tmp-external-arm-toolchain/deploy/images/am57xx-evm/arago-base-tisdk-image-am57xx-evm-20190924004222.rootfs.tar.xz
File exists
################################################################################
Copying files now... will take minutes
################################################################################
Copying boot partition
xz: /home/rzn1/work/tisdk/build/arago-tmp-external-arm-toolchain/deploy/images/am57xx-evm: Is a directory, skipping
tar (child): /home/rzn1/work/tisdk/build/arago-tmp-external-arm-toolchain/deploy/images/am57xx-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 '/home/rzn1/work/ti-processor-sdk-linux-am57xx-evm-06.00.00.07/bin/tmp/*': No such file or directory
Copying rootfs System partition
Syncing...
Un-mount the partitions
Remove created temp directories
Operation Finished
----------------------------------------------------
By the way, When below path was enter, SD-card was created and Linux was boot.
<SDK installed directory>/board-support/prebuilt-images
Our environment is Ubuntu 16.04 on Windows 10 pro by VirtualBox.
Do you have any idea?
Regards.