# 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"
# This is for jumping to flash mode on u-boot.
echo "console: ${console}"
# Kernel image
-kernel=Image
+kernel=Image.gz
# DT image by model
setenv fdtfile \"meson64_odroidc4.dtb\"
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_kernel_addr_r $prefix$kernel; then;
+if load $bootdev $mmcbootdev:$mmcbootpart $tizen_tmp_kernel_addr_r $prefix$kernel; then;
echo ${bootmode} "boot";
- echo "Found kernel Image in" $prefix;
+ 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};
# 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"
# This is for jumping to flash mode on u-boot.
echo "console: ${console}"
# Kernel image
-kernel=Image
+kernel=Image.gz
# DT image by model
setenv fdtfile \"kvim3_linux.dtb\"
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_kernel_addr_r $prefix$kernel; then;
+if load $bootdev $mmcbootdev:$mmcbootpart $tizen_tmp_kernel_addr_r $prefix$kernel; then;
echo ${bootmode} "boot";
- echo "Found kernel Image in" $prefix;
+ 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};
# 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"
# This is for jumping to flash mode on u-boot.
echo "console: ${console}"
# Kernel image
-kernel=Image
+kernel=Image.gz
# DT image by model
setenv fdtfile \"meson64_odroidn2_drm.dtb\"
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_kernel_addr_r $prefix$kernel; then;
+if load $bootdev $mmcbootdev:$mmcbootpart $tizen_tmp_kernel_addr_r $prefix$kernel; then;
echo ${bootmode} "boot";
- echo "Found kernel Image in" $prefix;
+ 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};
/* DFU */
/* For SD */
#define DFU_ALT_SYSTEM_SD \
- "Image fat 0 1;" \
+ "Image.gz fat 0 1;" \
"meson64_odroidn2_drm.dtb fat 0 1;" \
"meson64_odroidn2.dtb fat 0 1;" \
"meson64_odroidc4.dtb fat 0 1;" \
"kvim3_linux.dtb fat 0 1;" \
"boot.scr.uimg fat 0 1;" \
"params.bin fat 0 1;" \
- "vim3/Image fat 0 1;" \
- "odroid-n2/Image fat 0 1;" \
- "odroid-c4/Image fat 0 1;" \
+ "vim3/Image.gz fat 0 1;" \
+ "odroid-n2/Image.gz fat 0 1;" \
+ "odroid-c4/Image.gz fat 0 1;" \
"vim3/params.bin fat 0 1;" \
"odroid-n2/params.bin fat 0 1;" \
"odroid-c4/params.bin fat 0 1;" \
/* For eMMC */
#define DFU_ALT_SYSTEM \
- "Image fat 1 1;" \
+ "Image.gz fat 1 1;" \
"meson64_odroidn2_drm.dtb fat 1 1;" \
"meson64_odroidn2.dtb fat 1 1;" \
"meson64_odroidc4.dtb fat 1 1;" \
"boot.scr.uimg fat 1 1;" \
"boot.img part 1 1;" \
"params.bin fat 1 1;" \
- "vim3/Image fat 1 1;" \
- "odroid-n2/Image fat 1 1;" \
- "odroid-c4/Image fat 1 1;" \
+ "vim3/Image.gz fat 1 1;" \
+ "odroid-n2/Image.gz fat 1 1;" \
+ "odroid-c4/Image.gz fat 1 1;" \
"vim3/params.bin fat 1 1;" \
"odroid-n2/params.bin fat 1 1;" \
"odroid-c4/params.bin fat 1 1;" \