script: tizen: artik710: add the prebuilt image for os_3.0.0
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 6 Dec 2017 05:02:21 +0000 (14:02 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:23:07 +0000 (16:23 +0900)
To update the OS_3.0.0, add the prebuilt image.

Read the READM.A710_os_3.0.0.

Change-Id: Ie8b245eec5080918bc4e8658eee3f516baad6372
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
scripts/tizen/artik710/os_3.0.0/README.A710_os_3.0.0 [new file with mode: 0644]
scripts/tizen/artik710/os_3.0.0/bl1-emmcboot.img [new file with mode: 0644]
scripts/tizen/artik710/os_3.0.0/boot.img [new file with mode: 0644]
scripts/tizen/artik710/os_3.0.0/fip-loader-emmc.img [new file with mode: 0644]
scripts/tizen/artik710/os_3.0.0/fip-nonsecure.img [new file with mode: 0644]
scripts/tizen/artik710/os_3.0.0/fip-secure.img [new file with mode: 0644]
scripts/tizen/artik710/os_3.0.0/flash_boot_for_tizen.sh [new file with mode: 0755]
scripts/tizen/artik710/os_3.0.0/partmap_artik710_tizen_emmc.txt [new file with mode: 0755]
scripts/tizen/artik710/os_3.0.0/tizen_params.bin [new file with mode: 0755]

diff --git a/scripts/tizen/artik710/os_3.0.0/README.A710_os_3.0.0 b/scripts/tizen/artik710/os_3.0.0/README.A710_os_3.0.0
new file mode 100644 (file)
index 0000000..08ee76d
--- /dev/null
@@ -0,0 +1,37 @@
+1. Description:
+==============
+
+These images are for migrating ARTIK Software version to Tizen OS_3.0.0.
+SamsungARTIK github is provided the migration image on git repository.
+(https://github.com/SamsungARTIK/boot-firmwares-artik710)
+
+It needs to downgrade for using the Tizen booting.
+
+*NOTE:
+These images are for ARTIK710_OS_3.0.0.
+
+2. Usage:
+=========
+
+Target device side:
+
+#artik710:fastboot 0
+
+Host side:
+$./flash_boot_for_tizen.sh
+
+Then it will be flased all image into artik710S board.
+
+3. Image information:
+=====================
+- bl-emmcboot.img                      - from SamsungARTIK github
+- fip-loader-emmc.img                  - from SamsungARTIK github
+- partmap_artik710_tizen_emmc.txt      - Tizen specific
+- fip-nonsecure.img                    - from Tizen Released image
+- tizen_params.bin                     - from Tizen Released image
+- boot.img                             - 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/artik710/os_3.0.0/bl1-emmcboot.img b/scripts/tizen/artik710/os_3.0.0/bl1-emmcboot.img
new file mode 100644 (file)
index 0000000..b5c5d92
Binary files /dev/null and b/scripts/tizen/artik710/os_3.0.0/bl1-emmcboot.img differ
diff --git a/scripts/tizen/artik710/os_3.0.0/boot.img b/scripts/tizen/artik710/os_3.0.0/boot.img
new file mode 100644 (file)
index 0000000..a4f26b4
Binary files /dev/null and b/scripts/tizen/artik710/os_3.0.0/boot.img differ
diff --git a/scripts/tizen/artik710/os_3.0.0/fip-loader-emmc.img b/scripts/tizen/artik710/os_3.0.0/fip-loader-emmc.img
new file mode 100644 (file)
index 0000000..3293ee3
Binary files /dev/null and b/scripts/tizen/artik710/os_3.0.0/fip-loader-emmc.img differ
diff --git a/scripts/tizen/artik710/os_3.0.0/fip-nonsecure.img b/scripts/tizen/artik710/os_3.0.0/fip-nonsecure.img
new file mode 100644 (file)
index 0000000..f1ae215
Binary files /dev/null and b/scripts/tizen/artik710/os_3.0.0/fip-nonsecure.img differ
diff --git a/scripts/tizen/artik710/os_3.0.0/fip-secure.img b/scripts/tizen/artik710/os_3.0.0/fip-secure.img
new file mode 100644 (file)
index 0000000..8abccbb
Binary files /dev/null and b/scripts/tizen/artik710/os_3.0.0/fip-secure.img differ
diff --git a/scripts/tizen/artik710/os_3.0.0/flash_boot_for_tizen.sh b/scripts/tizen/artik710/os_3.0.0/flash_boot_for_tizen.sh
new file mode 100755 (executable)
index 0000000..7dd87cd
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+echo "Fusing ARTIK710 OS_3.0.0 bootloader binaries..."
+sudo fastboot flash partmap ./partmap_artik710_tizen_emmc.txt
+sudo fastboot flash 2ndboot ./bl1-emmcboot.img
+sudo fastboot flash fip-loader ./fip-loader-emmc.img
+sudo fastboot flash fip-nonsecure ./fip-nonsecure.img
+sudo fastboot flash env ./tizen_params.bin
+sudo fastboot flash boot ./boot.img
+
+sudo fastboot reboot
+
+echo "Fusing done"
+echo "You have to resize the rootfs after first booting"
diff --git a/scripts/tizen/artik710/os_3.0.0/partmap_artik710_tizen_emmc.txt b/scripts/tizen/artik710/os_3.0.0/partmap_artik710_tizen_emmc.txt
new file mode 100755 (executable)
index 0000000..41b4e09
--- /dev/null
@@ -0,0 +1,10 @@
+flash=mmc,0:2ndboot:2nd:0x200,0x10000:bl1-emmcboot.img;
+flash=mmc,0:fip-loader:boot:0x10200,0x50000:fip-loader-emmc.img;
+flash=mmc,0:fip-secure:boot:0x60200,0x180000:fip-secure.img;
+flash=mmc,0:fip-nonsecure:boot:0x1E0200,0x100000:fip-nonsecure.img;
+flash=mmc,0:env:env:0x2E0200,0x4000:params.bin;
+flash=mmc,0:boot:ext4:0x400000,0x3000000:boot.img;
+flash=mmc,0:modules:ext4:0x3400000,0x2000000:modules.img;
+flash=mmc,0:rootfs:ext4:0x5400000,0x60000000:rootfs.img;
+flash=mmc,0:system-data:ext4:0x65500000,0x40000000:system-data.img;
+flash=mmc,0:user:ext4:0xA4500000,0:user.img;
diff --git a/scripts/tizen/artik710/os_3.0.0/tizen_params.bin b/scripts/tizen/artik710/os_3.0.0/tizen_params.bin
new file mode 100755 (executable)
index 0000000..32db36b
Binary files /dev/null and b/scripts/tizen/artik710/os_3.0.0/tizen_params.bin differ