Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
01b0ddda
Commit
01b0ddda
authored
Sep 13, 2024
by
fuyanbin
Browse files
有些rockchip的固件chip信息在BOOT里才能读取到
parent
7e2aaa23
Pipeline
#55427
passed with stages
in 7 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
01b0ddda
...
@@ -361,7 +361,8 @@ __pack_super_img() {
...
@@ -361,7 +361,8 @@ __pack_super_img() {
__get_chip_from_parameter
()
{
__get_chip_from_parameter
()
{
local
chip
local
chip
chip
=
$(
rkChipInfo
"
$IMAGE_FILE
"
|
awk
'{print $1}'
)
chip
=
$(
rkChipInfo
-f
"
$IMAGE_FILE
"
-o
123 |
awk
'{print $1}'
)
[[
-z
"
$chip
"
]]
&&
chip
=
$(
rkChipInfo
-f
"
$IMAGE_FILE
"
-o
21 |
awk
'{print $1}'
)
printf
"RK%s"
"
$chip
"
printf
"RK%s"
"
$chip
"
}
}
...
...
tools/rockchip_tool/rkChipInfo
View file @
01b0ddda
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment