How to add the files to firmware, I add files and create firmware on hiktools, the web interface "Upgrading failed"
If you type cat / proc / kmsg turns
"<4> [109449.494315] RTL871X: send eapol packet
<5> [110279.805687] UBI: attaching mtd14 to ubi2
<5> [110279.805735] UBI: physical eraseblock size: 131072 bytes (128 KiB)
<5> [110279.805760] UBI: logical eraseblock size: 129024 bytes
<5> [110279.805780] UBI: smallest flash I / O unit: 2048
<5> [110279.805797] UBI: sub-page size: 512
<5> [110279.805816] UBI: VID header offset: 512 (aligned 512)
<5> [110279.805836] UBI: data offset: 2048
<5> [110280.048031] UBI: max. sequence number: 419
<5> [110280.126029] UBI: attached mtd14 to ubi2
<5> [110280.126065] UBI: MTD device name: "app_sec"
<5> [110280.126089] UBI: MTD device size: 24 MiB
<5> [110280.126107] UBI: number of good PEBs: 192
<5> [110280.126123] UBI: number of bad PEBs: 0
<5> [110280.126139] UBI: number of corrupted PEBs: 0
<5> [110280.126156] UBI: max. allowed volumes: 128
<5> [110280.126173] UBI: wear-leveling threshold: 4096
<5> [110280.126190] UBI: number of internal volumes: 1
<5> [110280.126206] UBI: number of user volumes: 1
<5> [110280.126222] UBI: available PEBs: 0
<5> [110280.126239] UBI: total number of reserved PEBs: 192
<5> [110280.126259] UBI: number of PEBs reserved for bad PEB handling: 2
<5> [110280.126279] UBI: max / mean erase counter: 45/42
<5> [110280.126296] UBI: image sequence number: 1845203879
<5> [110280.129179] UBI: background thread "ubi_bgt2d" started, PID 22786
<5> [110282.621125] UBIFS: mounted UBI device 2, volume 0, name "app_sec"
<5> [110282.621208] UBIFS: file system size: 22,837,248 bytes (22302 KiB, 21 MiB, 177 LEBs)
<5> [110282.621246] UBIFS: journal size: 1,161,216 bytes (1134 KiB, 1 MiB, 9 LEBs)
<5> [110282.621276] UBIFS: media format: w4 / r0 (latest is w4 / r0)
<5> [110282.621302] UBIFS: default compressor: lzo
<5> [110282.621328] UBIFS: reserved for root: 1,078,659 bytes (1053 KiB)
<5> [110273.925253] UBIFS: un-mount UBI device 2, volume 0