What is the procedure to deploy an image to a sata ssd connected to the T4240rds? We have already created the partitions and made the filesystem on the ssd using the T4240 and our image running in ram.
Hello David,
Please refer to the following image deploy procedure.
1. Create partitions and make filesystems.
# fdisk /dev/sdx
# mkfs.ext2 /dev/sdx1
The sdx is sda, sdb, sdc depending your system.
2. Mount the ext2 partition to your system, and copy image QorIQ_SDK_V1.6_E6500_<date>_ROOTFS_Image.tar.gz from prebuilt IMAGE ISO to SATA, then extract it.
# sudo tar -zxvf QorIQ_SDK_V1.6_E6500_<date>_ROOTFS_Image.tar.gz
# rm QorIQ_SDK_V1.6_E6500_<date>_ROOTFS_Image.tar.gz
3. Copy the target Kernel image uImage and dtb files to SATA "boot" folder.
4. Set the environment in u-boot and boot the system.
# setenv bootcmd 'setenv bootargs root=/dev/sda1 rw console=ttyS0,115200;sata init;ext2load sata 0:1 1000000 /boot/uImage;ext2load sata 0:1 c00000 /boot/uImage-<platform>.dtb;bootm 1000000 - c00000'
# boot
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------