Jump to content
Electronics-Lab.com Community

FAQ about the Forlinx i.MX6ULL Embedded Development Board


Forlinx

Recommended Posts

▊ IP Settings

Two IP configuration methods:

(1)Set a default static IP;

(2)Set a temporary static IP ( it is disabled after power cycling).

1. Static IP settings

(1) Open /etc/network/interfaces and modify the configuration vi /etc/network/interfaces

As follows, configure eth0 as static and eth1 as dynamic:

f_f4d49032f14b17021ff7907138f9067d&t=png

(2) DNS settings

Open rc.local with the command vi /etc/rc.local and add the following to it:

echo "nameserver 8.8.8.8" > /etc/resolv.conf

(3) Block information update&restart

sync

reboot

2. Temporary network settings

Alternatively, the commands can be used temporarily to set the IP and gateway. However, please note that this method's configuration will be lost after a restart.

ifconfig eth0 172.16.0.171//Set eth0 static IP

route add default gw 172.16.0.1 //Set gateway

echo ''nameserver 8.8.8.8'' > /etc/resolv.conf //Set DNS

▊ Adding Startup Auto-run Content

1. Adding the following to the startup script

Enter vi /etc/rc.local

As an example of booting with the output ''hello world,'' add the following content:

f_fb4f4c6283eaf3f6aba4e692a7a3876e&t=png

Note: Add the startup auto-run content before exit 0;

2. Adding startup auto-run items

To create a startup auto-run item in the /etc/rc5.d/ directory

vi /etc/rc5.d/S99test.sh

As follows:

#!/bin/bash

echo "helloworld!"

chmod 777 /etc/rc5.d/S99test.sh

S99 indicates the startup priority as 99, which can be adjusted by the user based on demand.

3. Power-on self-starting 4G dialing method

Previously it was mentioned that startup applications can be directly added to /etc/rc.local. However, 4G slightly differs from other applications because it uses a separate 4G module that requires initialization time. Based on practical tests, the 4G module takes 3-5 seconds after startup to function properly. Therefore, before initiating 4G dialing, a delay of 3-5 seconds is necessary. Modify as follows:

vi /etc/rc.local

Add the following:

f_84d0161a5404349bc2fcd4c6a5f6ab9f&t=png

Note: The delay time cannot be less than 3s.

▊ WiFi

1. Static IP Settings (WiFi)

WiFi login script: /usr/bin/fltest_cmd_wifi.sh

The second-to-last line of the script assigns a dynamic IP to wlan0. If there is a need to set a static IP, it can be done as follows:

f_1d38e7825099a4edf74ea7fe75f84910&t=png

2. Power-on self-starting settings (WiFi)

Also put the WiFi script in the/etc/rc.local.

f_6cfc63408f1676a9d20bf68e8278620a&t=png

In this case, it is necessary to add an ''&'' symbol at the end to run the script in the background. Otherwise, it might block and prevent access to the file system.

▊ Boot

1. SSH connection failure

(1) When SSH cannot connect, check if ping is possible. If ping fails, it could be due to network issues. The computer and the device should be on the same subnet. The default IP for eth0 is 192.168.0.232. Users can directly connect them or connect both to the same router. Then, set a 192.168.0 subnet IP on the computer;

(2) If ping is successful, first confirm whether the factory image can connect normally. If the factory image can connect normally, check what services are starting up at boot causing the issue; ensure that services starting at boot are backgrounded. Failure to do so may cause process blocking, preventing SSH login. Consider reflashing the factory image if necessary;

(3) Ensure that the board's IP address is being pinged. This can be tested by unplugging the Ethernet cable and then pinging from the computer.

Link to comment
Share on other sites


Industrial Design for Medical Devices

Industrial design for medical devices plays a critical role in enhancing usability, safety, and patient experience. Beyond aesthetics, industrial designers focus on ergonomic design, intuitive interfaces, and durable materials to ensure that medical devices meet stringent regulatory standards while addressing the specific needs of healthcare professionals and patients. 3d product rendering  considerations prioritize ease of sterilization, intuitive operation in high-stress environments, and compatibility with clinical workflows. From diagnostic equipment to wearable devices and surgical tools, industrial design ensures that medical devices not only perform effectively but also integrate seamlessly into healthcare settings, ultimately improving patient outcomes and healthcare delivery efficiency.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...