summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2016-01-15 14:43:29 +0800
committerJeffy Chen <jeffy.chen@rock-chips.com>2016-01-15 15:29:13 +0800
commit62a8dcbd4e96cd1a043e83683fae64c102461d1d (patch)
tree9ff849ec9ea40b93e1714fa368d6c334e717b2d9
parent0c3ea43e5e5f57372208df6c4ec21430b9e92d23 (diff)
downloadkylin-62a8dcbd4e96cd1a043e83683fae64c102461d1d.tar.gz
kylin: update loader to RK3036_BOOTLOADER_V2
Now, all u-boot CLs are upstream or from list. Also support adb reboot fastboot with current kernel. And need to exec "fastboot oem format" to apply initial gpt partition table. Bug: 26041478 Change-Id: I98ef08516564d21d6fc7f059c94b8b6b7634989e
-rw-r--r--board-info.txt2
-rw-r--r--bootloader.imgbin4096000 -> 4096000 bytes
-rw-r--r--bootloader.img.sha12
-rwxr-xr-xprovision-device1
4 files changed, 3 insertions, 2 deletions
diff --git a/board-info.txt b/board-info.txt
index faf382b..c36f8a4 100644
--- a/board-info.txt
+++ b/board-info.txt
@@ -1,2 +1,2 @@
board=RK3036
-version-bootloader=RK3036_BOOTLOADER_V1
+version-bootloader=RK3036_BOOTLOADER_V2
diff --git a/bootloader.img b/bootloader.img
index a4c870d..c588935 100644
--- a/bootloader.img
+++ b/bootloader.img
Binary files differ
diff --git a/bootloader.img.sha1 b/bootloader.img.sha1
index 16e003e..303c725 100644
--- a/bootloader.img.sha1
+++ b/bootloader.img.sha1
@@ -3,4 +3,4 @@
# fastboot. When the .img file is updated, you must add its hash and
# the version number it reports to this file.
-aafaaed24d3efcc662d8c292937153b1f2b4443c RK3036_BOOTLOADER_V1
+7149518cc4bc050644400e758af2ad2e8225dfd0 RK3036_BOOTLOADER_V2
diff --git a/provision-device b/provision-device
index 97fc1fb..effdaf3 100755
--- a/provision-device
+++ b/provision-device
@@ -2,6 +2,7 @@
# The initial script that works on RK3036 reference board.
+fastboot oem format
fastboot flash loader ${ANDROID_BUILD_TOP}/device/rockchip/kylin/bootloader.img
fastboot flash boot_a ${ANDROID_PRODUCT_OUT}/boot.img
fastboot flash boot_b ${ANDROID_PRODUCT_OUT}/boot.img