Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rockchip specific logo container format #663

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions image/rockchip_rkel.ksy
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
meta:
id: rockchip_rkel
title: Rockchip RKEL
license: CC0
endian: le
encoding: UTF-8
doc: |
Image format found in devices with the Rockchip RK3566, such as the PineNote
<https://wiki.pine64.org/wiki/PineNote>

Example files:

<https://github.com/BPI-SINOVOIP/BPI-Rockchip-Android11/tree/master/device/rockchip/rk356x/rk3566_eink/ota>
seq:
- id: header
size: 64
type: header
- id: data
size: header.len_data - header._sizeof
type: images(header.num_images)
types:
header:
seq:
- id: magic
contents: "RKEL"
- id: len_data
type: u4
- id: height
type: u4
- id: width
type: u4
- id: num_images
type: u4
- id: version
type: strz
size-eos: true
images:
params:
- id: num_images
type: u4
seq:
- id: image_entries
size: 32
type: image_entry
repeat: expr
repeat-expr: num_images
image_entry:
seq:
- id: signature
contents: ['GR04']
- id: unknown_1
type: u4
- id: height
type: u2
- id: width
type: u2
- id: unknown_2
type: u4
- id: ofs_image_data
type: u4
- id: len_image_data
type: u4
- id: unknown_3
size: 8
instances:
image_data:
pos: ofs_image_data
size: len_image_data
io: _root._io