Jump to content

Firefly Station M2\P2 + EDK2-UEFI\Grub


balbes150

Recommended Posts

Test version of the Armbian+EDK2 system (UEFI\grub) is available.
The system startup control is performed as on a regular PC - through the menu on the monitor screen, therefore, to fully use all the features of selective startup, you need to have a connected monitor and keyboard  

To use this option.

Download the EDK2 image.

 

https://users.armbian.com/balbes150/edk2/

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

Unpack and burn to SD card.
Download the Armbian image (kernel 6.1.0-rc7),

 

For Station M2
https://disk.yandex.ru/d/C4Ql9v0BvhKPjQ

 

For Station P2

https://disk.yandex.ru/d/5XuGz9WgF7FGCg


unpack and burn it to a USB drive (8-16GB flash drives are recommended, I haven't checked other options).
Connect the SD card and USB drive. Turn on the power.
If the system does not start immediately, go to settings and select the device to start.

On the EDK2 boot screen, select "Maintaining Manager boot" in the menu item and configure the device used for startup in it (change "none" to "UEFI ...."). Select Reset. If you did everything correctly, after restarting EDK2, you will receive a GRUB menu with a choice of system\kernel.
If you do not select anything, the default system will be started in 5 seconds, and in 10-20 seconds (depending on the type of USB flash drive) there will be a standard Armbian customizer for the first launch.
If desired, you can place the entire system on an SD card, but additional steps will be required at startup.
At startup, the kernel switches the UART console to the correct value for RK (1500000) and you can monitor the kernel startup process and control the system through the UART console.
That is, the parameters 115200 can only be useful for viewing the primary output from EDK2 itself, but this is only necessary for developers, for ordinary users, kernel output and system management are more useful, so I recommend using the standard value for Rockchip of 150000.

https://github.com/150balbes/edk2_uefi

Link to comment
Share on other sites

New version 20221204-EDK-EFI for Station M2\P2.

With support for direct launch of the entire system from an SD card. i.e., a separate USB media is no longer required to launch. Burn the system to an SD card, connect it to the device, turn on the power and immediately get the launch of a full-fledged system completely from the SD card. The old option of starting from USB media is also preserved. That is, you can write another system to USB (in which EFI support is enabled) and when connected together with the SD card, the system will start from USB.

Link to comment
Share on other sites

Added images (kernel 6.2-rc5) from Gnome3. Surprisingly for me (I don't use gnome and built it at the user's request) the interface works well. Glmark2 shows  342 on Station P2. When running glmark2 on XFCE, I get 115-120.

Video plays smoothly up to 1440p

 

user@station-p2:~/Desktop$ glmark2 
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali-G52 r1 (Panfrost)
    GL_VERSION:    3.1 Mesa 22.0.5
=======================================================
[build] use-vbo=false: FPS: 337 FrameTime: 2.967 ms
[build] use-vbo=true: FPS: 349 FrameTime: 2.865 ms
[texture] texture-filter=nearest: FPS: 583 FrameTime: 1.715 ms
[texture] texture-filter=linear: FPS: 589 FrameTime: 1.698 ms
[texture] texture-filter=mipmap: FPS: 595 FrameTime: 1.681 ms
[shading] shading=gouraud: FPS: 251 FrameTime: 3.984 ms
[shading] shading=blinn-phong-inf: FPS: 252 FrameTime: 3.968 ms
[shading] shading=phong: FPS: 244 FrameTime: 4.098 ms
[shading] shading=cel: FPS: 249 FrameTime: 4.016 ms
[bump] bump-render=high-poly: FPS: 101 FrameTime: 9.901 ms
[bump] bump-render=normals: FPS: 662 FrameTime: 1.511 ms
[bump] bump-render=height: FPS: 637 FrameTime: 1.570 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 457 FrameTime: 2.188 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 193 FrameTime: 5.181 ms
[pulsar] light=false:quads=5:texture=false: FPS: 567 FrameTime: 1.764 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 182 FrameTime: 5.495 ms
[desktop] effect=shadow:windows=4: FPS: 526 FrameTime: 1.901 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 85 FrameTime: 11.765 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 84 FrameTime: 11.905 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 72 FrameTime: 13.889 ms
[ideas] speed=duration: FPS: 238 FrameTime: 4.202 ms
[jellyfish] <default>: FPS: 286 FrameTime: 3.497 ms
[terrain] <default>: FPS: 25 FrameTime: 40.000 ms
[shadow] <default>: FPS: 166 FrameTime: 6.024 ms
[refract] <default>: FPS: 26 FrameTime: 38.462 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 445 FrameTime: 2.247 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 442 FrameTime: 2.262 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 445 FrameTime: 2.247 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 446 FrameTime: 2.242 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 436 FrameTime: 2.294 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 444 FrameTime: 2.252 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 443 FrameTime: 2.257 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 438 FrameTime: 2.283 ms
=======================================================
                                  glmark2 Score: 342 
=======================================================

 

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