You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I have following script with name mmc.config,
image userdata.ext4 {
name = "data"
file {
name = "userdata.img"
}
}
image system.ext4 {
name = "system"
file {
name = "system.img"
}
}
image mmc.img {
hdimage {
}
partition system {
partition-type = 0x83
image = "system.ext4"
}
partition data {
partition-type = 0x83
image = "userdata.ext4"
}
size=8G
}
In this script i am trying to combine userdata.img and system.img into a single image mmc.img. Both userdata.img and system.img
are kept in a input directory.
But when i try to run genimage-8 tool using command : ./genimage-8/genimage --config mmc.config I am getting Error : file(userdata.ext4): stat(input/userdata.img) failed: No such file or directory
Can someone explain how script will search for userdata.img in genimage? are there any parameters to set path for input images?
My working directory looks like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I have following script with name mmc.config,
In this script i am trying to combine userdata.img and system.img into a single image mmc.img. Both userdata.img and system.img
are kept in a input directory.
But when i try to run genimage-8 tool using command : ./genimage-8/genimage --config mmc.config
I am getting Error : file(userdata.ext4): stat(input/userdata.img) failed: No such file or directory
Can someone explain how script will search for userdata.img in genimage? are there any parameters to set path for input images?
My working directory looks like this:
Beta Was this translation helpful? Give feedback.
All reactions