Endian Posted May 11, 2023 Posted May 11, 2023 Anyone know the plans to get the HDMI outputs active on Rock 5B and the 6.x kernels? I thought it was working on one 6.2rc2 build earlier but lately I have not been able to get any visuals out from Armbian builds using edge kernels. 0 Quote
Endian Posted May 14, 2023 Author Posted May 14, 2023 (edited) Id be glad to try it. I heard that i should remove the image from the spi flash but do not know How to do that? if i flash it with the efi image it falls back to booking from Emmc. Edited May 14, 2023 by Endian 0 Quote
balbes150 Posted May 15, 2023 Posted May 15, 2023 14.05.2023 в 09:42, Endian сказал: if i flash it with the efi image it falls back to booking from Emmc. The all EFI versions are NOT intended for installation on eMMC\NVMe, this is written in the specified topic. 0 Quote
Endian Posted May 16, 2023 Author Posted May 16, 2023 17 hours ago, balbes150 said: NOT intended for installation on eMMC\NVMe I had flashed it to an sd card, but have a working armbian installation on the installed Emmc card. Do i need to remove the Emmc to boot it? 0 Quote
balbes150 Posted May 16, 2023 Posted May 16, 2023 6 часов назад, Endian сказал: but have a working armbian installation on the installed Emmc card You did not specify which system is installed on eMMC (which image exactly, which u-boot), did not specify what is written in MTD\SPI. This all dramatically changes the behavior of the device when loading. 0 Quote
Endian Posted May 18, 2023 Author Posted May 18, 2023 I thought the boot sequence would take microSD before eMMC and ignore eMMC if the microSD boot sequence is uninterrupted. 0 Quote
Werner Posted May 18, 2023 Posted May 18, 2023 Not necessarily. It depends on what is on the eMMC. The order you described would work only if there is a boot loader on eMMC that checks for microSD presence and points there if found. If however the boot loader on eMMC is dumb and doesn't care about other bootable devices it just runs through, which can be a big issue if the eMMC module cannot disabled or removed from the board. I faced a similar issue long time ago when I had a pinebook pro in my collection. The fixed boot order of rk3399 is SPI, eMMC, SD. RK3588 might be similar. This default behavior cannot be altered, only worked around by telling the boot loader, that is going to be flashed to SPI or eMMC, to look for microSD first. 1 Quote
Endian Posted May 19, 2023 Author Posted May 19, 2023 On 5/18/2023 at 8:26 AM, Werner said: The fixed boot order of rk3399 is SPI, eMMC, SD. RK3588 might be similar Hmm... So this is connected to the SOC not the board? And not documented by Rockchip? 0 Quote
Werner Posted May 19, 2023 Posted May 19, 2023 It is probably documented somewhere but wasn't in the mood to do extra research for it. Feel free to DIY. 0 Quote
Endian Posted May 19, 2023 Author Posted May 19, 2023 I will remove the eMMC and boot it clean. What should I flash into the SPI to boot the EFI builds? 0 Quote
balbes150 Posted May 19, 2023 Posted May 19, 2023 58 минут назад, Endian сказал: What should I flash into the SPI to boot the EFI builds? Nothing. Everything you need is in the image. Just write to the SD card and run. Important - if a bootloader is installed in SPI\MTD, it must maintain the correct startup order, or it has been removed. For reference, RK has three levels of startup order control 1. Hardware, you cannot change it (SPI\NOR\MTD, SD, eMMC). 2. The primary boot loader level (can be set when building u-boot). 3. The level of the "secondary" loader in the u-boot itself (can be set when building u-boot). 1 Quote
Werner Posted May 19, 2023 Posted May 19, 2023 12 minutes ago, balbes150 said: (SPI\NOR\MTD, SD, eMMC). Are you sure about that? IIRC it was SPI, eMMC and microSD last. See page 30 at https://www.t-firefly.com/download/Firefly-RK3399/docs/TRM/Rockchip RK3399TRM V1.3 Part1.pdf I know this is for RK3399 but I assume Rockchip did not reconsider their boot order in the mean time? 1 Quote
Endian Posted May 19, 2023 Author Posted May 19, 2023 Now it's booting (although it took some time, at least the first boot)! It says efi: EFI: v2.70 by EDK II in dmesg, so that seems promising. 0 Quote
balbes150 Posted May 19, 2023 Posted May 19, 2023 1 час назад, Werner сказал: Are you sure about that? Quote from wiki Boot Order The RK3566 boot ROM will search for a valid ID BLOCK in the following order on the support boot media: SPI NOR flash SPI NAND flash SD-Card eMMC https://wiki.pine64.org/wiki/Quartz64_Development 0 Quote
Werner Posted May 19, 2023 Posted May 19, 2023 So they indeed did reconsider at this point. Nice. 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.