In my test, no matter MicroPython Download RPI_PICO is dragged-and-dropped, or a customized program is uploaded via Arduino IDE as in the following picture:
I got the solution from my posted issue Boot from eMMC or NVME? Existing Doubts on the official RVspace forum. The solution is just hidden in the file /boot/extlinux/extlinux.conf. Well, to modify this file correspondingly, you need to:
mount /boot using sudo mount /dev/sdc3 /mnt
take a look at the file /boot/extlinux/extlinux.conf
➜ extlinux cat extlinux.conf ## /extlinux/extlinux.conf ## ## IMPORTANT WARNING ## ## The configuration of this file is generated automatically. ## Do not edit this file manually, use: u-boot-update
default l1 menu title U-Boot menu prompt 0 timeout 50
label l1r menu label Debian GNU/Linux bookworm/sid 5.15.0-starfive (rescue target) linux /vmlinuz-5.15.0-starfive initrd /initrd.img-5.15.0-starfive fdtdir /dtbs append root=/dev/nvme0n1p4 rw console=tty0 console=ttyS0,115200 earlycon rootwait stmmaceth=chain_mode:1 selinux=0 single
Now, I’m able to boot from both SD card or NVME, however, there seems to be NO such a thing similar to grub? And I’ll have to manually edit the value of default l1 accordingly whenever I want to boot from a different device.
Anyway, I’ve got to stop here for now. I’ll talk about how to build a fresh distro for VisionFive2 from scratch in my next post.
Typically, there’s no need to rebuild your project from the ground up. However, when needed, Arduino UNO R4 Wifi USB Bridge offers open-source resource that you can utilize as a foundation for further development.
Sketch uses 51488 bytes (19%) of program storage space. Maximum is 262144 bytes. Global variables use 6744 bytes (20%) of dynamic memory, leaving 26024 bytes for local variables. Maximum is 32768 bytes.
Sketch uses 51488 bytes (19%) of program storage space. Maximum is 262144 bytes. Global variables use 6744 bytes (20%) of dynamic memory, leaving 26024 bytes for local variables. Maximum is 32768 bytes. Erase flash
Done in 0.001 seconds Write 51496 bytes to flash (13 pages)
Please upgrade the firmware Attempting to connect to SSID: TELUSXXXX SSID: TELUSXXXX IP Address: 192.168.1.YY signal strength (RSSI):-52 dBm
3.2 Upgrade Firmware of UNO R4 Wifi
It’s confusing that I received the error message Please upgrade the firmware, right after I installed/upgraded renesas_uno@1.0.5 from within Arduino IDE.
In the end, I noticed there are 2 main chips on Arduino UNO R4 WiFi, and renesas‘s firmware is installed/upgraded, but ESP32‘s firmware hasn’t yet. Therefore, I proceeded with upgrading ESP32‘s firmware by following Arduino UNO R4 WiFi Upload to ESP32.
Different from 1.1, by shorting the download pin and GND, now we have a different lsusb result:
1 2 3
...... Bus 011 Device 007: ID 303a:1001 Espressif USB JTAG/serial debug unit ......
Again, I was asked to install the esp32 package(s), as shown: