mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
base-files: upgrade: nand: document nand_do_upgrade()
Describe what firmware files are supported. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
39c824f846
commit
4565699ebe
@ -419,6 +419,16 @@ nand_do_restore_config() {
|
||||
}
|
||||
|
||||
# Recognize type of passed file and start the upgrade process
|
||||
#
|
||||
# Supported firmware containers:
|
||||
# 1. Raw file
|
||||
# 2. Gzip
|
||||
#
|
||||
# Supported data formats:
|
||||
# 1. Tar with kernel/rootfs
|
||||
# 2. UBI image (built using "ubinized")
|
||||
# 3. UBIFS image (to update UBI volume with)
|
||||
# 4. FIT image (to update UBI volume with)
|
||||
nand_do_upgrade() {
|
||||
local file="$1"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user