TotalCross / TotalCross/totalcross

Segmentation Fault when trying to run linux_arm64 on IMX8QXP module

Open
#335 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
227
Forks
42
Avg merge
1d 19h
Merged PRs (30d)
11

Description

Describe the bug

From the embedded samples I compiled the simplie HelloWorld application for linux_arm64. When I execute the binary on a IMX8QXP module I get the following message:

Testing video drivers...
SDL_VIDEODRIVER available: x11 wayland dummy
SDL_VIDEODRIVER selected : x11
SDL_DisplayMode #0: current display mode is 800x480x0
SDL_RENDER_DRIVER available: opengl opengles2 software
SDL_RENDER_DRIVER selected : software
SDL_PIXEL_FORMAT: SDL_PIXELFORMAT_RGB888
Segmentation fault

Devices:

Please complete the following information:

  • System OS -> Custom Yocto Linux
  • TotalCross Version: 7.10
  • TotalCross backend: [e.g. TotalCross binary
  • Architecture: ARM64
  • Device description: Colibri Evaluation Board + IMX8QXP Module

To Reproduce

  1. Download the HelloWorld Embedded Sample.
  2. Compile the for linux_arm64
  3. scp linux_arm64 folder to IMX8QXP
  4. Navigate to the scp location from previous step and execute ./HelloWorld

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the HelloWorld Embedded Sample on the stated Colibri Evaluation Board with the IMX8QXP module, using the ./HelloWorld entry point. Check the reported video-driver, display-mode, render-driver, and pixel-format output before the segmentation fault. Done means the linux_arm64 HelloWorld binary runs without crashing on this device.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.