tizen: bootscript: remove outdated/obsolete/unused RPi3 boot script
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 7 Oct 2024 09:15:26 +0000 (11:15 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 28 Oct 2024 11:28:47 +0000 (20:28 +0900)
To avoid confusion, remove unused files. If needed, it can be restored
from older Tizen releases.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I33729a7451cf0c423521fbbc340714cc5510239a

tizen/bootscript/tizen-boot-rpi3.scr [deleted file]

diff --git a/tizen/bootscript/tizen-boot-rpi3.scr b/tizen/bootscript/tizen-boot-rpi3.scr
deleted file mode 100644 (file)
index 0cbe8a8..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-# U-boot script for tizen RPI3
-
-if test "${target}" = "mmc0"; then;
-       setenv bootdev mmc
-fi
-if test "${target}" = "usb0"; then;
-       setenv bootdev usb
-fi
-
-if test -e $bootdev $mmcbootdev:$mmcinformpart $rebootparamfile; then;
-       ext4load $bootdev $mmcbootdev:$mmcinformpart $rebootparam_addr $rebootparamfile;
-       if itest.l *${rebootparam_addr} == ${upgrade_val}; then;
-               setenv ramdiskpart 8
-               setenv bootmode fota
-       elif itest.l *${rebootparam_addr} == ${recovery_val}; then;
-               setenv ramdiskpart 8
-               setenv bootmode recovery
-       elif itest.l *${rebootparam_addr} == ${download_val}; then;
-               setenv ramdiskpart 8
-               setenv bootmode flash
-       elif itest.l *${rebootparam_addr} == ${nodef_val}; then;
-               echo "This reboot parameter is not supported...";
-       fi
-fi
-
-# This is for jumping to flash mode on u-boot.
-if test "${bootmode}" = "download"; then;
-       setenv ramdiskpart 8
-       setenv bootmode flash
-fi
-
-if test "${bootmode}" = "flash"; then;
-       if test -n "${ipaddr}"; then;
-               ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}\"
-       fi
-fi
-
-# boot from ram0 if there is sbin
-if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
-       setenv rootdev ram0
-else
-       if test "${bootdev}" = "mmc"; then;
-               setenv rootdev mmcblk${mmcrootdev}p${mmcrootpart}
-       fi
-       if test "${bootdev}" = "usb"; then;
-               setenv rootdev sda${mmcrootpart}
-       fi
-       setenv bootmode normal
-fi
-
-# setting console device if noting is set
-if test -z "${console}"; then;
-       setenv console "console=ttyS0,115200n8 earlycon=uart8250,mmio32,0x3f215040"
-fi
-echo "console: ${console}"
-
-# DT image by model
-if itest.l ${board_rev} == 0xd; then;
-       setenv fdtfile \"bcm2710-rpi-3-b-plus.dtb\"
-else
-       setenv fdtfile \"bcm2710-rpi-3-b.dtb\"
-fi
-setenv boot_prefixes \"/\"
-
-# To use cmdline for using serial console. /* Normal mode */
-setenv bootargs \"${tizen_bootarg} smsc95xx.macaddr=${ethaddr} root=/dev/${rootdev} rw bootmode=${bootmode} rootwait ${console} ${opts} ${ip_opt}\"
-
-# Find the ramdisk offset and block count
-part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start
-part size $bootdev $mmcrootdev $ramdiskpart ramdisk_size
-
-# Set to ramdisksize with real partition size. (Need to multiply block-size 0x200)
-setexpr ramdisksize $ramdisk_size * 200
-setexpr tizen_kernel_addr_r $ramdisk_addr_r + $ramdisksize
-
-echo "Searching for kernel in"; for prefix in $boot_prefixes; do
-if load $bootdev $mmcbootdev:$mmcbootpart $tizen_kernel_addr_r $prefix$kernel; then;
-       echo ${bootmode} "boot";
-       load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr $fdtfile;
-       if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
-               echo "Loading Ramdisk from partition"${ramdiskpart};
-               $bootdev read $ramdisk_addr_r $ramdisk_start $ramdisk_size;
-       fi
-
-       if test "$kernel" = "zImage"; then;
-               bootz $tizen_kernel_addr_r $ramdisk_addr_r:$ramdisksize $fdt_addr;
-       else
-               booti $tizen_kernel_addr_r $ramdisk_addr_r:$ramdisksize $fdt_addr;
-       fi
-fi
-done