From: Jaehoon Chung Date: Fri, 10 Nov 2017 06:16:03 +0000 (+0900) Subject: script: tizen: artik530: add the prebuilt image for os_1.0.0 X-Git-Tag: submit/tizen/20180327.075642~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a85472403e74a4b9a75da9b4b1410f2aaf4803c;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik7.git script: tizen: artik530: add the prebuilt image for os_1.0.0 Current Tizen is used the DS release version 1.0.0. This version is too old, so some boards need to downgrade to os_1.0.0. This patch is for providing the downgrading. *Usage: -Target side: artik530# fastboot 0 -Host side: $./flash_boot_for_tizen.sh This is for only Tizen Platform. Change-Id: Ia39f8d2e962936eee67b639ee0512019c04060d4 Signed-off-by: Jaehoon Chung --- diff --git a/scripts/tizen/artik530/os_1.0.0/README.A530_os_1.0.0 b/scripts/tizen/artik530/os_1.0.0/README.A530_os_1.0.0 new file mode 100644 index 0000000000..4f188c3df9 --- /dev/null +++ b/scripts/tizen/artik530/os_1.0.0/README.A530_os_1.0.0 @@ -0,0 +1,40 @@ +1. Description: +============== + +These images are for downgrading ARTIK Software version to OS_1.0.0. +SamsungARTIK github is provided the migration image on git repository. +(https://github.com/SamsungARTIK/boot-firmware-artik530) +Tizen also needs to provide the migration image for each versions. + +Current ARTIK release version is OS_3.0.0. (From 2017.11.13). +But Tizen is using older version(OS_1.0.0). Each version can't maintain +the compatible. +It needs to downgrade for using the Tizen booting. + +*NOTE: +These images are for ARTIK530_OS_1.0.0. + + +2. Usage: +========= + +Target device side: + +#artik530:fastboot 0 + +Host side: +$./flash_boot_for_tizen.sh + +Then it will be flased all image into artik530 board. + +3. Image information: +===================== +- bl-emmcboot.img - from SamsungARTIK github +- partmap_artik530_tizen_emmc.txt - Tizen specific +- bootloader.img - from Tizen Released image +- tizen_params.bin - from Tizen Released image +- flash_boot_for_tizen.sh - Tizen specific + +4. Contact +========== +If face on some problems, contact to Tizen Kernel Part. diff --git a/scripts/tizen/artik530/os_1.0.0/bl1-emmcboot.img b/scripts/tizen/artik530/os_1.0.0/bl1-emmcboot.img new file mode 100644 index 0000000000..8bf7355549 Binary files /dev/null and b/scripts/tizen/artik530/os_1.0.0/bl1-emmcboot.img differ diff --git a/scripts/tizen/artik530/os_1.0.0/bootloader.img b/scripts/tizen/artik530/os_1.0.0/bootloader.img new file mode 100755 index 0000000000..97f221c02c Binary files /dev/null and b/scripts/tizen/artik530/os_1.0.0/bootloader.img differ diff --git a/scripts/tizen/artik530/os_1.0.0/flash_boot_for_tizen.sh b/scripts/tizen/artik530/os_1.0.0/flash_boot_for_tizen.sh new file mode 100755 index 0000000000..310b4907ad --- /dev/null +++ b/scripts/tizen/artik530/os_1.0.0/flash_boot_for_tizen.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +echo "Fusing bootloader binaries..." +sudo fastboot flash partmap ./partmap_artik530_tizen_emmc.txt +sudo fastboot flash 2ndboot ./bl1-emmcboot.img +sudo fastboot flash bootloader ./bootloader.img +sudo fastboot flash env ./tizen_params.bin + +sudo fastboot reboot + +echo "Fusing done" +echo "You have to resize the rootfs after first booting" diff --git a/scripts/tizen/artik530/os_1.0.0/partmap_artik530_tizen_emmc.txt b/scripts/tizen/artik530/os_1.0.0/partmap_artik530_tizen_emmc.txt new file mode 100755 index 0000000000..32e5cfdfdc --- /dev/null +++ b/scripts/tizen/artik530/os_1.0.0/partmap_artik530_tizen_emmc.txt @@ -0,0 +1,8 @@ +flash=mmc,0:2ndboot:2nd:0x200,0x10000:bl1-emmcboot.img; +flash=mmc,0:bootloader:boot:0x10200,0x300000:bootloader.img; +flash=mmc,0:env:env:0x310200,0x4000:params.bin; +flash=mmc,0:boot:ext4:0x400000,0x2000000:boot.img; +flash=mmc,0:modules:ext4:0x2400000,0x2000000:modules.img; +flash=mmc,0:rootfs:ext4:0x4400000,0x80000000:rootfs.img; +flash=mmc,0:system-data:ext4:0x84500000,0x40000000:system-data.img; +flash=mmc,0:user:ext4:0xC4500000,0:user.img; diff --git a/scripts/tizen/artik530/os_1.0.0/tizen_params.bin b/scripts/tizen/artik530/os_1.0.0/tizen_params.bin new file mode 100755 index 0000000000..61ee9b2b0c Binary files /dev/null and b/scripts/tizen/artik530/os_1.0.0/tizen_params.bin differ