summaryrefslogtreecommitdiff
path: root/tizen
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2020-11-25 18:31:13 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2023-10-17 13:19:25 +0900
commit9aa4dc2010cd6f07223a3a5f85155ba5427f67c1 (patch)
tree91662a18af1e99af6272eee24d70638cb20f9669 /tizen
parentdb49cdf3fc526db8ace23a460090997b10075020 (diff)
downloadu-boot-9aa4dc2010cd6f07223a3a5f85155ba5427f67c1.tar.gz
u-boot-9aa4dc2010cd6f07223a3a5f85155ba5427f67c1.tar.bz2
u-boot-9aa4dc2010cd6f07223a3a5f85155ba5427f67c1.zip
tizen: bootscript: move boot scripts under bootscript directory
Move each bootscript files to tizen/bootscript directory. It's more easier to maintain which boot script is used for tizen than now Change-Id: I435fdf8352195091763226fdbb05b844219f5842 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'tizen')
-rw-r--r--tizen/bootscript/tizen-boot-khadas-vim3-64b.scr91
-rw-r--r--tizen/bootscript/tizen-boot-khadas-vim3l-64b.scr91
-rw-r--r--tizen/bootscript/tizen-boot-odroid-c4-64b.scr67
-rw-r--r--tizen/bootscript/tizen-boot-odroid-n2-64b.scr139
-rwxr-xr-xtizen/build-kvim3.sh4
-rwxr-xr-xtizen/build-odroid-c4.sh2
-rwxr-xr-xtizen/build-odroid-n2.sh2
7 files changed, 392 insertions, 4 deletions
diff --git a/tizen/bootscript/tizen-boot-khadas-vim3-64b.scr b/tizen/bootscript/tizen-boot-khadas-vim3-64b.scr
new file mode 100644
index 0000000000..186837abd7
--- /dev/null
+++ b/tizen/bootscript/tizen-boot-khadas-vim3-64b.scr
@@ -0,0 +1,91 @@
+# U-boot script for tizen VIM3
+
+# HDMI Mode
+# Resolution Configuration
+# Symbol | Resolution
+# ----------------------+-------------
+# "480x272p60hz" | 480x272 Progressive 60Hz
+# "480x320p60hz" | 480x320 Progressive 60Hz
+# "480p60hz" | 720x480 Progressive 60Hz
+# "576p50hz" | 720x576 Progressive 50Hz
+# "720p60hz" | 1280x720 Progressive 60Hz
+# "720p50hz" | 1280x720 Progressive 50Hz
+# "1080p60hz" | 1920x1080 Progressive 60Hz
+# "1080p50hz" | 1920x1080 Progressive 50Hz
+# "1080p30hz" | 1920x1080 Progressive 30Hz
+# "1080p24hz" | 1920x1080 Progressive 24Hz
+# "1080i60hz" | 1920x1080 Interlaced 60Hz
+# "1080i50hz" | 1920x1080 Interlaced 50Hz
+# "2160p60hz" | 3840x2160 Progressive 60Hz
+# "2160p50hz" | 3840x2160 Progressive 50Hz
+# "2160p30hz" | 3840x2160 Progressive 30Hz
+# "2160p25hz" | 3840x2160 Progressive 25Hz
+# "2160p24hz" | 3840x2160 Progressive 24Hz
+# "smpte24hz" | 3840x2160 Progressive 24Hz SMPTE
+# "2160p60hz420" | 3840x2160 Progressive 60Hz YCbCr 4:2:0
+# "2160p50hz420" | 3840x2160 Progressive 50Hz YCbCr 4:2:0
+# "640x480p60hz" | 640x480 Progressive 60Hz
+# "800x480p60hz" | 800x480 Progressive 60Hz
+# "800x600p60hz" | 800x600 Progressive 60Hz
+# "1024x600p60hz" | 1024x600 Progressive 60Hz
+# "1024x768p60hz" | 1024x768 Progressive 60Hz
+# "1280x800p60hz" | 1280x800 Progressive 60Hz
+# "1280x1024p60hz" | 1280x1024 Progressive 60Hz
+# "1360x768p60hz" | 1360x768 Progressive 60Hz
+# "1440x900p60hz" | 1440x900 Progressive 60Hz
+# "1600x900p60hz" | 1600x900 Progressive 60Hz
+# "1600x1200p60hz" | 1600x1200 Progressive 60Hz
+# "1680x1050p60hz" | 1680x1050 Progressive 60Hz
+# "1920x1200p60hz" | 1920x1200 Progressive 60Hz
+# "2560x1080p60hz" | 2560x1080 Progressive 60Hz
+# "2560x1440p60hz" | 2560x1440 Progressive 60Hz
+# "2560x1600p60hz" | 2560x1600 Progressive 60Hz
+# "3440x1440p60hz" | 3440x1440 Progressive 60Hz
+setenv hdmimode "1080p60hz"
+
+# Set load addresses
+setenv fdt_addr_r "0x1000000"
+setenv tizen_kernel_addr_r "0x2400000"
+setenv tizen_tmp_kernel_addr_r "0x1000000"
+setenv ramdisk_addr_r "0x1b00000"
+
+# boot from ram0 if there is sbin
+if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
+ setenv rootdev ram0
+else
+ setenv rootdev mmcblk${mmcrootdev}p${mmcrootpart}
+ setenv bootmode normal
+fi
+
+# setting console device if noting is set
+if test -z "${console}"; then;
+ setenv console "console=ttyS0,115200n8 earlycon=aml-uart,0xff803000"
+fi
+echo "console: ${console}"
+
+# Kernel image
+kernel=Image.gz
+# DT image by model
+setenv fdtfile \"kvim3_linux.dtb\"
+
+# To use comdline for using serial console. /* Normal mode */
+setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"
+
+# Find the ramdisk offset and block count
+part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start
+part size $bootdev $mmcrootdev $ramdiskpart ramdisk_size
+
+echo "Searching for kernel in" $boot_prefixes; for prefix in $boot_prefixes; do
+if load $bootdev $mmcbootdev:$mmcbootpart $tizen_tmp_kernel_addr_r $prefix$kernel; then;
+ echo ${bootmode} "boot";
+ echo "Found kernel ${kernel} in ${prefix}";
+ unzip ${tizen_tmp_kernel_addr_r} ${tizen_kernel_addr_r};
+ load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr_r $fdtfile;
+ if test -e mmc $mmcrootdev:$ramdiskpart sbin/init; then;
+ echo "Loading Ramdisk from partition"${ramdiskpart};
+ mmc read $ramdisk_addr_r $ramdisk_start $ramdisk_size;
+ fi
+ booti $tizen_kernel_addr_r $ramdisk_addr_r:$ramdisksize $fdt_addr_r;
+fi
+done
+
diff --git a/tizen/bootscript/tizen-boot-khadas-vim3l-64b.scr b/tizen/bootscript/tizen-boot-khadas-vim3l-64b.scr
new file mode 100644
index 0000000000..b54f1ff595
--- /dev/null
+++ b/tizen/bootscript/tizen-boot-khadas-vim3l-64b.scr
@@ -0,0 +1,91 @@
+# U-boot script for tizen VIM3L
+
+# HDMI Mode
+# Resolution Configuration
+# Symbol | Resolution
+# ----------------------+-------------
+# "480x272p60hz" | 480x272 Progressive 60Hz
+# "480x320p60hz" | 480x320 Progressive 60Hz
+# "480p60hz" | 720x480 Progressive 60Hz
+# "576p50hz" | 720x576 Progressive 50Hz
+# "720p60hz" | 1280x720 Progressive 60Hz
+# "720p50hz" | 1280x720 Progressive 50Hz
+# "1080p60hz" | 1920x1080 Progressive 60Hz
+# "1080p50hz" | 1920x1080 Progressive 50Hz
+# "1080p30hz" | 1920x1080 Progressive 30Hz
+# "1080p24hz" | 1920x1080 Progressive 24Hz
+# "1080i60hz" | 1920x1080 Interlaced 60Hz
+# "1080i50hz" | 1920x1080 Interlaced 50Hz
+# "2160p60hz" | 3840x2160 Progressive 60Hz
+# "2160p50hz" | 3840x2160 Progressive 50Hz
+# "2160p30hz" | 3840x2160 Progressive 30Hz
+# "2160p25hz" | 3840x2160 Progressive 25Hz
+# "2160p24hz" | 3840x2160 Progressive 24Hz
+# "smpte24hz" | 3840x2160 Progressive 24Hz SMPTE
+# "2160p60hz420" | 3840x2160 Progressive 60Hz YCbCr 4:2:0
+# "2160p50hz420" | 3840x2160 Progressive 50Hz YCbCr 4:2:0
+# "640x480p60hz" | 640x480 Progressive 60Hz
+# "800x480p60hz" | 800x480 Progressive 60Hz
+# "800x600p60hz" | 800x600 Progressive 60Hz
+# "1024x600p60hz" | 1024x600 Progressive 60Hz
+# "1024x768p60hz" | 1024x768 Progressive 60Hz
+# "1280x800p60hz" | 1280x800 Progressive 60Hz
+# "1280x1024p60hz" | 1280x1024 Progressive 60Hz
+# "1360x768p60hz" | 1360x768 Progressive 60Hz
+# "1440x900p60hz" | 1440x900 Progressive 60Hz
+# "1600x900p60hz" | 1600x900 Progressive 60Hz
+# "1600x1200p60hz" | 1600x1200 Progressive 60Hz
+# "1680x1050p60hz" | 1680x1050 Progressive 60Hz
+# "1920x1200p60hz" | 1920x1200 Progressive 60Hz
+# "2560x1080p60hz" | 2560x1080 Progressive 60Hz
+# "2560x1440p60hz" | 2560x1440 Progressive 60Hz
+# "2560x1600p60hz" | 2560x1600 Progressive 60Hz
+# "3440x1440p60hz" | 3440x1440 Progressive 60Hz
+setenv hdmimode "1080p60hz"
+
+# Set load addresses
+setenv fdt_addr_r "0x1000000"
+setenv tizen_kernel_addr_r "0x2400000"
+setenv tizen_tmp_kernel_addr_r "0x1000000"
+setenv ramdisk_addr_r "0x1b00000"
+
+# boot from ram0 if there is sbin
+if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
+ setenv rootdev ram0
+else
+ setenv rootdev mmcblk${mmcrootdev}p${mmcrootpart}
+ setenv bootmode normal
+fi
+
+# setting console device if noting is set
+if test -z "${console}"; then;
+ setenv console "console=ttyS0,115200n8 earlycon=aml-uart,0xff803000"
+fi
+echo "console: ${console}"
+
+# Kernel image
+kernel=Image.gz
+# DT image by model
+setenv fdtfile \"kvim3l_linux.dtb\"
+
+# To use comdline for using serial console. /* Normal mode */
+setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"
+
+# Find the ramdisk offset and block count
+part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start
+part size $bootdev $mmcrootdev $ramdiskpart ramdisk_size
+
+echo "Searching for kernel in" $boot_prefixes; for prefix in $boot_prefixes; do
+if load $bootdev $mmcbootdev:$mmcbootpart $tizen_tmp_kernel_addr_r $prefix$kernel; then;
+ echo ${bootmode} "boot";
+ echo "Found kernel ${kernel} in ${prefix}";
+ unzip ${tizen_tmp_kernel_addr_r} ${tizen_kernel_addr_r};
+ load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr_r $fdtfile;
+ if test -e mmc $mmcrootdev:$ramdiskpart sbin/init; then;
+ echo "Loading Ramdisk from partition"${ramdiskpart};
+ mmc read $ramdisk_addr_r $ramdisk_start $ramdisk_size;
+ fi
+ booti $tizen_kernel_addr_r $ramdisk_addr_r:$ramdisksize $fdt_addr_r;
+fi
+done
+
diff --git a/tizen/bootscript/tizen-boot-odroid-c4-64b.scr b/tizen/bootscript/tizen-boot-odroid-c4-64b.scr
new file mode 100644
index 0000000000..28ce7e9aab
--- /dev/null
+++ b/tizen/bootscript/tizen-boot-odroid-c4-64b.scr
@@ -0,0 +1,67 @@
+# U-boot script for tizen Odroid C4
+# Auto Detection of Monitor settings based on your Screen information
+# Below values are from Hardkernel ubuntu-20.04.4.0-mate-odroid-c4-hc4-20201020.img
+# (Hardkernel)
+setenv display_autodetect "true"
+setenv hdmimode "1080p60hz"
+setenv monitor_onoff "false" # true or false
+setenv overscan "100"
+setenv sdrmode "auto"
+setenv voutmode "hdmi"
+setenv disablehpd "false"
+setenv cec "true"
+setenv disable_vu7 "true"
+setenv max_freq_a55 "1908" # 1.908 GHz, default value
+setenv enable_wol "0"
+
+# (Hardkernel) Normal HDMI Monitors
+if test "${hdmimode}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi
+if test "${cec}" = "true"; then setenv cec_enable "hdmitx=cec3f"; fi
+if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
+
+# Set load addresses
+setenv fdt_addr_r "0x1000000"
+setenv tizen_kernel_addr_r "0x2400000"
+setenv tizen_tmp_kernel_addr_r "0x1000000"
+setenv ramdisk_addr_r "0x1b00000"
+
+# boot from ram0 if there is sbin
+if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
+ setenv rootdev ram0
+else
+ setenv rootdev mmcblk${mmcrootdev}p${mmcrootpart}
+ setenv bootmode normal
+fi
+
+# setting console device if noting is set
+if test -z "${console}"; then;
+ setenv console "console=ttyS0,115200n8 earlycon=aml-uart,0xff803000"
+fi
+echo "console: ${console}"
+
+# Kernel image
+kernel=Image.gz
+# DT image by model
+setenv fdtfile \"meson64_odroidc4.dtb\"
+
+# To use comdline for using serial console. /* Normal mode */
+setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"
+
+# Find the ramdisk offset and block count
+part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start
+part size $bootdev $mmcrootdev $ramdiskpart ramdisk_size
+
+echo "Searching for kernel in" $boot_prefixes; for prefix in $boot_prefixes; do
+if load $bootdev $mmcbootdev:$mmcbootpart $tizen_tmp_kernel_addr_r $prefix$kernel; then;
+ echo ${bootmode} "boot";
+ echo "Found kernel ${kernel} in ${prefix}";
+ unzip ${tizen_tmp_kernel_addr_r} ${tizen_kernel_addr_r};
+ load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr_r $fdtfile;
+ if test -e mmc $mmcrootdev:$ramdiskpart sbin/init; then;
+ echo "Loading Ramdisk from partition"${ramdiskpart};
+ mmc read $ramdisk_addr_r $ramdisk_start $ramdisk_size;
+ fi
+ booti $tizen_kernel_addr_r $ramdisk_addr_r:$ramdisksize $fdt_addr_r;
+fi
+done
+
diff --git a/tizen/bootscript/tizen-boot-odroid-n2-64b.scr b/tizen/bootscript/tizen-boot-odroid-n2-64b.scr
new file mode 100644
index 0000000000..9ebc49d18a
--- /dev/null
+++ b/tizen/bootscript/tizen-boot-odroid-n2-64b.scr
@@ -0,0 +1,139 @@
+# U-boot script for tizen Odroid N2
+# Auto Detection of Monitor settings based on your Screen information
+setenv display_autodetect "true"
+
+# HDMI Mode
+# Resolution Configuration
+# Symbol | Resolution
+# ----------------------+-------------
+# "480x272p60hz" | 480x272 Progressive 60Hz
+# "480x320p60hz" | 480x320 Progressive 60Hz
+# "480p60hz" | 720x480 Progressive 60Hz
+# "576p50hz" | 720x576 Progressive 50Hz
+# "720p60hz" | 1280x720 Progressive 60Hz
+# "720p50hz" | 1280x720 Progressive 50Hz
+# "1080p60hz" | 1920x1080 Progressive 60Hz
+# "1080p50hz" | 1920x1080 Progressive 50Hz
+# "1080p30hz" | 1920x1080 Progressive 30Hz
+# "1080p24hz" | 1920x1080 Progressive 24Hz
+# "1080i60hz" | 1920x1080 Interlaced 60Hz
+# "1080i50hz" | 1920x1080 Interlaced 50Hz
+# "2160p60hz" | 3840x2160 Progressive 60Hz
+# "2160p50hz" | 3840x2160 Progressive 50Hz
+# "2160p30hz" | 3840x2160 Progressive 30Hz
+# "2160p25hz" | 3840x2160 Progressive 25Hz
+# "2160p24hz" | 3840x2160 Progressive 24Hz
+# "smpte24hz" | 3840x2160 Progressive 24Hz SMPTE
+# "2160p60hz420" | 3840x2160 Progressive 60Hz YCbCr 4:2:0
+# "2160p50hz420" | 3840x2160 Progressive 50Hz YCbCr 4:2:0
+# "640x480p60hz" | 640x480 Progressive 60Hz
+# "800x480p60hz" | 800x480 Progressive 60Hz
+# "800x600p60hz" | 800x600 Progressive 60Hz
+# "1024x600p60hz" | 1024x600 Progressive 60Hz
+# "1024x768p60hz" | 1024x768 Progressive 60Hz
+# "1280x800p60hz" | 1280x800 Progressive 60Hz
+# "1280x1024p60hz" | 1280x1024 Progressive 60Hz
+# "1360x768p60hz" | 1360x768 Progressive 60Hz
+# "1440x900p60hz" | 1440x900 Progressive 60Hz
+# "1600x900p60hz" | 1600x900 Progressive 60Hz
+# "1600x1200p60hz" | 1600x1200 Progressive 60Hz
+# "1680x1050p60hz" | 1680x1050 Progressive 60Hz
+# "1920x1200p60hz" | 1920x1200 Progressive 60Hz
+# "2560x1080p60hz" | 2560x1080 Progressive 60Hz
+# "2560x1440p60hz" | 2560x1440 Progressive 60Hz
+# "2560x1600p60hz" | 2560x1600 Progressive 60Hz
+# "3440x1440p60hz" | 3440x1440 Progressive 60Hz
+setenv hdmimode "1080p60hz"
+
+# Monitor output
+# Controls if HDMI PHY should output anything to the monitor
+setenv monitor_onoff "false" # true or false
+
+# Overscan percentage
+# This value scales down the actual screen size by the percentage below
+# valid range is 80 to 100
+setenv overscan "100"
+
+### voutmode : hdmi or dvi
+setenv voutmode "hdmi"
+# setenv voutmode "dvi"
+
+# HPD enable/disable option
+setenv disablehpd "false"
+
+# Hardkernel ODROID-VU7 support
+# By default VU7 support is disabled
+setenv disable_vu7 "true"
+# setenv disable_vu7 "false"
+
+# max cpu frequency for big core, A73 in MHz unit
+# setenv max_freq_a73 "2004" # 2.004 GHz
+# setenv max_freq_a73 "1992" # 1.992 GHz
+# setenv max_freq_a73 "1908" # 1.908 GHz
+setenv max_freq_a73 "1800" # 1.8 GHz, default value
+# setenv max_freq_a73 "1704" # 1.704 GHz
+
+# max cpu frequency for little core, A53 in MHz unit
+# setenv max_freq_a53 "1992" # 1.992 GHz
+setenv max_freq_a53 "1896" # 1.896 GHz, default value
+# setenv max_freq_a53 "1704" # 1.704 GHz
+
+
+# max cpu-cores
+# Note:
+# CPU's 0 and 1 are the A53 (small cores)
+# CPU's 2 to 5 are the A73 (big cores)
+# Lowering this value disables only the bigger cores (the last cores).
+# setenv maxcpus "4"
+# setenv maxcpus "5"
+setenv maxcpus "6"
+
+# VU7 Settings
+if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
+
+# Set load addresses
+setenv fdt_addr_r "0x1000000"
+setenv tizen_kernel_addr_r "0x2400000"
+setenv tizen_tmp_kernel_addr_r "0x1000000"
+setenv ramdisk_addr_r "0x1b00000"
+
+# boot from ram0 if there is sbin
+if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
+ setenv rootdev ram0
+else
+ setenv rootdev mmcblk${mmcrootdev}p${mmcrootpart}
+ setenv bootmode normal
+fi
+
+# setting console device if noting is set
+if test -z "${console}"; then;
+ setenv console "console=ttyS0,115200n8 earlycon=aml-uart,0xff803000"
+fi
+echo "console: ${console}"
+
+# Kernel image
+kernel=Image.gz
+# DT image by model
+setenv fdtfile \"meson64_odroidn2_drm.dtb\"
+
+# To use comdline for using serial console. /* Normal mode */
+setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"
+
+# Find the ramdisk offset and block count
+part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start
+part size $bootdev $mmcrootdev $ramdiskpart ramdisk_size
+
+echo "Searching for kernel in" $boot_prefixes; for prefix in $boot_prefixes; do
+if load $bootdev $mmcbootdev:$mmcbootpart $tizen_tmp_kernel_addr_r $prefix$kernel; then;
+ echo ${bootmode} "boot";
+ echo "Found kernel ${kernel} in ${prefix}";
+ unzip ${tizen_tmp_kernel_addr_r} ${tizen_kernel_addr_r};
+ load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr_r $fdtfile;
+ if test -e mmc $mmcrootdev:$ramdiskpart sbin/init; then;
+ echo "Loading Ramdisk from partition"${ramdiskpart};
+ mmc read $ramdisk_addr_r $ramdisk_start $ramdisk_size;
+ fi
+ booti $tizen_kernel_addr_r $ramdisk_addr_r:$ramdisksize $fdt_addr_r;
+fi
+done
+
diff --git a/tizen/build-kvim3.sh b/tizen/build-kvim3.sh
index c25a585c79..4aa17aa30f 100755
--- a/tizen/build-kvim3.sh
+++ b/tizen/build-kvim3.sh
@@ -27,7 +27,7 @@ build_uboot()
make ARCH=arm64 khadas-vim3_defconfig
fi
make CROSS_COMPILE="$CCACHE $CROSS_COMPILE" $JOBS
- ./tools/mkimage -A arm64 -T script -C none -n "Tizen KVIM3 u-boot helper" -d ./board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr ./output/vim3/boot.scr.uimg
+ ./tools/mkimage -A arm64 -T script -C none -n "Tizen KVIM3 u-boot helper" -d ./tizen/bootscript/tizen-boot-khadas-vim3-64b.scr ./output/vim3/boot.scr.uimg
elif [ "$1" = "vim3l" ]; then
if [ -d output ]; then
rm output/vim3l/*
@@ -40,7 +40,7 @@ build_uboot()
make ARCH=arm64 khadas-vim3l_defconfig
fi
make CROSS_COMPILE="$CCACHE $CROSS_COMPILE" $JOBS
- ./tools/mkimage -A arm64 -T script -C none -n "Tizen KVIM3L u-boot helper" -d ./board/amlogic/w400/tizen-boot-khadas-vim3l-64b.scr ./output/vim3l/boot.scr.uimg
+ ./tools/mkimage -A arm64 -T script -C none -n "Tizen KVIM3L u-boot helper" -d ./tizen/bootscript/tizen-boot-khadas-vim3l-64b.scr ./output/vim3l/boot.scr.uimg
else
echo "Usage ./build_vim3.sh [TARGET]"
echo " - TARGET : vim3 or vim3l"
diff --git a/tizen/build-odroid-c4.sh b/tizen/build-odroid-c4.sh
index 2afaa6fcc8..312dda5b0e 100755
--- a/tizen/build-odroid-c4.sh
+++ b/tizen/build-odroid-c4.sh
@@ -25,7 +25,7 @@ build_uboot()
make ARCH=arm64 odroid-c4_defconfig
fi
make CROSS_COMPILE="$CCACHE $CROSS_COMPILE" $JOBS
- ./tools/mkimage -A arm64 -T script -C none -n "Tizen ODROID-C4 u-boot helper" -d ./board/amlogic/odroid-n2/tizen-boot-odroid-c4-64b.scr ./output/odroid-c4/boot.scr.uimg
+ ./tools/mkimage -A arm64 -T script -C none -n "Tizen ODROID-C4 u-boot helper" -d ./tizen/bootscript/tizen-boot-odroid-c4-64b.scr ./output/odroid-c4/boot.scr.uimg
}
diff --git a/tizen/build-odroid-n2.sh b/tizen/build-odroid-n2.sh
index fce4a5978f..04f4e55847 100755
--- a/tizen/build-odroid-n2.sh
+++ b/tizen/build-odroid-n2.sh
@@ -25,7 +25,7 @@ build_uboot()
make ARCH=arm64 odroid-n2_defconfig
fi
make CROSS_COMPILE="$CCACHE $CROSS_COMPILE" $JOBS
- ./tools/mkimage -A arm64 -T script -C none -n "Tizen ODROID-N2 u-boot helper" -d ./board/amlogic/w400/tizen-boot-odroid-n2-64b.scr ./output/odroid-n2/boot.scr.uimg
+ ./tools/mkimage -A arm64 -T script -C none -n "Tizen ODROID-N2 u-boot helper" -d ./tizen/bootscript/tizen-boot-odroid-n2-64b.scr ./output/odroid-n2/boot.scr.uimg
}