scripts: tizen: artik530s: add the prebuilt image for os_3.0.0
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 5 Dec 2017 10:17:24 +0000 (19:17 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:23:04 +0000 (16:23 +0900)
Add the prebuilt image to migrate to OS_3.0.0 on ARTIK530S target.

Change-Id: I1071d7f8be6b34fc5438970bc13497c966ee0a5c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
scripts/tizen/artik530s/os_3.0.0/README.A530S_os_3.0.0 [new file with mode: 0644]
scripts/tizen/artik530s/os_3.0.0/bl1-emmcboot.img [new file with mode: 0644]
scripts/tizen/artik530s/os_3.0.0/bl_mon.img [new file with mode: 0644]
scripts/tizen/artik530s/os_3.0.0/bootloader.img [new file with mode: 0644]
scripts/tizen/artik530s/os_3.0.0/flash_boot_for_tizen.sh [new file with mode: 0755]
scripts/tizen/artik530s/os_3.0.0/loader-emmc.img [new file with mode: 0644]
scripts/tizen/artik530s/os_3.0.0/partmap_artik530s_tizen_emmc.txt [new file with mode: 0644]
scripts/tizen/artik530s/os_3.0.0/tizen_params.bin [new file with mode: 0755]

diff --git a/scripts/tizen/artik530s/os_3.0.0/README.A530S_os_3.0.0 b/scripts/tizen/artik530s/os_3.0.0/README.A530S_os_3.0.0
new file mode 100644 (file)
index 0000000..4402537
--- /dev/null
@@ -0,0 +1,39 @@
+1. Description:
+==============
+
+These images are to migrate ARTIK Software version to OS_3.0.0.
+SamsungARTIK github is provided the migration image on git repository.
+(https://github.com/SamsungARTIK/boot-firmwares-artik530s)
+
+Current ARTIK release version is OS_3.0.0. (From 2017.11.13).
+If wants to use the OS_3.0.0 version, it needs to flash these images.
+
+*NOTE:
+These images are for ARTIK530S_OS_3.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
+- bl_mon.img                           - from SamsungARTIK github
+- loader-emmc.img                      - from SamsungARTIK github
+- partmap_artik530s_tizen_emmc.txt     - Tizen specific
+- bootloader.img                       - from Tizen Released image with Signed
+- 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/artik530s/os_3.0.0/bl1-emmcboot.img b/scripts/tizen/artik530s/os_3.0.0/bl1-emmcboot.img
new file mode 100644 (file)
index 0000000..9efade4
Binary files /dev/null and b/scripts/tizen/artik530s/os_3.0.0/bl1-emmcboot.img differ
diff --git a/scripts/tizen/artik530s/os_3.0.0/bl_mon.img b/scripts/tizen/artik530s/os_3.0.0/bl_mon.img
new file mode 100644 (file)
index 0000000..eae6d39
Binary files /dev/null and b/scripts/tizen/artik530s/os_3.0.0/bl_mon.img differ
diff --git a/scripts/tizen/artik530s/os_3.0.0/bootloader.img b/scripts/tizen/artik530s/os_3.0.0/bootloader.img
new file mode 100644 (file)
index 0000000..691bd6c
Binary files /dev/null and b/scripts/tizen/artik530s/os_3.0.0/bootloader.img differ
diff --git a/scripts/tizen/artik530s/os_3.0.0/flash_boot_for_tizen.sh b/scripts/tizen/artik530s/os_3.0.0/flash_boot_for_tizen.sh
new file mode 100755 (executable)
index 0000000..ecdbf68
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+echo "Fusing bootloader binaries..."
+sudo fastboot flash partmap ./partmap_artik530s_tizen_emmc.txt
+sudo fastboot flash 2ndboot ./bl1-emmcboot.img
+sudo fastboot flash loader ./loader-emmc.img
+sudo fastboot flash blmon ./bl_mon.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/artik530s/os_3.0.0/loader-emmc.img b/scripts/tizen/artik530s/os_3.0.0/loader-emmc.img
new file mode 100644 (file)
index 0000000..deb8027
Binary files /dev/null and b/scripts/tizen/artik530s/os_3.0.0/loader-emmc.img differ
diff --git a/scripts/tizen/artik530s/os_3.0.0/partmap_artik530s_tizen_emmc.txt b/scripts/tizen/artik530s/os_3.0.0/partmap_artik530s_tizen_emmc.txt
new file mode 100644 (file)
index 0000000..6032946
--- /dev/null
@@ -0,0 +1,11 @@
+flash=mmc,0:2ndboot:2nd:0x200,0x10000:bl1-emmcboot.img;
+flash=mmc,0:loader:boot:0x10200,0x30000:loader-emmc.img;
+flash=mmc,0:blmon:boot:0x40200,0x20000:bl_mon.img;
+flash=mmc,0:secure:boot:0x60200,0x180000:secureos.img;
+flash=mmc,0:bootloader:boot:0x1E0200,0x100000:bootloader.img;
+flash=mmc,0:env:env:0x2E0200,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/artik530s/os_3.0.0/tizen_params.bin b/scripts/tizen/artik530s/os_3.0.0/tizen_params.bin
new file mode 100755 (executable)
index 0000000..dbe9614
Binary files /dev/null and b/scripts/tizen/artik530s/os_3.0.0/tizen_params.bin differ