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

Sparse file magic miss matched on Mac OS #444

Open
mfrydrysiak-verkada opened this issue Nov 22, 2024 · 1 comment
Open

Sparse file magic miss matched on Mac OS #444

mfrydrysiak-verkada opened this issue Nov 22, 2024 · 1 comment

Comments

@mfrydrysiak-verkada
Copy link

Hi, I am trying to flash NXP Android image (android-14.0.0_2.2.0_image_95evk) on iMX 95 EVK. There is this uuu_imx_android_flash.sh script delivered with the Android release which facilitates flashing procedure. I am using uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.179-0-g02da3bf.

The following command from the script fails: uuu /tmp/uuu.lst30388 , and the content of the file is:

uuu_version 1.4.182
SDPS: boot -f u-boot-imx95-verdin-uuu.imx30388
SDPU: delay 1000
SDPU: write -f u-boot-imx95-verdin-uuu.imx30388 -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f u-boot-imx95-verdin-uuu.imx30388 -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 0
FB: ucmd mmc dev 0
FB: ucmd mmc dev 0 0
FB: ucmd mmc erase 0x3800 0x20
FB: ucmd mmc partconf 0 1 1 1
FB[-t 600000]: flash bootloader0 spl-imx95-trusty-verdin-dual.bin30388
FB[-t 600000]: flash gpt partition-table-dual.img30388
FB[-t 600000]: flash bootloader_a bootloader-imx95-trusty-verdin-dual.img30388
FB[-t 600000]: flash dtbo_a dtbo-imx95-verdin-10inch-panel-lvds.img30388
FB[-t 600000]: flash boot_a boot.img30388
FB[-t 600000]: flash system_a system.img30388
FB[-t 600000]: flash vendor_a vendor.img30388
FB[-t 600000]: flash product_a product.img30388
FB[-t 600000]: flash vbmeta_a vbmeta-imx95-verdin-10inch-panel-lvds.img30388
FB[-t 600000]: erase misc
FB[-t 600000]: erase presistdata
FB[-t 600000]: erase fbmisc
FB[-t 600000]: erase metadata
FB: set_active a
FB[-t 600000]: erase userdata
FB: done

It seems it fails on system flashing:

Success 0    Failure 1

0:121-57065212/22 [Sparse file magic miss matched        ] FB[-t 600000]: flash system_a system.img30388

I believe the problem is only on Mac OS, when I use the same files and utilities (in the same version) on Ubuntu 24, there is no issue with flashing.

I have MacBook M3 Pro with MacOS 15.1.1 and the Evaluation kit is connected to my MacBook via USB-C docking station.

@mfrydrysiak-verkada
Copy link
Author

The very first line of /tmp/uuu.lst30388 contains entry: uuu_version 1.4.182 but it is written above that the script was validated with uuu 1.5.179, and this is the version I am using.

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

1 participant