[BPI-R2 Pro] Debian Bullseye / Ubuntu 22.04

?? my image does not contain such strange tools :slight_smile:

simply

dd if=bpi-r3.img of=/dev/mmcblkX

change X to your emmc-device, then change fstab to use this device as rootfs

i do not see any thing like mmcblk in /dev directory but i see in upgrade tools could you give me an advice best regards

? You have booted the board from sdcard and then you should see 2 mmcblk in /dev

Hello I have laptop and I use ubuntu on it. I want to upload your image from my laptop to board emmc via USB OTG cable. But when I plug the cable into my pc I do not see any mmcblk . But when I opened bpi pro which runs your image on an sd card I saw, mmcblk in dev. Is there any way to upload your image to bpi-r2-pro from a laptop

Best Regards

I don’t know how to flash emmc via usb.

My way is to boot board with sd and from this running system write image to emmc…

So many difficult steps because of a simple task :slight_smile: You can go a much simpler way. take the Armbian version from Debian (the startup procedure is very simple and described in the appropriate topic). Then there are different options. For example, the simplest. In the Armbian system running from the SD card. directly on the BPIr2pro device itself. Clone the GIT build system and assemble the kernel you need with a few simple commands (if you need changes to DTB, it’s very easy to add), at the output you will get a standard DEB package with your kernel and your changes, and you can install it into the system with standard Debian commands (apt\dpkg). You check how it works, if you are satisfied, then you can save the received DEB package and later use it to update the Armbian system installed on eMMC (installation on eMMC is also performed in very simple steps by the armbian-config utility from the system running from the SD card).

Hello i made changes in your image now, i want to upload it to mmcblk but image size is too big for sd card could you give me an advice for reduce .image size ? Best regards

Which sdcard do you use? My image is 6gb which fits into 8gb sd/emmc. did you write it to sdcard modified and then created it again from card and so have size of your sdcard? if you have not change partitions you can use truncate to cut image after 6GB (my image size)

Hello I tried to install my image file to/root directory in zip format. It was succesfull after I tired unzip it I got disk size eror . where should I extract myimge.img file for

dd if=bpi-r3.img of=/dev/mmcblkX

command Best regards

If your sdcard is larger than 8g you can add additional data partition to extract image for emmc,but i needed to make rootpartition smaller than 8g because emmc is only 8g :slight_smile:

Else you can unzip archive to stdout and write this output directly to emmc (do.not have exact command by hand).

It should be something like this:

unzip -c file.zip | dd of=/dev/mmcblkx

And you have to use the right image…your command says bpi-r3 and this is thread about r2pro