# Install kernel DTB
install -m 644 arch/%{buildarch}/boot/dts/thead/th1520*.dtb %{buildroot}/boot/
-install -m 644 tizen/extlinux.conf %{buildroot}/boot/
mkdir -p %{buildroot}/boot/overlays
# Install kernel headers
%license COPYING
/boot/Image
/boot/th1520*.dtb
-/boot/extlinux.conf
%files -n %{variant}-linux-kernel-headers
/usr/include/*
+++ /dev/null
-default 21
-menu title U-Boot menu
-prompt 2
-timeout 50
-
-label l0
- menu label RevyOS GNU/Linux 5.10.113-lpi4a (HDMI only)
- linux /Image
- fdtdir /dtbs/linux-image-5.10.113-lpi4a/
- append root=/dev/mmcblk0p3 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth= rootrwoptions=rw,noatime rootrwreset=yes
-
-label l1
- menu label RevyOS GNU/Linux 5.10.113-lpi4a (HDMI and MIPI)
- linux /Image
- fdtdir /dtbs/linux-image-5.10.113-lpi4a/dual
- append root=/dev/mmcblk0p3 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth= rootrwoptions=rw,noatime rootrwreset=yes
-
-label l0r
- menu label RevyOS GNU/Linux 5.10.113-lpi4a (rescue target)
- linux /vmlinux-5.10.113-lpi4a
- initrd /initrd.img-5.10.113-lpi4a
- fdtdir /dtbs/linux-image-5.10.113-lpi4a/
- append root=/dev/mmcblk0p3 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth= rootrwoptions=rw,noatime rootrwreset=yes single
-
-label 20
- menu label Tizen OS GNU/Linux v5.10.113
- linux /Image
- fdtdir /dtbs/linux-image-5.10.113-lpi4a/
- append root=/dev/mmcblk1p7 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth= rootrwoptions=rw,noatime rootrwreset=yes
-
-label 21
- menu label Tizen OS GNU/Linux v6.6.20
- linux /Image
- fdtdir /
- append root=/dev/mmcblk1p7 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth= rootrwoptions=rw,noatime rootrwreset=yes