Page 1 of 2
Luckfox pico max ethernet and sd card issue
Posted: 2024-03-19 8:50
by rajadey150@gmail.com
Hello, i am using Luckfox Pico Max ,i cannot to my local network via ethernet or ssh,no sd card is using in usb image,and can i download SDK via adb connection without any sd card
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-03-19 9:04
by Eng38
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.
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-03-19 10:27
by rajadey150@gmail.com
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
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-03-19 10:39
by Eng38
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-03-19 11:27
by rajadey150@gmail.com
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?
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-03-20 2:42
by Eng38
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).
The SD card system supports the FAT32 format by default, and it can be detected by my test here.
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-05-15 6:34
by rajadey150@gmail.com
;;
*)
# 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
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-05-15 7:02
by Eng38
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
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-05-15 7:15
by rajadey150@gmail.com
Yes sir i have tried ,
I have changed the ip and subnet mask
commented out udhpc part
but network not connected
Re: Luckfox pico max ethernet and sd card issue
Posted: 2024-05-15 9:17
by Eng38
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