Frequently asked questions

Answers to the questions we are asked most often about iTOP development boards: display and audio routing, image flashing, device tree, GPIO and drivers. For a specific board, the manual in the download centre remains the authoritative reference.

Frequently asked questions

iTOP-4418 / 6818: HDMI output under Qt / Ubuntu

Only the disc image dated 20171120 or later supports HDMI under Qt. For 4418, copy nxp-hdmi-context.c from the 4418 folder into kernel/arch/arm/mach-s5p4418/soc/hdmi/; for 6818 use the 6818 folder and kernel/arch/arm/mach-s5p6818/soc/hdmi/. Then use the matching config (config_for_iTOP6818_linux for 6818), set ARCH=arm, run make menuconfig, open Device Drivers → Multimedia support → Nexell V4L2 Devices → Nexell OUT interface and turn off the “Enable out HDMI” option, then under Device Drivers → Graphics support → Nexell Graphics enable HDMI and disable LCD/LVDS, save, and rebuild with build_android.sh qt. Flash the resulting boot.img with the screen parameter set to hdmi. Ubuntu uses the same boot.img.

iTOP-4412: flashing a file larger than 300 MB

u-boot on the 4412 platform limits a single fastboot transfer to about 300 MB. Split the image, or update the u-boot to the version shipped on the current disc and flash through the SD-card upgrade path. The full procedure is in the iTOP-4412 manual, chapter on image flashing.

i.MX6: device-tree files used by the Linux BSP

The BSP keeps board DTS files under arch/arm/boot/dts; the board-specific .dts includes the SoC .dtsi and enables the peripherals used on the carrier. To add a peripheral, edit the board DTS and rebuild the DTB, then update the image package.

iTOP-4412 Elite: no sound with the Wi-Fi-enabled Android image

The Wi-Fi image routes audio to a different codec profile. Reflash the standard audio profile, or edit the codec routing in the board DTS and rebuild. Confirm that the speaker and headphone paths are both enabled in the mixer.

iTOP-4412: switching between speaker and headphone output

Use the audio HAL switch exposed by the WM8960 codec driver: write the routing register through the mixer control (tinymix or the Android AudioService) to select speaker or headphone. The driver already exposes both paths; only the routing needs to change at runtime.

iTOP-4412: controlling the user LEDs

LEDs are registered as a character device. Open the leds device node, then call ioctl with cmd 0 (off) or 1 (on) and arg set to the LED index. The driver rejects indices above LED_NUM with -EINVAL.

iTOP-4412: changing the default screen-off timeout

Set the timeout in the Android framework settings (Settings.System.SCREEN_OFF_TIMEOUT) or in the device overlay used at build time, then rebuild the image. For Linux + Qt, set the blank interval through the framebuffer console or the Qt screen saver configuration.

iTOP-4412: GPIO operation

Export the GPIO through /sys/class/gpio, set direction to out or in, then write value 0 or 1. For kernel drivers use the gpio_request / gpio_direction_output / gpio_set_value API, as shown in the LED driver example.

iTOP-4412: can the camera interface support 2 MP and 5 MP modules at the same time?

The interface supports one camera at a time. OV2640 (2 MP) and OV5640 (5 MP) share the same CSI port and driver family; switch the module and the matching driver configuration, but do not connect both simultaneously.

iTOP-4412: changing the PMIC output voltage

The S5M8767 outputs are configured through the regulator framework. Adjust the regulator constraints in the board DTS or call regulator_set_voltage at runtime; keep within the ranges documented in the S5M8767 datasheet to avoid damaging the SoC and DDR.

iTOP-4412: mounting a USB drive under Linux + Qt

Insert the drive and check that it is enumerated (dmesg | tail). Mount it with mount -t vfat /dev/sda1 /mnt or let udisks mount it automatically; add the mount command to the start-up script if the drive must be available at boot.

iTOP-4412: changing the boot logo

Replace the logo images in the boot-logo partition (u-boot logo and kernel logo), then repack and flash boot.img. Keep the resolution matched to the panel, otherwise the image is stretched.

iTOP-4412: changing key definitions

Key mapping is defined in the board keypad DTS node (linux,keymap) or in the input driver. Edit the key code for the matrix position and rebuild the DTB; the input subsystem reports the new code to applications.

iTOP-4412: disabling the lock screen in Android

Remove the lock screen by setting the default lock screen to none in the device overlay (config_disableLockscreen or the Settings provider default), then rebuild the image. For a single application, also enable immersive mode.

iTOP-4412: board does not boot after removing the gyroscope

The BSP probes the MPU-6050 during start-up and fails when the device is absent. Disable the sensor node in the board DTS (status = disabled) and remove the sensor service from the init configuration, then rebuild the kernel and image.

iTOP-4412: GPS driver

The GPS module (UBLOX NEO-6M / GNS7560 depending on the kit) is connected over UART. Enable the UART port in the DTS, and read NMEA sentences from the tty device or through gpsd. The driver source is included in the BSP package.

Still stuck? Contact support with the board model, image version and the log output.