| 6ba41126 | 08-Oct-2018 |
Joseph Chen <chenjh@rock-chips.com> |
board_r: env: support storage env when kernel dtb is enabled
if we would like to use kernel dtb, it must depends on nowhere env to detect boot media and initialize it. After storage is initialized,
board_r: env: support storage env when kernel dtb is enabled
if we would like to use kernel dtb, it must depends on nowhere env to detect boot media and initialize it. After storage is initialized, we switch env from nowhere to CONFIG_ENV_IS_IN_xxx=y, nowhere env info will append or override to storage env.
Change-Id: Id1cf44d4b25dcaba3c142b283ed093bed0decafe Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 5af94f78 | 29-Sep-2018 |
Joseph Chen <chenjh@rock-chips.com> |
android: get fdt by suitable ways
We may have special operations for fdt(optional): - apply fdt overlay; - select fdt by adc or gpio;
We can't read default rk-kernel.dtb and pass it to kernel, call
android: get fdt by suitable ways
We may have special operations for fdt(optional): - apply fdt overlay; - select fdt by adc or gpio;
We can't read default rk-kernel.dtb and pass it to kernel, call rockchip_read_dtb_file() to get dtb.
Change-Id: I3aba002b0cfe324cc7c3852bf8b9561575590fd4 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 98ff9f07 | 05-Sep-2018 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: add IF_TYPE_RAMDISK support
Change-Id: I505606516bf186d8e869702c77f563d5cf0d6f37 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| affcebcd | 16-Aug-2018 |
Zhangbin Tong <zebulun.tong@rock-chips.com> |
android: verity: Fix environment variable "bootargs" override
Change-Id: Idd079d8773f536928d02f1b32bb562d5540ee85a Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com> |
| 3302ecb7 | 24-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
Revert "board_f: run reserve_board() earlier"
This reverts commit a80c59f488ddce0fbc35cb92196f2f2d0890528e.
armv7 get new gd after relocation depends on gd->bd position, this patch breaks the reser
Revert "board_f: run reserve_board() earlier"
This reverts commit a80c59f488ddce0fbc35cb92196f2f2d0890528e.
armv7 get new gd after relocation depends on gd->bd position, this patch breaks the reserved memory layout.
Change-Id: Ic23fe79d8c6edf048774808f3a06be5e17ccf686 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| a80c59f4 | 15-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
board_f: run reserve_board() earlier
it promises reserve_board() not to overlay trust os memory.
Change-Id: I149de3b7956a63a80ab91c38c12c16b8709b9756 Signed-off-by: Joseph Chen <chenjh@rock-chips.c
board_f: run reserve_board() earlier
it promises reserve_board() not to overlay trust os memory.
Change-Id: I149de3b7956a63a80ab91c38c12c16b8709b9756 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 123c9206 | 20-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
board_r: skip mmc init when CONFIG_USING_KERNEL_DTB is enabled
When CONFIG_USING_KERNEL_DTB is enabled, mmc has been initialized earlier.
Change-Id: If3d7374cbbd4e403d9627c44133bf5fd1aeb9af8 Signed
board_r: skip mmc init when CONFIG_USING_KERNEL_DTB is enabled
When CONFIG_USING_KERNEL_DTB is enabled, mmc has been initialized earlier.
Change-Id: If3d7374cbbd4e403d9627c44133bf5fd1aeb9af8 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| fc7985c1 | 27-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: add 'root=PARTUUID=xxx-xxx'
Set 'root=PARTUUID=' to bootargs When use the CONFIG_ANDROID_AB.
Change-Id: I9760f1a9ad67ba1f2cb334a0af50db464d87816b Signed-off-by: Jason Zhu <jason.zhu@rock-c
android: add 'root=PARTUUID=xxx-xxx'
Set 'root=PARTUUID=' to bootargs When use the CONFIG_ANDROID_AB.
Change-Id: I9760f1a9ad67ba1f2cb334a0af50db464d87816b Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 9e228ce3 | 16-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
android: dtbo: fix "androidboot.dtbo_" => "androidboot.dtbo_idx="
Change-Id: Iefc050e4c503d5e79843c840a8d0b3a002dd9833 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 8e2bab3f | 13-Jul-2018 |
Algea Cao <algea.cao@rock-chips.com> |
drm: Transplant dw-hdmi code from rkdevelop
1.Updating edid parse method. 2.New hdmi i2c control method. 3.Adding mode filter. 4.Adding color select method. 5.Support hdmi 2.0. 6.Adding baseparamete
drm: Transplant dw-hdmi code from rkdevelop
1.Updating edid parse method. 2.New hdmi i2c control method. 3.Adding mode filter. 4.Adding color select method. 5.Support hdmi 2.0. 6.Adding baseparameter reading. 7.Support HDCP 1.4.
Tested in rk3399/rk3229/rk3128h/rk3328.
Change-Id: I2b3b1fb0079e97ba4b737781356e920548d6ad75 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
show more ...
|
| dc3aa58f | 07-Aug-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: add verify state to cmdline
When we use avb, we will add the verify result to cmdline. The format is "androidboot.verifiedbootstate=green, yellow orange, or red".
Change-Id: I0059fbd7e7322
android: add verify state to cmdline
When we use avb, we will add the verify result to cmdline. The format is "androidboot.verifiedbootstate=green, yellow orange, or red".
Change-Id: I0059fbd7e73225f580bb5bf0b5e4b04faeb22f45 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| c9d7fcc6 | 05-Mar-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
fastboot: get mmc erase group size for fastboot
Change-Id: I2b3502bffc26c762ff10c55414b18037aed291cd Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| edac97f4 | 09-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
android: dtbo: enable depends on CONFIG_CMD_DTIMG
Change-Id: I04ba7d39fed1b5c6950a3882f04de5420dfcff2e Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 5f08e86f | 06-Aug-2018 |
Andy Yan <andy.yan@rock-chips.com> |
fdt: add config to enable/disable fdt_root function
commit 10be5b5d3a8d ("fdt: Pass the device serial number through devicetree") introduce function fdt_root to pass a device serial number to kernel
fdt: add config to enable/disable fdt_root function
commit 10be5b5d3a8d ("fdt: Pass the device serial number through devicetree") introduce function fdt_root to pass a device serial number to kernel through devicetree. But sometimes we may want to generate the device serial number from kernel itself. So it's better to have a configuration to enable/disable this function.
Change-Id: I9efd4fd63faca9ce5e44cade856993be251f4760 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| 7cef4c7c | 08-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
fdt_support: add more debug info when merge bootargs
Change-Id: Ib01c2b20bf2b71fe3079febcfb3b4e77e874026a Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| f4d14850 | 03-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
board_r: add dram_initr_banksize()
Some platform requires to reserve memory regions for some firmware to avoid kernel touches it, but U-Boot may have communication with firmware by share memory. So
board_r: add dram_initr_banksize()
Some platform requires to reserve memory regions for some firmware to avoid kernel touches it, but U-Boot may have communication with firmware by share memory. So that we had better reserve firmware region after the initr_caches() which enables MMU and init translation table, we need firmware region to be mapped as cacheable like other regions, otherwise there would be dcache coherence issue between firmware and U-Boot.
Change-Id: Icb986022b484c96dffcafc98972ae24362cb8e4b Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| f8dbe861 | 01-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
android: support dtb overlay
- read dtbo from recovery or dtbo partition; - append "androidboot.dtbo_idx" to cmdline; - apply dtb overlay when first read kernel dtb; - pass dtb that first time read
android: support dtb overlay
- read dtbo from recovery or dtbo partition; - append "androidboot.dtbo_idx" to cmdline; - apply dtb overlay when first read kernel dtb; - pass dtb that first time read to kernel;
Change-Id: Iba5c02c1307d3dad69ef96d3b3b0927fb507be8f Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| c67b8746 | 02-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
image: android: use debug to print cmdline
if cmdline is too long, it wastes time.
Change-Id: Ie8658fca11c3706df50d1eaae2ee479af6e8de08 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| bcd21a1f | 01-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
image: android-dt: add dt_for_each_entry() to iterate over all dt entry of DT image
Change-Id: I4db1e1da0d55701798bb8c296dd58e26592ef3c8 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| c673757f | 01-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
common: fdt_support: support "bootargs_ext" merge into "bootargs"
When DTBO is enabled, dtbo may provide "bootargs_ext" to append cmdline base on "bootargs".
Change-Id: I4abf554591a3983c5f41494ecad
common: fdt_support: support "bootargs_ext" merge into "bootargs"
When DTBO is enabled, dtbo may provide "bootargs_ext" to append cmdline base on "bootargs".
Change-Id: I4abf554591a3983c5f41494ecadf5614b8f6404b Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 09f4e561 | 25-Jul-2018 |
Joseph Chen <chenjh@rock-chips.com> |
android: update android image header to support new version
mainly to support android P.
Change-Id: I34a49e4eedcde06a9e40792c7c908737dc10b426 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 2967d2f7 | 06-Jun-2018 |
Sam Protsenko <semen.protsenko@linaro.org> |
FROMLIST: cmd: Add dtimg command
dtimg command allows user to work with Android DTB/DTBO image format. Such as, getting the address of desired DTB/DTBO file, printing the dump of the image in U-Boot
FROMLIST: cmd: Add dtimg command
dtimg command allows user to work with Android DTB/DTBO image format. Such as, getting the address of desired DTB/DTBO file, printing the dump of the image in U-Boot shell, etc.
This command is needed to provide Android boot with new Android DT image format further.
Change-Id: I2a626f333f604b6f0424aa03feaddab4e8506a3f Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com> (am from http://patchwork.ozlabs.org/patch/925871/)
show more ...
|
| e91b3373 | 06-Jun-2018 |
Sam Protsenko <semen.protsenko@linaro.org> |
FROMLIST: common: Add support for Android DT image
Android documentation recommends new image format for storing DTB/DTBO files: [1]. To support that format, this patch adds helper functions for And
FROMLIST: common: Add support for Android DT image
Android documentation recommends new image format for storing DTB/DTBO files: [1]. To support that format, this patch adds helper functions for Android DTB/DTBO format. In image-android-dt.* files you can find helper functions to work with Android DT image format, such us routines for: - printing the dump of image structure - getting the address and size of desired dtb/dtbo file
This patch uses dt_table.h file, that was added in 643cefa4d848 ("Import Android's dt_table.h for DT image format") by Alex Deymo.
[1] https://source.android.com/devices/architecture/dto/partitions
Change-Id: I78f6750af6c4fecb80d331bc06bc5cbe98da5825 Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com> (am from http://patchwork.ozlabs.org/patch/925870/)
show more ...
|
| c8638ec3 | 26-Jul-2018 |
Dingqiang Lin <jon.lin@rock-chips.com> |
common: boot_rkimg: add SPI flash boot type
Change-Id: I9d1d36390833387a93eb7ed76b1d6f90e3640edb Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com> |
| d34064ef | 04-Jul-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: get dev_desc by rockchip_get_bootdev()
Get dev_desc by call rockchip_get_bootdev() but not default mmc 0.
Change-Id: I78c6760eb6410a14a9f767db2f90902ec97f432f Signed-off-by: Jason Zhu <jas
android: get dev_desc by rockchip_get_bootdev()
Get dev_desc by call rockchip_get_bootdev() but not default mmc 0.
Change-Id: I78c6760eb6410a14a9f767db2f90902ec97f432f Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|