Содержание

Build sw (tested on debian 10)

build rootfs

Download rootfs.tar.gz

tar -xf rootfs.tar.gz
cd rootfs
make

result:

build linux

#Download kernel_inmys_imx8m_patch.patch.gz

git clone https://source.codeaurora.org/external/imx/linux-imx -b imx_5.4.24_2.1.0 --depth 1
cd linux-imx
gunzip kernel_inmys_imx8m_patch.patch.gz
patch -p1 < kernel_inmys_imx8m_patch.patch
make ARCH=arm64 CROSS_COMPILE=${BR}/output/host/bin/aarch64-none-linux-gnu- inmys_imx8mq_uq7_defconfig
make ARCH=arm64 CROSS_COMPILE=${BR}/output/host/bin/aarch64-none-linux-gnu- Image
make ARCH=arm64 CROSS_COMPILE=${BR}/output/host/bin/aarch64-none-linux-gnu- freescale/inmys-imx8mq-uq7-mb-hdmi.dtb

result:

Rootfs settings

change ip:

savevar.sh kernel NETWORK_IP   192.168.1.198 # ip on eth0
savevar.sh kernel NETWORK_IP_1 192.168.2.198 # ip on eth1

script run on start:

/mnt/store/postup.sh