Struggling with installation of debian file and bootloader.
How to partion the sd-card ?
any hel appreciated.
uli
Problem flashing maskrom
The Debian image is a full SD card (or eMMC/NVMe) image, including GPT partition table, kernel, DTBs and rootfs, and even a full copy of the bootloader stack that would be in your SPI flash.
Normally, uboot would be in the SPI, but if uboot (and the rest of the bootloader stack) is present on an SD or eMMC device, it will take precedence over the version in SPI. This way, the Debian image will boot from an SD card or eMMC (not NVMe, though) even if the SPI flash is erased.
Incidentally, this is also how I test builds of the EDK2-based UEFI/SBBR bootloader I’m working on: I overwrite uboot with EDK2 in SPI, so SD card plugged at boot -> board boots to Debian via uboot on SD; SD unplugged at boot -> board boots EDK2 from SPI.
Did it but rock5 shows first green then blue light without blinking.
any advise?
regards uli
If blue led is on, it means the u-boot in SPI is booting.
Boot then stays always in SPi mode.Blue LED on.
Tried rock-5b-debian-bullseye-xfce4-arm64-20221031-1558-gpt.img.xz and newer
rock-5b-debian-bullseye-xfce4-arm64-20221108-0740-gpt.img.xz
with different SD cards.
Not booting from Sd-card at all.
Any hint ?
regards
Uli
Press and hold the maskrom key, then erase the SPI flash with PC.
Check:
https://wiki.radxa.com/Rock5/install/spi#Addition:_Erase_the_SPI_Nor_Flash
Addendum: avoid RKDevTool v2.96 for flashing SPI NOR images on Windows 11. Erasing works fine, but trying to write an image crashes RKDevTool.
It seems to mee thatRock 5 B is not proper working and Radxa has soldda half baken product.
It can’t be that I need to flasha brand new system to get it working.
Any better hint from Radxa would be helpfull.
regars
Uli
Problem solved.
Flashing rock-5b-debian-bullseye-xfce4-arm64-20220620-0240-gpt.img.xz problem
Regards
Uli
Having problem to flash maskrom.
With my linux system I can go into maskrom modus and lsusb shows the device.
but the output sudo to ls /dev/mtdblk* is
ls: cannot access ‘/dev/mtdblk*’: No such file or directory.
cannot access the dev with rkdevtool.
Howto go into maskrom mode booting from sd-card into rock b ?
any hint ?
I also have the same problem as Uli_Beling. Mtdblk device nodes have not been created.
Isn’t this been done by udev? Btw also installed mtd-utils.
Never used mknod to create a node myself. So if anybody can be of any help.
Solved my problem.
Installed rockchip image of 16.09.22 .
found the flashrom device and flashed within rock 5.
nvme booted without sd-card
hope that helps
Which rockchip image do you mean? I haven’t tried it myself, but maybe the Debian or Ubuntu image Radxa is offering one can also see the flashrom device? (are there any users that have tried this already?)
And i assume just following the tutorial - https://wiki.radxa.com/Rock5/install/spi
UPDATE: My problem was solved: [SOLVED] Unable to get in to Maskrom mode