Luckfox pico max ethernet and sd card issue

  • Hello,

    1.Burn the image provided by the cloud drive:
    https://drive.google.com/drive/folders/ ... drive_link
    2.After the system boots up normally, check for the IP address.
    3.Connect via SSH.
    https://wiki.luckfox.com/Luckfox-Pico/S ... omax-login

    If you have any further questions or concerns, feel free to ask at any time.
  • I have tried this earlier it cannot be connected, our system have static ip,no dhcp and memory card also not showing after inserting it into the TF slot
  • If there is no dhcp, refer to this post
    viewtopic.php?t=47&start=10
    SD card image can be mounted:
    https://drive.google.com/drive/folders/ ... drive_link
  • My system ip is 192.168.0.35
    Gateway-192.168.0.11
    Subnet-255.255.255.0 static IP

    1.What should my setting for Rockchip board so that i can access via SSH login?
    2.I have downloaded the SDK for the build.sh how to install it in the board?
    3.I have tried multiple SD card none of them are working?
  • rajadey150@gmail.com wrote: 2024-03-19 11:27 My system ip is 192.168.0.35
    Gateway-192.168.0.11
    Subnet-255.255.255.0 static IP

    1.What should my setting for Rockchip board so that i can access via SSH login?
    1.Use the serial port to log in to the development board and comment out the udhcpc related parts in /oem/usr/bin/RkLunch.sh
    2. Write a self-starting script to set a static IP
    Autostart setting tutorial: https://wiki.luckfox.com/Luckfox-Pico/L ... -autostart

    Code: Select all

    #! /bin/sh
    
    check_ip_address(){
            if ifconfig eth0 | grep -q "inet "; then
                    return 1
            else
                    return 0
            fi
    }
    
    static_ip()
    {
            while true; do
                    if check_ip_address; then
                            ifconfig eth0 192.168.0.35 netmask 255.255.255.0
                            route add default gw 192.168.0.11
                            echo "nameserver 8.8.8.8" > /etc/resolv.conf
    
                    fi
                    sleep 5
            done
    }
    
    
    case $1 in
            start)
                    echo "start"
    		ifconfig eth0 192.168.0.35 netmask 255.255.255.0
    		route add default gw 192.168.0.11
    		echo "nameserver 8.8.8.8" > /etc/resolv.conf
                    static_ip &
                    ;;
            stop)
                    echo "stop"
                    ;;
            *)
    		exit 1
                    ;;
    esac
    
    rajadey150@gmail.com wrote: 2024-03-19 11:27 2.I have downloaded the SDK for the build.sh how to install it in the board?
    The SDK cannot be installed directly on the development board. The system of the Luckfox Pico series development board is compiled on the computer and then burned to the development board. Therefore, you need to build an environment on your computer that can compile the development board system, referred to as SDK (Software Development Kit - a set of software tools and tools).
    rajadey150@gmail.com wrote: 2024-03-19 11:27 3.I have tried multiple SD card none of them are working?
    企业微信截图_17109022505286.png
    The SD card system supports the FAT32 format by default, and it can be detected by my test here.
  • ;;
    *)
    # No sh extension, so fork subprocess.
    $i stop
    ;;
    esac
    done
    }

    echo "Stop Application ..."
    killall rkipc
    killall udhcpc

    cnt=0
    while [ 1 ];
    do
    sleep 1
    cnt=$(( cnt + 1 ))
    if [ $cnt -eq 8 ]; then
    echo "killall -9 rkipc"
    Sir,which part i have to change,
    After connecting ethernet cable ,Luckfox Pico Max cannot be conneted to internet.
    Please suggest
  • Hi, have you tried the methods provided above?
    Eng38 wrote: 2024-03-20 2:42
    rajadey150@gmail.com wrote: 2024-03-19 11:27 My system ip is 192.168.0.35
    Gateway-192.168.0.11
    Subnet-255.255.255.0 static IP

    1.What should my setting for Rockchip board so that i can access via SSH login?
    1.Use the serial port to log in to the development board and comment out the udhcpc related parts in /oem/usr/bin/RkLunch.sh
    2. Write a self-starting script to set a static IP
    Autostart setting tutorial: https://wiki.luckfox.com/Luckfox-Pico/L ... -autostart

    Code: Select all

    #! /bin/sh
    
    check_ip_address(){
            if ifconfig eth0 | grep -q "inet "; then
                    return 1
            else
                    return 0
            fi
    }
    
    static_ip()
    {
            while true; do
                    if check_ip_address; then
                            ifconfig eth0 192.168.0.35 netmask 255.255.255.0
                            route add default gw 192.168.0.11
                            echo "nameserver 8.8.8.8" > /etc/resolv.conf
    
                    fi
                    sleep 5
            done
    }
    
    
    case $1 in
            start)
                    echo "start"
    		ifconfig eth0 192.168.0.35 netmask 255.255.255.0
    		route add default gw 192.168.0.11
    		echo "nameserver 8.8.8.8" > /etc/resolv.conf
                    static_ip &
                    ;;
            stop)
                    echo "stop"
                    ;;
            *)
    		exit 1
                    ;;
    esac
    
  • Yes sir i have tried ,
    I have changed the ip and subnet mask
    commented out udhpc part
    but network not connected
  • The rkipc related code in /oem/usr/bin/RkLunch.sh should also be commented, as follows:

    Code: Select all

    #       if [ -d "/oem/usr/share/iqfiles" ];then
    #               rkipc -a /oem/usr/share/iqfiles &
    #       else
    #               rkipc &
    #       fi