| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
911a23ccd8 am: 6f399d2f9b am: 314cdb0db6
am: a3d5024960
Change-Id: I1b3274e93e6682db6e6910febfef60d4d24a749e
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
911a23ccd8 am: 6f399d2f9b
am: 314cdb0db6
Change-Id: I2f1b294680b6d665eff37bdb456e93b50b5f2e08
|
| |/|
| | |
| | |
| | |
| | |
| | | |
am: 6f399d2f9b
Change-Id: Idfef5e9847947ae936c7f7885aa27a421d9557dc
|
| |/|
| | |
| | |
| | |
| | |
| | | |
am: 911a23ccd8
Change-Id: I5cf0084230838f43eea342d0083f649b3a0fc5f6
|
| | |\ |
|
| | | |\
| | | | |
| | | | | |
HiKeyFastboot: Add short delay after flush to avoid reboot hang
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We've frequently seen hangs after flashing partitions on HiKey.
It tends to happen when the flash and reboot commands happen very close
together:
$ fastboot flash <partition> <image>; fastboot reboot;
Tracing through this, the Flush completes, and then we process
the fastboot reboot command, which issues the PSCI_RESET command
and we seem to hang in PSCI_RESET.
This seems to point to some sort of a hardware issue where the
RESET command may not actually trigger the hardware to reset if
there's some sort of IO still in flight. The flush command
shouldn't return early, but something is not quite right here.
In order to avoid the issue, this patch adds a short delay
after the flush command. With this delay, I can no longer
trigger the reset hang.
Change-Id: I9ccbcdcc597c4546808777c06ecd3f252df15008
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
da41388f7d am: 62941329a1 am: 1a17964e48
am: a3f92afeeb
Change-Id: Ie2efbd1f7af02bd0459748dd5997f5844c82c91a
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
da41388f7d am: 62941329a1
am: 1a17964e48
Change-Id: Id347417c1be55054ee8a83de19a2afa50b449546
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 62941329a1
Change-Id: I66981bd89a28a754600e05860fbf5a3eab63e322
|
| | | |\| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: da41388f7d
Change-Id: Ib4bf4898677fb3275c6ad228277cae5554319258
|
| | | | |\| |
|
| | | | | |\
| | | | | | |
| | | | | | | |
hikey: Change PcdFirmwareVendor to "hikey"
|
| | | | | |/
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
$ fastboot getvar product - should be consistent with
ro.product.device value that is set from the build.
Change-Id: Ia4add81903b700d8b22d297b05d76b801c6ea0df
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
15efc9efd6 am: 261537f6ca am: 6e1dee2899
am: 900cf0c6d0
Change-Id: I6aa0d57ae3c849bb0621eb5a7055042cc49428bf
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
15efc9efd6 am: 261537f6ca
am: 6e1dee2899
Change-Id: I5047c38c81eeec54d116f4982f355a8348ee5228
|
| | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 261537f6ca
Change-Id: I7982ca5c7bf272aad8992a6d3efa9b62f4ccc749
|
| | | |\| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 15efc9efd6
Change-Id: I9faf2ba2dc35d01273a521c7479e473821a170b5
|
| | | |/| |
| | | | |/ |
|
| | | | |\
| | | | | |
| | | | | | |
HiKeyFastboot.c: add support for sparse image with CHUNK_TYPE_FILL
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
since the sparse image generated with img2simg command will have
CHUNK_TYPE_FILL type trunk, and it's better to have support for that,
so that we can try other file system type with img2simg command.
And we will ignore the FILL type chunk if it is filled with 0.
If the it's not filled with 0, it will need more time to finish the flash
Change-Id: I33ec90dbb0255b59cf5afcad67061fa7a89be106
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
| | | | |\ \
| | | | | | |
| | | | | | | |
hikey: Add 'fastboot getvar serialno' support
|
| | | | |/ /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ifbf21cf3a4ced908f91575c2e79d24d2555f9088
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| | | | |\ \
| | | | | | |
| | | | | | | |
Revert "HiKeyFastboot.c: add support for sparse image with CHUNK_TYPE_FILL"
|
| | | | |/ / |
|
| | | | |\ \
| | | | | |/
| | | | |/| |
HiKeyFastboot.c: add support for sparse image with CHUNK_TYPE_FILL
|
| | | | |/
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
since the sparse image generated with img2simg command will have
CHUNK_TYPE_FILL type trunk, and it's better to have support for that,
so that we can try other file system type with img2simg command.
And we will ignore the FILL type chunk if it is filled with 0.
If the it's not filled with 0, it will need more time to finish the flash
Change-Id: I33ec90dbb0255b59cf5afcad67061fa7a89be106
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
| | | | |\
| | | | | |
| | | | | | |
HiKey: change the serial number length to 17
|
| | | | |/
| | | | |
| | | | |
| | | | | |
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 698f96bb00
am: f4c81bfb6b
Change-Id: I756732177cfb183edb6683154cde0ea53d06d112
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 698f96bb00
Change-Id: Id5ada393d77840f0e146944a4081e8e15cb2e5e3
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: c98b539064
Change-Id: I2303b1fe6518176b7dd935161221614db3e8a92a
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 923d6aa9fe
Change-Id: I9d566d9a46c3346e77f21e49c0cfae2425010bad
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
0269b8d21b am: e0af4b9d20 am: 969ec85831
am: df3d06e50c
Change-Id: I20c0a158ac047646fc38a8eaa69a09b484dabfc1
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
0269b8d21b am: e0af4b9d20
am: 969ec85831
Change-Id: I02d0b11a73aa39ff8b1c213f50dc1045a8dcd8f9
|
| | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: e0af4b9d20
Change-Id: Iba0f982b5f62bed565b2e57cce69fccf157ab568
|
| | | |\| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 0269b8d21b
Change-Id: I0af820ffa03afff7f3e5571b20683a40fa664f7f
|
| | | | |\| |
|
| | | | | |\
| | | | | | |
| | | | | | | |
Fix abootimg support broken by ("fix the truncated serial number stri…
|
| | | | | |/
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The commit 3aa3378206e ("HiKey: fix the truncated serial number string")
broke abootimg support, rendering systems flashed with flashall.sh to
stop booting.
This change seems to make it work again.
Change-Id: I43495bc178175c0f4814b58a1c925f0fbf6c1b98
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
dfb07b4751 am: 81c9474998 am: 64ce757c93
am: d6b6b6aa95
Change-Id: I019072af9673c82417e335b6363843f6388d1b68
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
dfb07b4751 am: 81c9474998
am: 64ce757c93
Change-Id: Ia0011d2c991d43421612582309fadd2011eb2d3e
|
| | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 81c9474998
Change-Id: I229934a7bb30ddf2dcadaa196a4bc70e70ad0c99
|
| | | |\| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: dfb07b4751
Change-Id: I7ee97d7339d83aaa136d65f451e36a453f79d467
|
| | | | |\| |
|
| | | | | |\
| | | | | | |
| | | | | | | |
Use counter timeout instead of removing the wait-for-idle loops
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is a tweaked version of a patch earlier applied by Haojian.
In some cases, we're seeing bootup hang while polling SD_STATUS register,
and it seems to be stuck with the DATA_BUSY signal.
This patch tries to resolve this quirk by using a max loop counter
which will break out of the wait for idle loops if they run for
too long.
This can introduce small delays on boot when a uSD card is present
but is better then a hang, and avoids potential issues where we proceed
before the card is ready if the loop was just removed.
This patch also addresses both wait-for-idle loops.
Change-Id: I4be39e11eb42b611ab4ae50c4bc42324b00de9ee
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
| | | | | |/
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 372d6477761ef2fdb912f3546f38a69c49ab3112.
|
| | | | | |\
| | | | | | |
| | | | | | | |
DwSdDxe: avoid sd hang
|