Jump to content

Armbian + EFI\grub + NVMe


balbes150

Recommended Posts

Hello, there is there is Armbian_23.5.0-trunk.204_Rock-5b_lunar_edge_6.3.3 without UEFI already available. Could you please make a build with 6.3.3 kernel? It might be fixing HDMI.

Another question,

I suppose there is no UEFI version in armbian builder for rock5b yet , right?

 

UPDATE : found your fork at https://github.com/150balbes/build , trying to build it myself ...

Edited by hlacik
Link to comment
Share on other sites

16 часов назад, hlacik сказал:

there is there is Armbian_23.5.0-trunk.204_Rock-5b_lunar_edge_6.3.3

This is compiled from the official GIT, which has nothing to do with the images from this topic.

 

16 часов назад, hlacik сказал:

Could you please make a build with 6.3.3 kernel?

Versions with the 6.3 kernel have been around for a long time (example  https://disk.yandex.ru/d/ELX8vysQhS4vSw  including with EDK2  https://disk.yandex.ru/d/_TtzJba3LhrXTQ  ), but HDMI is not there.

 

 

Link to comment
Share on other sites

yes, i am using yours Armbian_23.02.3_Rock-5b_lunar_edge_6.3.0.img.xz mostly, had idea if 6.3.3 fixes HDMI, but .3 is bugfix release, thank you for your response.

i would like to ask you just one question -- how do you build armbian image with efi boot partition using your repo? is there some switch for it? 

what i do is

 

./compile.sh docker BUILD_MINIMAL=yes BOARD=rock-5b BRANCH=edge RELEASE=jammy COMPRESS_OUTPUTIMAGE=sha,gpg,7z 

 

but i end up with one rootfs partition

 

thanks in advance!

Link to comment
Share on other sites

58 минут назад, hlacik сказал:

how do you build armbian image with efi boot partition using your repo? is there some switch for it? 

Pre-uncomment the line in the board configuration EDK_UBOOT=

Link to comment
Share on other sites

13 часов назад, Vitalicus сказал:

it work from NVMe, this image?

 

 

39 минут назад, hlacik сказал:

what is currently blocking you from doing so?

 

The main branch build system is destroyed and cannot build these versions correctly.

Link to comment
Share on other sites

Quote

To install a system with EFI\grub on NVMe. Install a new bootloader in SPI. Start the system from the SD card and burn the system image with the EFI\grub DD utility to NVMe.

images with EFI\grub support are located in directories with the extension "EFI"

 1.Install a new bootloader Where to get a new bootloader? How to install? 
2.burn the system image with the EFI\grub DD utility to NVMe. What is the command to burn on NVMe?

Link to comment
Share on other sites

2 hours ago, Vitalicus said:

conseguir un nuevo gestor de arranque? ¿Cómo instalar? 
2. Grabe la imagen del sistema con la utilidad EFI\grub DD en NVMe. ¿Cuál es el comando para grabar en NVMe

 

burn image to sd and boot from sd;

run armbian-config;

copy image to nvme and burn spi;

reboot without sd.

All this is done from armbian -config

Link to comment
Share on other sites

3 часа назад, Vitalicus сказал:

 1.Install a new bootloader Where to get a new bootloader? How to install? 
2.burn the system image with the EFI\grub DD utility to NVMe. What is the command to burn on NVMe?

The quote you gave is outdated and not relevant. Installation on NVMe is performed from armbian-config. Start the system from the SD card, create a partition on NVMe (you do not need to format it), run armbian-config and select the option to install on NVMe+MTD(SPI) in the menu, answer the wizard's questions. The system will automatically do all the work, you don't need to copy anything with your hands.

 

Important. these versions DO NOT work with PD power supplies.

Link to comment
Share on other sites

Ver 20230609-edge (use u-boot) kernel 6.4-rc5 (no HDMI)

20230609-EDK2-EFI-edge kernel 6.4-rc5 - HDMI work only EDK2 (grub), HDMI in system not work

 

 

root@192.168.1.15's password: 
 ____            _      ____  ____  
|  _ \ ___   ___| | __ | ___|| __ ) 
| |_) / _ \ / __| |/ / |___ \|  _ \ 
|  _ < (_) | (__|   <   ___) | |_) |
|_| \_\___/ \___|_|\_\ |____/|____/ 
                                    
Welcome to Armbian 23.04 Lunar with bleeding edge Linux 6.4.0-rc5-media

No end-user support: built from trunk

System load:   7%           	Up time:       4 min	
Memory usage:  1% of 15.21G 	IP:	       192.168.1.15
Usage of /:    26% of 7.0G   	
RX today:      5.4 KiB  	

[ 29 security updates available, 34 updates total: apt upgrade ]
Last check: 2023-06-09 06:57

Last login: Fri Jun  9 11:08:36 2023
root@rock-5b:~# neofetch 
                                 root@rock-5b 
                                 ------------ 
      █ █ █ █ █ █ █ █ █ █ █      OS: Armbian (23.04) aarch64 
     ███████████████████████     Host: ROCK 5 Model B 0 
   ▄▄██                   ██▄▄   Kernel: 6.4.0-rc5-media 
   ▄▄██    ███████████    ██▄▄   Uptime: 5 mins 
   ▄▄██   ██         ██   ██▄▄   Packages: 559 (dpkg) 
   ▄▄██   ██         ██   ██▄▄   Shell: bash 5.2.15 
   ▄▄██   ██         ██   ██▄▄   Terminal: /dev/pts/0 
   ▄▄██   █████████████   ██▄▄   CPU: (8) 
   ▄▄██   ██         ██   ██▄▄   Memory: 222MiB / 15572MiB 
   ▄▄██   ██         ██   ██▄▄
   ▄▄██   ██         ██   ██▄▄                           
   ▄▄██                   ██▄▄                           
     ███████████████████████
      █ █ █ █ █ █ █ █ █ █ █

root@rock-5b:~# 

root@rock-5b:~# free -m
               total        used        free      shared  buff/cache   available
Mem:           15572         357       15113           9         251       15214
Swap:           7786           0        7786

root@rock-5b:~# lspci 
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0004:41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
root@rock-5b:~#

 

Link to comment
Share on other sites

Hello. I have a question regarding the following. I have uboot installed on spi from the legacy image from this thread. Before installing it, delete spi, then boot from sdcard with the legacy image, and run armbian-config.Then try to boot from sd card with ubuntu at the same time having armbian nvme disk in the slot. The problem is that it boots from nvme instead of the sd card. And I would like to be able to boot from sd even though I have nvme in the slot. What am I doing wrong?

Link to comment
Share on other sites

10.06.2023 в 04:01, pipi сказал:

I have a question regarding the following. I have uboot installed on spi from the legacy image from this thread. Before installing it, delete spi, then boot from sdcard with the legacy image, and run armbian-config.Then try to boot from sd card with ubuntu at the same time having armbian nvme disk in the slot. The problem is that it boots from nvme instead of the sd card. And I would like to be able to boot from sd even though I have nvme in the slot. What am I doing wrong?

You have not installed the correct u-boot from this theme in SPI\MTD.

Link to comment
Share on other sites

Hello, everything works very well in general, in Armbian_23.02.3_Rock-5b_sid_current_6.2.0_gnome_desktop.img But I find myself without sound at the moment. There is no sound card to configure, according to alsamixer. I can't get google chromium to run either. The app opens, but does not display on the screen.

Edited by pipi
Link to comment
Share on other sites

Ver 20230911-EDK2-EFI kernel legacy\current\edge 

 

On the edge version, HDMI does not work in the kernel itself, but HDMI is supported at the level of the selection menu in GRUB, this allows you to have several different versions of the kernel\system (for example, add a self-assembled EDGE kernel with its own configuration) and choose on the monitor screen which kernel\system to run not using the UART console.

Link to comment
Share on other sites

9 часов назад, archetech сказал:

Can you build and post a zip of ubu lunar with pancsf drm enabled so I can test the new mesa driver for it please.  Could use some temp senors too.  sensors-detect finds nothing.

As far as possible, I will see what can be done.

Link to comment
Share on other sites

You posted a giant download of old 6.2 kernel with new desktop stuff on top.  Why would you do that?   I asked for the 6.6rc1 with pancsf enabled in that kernel. No desktop just cli.

I'll build it myself.   If you did what I asked you wouldnt have to post builds that have no hdmi. 

 

Link to comment
Share on other sites

ver 20231011-edge kernel 6.5 

ver 20231011 mesa 23.3.0 for panthor 

 

https://disk.yandex.ru/d/O_aXF3kvKaXF7Q

 

glnark2-wayland

 

=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Mesa
    GL_RENDERER:   Mali-G610 (Panfrost)
    GL_VERSION:    3.1 Mesa 23.3.0-devel (git-b3cfa8adfd)
=======================================================
[build] use-vbo=false: FPS: 1722 FrameTime: 0.581 ms
[build] use-vbo=true: FPS: 4281 FrameTime: 0.234 ms
[texture] texture-filter=nearest: FPS: 4365 FrameTime: 0.229 ms
[texture] texture-filter=linear: FPS: 4352 FrameTime: 0.230 ms
[texture] texture-filter=mipmap: FPS: 4337 FrameTime: 0.231 ms
[shading] shading=gouraud: FPS: 3550 FrameTime: 0.282 ms
[shading] shading=blinn-phong-inf: FPS: 3355 FrameTime: 0.298 ms
[shading] shading=phong: FPS: 3064 FrameTime: 0.326 ms
[shading] shading=cel: FPS: 3056 FrameTime: 0.327 ms
[bump] bump-render=high-poly: FPS: 1771 FrameTime: 0.565 ms
[bump] bump-render=normals: FPS: 4465 FrameTime: 0.224 ms
[bump] bump-render=height: FPS: 4503 FrameTime: 0.222 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 3102 FrameTime: 0.322 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1404 FrameTime: 0.712 ms
[pulsar] light=false:quads=5:texture=false: FPS: 4155 FrameTime: 0.241 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 583 FrameTime: 1.715 ms
[desktop] effect=shadow:windows=4: FPS: 1968 FrameTime: 0.508 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 322 FrameTime: 3.106 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 316 FrameTime: 3.165 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 409 FrameTime: 2.445 ms
[ideas] speed=duration: FPS: 1351 FrameTime: 0.740 ms
[jellyfish] <default>: FPS: 2481 FrameTime: 0.403 ms
[terrain] <default>: FPS: 99 FrameTime: 10.101 ms
[shadow] <default>: FPS: 1845 FrameTime: 0.542 ms
[refract] <default>: FPS: 388 FrameTime: 2.577 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 4193 FrameTime: 0.238 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 3623 FrameTime: 0.276 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 4185 FrameTime: 0.239 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 4006 FrameTime: 0.250 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 3566 FrameTime: 0.280 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 3996 FrameTime: 0.250 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 4005 FrameTime: 0.250 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 3564 FrameTime: 0.281 ms
=======================================================
                                  glmark2 Score: 2799 
=======================================================

 

glmark2-es2-wayland

 

=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Mesa
    GL_RENDERER:   Mali-G610 (Panfrost)
    GL_VERSION:    OpenGL ES 3.1 Mesa 23.3.0-devel (git-b3cfa8adfd)
=======================================================
[build] use-vbo=false: FPS: 1714 FrameTime: 0.583 ms
[build] use-vbo=true: FPS: 4318 FrameTime: 0.232 ms
[texture] texture-filter=nearest: FPS: 4411 FrameTime: 0.227 ms
[texture] texture-filter=linear: FPS: 4422 FrameTime: 0.226 ms
[texture] texture-filter=mipmap: FPS: 4427 FrameTime: 0.226 ms
[shading] shading=gouraud: FPS: 3596 FrameTime: 0.278 ms
[shading] shading=blinn-phong-inf: FPS: 3424 FrameTime: 0.292 ms
[shading] shading=phong: FPS: 3086 FrameTime: 0.324 ms
[shading] shading=cel: FPS: 3097 FrameTime: 0.323 ms
[bump] bump-render=high-poly: FPS: 1765 FrameTime: 0.567 ms
[bump] bump-render=normals: FPS: 4512 FrameTime: 0.222 ms
[bump] bump-render=height: FPS: 4499 FrameTime: 0.222 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 4071 FrameTime: 0.246 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 2201 FrameTime: 0.454 ms
[pulsar] light=false:quads=5:texture=false: FPS: 4212 FrameTime: 0.237 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 626 FrameTime: 1.597 ms
[desktop] effect=shadow:windows=4: FPS: 1974 FrameTime: 0.507 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 334 FrameTime: 2.994 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 312 FrameTime: 3.205 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 390 FrameTime: 2.564 ms
[ideas] speed=duration: FPS: 1260 FrameTime: 0.794 ms
[jellyfish] <default>: FPS: 2498 FrameTime: 0.400 ms
[terrain] <default>: FPS: 100 FrameTime: 10.000 ms
[shadow] <default>: FPS: 1838 FrameTime: 0.544 ms
[refract] <default>: FPS: 386 FrameTime: 2.591 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 4161 FrameTime: 0.240 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 3794 FrameTime: 0.264 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 4173 FrameTime: 0.240 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 3982 FrameTime: 0.251 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 3538 FrameTime: 0.283 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 3923 FrameTime: 0.255 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 3982 FrameTime: 0.251 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 3565 FrameTime: 0.281 ms
=======================================================
                                  glmark2 Score: 2866 
=======================================================

 

Link to comment
Share on other sites

Ubu-gnome image wont boot   deb sid boots but network is broke  gave it static ip but no dns at all.    Gpu does work but it's lame LLVM  software with no accel.

Downloading 7.5 Gb zip is too big.  Your ubu is always broke so just offer deb cli and gnome.   I am glad to see panthor in lsmod.  How is it ya got 6.5 with kernel drivers for it.

Link to comment
Share on other sites

29 минут назад, archetech сказал:

Ubu-gnome image wont boot

The glmark2 results above are obtained from running gnome, the system starts and works without problems, including HDMI (left main port), LAN (DHCP), USB are working. If it doesn't start for you, show the full UART log, without it, it's empty chatter. 

 

34 минуты назад, archetech сказал:

Gpu does work but it's lame LLVM

follow the instructions for installing the mesa package with panthor exactly.

 

36 минут назад, archetech сказал:

Downloading 7.5 Gb zip is too big.

If you don't like it, don't use it

 

36 минут назад, archetech сказал:

Your ubu is always broke

It's a lie, everything works fine for me and a number of other users. Follow the instructions and descriptions from this topic exactly (high-quality media SD cards or USB flash drives, power supplies without PD shit, the correct uboot in SPI, the order of launching and installing packages, etc.).

 

40 минут назад, archetech сказал:

just offer deb cli and gnome.

If you want to get such options, transfer 1000 euros to the Armbian account or contact the developers of Collabora and pay them for this work (at the same time ask the employees of Colabora how much effort, time and money they spend on developing HDMI and GPU support for rk3588).

 

 

Link to comment
Share on other sites

After installing mesa with panthor support, I installed the usual apt command from KODI network repositories. Checked his work. Surprisingly, the interface works well and allows you to play any video in full screen without any problems. The information in KODI shows that the Panfrost G610 driver is being used. Video decoding is done by SW (there is no HW support for FFMPEG yet), but even in this mode everything works smoothly. :) 

 

As a sound, I use the simplest USB sound card for $1.5

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines