...
1. Download the imx-mkimage tool and apply Embedian's patch to accept Embedian's device tree blob.
Info |
---|
|
$ git clone https://source.codeaurora.org/external/imx/imx-mkimage -b imx_4.14.98_2.0.0_ga
$ cd imx-mkimage
$ wget -c ftp://ftp.embedian.com/public/smarcimx8m/0003-change-uboot-device-tree-name.patch
$ patch -p1 <0003-change-uboot-device-tree-name.patch
$ cd ../
|
2. Get and Build the ARM Trusted firmware and copy bl31.bin to imx-mkimage/iMX8M directory.
Info |
---|
|
$ git clone https://source.codeaurora.org/external/imx/imx-atf -b imx_4.14.98_2.0.0_ga
$ cd imx-atf
$ make CROSS_COMPILE=${CC} PLAT=imx8mq bl31
$ cp build/imx8mq/release/bl31.bin ../imx-mkimage/iMX8M/
$ cd ../
|
...
Info |
---|
|
$ git clone git@git.embedian.com:developer/smarc-t335x-uboot.git u-boot_v2018.03 -b smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga
$ cd u-boot_v2018.03
|
...
Info |
---|
icon | false |
---|
title | ~/linux_v4.9.51, ~/linux_v4.14.7898 |
---|
|
$ sudo cp -v arch/arm64/boot/Image /media/boot
|
...
Info |
---|
icon | false |
---|
title | directory where your root file system is |
---|
|
$ sudo tar jxvf <filename.tar.gz> -C /media/rootfs
|
...
icon | false |
---|
title | directory where your root file system is |
---|
$ sudo tar xvfz debian-stretch-imx8m-arm64.tar.gz -C /media/rootfs
Ubuntu 18.04:
Info |
---|
icon | false |
---|
title | directory where your root file system is |
---|
|
$ sudo tar xvfz ubuntu-minimal-imx8m-18.04-arm64.tar.gz -C /media/rootfs
|
...