INMYS WIKI

Инженерами для инженеров

Инструменты пользователя

Инструменты сайта


Action unknown: copypageplugin__copy
boards:nms-uq7-imx8m:build_sw

Build sw (tested on debian 10)

build rootfs

Download rootfs.tar.gz

tar -xf rootfs.tar.gz
cd rootfs
make

result:

  • buildroot-2020.05.1/output/images/rootfs.cpio.uboot # rootfs
  • buildroot-2020.05.1/output/host/bin/aarch64-none-linux-gnu-gcc #comiler
  • BR=<…>/buildroot-2020.05.1 # path to buildroot (for linux kernel build)

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:

  • arch/arm64/boot/Image
  • arch/arm64/boot/dts/freescale/inmys-imx8mq-uq7-mb-hdmi.dtb

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
boards/nms-uq7-imx8m/build_sw.txt · Последнее изменение: 2022/06/15 10:06 — 185.218.109.197