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

fix the SDPV/SPL config and jump addr for technexion pico-imx6ul #5

Open
wants to merge 1 commit into
base: tn-uuu_1.4.77
Choose a base branch
from

Conversation

littlehill
Copy link

Hello,
expected review time: 10-20minutes + test on HW/build etc.

Problem: Can not flash a wic to imx6ul target.

Serial-download flashing pico-imx6ul (PICO-PI-IMX6UL Start Kit) hangs during UUU SDP phase.
(Attaching logs of both host and target terminals.)

Solution:

Adding device ID 0x0151 to the libuuu/config.cpp solved that but then the target cycles through Header "Tag is not an IMX image" and resets. Causing uuu to take another shot at loading SPL and it ends up cycling 'indefinitely'.
Header is found at the 'right' offset 0x87800000. For u-boot.img we just have to jump to the same addr as load-addr.

Attached files:

(I hope filenames are descriptive enough but feel free to poke for more info if needed)

  • README_testing-notes.txt
  • testing-logs.zip
    -- testcmd_burnwic_pico-imx6ul.sh
    -- host-terminal_devID-only.log.txt
    -- host-terminal_no-patch.log.txt
    -- host-terminal_with-patch.log.txt
    -- serial-port_devID-only.log.txt
    -- serial-port_no-patch.log.txt
    -- serial-port_with-patch.log.txt
    -- repo-info.txt

Thank you for consideration and have a good day :-)
README_testing-notes.txt
testing-logs.zip

@ray-chang
Copy link
Collaborator

Hi @littlehill

Thanks for the feedback.
According to the logs you provide, you are using u-boot 2022.04. But the pico-im6ul flash binary in the UUU package that we released are kept in the sumo version(2018.03). This version does not have the problem you described.
https://download.technexion.com/development_resources/development_tools/installer/imx-mfg-uuu-tool_20230822.zip

We are not sure if this patch will affect our current release. We will keep this request open until we also upgrade to the same version.

BR,
Ray

@littlehill
Copy link
Author

Hi Ray,
Just for clarification or future reference:
I was using the u-boot and SPL built by default init as
repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b kirkstone_5.15.y-stable -m imx-5.15.71-2.2.0.xml

  • that builds the 2022.04.

Thank you for the quick response and link to recommended uuu binaries. My setup works either way now so no problem there.
Have a good one,
Mirek

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

Successfully merging this pull request may close these issues.

2 participants