From: Jaehoon Chung Date: Thu, 14 Mar 2024 10:47:07 +0000 (+0900) Subject: tizen: Add extlinux.conf file to boot Tizen X-Git-Tag: accepted/tizen/unified/x/20240328.131010~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e72a2f6fb82be2ff7252a172e66c1a153d409b2f;p=platform%2Fkernel%2Flinux-thead.git tizen: Add extlinux.conf file to boot Tizen Add extlinux.conf file to boot Tien OS. It will be used to choose which OS can be booting. Change-Id: I273b3949f7a0f75830a2f2599251be85669839dd Signed-off-by: Jaehoon Chung --- diff --git a/packaging/linux-lpi4a.spec b/packaging/linux-lpi4a.spec index 9a195bd0445f..1cca94053c31 100644 --- a/packaging/linux-lpi4a.spec +++ b/packaging/linux-lpi4a.spec @@ -121,6 +121,7 @@ mkdir -p %{buildroot}/lib/modules # 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 @@ -179,6 +180,7 @@ rm -rf %{buildroot} %license COPYING /boot/Image /boot/th1520*.dtb +/boot/extlinux.conf %files -n %{variant}-linux-kernel-headers /usr/include/* diff --git a/tizen/extlinux.conf b/tizen/extlinux.conf new file mode 100644 index 000000000000..26b4b12cfaad --- /dev/null +++ b/tizen/extlinux.conf @@ -0,0 +1,35 @@ +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