| 65413a00 | 05-Jul-2018 |
Jian Qiu <qiujian@rock-chips.com> |
fastboot: add FASTBOOT_OEM_UNLOCK option
This enables the following fastboot commands: fastboot oem unlock fastboot oem unlock_accept fastboot oem lock fastboot getvar oem-unlock
Android 8.
fastboot: add FASTBOOT_OEM_UNLOCK option
This enables the following fastboot commands: fastboot oem unlock fastboot oem unlock_accept fastboot oem lock fastboot getvar oem-unlock
Android 8.1 need the oem unlock status attach to bootargs on boot.
Change-Id: Icc83451336a4dea2cbcf4927287de23bc8e28cb1 Signed-off-by: Jian Qiu <qiujian@rock-chips.com>
show more ...
|
| ba5fd738 | 06-Jul-2018 |
YouMin Chen <cym@rock-chips.com> |
rockchip: tpl: rename CONFIG_TINY_TPL to CONFIG_TPL_TINY_FRAMEWORK
Change-Id: Ia05a73467578f5620a9ba168e67bcfb02c40e1d0 Signed-off-by: YouMin Chen <cym@rock-chips.com> |
| 243527b5 | 10-Jul-2018 |
Joseph Chen <chenjh@rock-chips.com> |
console: support timestamp for printf
with this patch, we can see the detail boot time of boot flow. The U-Boot log is like this:
[ 0.259266] U-Boot 2017.09-01739-g856f373-dirty (Jul 10 2018 - 2
console: support timestamp for printf
with this patch, we can see the detail boot time of boot flow. The U-Boot log is like this:
[ 0.259266] U-Boot 2017.09-01739-g856f373-dirty (Jul 10 2018 - 20:26:05 +0800) [ 0.260596] Model: Rockchip RK3399 Evaluation Board [ 0.261332] DRAM: 3.8 GiB Relocation Offset is: f5bfd000 Using default environment
[ 0.354038] dwmmc@fe320000: 1, sdhci@fe330000: 0 [ 0.521125] Card did not respond to voltage select! [ 0.521188] mmc_init: -95, time 9 [ 0.671451] switch to partitions #0, OK [ 0.671500] mmc0(part 0) is current device ......
Change-Id: I3ce2a4466f9ecd9eeb6b334ba4ba48391aa47c30 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 79bdfc40 | 16-Jul-2018 |
Andy Yan <andy.yan@rock-chips.com> |
android: only handle compressed kernel after read a valid android image
We shouldn't go on with the compress/decompress flow when we get a invalid andoird image.
Change-Id: Ied7266b8791fe571c670cac
android: only handle compressed kernel after read a valid android image
We shouldn't go on with the compress/decompress flow when we get a invalid andoird image.
Change-Id: Ied7266b8791fe571c670cacafffdd393161c8189 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| e2ced6c3 | 16-Jul-2018 |
Andy Yan <andy.yan@rock-chips.com> |
android: only take the successed return value as load_address from android_image_load
Function android_image_load will return a negative value in case of error. We should check the return value firs
android: only take the successed return value as load_address from android_image_load
Function android_image_load will return a negative value in case of error. We should check the return value first before take it as an unsigned long load_address.
This fix 008aee876ae5("boot_android: add runtime compatible for un/compressed kernel image"), which may cause system panic on a system that boot with none-android format image.
Change-Id: I7f67c322d4ef343328b2276fe83432716148a76d Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| 3ee3aa89 | 14-Jul-2018 |
Joseph Chen <chenjh@rock-chips.com> |
common: fdt_support: replace env_update with env_update_filter
Change-Id: Ic47d3b82b3aac6b36f9fe7803c0d3a165ebd9e05 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 2c9c7f0d | 06-Jul-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: fdt_support: delete root=
Delete default "root=" in the dts when use AB system.
The ab bootctl will choose the high priority system and storage its UUID to cmdline.The format is: root=PARTU
common: fdt_support: delete root=
Delete default "root=" in the dts when use AB system.
The ab bootctl will choose the high priority system and storage its UUID to cmdline.The format is: root=PARTUUID=xxxx-xxxx...
Change-Id: I4ad5b167952c84764fee741b527346bdfe5af1d7 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 008aee87 | 12-Jun-2018 |
Andy Yan <andy.yan@rock-chips.com> |
boot_android: add runtime compatible for un/compressed kernel image
This patch add auto parse the compress format of kernel image. Then decompress the compressed kernel image for arm64, as for arm32
boot_android: add runtime compatible for un/compressed kernel image
This patch add auto parse the compress format of kernel image. Then decompress the compressed kernel image for arm64, as for arm32 zImage, we only need to load it to a higher memory, then the kernel will handle the decompress itself.
Test on RK3308 AARCH64 mode (Cortex A35 816 MHZ) boot with eMMC:
------------------------------------------------------------------ Format | Size(Byte) | Ratio | Decomp time(ms) | Boot time(ms) | ------------------------------------------------------------------- Image | 7720968 | | | 488 | ------------------------------------------------------------------- Image.lz4 | 4119448 | 53% | 59 | 455 | ------------------------------------------------------------------- Image.lzo | 3858322 | 49% | 141 | 536 | ------------------------------------------------------------------- Image.gz | 3529108 | 45% | 222 | 609 | ------------------------------------------------------------------- Image.bz2 | 3295914 | 42% | 2940 | | ------------------------------------------------------------------- Image.lzma| 2683750 | 34% | | | -------------------------------------------------------------------
Note: the boot time is counted from first ddr init log to first Kernel log.
Change-Id: I73b12ec944fbc8238b0e061a37e2f31aa3093231 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| 6651d4c0 | 03-Jul-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
dev_desc: judge dev_desc whether NULL or not before use it
Change-Id: I9d0e2d207a143a02949fbdff2d9ad39f154e4f3e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 051c6253 | 25-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: fix android_bootloader_message_write bug
Acording to rockchip, the bootloader message is storaged in the misc, and the offset address is BOOTLOADER_MESSAGE_BLK_OFFSET blocks. But the offset
android: fix android_bootloader_message_write bug
Acording to rockchip, the bootloader message is storaged in the misc, and the offset address is BOOTLOADER_MESSAGE_BLK_OFFSET blocks. But the offset address is zero in the normal state. So add the CONFIG_RKIMG_BOOTLOADER to seperate it.
Change-Id: Ie4cd473ff9a32f578fe901b48689e60c7a28012a Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 8e620d08 | 22-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: add the default fastbootcmd
Run the default fastbootcmd if can not get fastbootcmd from env.
Change-Id: Iaf4d155a9737dd712673f1a7ab9543dc405343fa Signed-off-by: Jason Zhu <jason.zhu@rock-c
android: add the default fastbootcmd
Run the default fastbootcmd if can not get fastbootcmd from env.
Change-Id: Iaf4d155a9737dd712673f1a7ab9543dc405343fa Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| c2304c02 | 14-Jun-2018 |
Joseph Chen <chenjh@rock-chips.com> |
console: add warning message if slient console is enabled
Change-Id: Ibc50e9bc19c77bb688a0312c1d1290250a9b6a2f Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 7f571427 | 07-Jun-2018 |
Joseph Chen <chenjh@rock-chips.com> |
board_r: add interrupt_debugger_init()
provide for platforms to override as early as possible since interrupt is ready.
Change-Id: I803620b71c3f1559e79074c03bee36a84f1ebc1c Signed-off-by: Joseph Ch
board_r: add interrupt_debugger_init()
provide for platforms to override as early as possible since interrupt is ready.
Change-Id: I803620b71c3f1559e79074c03bee36a84f1ebc1c Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 3fc26c82 | 07-Jun-2018 |
Joseph Chen <chenjh@rock-chips.com> |
board_r: initialize interrupt earlier
Change-Id: I1c674efd0d1b7e8229179ac570727da9b4adab27 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 4cda5749 | 05-Jun-2018 |
Joseph Chen <chenjh@rock-chips.com> |
boot_rkimg: check recovery mode by env "reboot_mode"
This is set when recovery key pressed.
Change-Id: Id5fe334fafd67fec461c36df13b2e856e519a083 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 564ab2ef | 06-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: bootm: reserve memory bank
Reserve lmb according to gd->bd->bi_dram.
Change-Id: Ib1d4da95e826d3afe034bd3a90ec1d1c92a692bf Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 9cc336e8 | 31-May-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: bring up the kernel if device is unlock
If the device is unlock, the device can be brought up when use avb.
Change-Id: I82dd71d33f47dda0a760740428988dd658a96713 Signed-off-by: Jason Zhu <j
android: bring up the kernel if device is unlock
If the device is unlock, the device can be brought up when use avb.
Change-Id: I82dd71d33f47dda0a760740428988dd658a96713 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 93d59c05 | 25-May-2018 |
Joseph Chen <chenjh@rock-chips.com> |
android: fix "reboot recovery" command doesn't work
If not find recovery message in misc partition, we try to check kernel reboot command.
Change-Id: I25847cb5cc06efc39c419426ab6dbe9acde3797d Signe
android: fix "reboot recovery" command doesn't work
If not find recovery message in misc partition, we try to check kernel reboot command.
Change-Id: I25847cb5cc06efc39c419426ab6dbe9acde3797d Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| fd262f5b | 11-May-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: rkimg: rksfc use the storagemedia type 'nand'
The device node for rksfc and rknand are the same in kernel, so we can use the same storage media type.
Change-Id: I3eb70bc1a502e516fbf538ac2
rockchip: rkimg: rksfc use the storagemedia type 'nand'
The device node for rksfc and rknand are the same in kernel, so we can use the same storage media type.
Change-Id: I3eb70bc1a502e516fbf538ac274ee856a98ba556 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| 083c304a | 10-May-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: rkimg: add 'sd' type for storagemedia
mmc1 is sd card in U-Boot.
Change-Id: I9f57d0029dcf0af043bc6b7c2e184e6e02482d89 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> |
| 740107bb | 03-May-2018 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: support alternative kernel dtb depends on adc/gpio
1. support adc value recognize; 2. support gpio value recognize;
Change-Id: I8bcbdd914405184d46029c4995c09b09e36c7ea3 Signed-off-by: Jos
rockchip: support alternative kernel dtb depends on adc/gpio
1. support adc value recognize; 2. support gpio value recognize;
Change-Id: I8bcbdd914405184d46029c4995c09b09e36c7ea3 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| c2717d6f | 26-Apr-2018 |
Dingqiang Lin <jon.lin@rock-chips.com> |
common: boot_rkimg: add boot devtype rksfc
Change-Id: I2ec14959aa1cc83ef7edf82944f8235f4db17690 Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com> |
| dc588d96 | 03-May-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: boot_rkimg: make devnum alterable
make devnum alterable when get blk_desc
Change-Id: I0bd7387003c78cae058b85c93c3de266d90e9ee7 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 9e68721b | 28-Mar-2018 |
qiujian <qiujian@rock-chips.com> |
bootargs : read oem unlock status
Read oem unlock status from optee_client api and attach it to bootargs
Change-Id: Ib8b1a9bc115ec9cb7e5ce09dc50845cfd7c1c81b Signed-off-by: Qiu Jian <qiujian@rock-c
bootargs : read oem unlock status
Read oem unlock status from optee_client api and attach it to bootargs
Change-Id: Ib8b1a9bc115ec9cb7e5ce09dc50845cfd7c1c81b Signed-off-by: Qiu Jian <qiujian@rock-chips.com>
show more ...
|
| f61a997e | 28-Mar-2018 |
qiujian <qiujian@rock-chips.com> |
fastboot: implement oem unlock commands for bootrkp
Read-write oem unlock status from optee client api.
Implement the following fastboot commands: fastboot oem unlock fastboot oem unlock_accept
fastboot: implement oem unlock commands for bootrkp
Read-write oem unlock status from optee client api.
Implement the following fastboot commands: fastboot oem unlock fastboot oem unlock_accept fastboot oem lock fastboot getvar oem-unlock
Change-Id: I99edcee7b60c6d9529e6687291d87f22bf97b771 Signed-off-by: Qiu Jian <qiujian@rock-chips.com>
show more ...
|