| #
06a21341 |
| 07-Sep-2024 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: udisk boot: Reload kernel dtb in late bootflow
If current kernel dtb is not from embedded dtb: Use 'gd->fdt_blob_kern' to reload the kernel dtb from current bootdev(udisk) in the late boot
rockchip: udisk boot: Reload kernel dtb in late bootflow
If current kernel dtb is not from embedded dtb: Use 'gd->fdt_blob_kern' to reload the kernel dtb from current bootdev(udisk) in the late bootflow.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8cf18c8f664f342f824afdc7be18dcd0372d264a
show more ...
|
| #
1cc374d6 |
| 31-Oct-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
rockchip: resource: Fix u64 type to ulong for compability
Solve compile error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] Fixes: (9274b15f20a rockchip: reso
rockchip: resource: Fix u64 type to ulong for compability
Solve compile error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] Fixes: (9274b15f20a rockchip: resource: Change variable type from 32-bit to 64-bit)
Change-Id: I219e4ccc48c45fca79e442cf15dfbfa67d52f068 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| #
9274b15f |
| 28-Oct-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
rockchip: resource: Change variable type from 32-bit to 64-bit
(1) For mos, secondary U-Boot use dram addr exceed 4G (need 64-bit variable type). (2) If avb lock, boot.img will be preloaded in d
rockchip: resource: Change variable type from 32-bit to 64-bit
(1) For mos, secondary U-Boot use dram addr exceed 4G (need 64-bit variable type). (2) If avb lock, boot.img will be preloaded in dram first to get dtb from resource.
Change-Id: I2c4b9caba4bbfe4f9ece55e1066e2f6057e78f32 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| #
6ea28a6c |
| 27-Feb-2023 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: Clean up and simplify
- merge resource_logo.c into resource_img.c - remove android os init, it was moved to android_version_init() - fit/uimage/android only pass resource blk to
rockchip: resource: Clean up and simplify
- merge resource_logo.c into resource_img.c - remove android os init, it was moved to android_version_init() - fit/uimage/android only pass resource blk to resource_img.c - clean up resource_img.c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I54d9b3142e8408e4cbe4e3cbe8dd8d41aa77039c
show more ...
|
| #
deffb93b |
| 10-Jan-2023 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: Remove accpted dtbs mechanism
It's unused and make code complex that making hw-id dtbs mechanism can't get default dtb 'rk-kernel.dtb'.
Signed-off-by: Joseph Chen <chenjh@rock-c
rockchip: resource: Remove accpted dtbs mechanism
It's unused and make code complex that making hw-id dtbs mechanism can't get default dtb 'rk-kernel.dtb'.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ifad492ac574653016403efa3c8d06db5d400cb18
show more ...
|
| #
25a706d2 |
| 12-Jan-2022 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: fit: make resource code can be disabled
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ia7f9721efb45d95ea46a1e16c6259249a1c61a09
|
| #
6a03cdba |
| 06-Jul-2021 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: Get dtb from accepted dtbs list
The accepted dtbs list can be a subset of resource list, it only contains the dtb file entries that accepted by the board_resource_dtb_accepted().
rockchip: resource: Get dtb from accepted dtbs list
The accepted dtbs list can be a subset of resource list, it only contains the dtb file entries that accepted by the board_resource_dtb_accepted().
The board_resource_dtb_accepted() provides board-specific pre-filtration before resource_read_hwid_dtb().
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I6674b2e95c313abf1e80e13489ca8292e4a4209b
show more ...
|
| #
ea513bf6 |
| 02-Jul-2021 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: refactor code
Move hw-id and logo reading from resource_img.c to individual file.
resource_populate_dtb(): update resource list by given bootm image, and then read the kernel dt
rockchip: resource: refactor code
Move hw-id and logo reading from resource_img.c to individual file.
resource_populate_dtb(): update resource list by given bootm image, and then read the kernel dtb from it.
resource_traverse_init_list(): setup resource list from storage if the list is empty.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I306095008fd1c515c863dc6e76417b748e9b0f22
show more ...
|
| #
e1e9b173 |
| 28-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
45390edf |
| 07-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: optimise code
- clean init_resource_list(); - support create resource list and read file from memory
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If308c1dc6f43d
rockchip: resource: optimise code
- clean init_resource_list(); - support create resource list and read file from memory
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If308c1dc6f43d0250d81cfa6fb0898d59efe8975
show more ...
|
| #
1a4f6af8 |
| 02-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
bc4ccd53 |
| 14-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: clean rockchip_read_dtb_file() api to boot_rkimg.c
rockchip_read_dtb_file() is top level api which reads dtb from resource/fit/uImage/distro image, etc.
only leave code about resource ima
rockchip: clean rockchip_read_dtb_file() api to boot_rkimg.c
rockchip_read_dtb_file() is top level api which reads dtb from resource/fit/uImage/distro image, etc.
only leave code about resource image in resource_img.c.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2157ffc204ebd564aa9171de2b8167fbd6c94bcf
show more ...
|
| #
6f3562b0 |
| 06-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: remove rockchip_get_resource_file_offset()
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5c468d69640f223a78dcff1b11981a0d36f3ad8a
|
| #
b8dc613c |
| 19-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
a6926964 |
| 04-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: clean rockchip_read_dtb_file()
Remove unused rockchip_get_resource_file_size().
Change-Id: I5fd24f68b226e9b3ae3a36e574f5efd8c8728e65 Signed-off-by: Joseph Chen <chenjh@rock-chip
rockchip: resource: clean rockchip_read_dtb_file()
Remove unused rockchip_get_resource_file_size().
Change-Id: I5fd24f68b226e9b3ae3a36e574f5efd8c8728e65 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
4ec36d68 |
| 14-Jan-2019 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: resource: add interface to get resource file size
clean up code and add comment for other interfaces.
Change-Id: Ibc64978d8db595c4fe76432faca77cdad9c949e6 Signed-off-by: Joseph Chen <chen
rockchip: resource: add interface to get resource file size
clean up code and add comment for other interfaces.
Change-Id: Ibc64978d8db595c4fe76432faca77cdad9c949e6 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
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 ...
|
| #
a12bbc34 |
| 27-Nov-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
rockchip: resource: support gpt via block api
- support both gpt and rkparameter - using blk_desc for read/write instead of rkblk api - add a rockchip_get_resource_file() API for those image alread
rockchip: resource: support gpt via block api
- support both gpt and rkparameter - using blk_desc for read/write instead of rkblk api - add a rockchip_get_resource_file() API for those image alread in RAM; - try to get resource from AOSP boot.img/recovery.img first instead of RESOURCE partition.
Change-Id: If7eb53723821b48e26a392bb18a3114faf35748a Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
08dcd37c |
| 04-Sep-2017 |
Andy Yan <andy.yan@rock-chips.com> |
rockchip: add rockchip resource image support
Rockchip resource image is used to store dtb and logos for different usages. This patch adds support to read the files(dtb or logo)stored in resource im
rockchip: add rockchip resource image support
Rockchip resource image is used to store dtb and logos for different usages. This patch adds support to read the files(dtb or logo)stored in resource image format partition.
Change-Id: I65982d340ff4573e5b543965d3857a2c66db8bb9 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|