TheKikGen / MPC-LiveXplore

Akai MPC Live/X/Force/One technical explorations and hacks
226 stars 26 forks source link

MPC FIRMWARE 2.14.0.20 Devices/compatible #63

Open nicola-lunghi opened 4 months ago

nicola-lunghi commented 4 months ago

Here's the dts from 2.14.0.20 image

$ cut -c -200 mpc-2.14.0.20-update.dts

/dts-v1/;

/ {
        timestamp = <0x65e0a879>;
        description = "MPC upgrade image";
        compatible = "inmusic,acv5\0inmusic,acv8\0inmusic,acva\0inmusic,acva2\0inmusic,acvb\0inmusic,acvm\0inmusic,acvr\0inmusic,acv5s";
        inmusic,devices = <0x9e8403a 0x9e8403b 0x9e84046 0x9e84056 0x9e84047 0x9e8404b 0x9e84052 0x9e84057>;
        inmusic,version = "2.14.0.20";

        images {

                rootfs {
                        description = "Root filesystem";
                        data = <0xfd377a58 0x5a000004 0xe6d6b446 0x4c0efa3 0x8c228080 0x80602101 0x1c000000 0x799ad43 0xf65f3bef 0xfe5d0000 0x6ffdffff 0xa3b78180 0xee14f729 0x741e0f04 0x1743481 0x1b0dbcce 0x3ab7df8a 0xbd3
                        partition = "rootfs";
                        compression = "xz";

                        hash {
                                value = <0xe4927a15 0xe76a1fc1 0x1c0200cd 0x5d31ca48 0x45980788>;
                                algo = "sha1";
                        };
                };
        };
};

In particular the compatible devices and inmusic,devices values have changed from

compatible = "inmusic,acv5\0inmusic,acv8\0inmusic,acva\0inmusic,acva2\0inmusic,acvb\0inmusic,acvm\0inmusic,acvr\0inmusic,acv5s";
inmusic,devices = <0x9e8403a 0x9e8403b 0x9e84046 0x9e84056 0x9e84047 0x9e8404b 0x9e84052 0x9e84057>;

https://github.com/TheKikGen/MPC-LiveXplore/blob/5b726d2e7b706c825a70623ec88952e0287a7062/imgmaker/mpcimg#L171-L172

Should probably be

# Since MPC 2.14
# inmusic,acv5 inmusic,acv8 inmusic,acva inmusic,acva2 inmusic,acvb inmusic,acvm inmusic,acvr inmusic,acv5s

tmpl_header += 'compatible = "inmusic,acv5", "inmusic,acv8", "inmusic,acva", "inmusic,acva2", "inmusic,acvb", "inmusic,acvm", "inmusic,acvr", "inmusic,acv5s";\n'
tmpl_header += 'inmusic,devices = <0x9e8403a 0x9e8403b 0x9e84046 0x9e84056 0x9e84047 0x9e8404b 0x9e84052 0x9e84057>;\n'