Skip to content

Commit

Permalink
add NVR4XXX-4KS2 config
Browse files Browse the repository at this point in the history
  • Loading branch information
BotoX committed Sep 28, 2017
1 parent 16c7b92 commit 92590c6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions configs/NVR4XXX-4KS2.py
@@ -0,0 +1,38 @@
from .config import *

DAHUA_FILES = OrderedDict([
("Install.lua", {
"required": True,
"type": DAHUA_TYPE.Plain
}),
("u-boot.bin.img", {
"required": True,
"type": DAHUA_TYPE.Plain,
"size": 0x00300000
}),
("uImage.img", {
"required": True,
"type": DAHUA_TYPE.Plain,
"size": 0x00a00000
}),
("romfs-x.squashfs.img", {
"required": True,
"type": DAHUA_TYPE.uImage | DAHUA_TYPE.SquashFS,
"size": 0x03600000
}),
("web-x.squashfs.img", {
"required": True,
"type": DAHUA_TYPE.uImage | DAHUA_TYPE.SquashFS,
"size": 0x00a00000
}),
("custom-x.squashfs.img", {
"required": True,
"type": DAHUA_TYPE.uImage | DAHUA_TYPE.SquashFS,
"size": 0x00200000
}),
("logo-x.squashfs.img", {
"required": True,
"type": DAHUA_TYPE.uImage | DAHUA_TYPE.CramFS,
"size": 0x00300000
})
])
2 changes: 1 addition & 1 deletion configs/config.py
Expand Up @@ -14,6 +14,6 @@ class DAHUA_TYPE(IntEnum):
"HX8XXX-Eos", "HX8XXX-Demeter",
"SD-Zi-Themis", "SD-Mao-Themis",
"VTO2000A",
"NVR4XXX-4K", "NVR4xxx",
"NVR4XXX-4KS2", "NVR4XXX-4K", "NVR4xxx",
"HCVR5x04",
]

0 comments on commit 92590c6

Please sign in to comment.