If you want to make changes to the device tree, open and edit arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
$make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
The binary kernel image Image and compressed kernel image Image.gz are inarch/arm64/boot/. The device tree blob fsl-lx2160a-rdb.dtbis in arch/arm64/boot/dts/freescale/.
STEP2: Copying the compiled kernel images and device tree to the SD card
Plug the SD card into the Linux host machine.
sudo fdisk -l to list the disks that are accessible to the computer.
Mount the SD card partition that contains Linux kernel images and device tree.
sudo mkdir <mount_location>
sudo mount /dev/sdX <mount_location>
$ sudo mkdir /carddata
$ sudo mount /dev/mmcblk0p2 /carddata
Use the command cat /proc/partitions to see the list of devices, their partitions along with their sizes to make sure that the correct device and partition name have been chosen.
The eMMC storage drive in the Linux PC is detected as /dev/sdX, where X is a letter such as a, b, c. Make sure to choose the correct device name, because data on this device will be replaced.
If your Linux host machine supports read/write SD card directly without an extra SD card reader device, the device name of SD card is typically mmcblk0.
In general, the Linux kernel images and device tree are stored in the second partition of the SD device (mmcblk0p2). For detail on storage layout on SD/eMMC/USB/SATA for LSDK images deployment, refer to section "LSDK memory layout and Userland" in