Article 5CJSZ Компиляция образа в Ubuntu

Компиляция образа в Ubuntu

by
oniava
from LinuxQuestions.org on (#5CJSZ)
Welcome to the forum.
The question is as follows.
There is a firmware file where I want to change voice notifications from Chinese to Russian.
The firmware itself:
https://drive.google.com/drive/folde...C2?usp=sharing
I started by connecting the image:
Code:mkdir "mon";
sudo modprobe mtdram total_size=24576 erase_size=128;
cat /proc/mtd;
sudo modprobe mtdblock;
sudo dd if="appfs" of=/dev/mtdblock0;
sudo mount -t jffs2 /dev/mtdblock0 "mon";The image is created without problems in the "mod" folder in which the firmware files "apps" appear where I do the replacement of sound files.
BUT!!!
To compile the image, I can't do it!!!
Code:sudo mkfs.jffs2 -p -d "mon" -e 128KiB -n -o "appfs1"An error appears:
Code:mkfs.jffs2: error!: open output file
error 21 (Is a directory)I tried to change the rights, but it still doesn't work:
Code:sudo chown -R 1000.1000 "mon";
sudo chmod -R 7777 "mon";I have a dead end.
Can you tell me what I'm doing wrong?

And to make everything work after compilation, you need to grant rights to the folder again, after replacing the files in it.
Here again a dead end, what and how to do next?latest?d=yIl2AUoC8zA latest?i=90hGz1EB5ng:-G2ak0hDbGU:F7zBnMy latest?i=90hGz1EB5ng:-G2ak0hDbGU:V_sGLiP latest?d=qj6IDK7rITs latest?i=90hGz1EB5ng:-G2ak0hDbGU:gIN9vFw90hGz1EB5ng
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments