From dbf1ea0b42d0f73feac9ea9d01bc8c59c3e51b15 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 2 Nov 2020 08:41:13 +0900 Subject: [PATCH] board: amlogic: change a prefixes to search image files Change a prefixes to search image files. - odroid-n2 : under odroid-n2 directory - kvim3 : under vim3 directory Change-Id: I86c2461b328e53f0b80979618acb2082bc82e9cc Signed-off-by: Jaehoon Chung --- board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr | 4 ++-- board/amlogic/w400/tizen-boot-odroid-n2-64b.scr | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr b/board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr index d6ed4c4..4f15f56 100644 --- a/board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr +++ b/board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr @@ -80,7 +80,7 @@ kernel=Image # DT image by model setenv fdtfile \"kvim3_linux.dtb\" -setenv boot_prefixes \"/\" +setenv prefixes \"/vim3\/\" # 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}\" @@ -89,7 +89,7 @@ setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repai part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start part size $bootdev $mmcrootdev $ramdiskpart ramdisk_size -echo "Searching for kernel in"; for prefix in $boot_prefixes; do +echo "Searching for kernel in"; for prefix in $prefixes; do if load $bootdev $mmcbootdev:$mmcbootpart $tizen_kernel_addr_r $prefix$kernel; then; echo ${bootmode} "boot"; load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr_r $fdtfile; diff --git a/board/amlogic/w400/tizen-boot-odroid-n2-64b.scr b/board/amlogic/w400/tizen-boot-odroid-n2-64b.scr index 75e04e8..30694e8 100644 --- a/board/amlogic/w400/tizen-boot-odroid-n2-64b.scr +++ b/board/amlogic/w400/tizen-boot-odroid-n2-64b.scr @@ -128,7 +128,7 @@ kernel=Image # DT image by model setenv fdtfile \"meson64_odroidn2_drm.dtb\" -setenv boot_prefixes \"/\" +setenv prefixes \"/odroid-n2\/\" # 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}\" @@ -137,7 +137,7 @@ setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repai part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start part size $bootdev $mmcrootdev $ramdiskpart ramdisk_size -echo "Searching for kernel in"; for prefix in $boot_prefixes; do +echo "Searching for kernel in"; for prefix in $prefixes; do if load $bootdev $mmcbootdev:$mmcbootpart $tizen_kernel_addr_r $prefix$kernel; then; echo ${bootmode} "boot"; load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr_r $fdtfile; -- 2.7.4