Skip to content

MPC 3 first analysis

TheKikGen edited this page Feb 23, 2025 · 4 revisions
    __ __| |           |  /_) |     ___|             |           |
       |   __ \   _ \  ' /  | |  / |      _ \ __ \   |      _` | __ \   __|
       |   | | |  __/  . \  |   <  |   |  __/ |   |  |     (   | |   |\__ \
      _|  _| |_|\___| _|\_\_|_|\_\\____|\___|_|  _| _____|\__,_|_.__/ ____/

MPC V3 first level analysis

  • Update image format is different( I have developed a new mpcimg2 dedicated to it. Available soon).
  • New build system : YOCTO instead of Buildroot previously
  • A new specific utily edisksctl developed by InMusic to mount parition instead of previous udisks tool
  • libc upgraded to 2.39
  • All mounted external devices have noexec flag. You can't run binaries
  • New start/stop MPC service command is 'systemctl stop acvs.service'
Linux version 6.6.64-az01-2024-12-09-rt45 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT_RT Mon Dec 9 11:45:57 UTC 2024
CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
(...)

GNU C Library (GNU libc) stable release version 2.39.
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 13.3.0.
libc ABIs: UNIQUE ABSOLUTE
Minimum supported kernel: 5.15.0
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.

Mounting partition : All mounted external devices have noexec flag. You can't run binaries. So you need to remount/mount with the exec flag.

edisksctl mount -o rw,exec /dev/sdb1

Remount sdcard to run binaries : 
mount -o remount,rw,exec /dev/sda1