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
files
section:You have specified
device
but notfilesystem
, therefore SWUpdate ignores thedevice
attribute, and copies your files to whichever filesystem is already mounted at/
.You need to specify
filesystem
e.g.ext4
.