I use this sw-description with device="/dev/mmcblk3p1", but swupdate will download files to "/dev/mmcblk3p2".
files: (
{
filename = "zImage";
path = "/zImage";
device = "/dev/mmcblk3p1";
},
{
filename = "imx6dl-sabresd.dtb";
path = "/imx6dl-sabresd.dtb"
device = "/dev/mmcblk3p1";
}
);
From the documentation for the
filessection:You have specified
devicebut notfilesystem, therefore SWUpdate ignores thedeviceattribute, and copies your files to whichever filesystem is already mounted at/.You need to specify
filesysteme.g.ext4.