How to install debian linux on eMMC

Hello!

I just received the radxa zero product and I’m going to install Debian Linux in eMMC.

I’ll look at the official website of “radxa zero”
Install the eMMC driver through Zadig,
After that, I loaded the radxa_zero_erase_emmc.bin file through the RZ USB BOOT program.

Then Windows finds it as a new storage, but it didn’t work, so I loaded a new rz_udisk file and recognized it as usb.

And when I installed Debian os, I couldn’t boot.

Is my method wrong?

What exactly did you do? The most likely causes is you used wrong image. Can you send the image file name as well?

I’ll tell you exactly what I did!

  1. Radxa zero, press the button on the back and connect to my window PC

  2. Install the libusb-win32 driver through the zadig program.

  3. Check if it is in maskrom mode through the rzusb boot helper program.

  4. Load radxa_zero_erase_emmc.bin with rz usb boot helper program

And according to the explanation in the text, radxa zero is not recognized as a new device.

  1. Load rz_udisk_loader.bin with rzusb boothelper program

  2. Recognize it like usb and use it as a Balena Etcher program. Devian os flash!

The os image file used in No. 6 is,

radxa-zero-debian-buster-xfce4-arm64-20220210-0524-mbr.img.xz

It was normal when I flash this file and that file on the sd card and booted it!

Try load it again, and wait for like 10 second once rz usb helper is done uploading. Then can you run compmgmt.msc and check if there is a new uninitialized disk showing up in Disk Management tool. If so then you can flash that image again.

Are you asking me to load the radxa_zero_erase_emmc.bin file with the rzusb boothelper program and check it through the corresponding disk management?

Connect and run the radxa-zero-erase-emmc.bin file in maskrom mode, wait, turn on compmgmt.msc, and even if you look at the disk management section, you can’t find a new disk.

What should I do?

Well that’s weird. You probably need to follow this guide to wipe the preloaded bootloader using fastboot, then you can flash with rz_udisk_loader.

If you happen to have a serial cable that you can capture the boot log that will be very helpful.

I mean…
After loading rz_fastboot_loader.bin first,
Are you telling me to load rz_udisk_loader.bin and flash the os image?

Wipe bootloader with android-bootloader.img according to the link I sent earlier, then power off, enter maskrom mode again, then load rz_udisk_loader and flash.

When I load the android-booter.img file, disconnect the cable, reconnect to upload the rz_udisk_loader.bin file, unlike before, the rzusb boot helper program is very slow, so should I try loading the radxa_zero_erase_emmc.bin file?

Did you do the steps listed in the link I posted above? Also either rz_udisk_loader or radxa_zero_erase_emmc is fine as long as you have the bootloader wiped.

Once you have uploaded android-bootloader.img according to the steps, serial console is not available.

I don’t know about the other file now, but when I upload the rz_udisk_loader.bin file, I recognized it as usb a while ago, but now there’s no response…

Now, somehow, even if I make an os image on the sd card and boot it, I can see on the monitor that it’s definitely connecting through hdmi, but it doesn’t boot.

I don’t know what to do…

And what I’m curious about is that the USB download target was recognized as usb earlier, but now it appears to be unknown to other devices.

How do I install the driver?

Should I use zadig?

all seems fine to me. I had the exactly same situation. But i was trusting the .img file a lot and always thought i was doing something wrong. Then i tried another image file / release and it worked.
I could definilty see it was connecting to hdmi but no boot. That usually occurs when there isnt a proper bootloader.

Can you please try one of this images to see if it will work ? worth to try maybe ?
https://github.com/manjaro-arm/radxa-zero-images/releases/tag/20220204

i did wipe the Emmc and then flashed this image to micro sd card. it booted right away. (no experience booting directly from Emmc because i see that there is bunch of problems happening.)
I spent 5 days trying to load official android release .img file and no luck.

FYI: just tried flashing and booting directly from Emmc and it worked with Manjaro

Thank you.
But I need a Debian Linux.

Yesterday, I eventually succeeded in booting with an sd card, but there was a problem that the 2gb model that supports 5ghz had Wi-Fi and then failed.

I’m trying to flash the os image on the sd card again.

got it. Yes i just wanted to be sure if its the image file you are booting is the problem or one of your steps. thats the reason i suggested manjaro.

Only Debian Linux i managed to install was

radxa-zero-debian-buster-xfce4-arm64-20211121-0245-mbr

all worked fine but it booted only from MicroSD

Where can I download this file?
There is only 20220210 version on radxa’s official website.

I downloaded from here:

https://github.com/radxa/debos-radxa/releases - (click on assets for each date)

But, I was checking 0245 version, looks like it doesn’t exist there…but yo u can give a try closer date. Im doing the same thing right now…will let u know if it works or not.