Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1489 Segmentation fault "${@}" #375

Open
Chris1452 opened this issue Jun 5, 2023 · 3 comments
Open

1489 Segmentation fault "${@}" #375

Chris1452 opened this issue Jun 5, 2023 · 3 comments

Comments

@Chris1452
Copy link

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...

@Chris1452
Copy link
Author

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

@nxpfrankli
Copy link
Contributor

Maybe you can try our prebuild image: https://github.com/nxp-imx/mfgtools/releases/download/master/uuu_armv7

@lionel
Copy link

lionel commented Jul 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants