Page 1 of 1

Connecting Ubuntu 22.04 computer to Mini Pico B via SSH

Posted: 2024-04-05 0:07
by shenko
The tutorial online only covers the windows version.
网上的教程只涵盖windows版本

# I was successful getting the 'buildroot' version onto my mini pico m
then it was pretty much step by step, like in this tutorial;
https://github.com/LuckfoxTECH/luckfox-pico/tree/main

I think this is the only option that works for the mini B? buildroot, but I wanted ubuntu
----------------------------------------------------------------
6. BoardConfig_IPC/BoardConfig-SPI_NAND-Buildroot-RV1103_Luckfox_Pico_Mini_B-IPC.mk
boot medium(启动介质): SPI_NAND
system version(系统版本): Buildroot
hardware version(硬件版本): RV1103_Luckfox_Pico_Mini_B
applicaton(应用场景): IPC
----------------------------------------------------------------


# The Luckfox Pico/Pico Mini A/B Login is ONLY for windows, but I found a solution for ubuntu:
https://wiki.luckfox.com/Luckfox-Pico/S ... i-ab-login
login.png
# mods the kernal, allowing usb internet I think

Code: Select all

sudo modprobe cdc_ether
# ifconfig shows everything networking, my card was showing as enxd60dad9861e6

Code: Select all

sudo apt update sudo apt install net-tools

Code: Select all

ifconfig -a
# 'up' means it 'turns on' the virtual cdc_ethernet networking card we created,
# allowing us to use that network

Code: Select all

sudo ifconfig exx00xx00x0x00x0x 172.32.0.1 netmask 255.255.255.0 up
# NOW IT WORKS

Code: Select all

ssh root@172.32.0.93
# Takes me to a '#' prompt, ls / 'lists out the directory

Instead of system version(系统版本): Buildroot
for the Luckfox mini Pico M, is there a ubuntu version?
Luckfox mini Pico M 没有“buildroot”,有 ubuntu 版本吗?



# When I build with option 2:
----------------------------------------------------------------
2. BoardConfig_IPC/BoardConfig-EMMC-Ubuntu-RV1103_Luckfox_Pico-IPC.mk
boot medium(启动介质): EMMC
system version(系统版本): Ubuntu
hardware version(硬件版本): RV1103_Luckfox_Pico
applicaton(应用场景): IPC
----------------------------------------------------------------


I get the following error:
我收到以下错误:
Screenshot from 2024-04-04 20-35-09.png
????? :-(

Re: Connecting Ubuntu 22.04 computer to Mini Pico B via SSH

Posted: 2024-04-07 1:42
by Eng38
Hello,

If you want Mini Pico B to run Ubuntu, you first need to select the option of Mini Pico A when compiling, then use the SocToolKit software in the Windows environment to burn the image to the TF card, and finally let Mini Pico B download from the TF card start up.

Compile the Ubuntu image of Mini Pico B. Select the option of Mini Pico A when compiling. Except for Flash, they are the same in hardware, so they are universal.

Code: Select all

3. BoardConfig_IPC/BoardConfig-EMMC-Ubuntu-RV1103_Luckfox_Pico_Mini_A-IPC.mk
                             boot medium(启动介质): EMMC
                          system version(系统版本): Ubuntu
                        hardware version(硬件版本): RV1103_Luckfox_Pico_Mini_A
                              applicaton(应用场景): IPC
Please note that Ubuntu only supports booting from a TF card, which means you need to burn the compiled Ubuntu image to the TF card. If you wish to flash the firmware to a TF card, you will need to use SocToolKit software in a Windows environment for the flashing process.
Related tutorials: https://wiki.luckfox.com/Luckfox-Pico/L ... urn-Image/

Re: Connecting Ubuntu 22.04 computer to Mini Pico B via SSH

Posted: 2024-04-13 17:24
by shenko
then use the SocToolKit software in the Windows environment to burn the image to the TF card.
We want to remain completely open source, there for our installation should not rely on Microsoft in any way.
我们希望保持完全开源,我们的安装不应以任何方式依赖微软

I will try creating the SD card with Ubuntu's disk creator, unless there is something unique to the rockchip tool kit,
if that doesn't work, I did find a link to the tools GIT repo:

https://github.com/rockchip-linux/rknn-toolkit2


# So far I have built.sh lunch #3.
# and created a SD card with with 'ubuntu-core-22-arm64+raspi.img' found here:
https://ubuntu.com/download/raspberry-pi
# But I think I am missing a step, to get it installed,

Code: Select all

Download Firmware Fail
Note:Definition of partition in the firmware is larger than flash
[/color]
Screenshot from 2024-04-13 14-18-16.png

Re: Connecting Ubuntu 22.04 computer to Mini Pico B via SSH

Posted: 2024-04-16 7:55
by Eng38
shenko wrote: 2024-04-13 17:24
then use the SocToolKit software in the Windows environment to burn the image to the TF card.
We want to remain completely open source, there for our installation should not rely on Microsoft in any way.
我们希望保持完全开源,我们的安装不应以任何方式依赖微软

I will try creating the SD card with Ubuntu's disk creator, unless there is something unique to the rockchip tool kit,
if that doesn't work, I did find a link to the tools GIT repo:

https://github.com/rockchip-linux/rknn-toolkit2


# So far I have built.sh lunch #3.
# and created a SD card with with 'ubuntu-core-22-arm64+raspi.img' found here:
https://ubuntu.com/download/raspberry-pi
# But I think I am missing a step, to get it installed,

Code: Select all

Download Firmware Fail
Note:Definition of partition in the firmware is larger than flash
[/color]
Screenshot from 2024-04-13 14-18-16.png
Hello, I'm sorry for missing your information. Please note that upgrade_tool is a tool used to burn original firmware, RK firmware and partition images to eMMC under Linux. It is a closed source command line tool provided by Rockchip. This tool only supports programming using SPI NAND FLASH. If you need to burn the image to the SD card, please use the SocToolKit software to burn it in the Windows environment.