Skip to end of metadata
Go to start of metadata

Images created by the BSP build

Relative to the base directory of your HDP-TTJ-500 BSP bitbake build a number of image files may be found at tmp/deploy/images/imx6qttj500.  These are:

Image containing Linux kernel boot partition and root file system partition
u-boot bootloader image
Linux kernel in compressed uImage format with LOADADDR=0x10008000
Linux device tree blob file for HDP-TTJ-500 board


Creating an SDCARD from scratch

It is possible to create an SDCARD by following these steps:

  1. Insert an SDCARD with at least 2GB capacity
  2. Identify the SDCARD device on your local machine i.e., /dev/sdX where X is the drive letter (e.g., /dev/sde).
  3. Flash the SDCARD with the image containing the boot partition and root filesystem by running dd if=icoteq-image-tjet-imx6qttj500.sdcard of=/dev/sdX bs=1M && sync
  4. Flash the SDCARD with the u-boot bootloader image by running dd if=u-boot.imx of=/dev/sdX bs=512 seek=2 && sync
  5. Confirm the SDCARD has been correctly formatted by running fdisk -l /dev/sdX.  You should see an output similar to the following:


   Device Boot      Start         End      Blocks   Id  System
/dev/sde1            8192       24575        8192    c  W95 FAT32 (LBA)
/dev/sde2           24576     2449407     1212416   83  Linux

Be sure to identify the correct drive under /dev for your SDCARD. Not doing so may result in your local machine's root file system being destroyed!


Once your SDCARD is flashed you can eject it and re-insert it. Many Linux distributions will auto-mount the SDCARD allowing you to check the contents of the drive.


Modifying an existing SDCARD

It is possible to replace u-boot, kernel, device tree blob or the rootfs on an existing SDCARD that has been inserted with new versions.

Replacing u-boot

Repeat step 4. from Creating an SDCARD from scratch using your new u-boot.imx file.

Replacing kernel uImage

To replace the kernel:

  1. Mount the boot partition by running e.g., mount /dev/sdX1 /mnt/boot
  2. Copy new uImage file by running cp uImage /mnt/boot && sync

Replacing device tree block file

To replace the device tree blob file:

  1. Mount the boot partition by running e.g., mount /dev/sdX1 /mnt/boot
  2. Copy new .dtb file by running cp <new .dtb file> uImage /mnt/boot/imx6q-ttj500-ldo.dtb && sync

Modifying or replacing rootfs

To modify or replace the rootfs:

  1. Mount the boot partition by running e.g., mount /dev/sdX2 /mnt/rootfs
  2. Perform any necessary modifcations under /mnt/rootfs
  3. Synchronize the file system by running sync