brucerry
(bruce)
September 18, 2025, 12:10pm
1
Even the BPI-R3 is set as NAND boot, I remember it should be able to recognize the eMMC device by default (?)
Once after flashing the SD card with official 2022-12-18-ubuntu-22.04-server-bpi-r3-aarch64-sd-emmc.img , it booted as expected with SD card:
However, then I switch it back to NAND boot, the eMMC became unrecognizable. Does anyone have experience on this?
The NAND boot:
Thanks,
Bruce
frank-w
(Frank W.)
September 18, 2025, 12:29pm
2
R3 uses more switches so you have to make sure not only the boot switches are right but also the device ones.
See
https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r3:uboot#bootmedium_selection
Sw6/D has to be in the right position.
brucerry
(bruce)
September 19, 2025, 2:06am
3
Thank you. I can confirm that pulling the sw6/D (sd/emmc) low from bootstrap switches, i.e. high-low-high-low that leads the eMMC device being recognized in NAND boot.
brucerry
(bruce)
September 19, 2025, 8:16am
4
@frank-w
May I ask for your help here?
This is the NAND boot with eMMC recognized. Both bl2_emmc.img and mtk-bpi-r3-EMMC-WAN1-RJ45-20220720-single-image.img are ready in the inserted USB device. By following the official instruction, I got a mount related error.
Part of “fdisk -l”
frank-w
(Frank W.)
September 19, 2025, 9:38am
5
Just create a subdirectory in /mnt and use this for mount and further steps.
brucerry
(bruce)
September 19, 2025, 10:13am
6
Power on with USB device inserted, now it has /mnt/sda1 at the beginning.
Created a subdirectory /mnt/jj, it seems work a bit further along with the previous error.
How can I pass the files from USB device (/mnt/jj ?) to the filesystem?
frank-w
(Frank W.)
September 19, 2025, 10:21am
7
Maybe alreaady mounted? What is in /mnt/sda1?you do not mount it if already mounted
brucerry
(bruce)
September 19, 2025, 11:07am
9
I reset the filesystem to default (firstboot -y && reboot).
Is it supposed to have my USB files found under /dev/sda1?
ericwoud
(Eric W.)
September 19, 2025, 12:05pm
10
mkdir /mnt/test
mount /dev/sda1 /mnt/test
ls /mnt/test
If this does not work, you could reformat the usb-stick to fat32.
brucerry
(bruce)
September 19, 2025, 1:16pm
11
Thank you. I can confirm that the mounting automatically works as expected after reformatting the USB-stick to FAT32.
And I’m able to re-flash NOR/NAND/eMMC on this way.