Chandler Klüser Posted March 24, 2023 Posted March 24, 2023 On 3/21/2023 at 2:29 AM, balbes150 said: new u-boot with support for launching from USB I could only boot from USB with my SD card connected to ROCK5B, even though I was not able to `armbian-install` to NVMe. But... I `dd` the 20230320-edge image and I could use it without problems using this bootloader, including booting directly from NVMe. Its kernel is indeed 6.2.0: I have connected my MT7921 wifi PCI-e adapter to test the drivers, look at this part of my `lspci -k` output: 0002:21:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter Subsystem: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter Kernel driver in use: mt7921e Kernel modules: mt7921e BUT, look at dmesg: $ dmesg | grep mt7921e [ 10.557507] mt7921e 0002:21:00.0: enabling device (0000 -> 0002) [ 10.557938] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_RAM_CODE_MT7961_1.bin failed with error -2 [ 10.575264] mt7921e 0002:21:00.0: ASIC revision: 79610010 [ 10.659920] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 10.748937] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 10.843534] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 10.933420] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 11.013970] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 11.103412] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 11.193484] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 11.280129] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 11.370280] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 11.459981] mt7921e 0002:21:00.0: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2 [ 11.548061] mt7921e 0002:21:00.0: hardware init failed I know it deserves an exclusive topic for that, I mentioned that only for information. The developers job to make a better kernel for this board is doing great! 0 Quote
balbes150 Posted March 24, 2023 Author Posted March 24, 2023 7 часов назад, Chandler Klüser сказал: I could only boot from USB with my SD card connected to ROCK5B, even though I was not able to `armbian-install` to NVMe. write in detail what steps you did and why the installation failed. which power supply do you use ? 7 часов назад, Chandler Klüser сказал: But... I `dd` the 20230320-edge image and I could use it without problems using this bootloader, including booting directly from NVMe. There is no USB startup support in this bootloader and there are hidden bugs, if there is a problem with the system on NVMe, you will not be able to start the system from the SD card for repair (you will have to physically disconnect NVMe to start the system from the SD card). 7 часов назад, Chandler Klüser сказал: BUT, look at dmesg: The log specifically states that there is a problem with the firmware file (most likely it is simply not in the specified location). Try installing the full firmware package via armbian-config or apt\synaptic or copy it manually 1 Quote
pipi Posted March 25, 2023 Posted March 25, 2023 Hello. I have tried to boot from both sd and nvme with the latest version for rock5. The first problem I had is that it doesn't recognize the screen resolution. I am writing from sd card with original armbian image. This version recognizes the size of the screen without problems, but the version of Balbes I get only part of the screen. I see everything magnified. Excuse my technological language, it lacks words to determine things correctly. But you know what I'm talking about. Even so, with the huge screen, I managed to log in with the minimal image of armbian balbes. From there, I managed to update spi to the latest version with armbian-config and run armbian-install to install to nvme. And here it gets more complicated, because from sd I can log in, but from nvme (it boots without sd), I don't get to the login screen. The last screen I get is one where it tells me that the UUID does not exist. And that's where it all ends. 0 Quote
balbes150 Posted March 26, 2023 Author Posted March 26, 2023 9 часов назад, aguapi сказал: I see everything magnified Which monitor, how is it connected? Which image ? 0 Quote
pipi Posted March 26, 2023 Posted March 26, 2023 (edited) hello. Thanks for the interest. It's an old Sony monitor, which doesn't even have an hdmi input. So there is an HDMI/VGA adapter between the hdmi output of the board and the monitor. And the image is this: https://users.armbian.com/balbes150/rock5b/Armbian_23.02.0-trunk_Rock-5b_jammy_legacy_5.10.110_gnome_desktop.img.xz Edited March 26, 2023 by aguapi 0 Quote
balbes150 Posted March 27, 2023 Author Posted March 27, 2023 16 часов назад, aguapi сказал: HDMI/VGA adapter the driver does not receive a response and sets an arbitrary resolution. add a fixed value of the output setting to the extlinux.conf command line (search the forum for how to do this). 1 Quote
gounthar Posted March 30, 2023 Posted March 30, 2023 Here is the result of my test: http://ix.io/4sgx . 1 Quote
balbes150 Posted March 31, 2023 Author Posted March 31, 2023 10 часов назад, gounthar сказал: Here is the result of my test: http://ix.io/4sgx . Judging by the result, you have a high temperature during tests. Don 't you have a cooling system ? 0 Quote
pipi Posted April 1, 2023 Posted April 1, 2023 https://imguh.com/image/RYtZX Any idea what might be happening? got this message after boot with sd with ukyima rock5 image on sd, spi flash, transfer image to nvme disk, boot without sd with nvme and get stuck 0 Quote
balbes150 Posted April 1, 2023 Author Posted April 1, 2023 5 часов назад, aguapi сказал: with ukyima rock5 image What is this image and where did you get it from ? 0 Quote
balbes150 Posted April 1, 2023 Author Posted April 1, 2023 Version 20230401-current (6.2) added support for analog audio (jack 3.5). 0 Quote
pipi Posted April 1, 2023 Posted April 1, 2023 From this: https://users.armbian.com/balbes150/rock5b/Armbian_23.02.0-trunk_Rock-5b_jammy_legacy_5.10.110_gnome_desktop.img.xz 0 Quote
pipi Posted April 1, 2023 Posted April 1, 2023 5 hours ago, balbes150 said: What is this image and where did you get it from ? From this: https://users.armbian.com/balbes150/rock5b/Armbian_23.02.0-trunk_Rock-5b_jammy_legacy_5.10.110_gnome_desktop.img.xz 0 Quote
balbes150 Posted April 1, 2023 Author Posted April 1, 2023 1 час назад, aguapi сказал: From this Provide a complete description of all the steps you performed, what was in MTD\SPI before the installation started, which power supply is used. 0 Quote
pipi Posted April 1, 2023 Posted April 1, 2023 (edited) 1 hour ago, balbes150 said: Provide a complete description of all the steps you performed, what was in MTD\SPI before the installation started, which power supply is used. the power pd from radxa, 30w. mtd/spi of the same image I'm trying to install from sd. I burn the same image to sd card with balena or rpi-imager, boot with that image on sd, with nvme inserted and format it with gparted to ext4. then i update the system and record spi from armbian install. theni burn the nvme disk with the same sd image, and shutdown. I remove the sd, I leave the nvme, and I get that screen that I show above Edited April 1, 2023 by aguapi 0 Quote
balbes150 Posted April 1, 2023 Author Posted April 1, 2023 18 минут назад, aguapi сказал: the power pd from radxa, 30w. In my images, support for PD power supplies has been removed, so nothing will work with this power supply. Also, you are using the wrong system startup order. If you have already recorded other u-boots in MTD\SPI (from the official Rada website, from the official Armbian versions), you must first completely clear MTD\SPI (for example, with the dd command). Only after that, you immediately connect NVMe to the device, connect the SD card with my image, start the system from the SD card performs the initial configuration of the system from the SD card, start gparted from the SD card and create a partition on NVMe, and you can immediately start installing the system on NVMe+MTD. The system will do all the necessary work by itself. It is important to confirm the installation of the bootloader on MTD. No manual manipulations are needed to write the image to NVMe, the armbian-config (armbian-install) script does everything, it correctly creates the system and configures its launch from NVMe. 0 Quote
pipi Posted April 1, 2023 Posted April 1, 2023 (edited) Hace 9 horas, balbes150 dijo: En mis imágenes, se eliminó el soporte para fuentes de alimentación PD, por lo que nada funcionó con esta fuente de alimentación. Además, está utilizando el orden de inicio del sistema incorrecto. Si ya ha grabado otros u-boots en MTD\SPI (del sitio web oficial de Rada, de las versiones oficiales de Armbian), primero debe borrar completamente MTD\SPI (por ejemplo, con el comando dd). Solo después de eso, conecte inmediatamente NVMe al dispositivo, conecte la tarjeta SD con mi imagen, inicie el sistema desde la tarjeta SD, realice la configuración inicial del sistema desde la tarjeta SD, inicie gparted desde la tarjeta SD y cree una partición en NVMe , e inmediatamente puede comenzar a instalar el sistema en NVMe+MTD. El sistema hará todo el trabajo necesario por sí mismo. Es importante confirmar la instalación del gestor de arranque en MTD.No se necesitan manipulaciones manuales para escribir la imagen en NVMe, el script armbian-config (armbian-install) hace todo, bueno, gracias. ¿Qué fuente de alimentación debo usar entonces? one of the Raspberry pi 3 works? what happens is that it has another type of tab, and I don't think it goes in rock5. I would need an adapter. what a mess Edited April 2, 2023 by aguapi 0 Quote
balbes150 Posted April 2, 2023 Author Posted April 2, 2023 12 часов назад, aguapi сказал: bueno, gracias. ¿Qué fuente de alimentación debo usar entonces? one of the Raspberry pi 3 works? what happens is that it has another type of tab, and I don't think it goes in rock5. I would need an adapter. what a mess Read this topic, there are answers to all your questions here. 0 Quote
linuxfriend Posted April 4, 2023 Posted April 4, 2023 Hello balbes150, where can I find your newest U-Boot-Image (with UEFI) and your Kernel 6.2 Image? I would like to test it on my test system. Thanks Andreas 0 Quote
balbes150 Posted April 4, 2023 Author Posted April 4, 2023 1 час назад, linuxfriend сказал: where can I find your newest U-Boot-Image (with UEFI) and your Kernel 6.2 Image? See the first message of the topic or page 4 0 Quote
balbes150 Posted April 4, 2023 Author Posted April 4, 2023 Ver 20230404-edge kernel 6.3 work SD\eMMC, USB , LAN (no HDMI) 0 Quote
linuxfriend Posted April 4, 2023 Posted April 4, 2023 Reason for asking for U-Boot-Image (with UEFI) is I want to try installing Fedora on Rock5. Andreas 0 Quote
balbes150 Posted April 4, 2023 Author Posted April 4, 2023 1 час назад, linuxfriend сказал: Reason for asking for U-Boot-Image (with UEFI) is I want to try installing Fedora on Rock5. To do this, it is better to use ready-made versions of Armbian images with EDK2-EFI (there are links in this topic). 0 Quote
linuxfriend Posted April 4, 2023 Posted April 4, 2023 You mean https://users.armbian.com/balbes150/edk2/rock5b/Armbian_23.02.0-trunk_Rock-5b_jammy_edge_6.2.0.img.xz from 2023-01-13 ? Or do you have a newer one? 0 Quote
balbes150 Posted April 5, 2023 Author Posted April 5, 2023 14 часов назад, linuxfriend сказал: Or do you have a newer one? the new version is not ready yet (in the process of testing). although they have the same bootloader, I recommend images with the 5.10 kernel, the edge version does not have an HDMI\LAN\USB output and needs a UART for initial startup and test 0 Quote
linuxfriend Posted April 5, 2023 Posted April 5, 2023 Okay, then I take https://users.armbian.com/balbes150/edk2/rock5b/Armbian_23.02.0-trunk_Rock-5b_jammy_legacy_5.10.110.img.xz for testing- Thanks Andreas 0 Quote
balbes150 Posted April 5, 2023 Author Posted April 5, 2023 1 час назад, linuxfriend сказал: Okay, then I take See all the latest and available versions here https://disk.yandex.ru/d/V5AxXNN2yJnOfg 0 Quote
moy804 Posted April 5, 2023 Posted April 5, 2023 http://ix.io/4sL9 $ dmesg | grep pvtm [ 10.636922] rockchip-pvtm fda40000.pvtm: pvtm@0 probed [ 10.636979] rockchip-pvtm fda50000.pvtm: pvtm@1 probed [ 10.637036] rockchip-pvtm fda60000.pvtm: pvtm@2 probed [ 10.637090] rockchip-pvtm fdaf0000.pvtm: pvtm@3 probed [ 10.637137] rockchip-pvtm fdb30000.pvtm: pvtm@4 probed [ 10.935727] cpu cpu0: pvtm=1479 [ 10.935891] cpu cpu0: pvtm-volt-sel=3 [ 10.944727] cpu cpu4: pvtm=1719 [ 10.950375] cpu cpu4: pvtm-volt-sel=5 [ 10.960574] cpu cpu6: pvtm=1728 [ 10.964935] cpu cpu6: pvtm-volt-sel=5 [ 11.044506] mali fb000000.gpu: pvtm=883 [ 11.044580] mali fb000000.gpu: pvtm-volt-sel=3 [ 11.135347] RKNPU fdab0000.npu: pvtm=879 [ 11.140988] RKNPU fdab0000.npu: pvtm-volt-sel=3 0 Quote
pipi Posted April 6, 2023 Posted April 6, 2023 (edited) hello. I tried to boot from nvme with this loader (Raspberry one), but that didn't work either. I keep getting the same error message on the boot process, regarding the uuid. I would like to know if I should keep trying or according to your opinion this charger is not the right one either. https://ibb.co/jRpbBdg Edited April 6, 2023 by aguapi 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.