mfgtools
mfgtools copied to clipboard
1489 Segmentation fault "${@}"
Hei Guys, i am working on a raspiberry pi 3 model b+ :- Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux(new setup)
Installed the UUU-Tool which is mentioned like here:- https://snapcraft.io/install/universal-update-utility/raspbian
Run first time UUU :- ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172
uuu [-d -m -v -V] <bootloader|cmdlists|cmd> .....
Added # at /etc/ld.so.preload to clear the error
Installed:- udo apt-get install libusb-1.0-0-dev libbz2-dev libzstd-dev
Find the device with -lsusb uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172
Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion ================================================== 1:112 MX8MM SDP: 0x1FC9 0x0134 0x0101
Run:- Snap connect universal-update-utility:removable-media
Run:- uuu uuu.auto uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172
Success 0 Failure 0
1:112 1/ 1 [ ] SDP: boot -f imx-boot.bin /snap/universal-update-utility/501/bin/universal-update-utility-launch: line 64: 1489 Segmentation fault "${@}"
Any advice? I can flash the image without any problems from our windows system. The Raspberry PI 4 Model B can't even find the MX8MM with lsusb, but that's a problem from raspberry i guess...
hei guys, i looked at the ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Changed the /etc/ld.so.preload to:- usr/lib/arm-linux-gnueabihf/libarmmen-v7l.so
Bcs the variable $PLATFROM is empty
cat /proc/cpuinfo | grep "model name" model name : ARMv7 Processor rev 4 (v7l) model name : ARMv7 Processor rev 4 (v7l) model name : ARMv7 Processor rev 4 (v7l) model name : ARMv7 Processor rev 4 (v7l)
run: uuu uuu.auto
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172
Success 0 Failure 0
1:113 2/ 3 [ ] SDPV: write -f imx-boot.bin -skipspl
/snap/universal-update-utility/501/bin/universal-update-utility-launch: line 64: 5596 Segmentation fault "${@}"
Thanks in advance
Chris
Maybe you can try our prebuild image: https://github.com/nxp-imx/mfgtools/releases/download/master/uuu_armv7
The pre-built image link is 404.
I wound up here because I'm seeing a segmentation fault too. I'm using the current source built for armv7l:
Wait for Known USB Device Appear...
>Start Cmd:SDPS: boot -f /root/imx93-11x11-lpddr4x-evk/u-boot-spl.bin
New USB Device Attached at 2:1
Segmentation fault