Jump to content

Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G


Hqnicolas

Recommended Posts

Armbian & Khadas are rewarding contributors

Great work!

I could do Step 1 and 2 and I could create a new user and it seems everything is working well. Now after rebooting the system nothing happens. Screen is black, no boot messages. Well, I'm not an expert and therefore I need some help. For me it looks like that a bootloader is missing or something else.

 

Link to comment
Share on other sites

8 hours ago, BrunoMerz said:

Now after rebooting the system nothing happens.


Dear @BrunoMerz 
it happends because you don't follow the first boot fix, "step 3"
Now you need to setup all again.
do the Step 1 and 2 again...

 

8 hours ago, BrunoMerz said:

I could do Step 1 and 2 and I could create a new user and it seems everything is working well.


 

Step 3: Do the First boot fix:

 

When you boot, set the admin password, and after that, go to terminal and do the Device FIX:    

################################ 8GB devices Fix ##############################


8GB device First Boot Comand:
 

fdisk /dev/mmcblk1

 

t
4
1
w

 

# this GPT file was generated from a 4gb device.
# in 8gb device you will need to trick the gpt after instalation
# First boot comand:


What you will see on prompt:

fdisk
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.

Command (m for help): t
Partition number (1-4, default 4): 4
Partition type or alias (type L to list all): 1

Changed type of partition 'Linux filesystem' to 'EFI System'.

Command (m for help): w
The partition table has been altered.
Syncing disks.



Now you can safe reboot and use your armbian device.

Edited by hotnikq
Link to comment
Share on other sites

I bought H96 MAX V56 RK3566 4G and installed Linux with RKDevTool_Release_v2.86 as was described. Everything works like a charm :) Very cheap small Linux PC I use it for the transmission and Samba :) One small thing I need is Volumio. Is it possible to somehow install this https://community.volumio.com/t/volumio3-on-radxa-rock-3a-open-beta-test/61516 image with the same tool? I did not succeed with that.

Link to comment
Share on other sites

On 12/18/2023 at 10:50 AM, Andriy said:

I need is Volumio


@Andriy is talking aboud a Volumio OS distro, 
Transform your Raspberry Pi, or PC with Volumio's innovative software.

First things first, Here is Armbian Distro, 
We talk about Debian and Arm things,
So, for better support i think you can take the Volumio Forum as Base to Build your image,
https://community.volumio.com/t/sound-quality-running-volumio-3-on-different-hw-devices/61059



By the Armbian Side, Volumio is debian based,
You can bring the Root image from Volumio distro and apply the BootLoader from @hzdm v0.8 method.

Follow this Guide
it's based on original guide




 

Edited by hotnikq
Link to comment
Share on other sites

Hello,

 

I sucesfullly flashed image "Ubuntu_20.04.5_K4.19.219_RK3566_H96_MAX_8GB_No_Video_OUT_WIFI_OK_PARTITIONING" to my RK3566" device (model = H96 Max v56).

 

I did an apgrade to Ubuntu 22.04. Only the kernel update won't work:

 

 

root@localhost:~#  apt --fix-broken install
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@localhost:~#  apt --fix-broken install
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@localhost:~# dpkg --configure -a
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for flash-kernel (3.104ubuntu17) ...
Unsupported platform 'Rockchip RK3566 EVB3 DDR3 V10 Board'.
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.0-39-generic
Warning: root device  does not exist
Unsupported platform 'Rockchip RK3566 EVB3 DDR3 V10 Board'.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 flash-kernel
 initramfs-tools
root@localhost:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic
  linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic
  linux-modules-extra-6.2.0-35-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.104ubuntu17) ...
flash-kernel: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.0-39-generic
Warning: root device  does not exist

Rockchip RK3566 EVB3 DDR3 V10 BoardUnsupported platform 'Rockchip RK3566 EVB3 DDR3 V10 Board'.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
root@localhost:~# apt clean
root@localhost:~# apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
root@localhost:~# ^C
root@localhost:~# apt-mark hold /initrd.img-6.2.0-39-generic
E: Unable to locate package

 

 I keep getting the error " device root not found".

 

Can someone help me?

Link to comment
Share on other sites

I did manage to upgrade the kernel to version 6 by copying the boot directory from this post:

:

 

 

After that I upgraded to version 6.2.0 using "apt upgrade" twice:

 

The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Last login: Sun Dec 31 14:15:25 2023 from 10.10.10.10
root@localhost:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic
  linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic
  linux-modules-extra-6.2.0-35-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for flash-kernel (3.104ubuntu17) ...
dpkg-query: no packages found matching
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-media
W: missing /lib/modules/6.2.16-media
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_MdVH3i/lib/modules/6.2.16-media/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)
Warning: root device  does not exist
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_MdVH3i/lib/modules/6.2.16-media: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_MdVH3i/lib/modules/6.2.16-media: No such file or directory
dpkg-query: no packages found matching
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 flash-kernel
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic
  linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic
  linux-modules-extra-6.2.0-35-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.104ubuntu17) ...
flash-kernel: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-media
W: missing /lib/modules/6.2.16-media
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_WTqKvI/lib/modules/6.2.16-media/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)
Warning: root device  does not exist
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_WTqKvI/lib/modules/6.2.16-media: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_WTqKvI/lib/modules/6.2.16-media: No such file or directory
dpkg-query: no packages found matching
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:~# dpkg --configure -a
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for flash-kernel (3.104ubuntu17) ...
dpkg-query: no packages found matching
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-media
W: missing /lib/modules/6.2.16-media
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_YFa55a/lib/modules/6.2.16-media/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)
Warning: root device  does not exist
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_YFa55a/lib/modules/6.2.16-media: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_YFa55a/lib/modules/6.2.16-media: No such file or directory
dpkg-query: no packages found matching
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 flash-kernel
 initramfs-tools
root@localhost:~# dpkg --configure -a
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.104ubuntu17) ...
flash-kernel: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-media
W: missing /lib/modules/6.2.16-media
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_jeuqZz/lib/modules/6.2.16-media/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)
Warning: root device  does not exist
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_jeuqZz/lib/modules/6.2.16-media: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_jeuqZz/lib/modules/6.2.16-media: No such file or directory
dpkg-query: no packages found matching
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
root@localhost:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic
  linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic
  linux-modules-extra-6.2.0-35-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for flash-kernel (3.104ubuntu17) ...
dpkg-query: no packages found matching
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-media
W: missing /lib/modules/6.2.16-media
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_q0BhM7/lib/modules/6.2.16-media/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)
Warning: root device  does not exist
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_q0BhM7/lib/modules/6.2.16-media: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_q0BhM7/lib/modules/6.2.16-media: No such file or directory
dpkg-query: no packages found matching
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 flash-kernel
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:~# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic
  linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic
  linux-modules-extra-6.2.0-35-generic
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 1413 MB disk space will be freed.
Do you want to continue? [Y/n] y]
(Reading database ... 403395 files and directories currently installed.)
Removing linux-headers-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Removing linux-headers-6.2.0-35-generic (6.2.0-35.35~22.04.1) ...
Removing linux-hwe-6.2-headers-6.2.0-33 (6.2.0-33.33~22.04.1) ...
Removing linux-hwe-6.2-headers-6.2.0-35 (6.2.0-35.35~22.04.1) ...
Removing linux-image-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.2.16-media
I: /boot/initrd.img.old is now a symlink to initrd.img-6.2.16-media
I: /boot/vmlinuz is now a symlink to vmlinuz-6.2.16-media
I: /boot/initrd.img is now a symlink to initrd.img-6.2.16-media
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.2.0-33-generic
/etc/kernel/postrm.d/zz-flash-kernel:
flash-kernel: Kernel 6.2.0-33-generic has been removed.
flash-kernel: A higher version (6.2.16-media) is still installed, no reflashing required.
Removing linux-image-6.2.0-35-generic (6.2.0-35.35~22.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.2.0-35-generic
/etc/kernel/postrm.d/zz-flash-kernel:
flash-kernel: Kernel 6.2.0-35-generic has been removed.
flash-kernel: A higher version (6.2.16-media) is still installed, no reflashing required.
Removing linux-modules-extra-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Removing linux-modules-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Removing linux-modules-extra-6.2.0-35-generic (6.2.0-35.35~22.04.1) ...
Removing linux-modules-6.2.0-35-generic (6.2.0-35.35~22.04.1) ...
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.104ubuntu17) ...
flash-kernel: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-media
W: missing /lib/modules/6.2.16-media
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_XylMnf/lib/modules/6.2.16-media/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)
Warning: root device  does not exist
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_XylMnf/lib/modules/6.2.16-media: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_XylMnf/lib/modules/6.2.16-media: No such file or directory
dpkg-query: no packages found matching
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:~# apt install ^C
root@localhost:~# ^C
root@localhost:~# apt install initramfs-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
initramfs-tools is already the newest version (0.140ubuntu13.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
root@localhost:~# apt atoremove
E: Invalid operation atoremove
root@localhost:~# apt clean
root@localhost:~# apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
root@localhost:~#

 

So the issue is fixed :)

 

Link to comment
Share on other sites

On 12/31/2023 at 2:35 PM, wootje said:

Only the kernel update won't work:


the image was build from trunk, by default it doesn´t update.
 

 

On 12/31/2023 at 4:01 PM, wootje said:

So the issue is fixed :)


You can use it to upgrade images build from trunk

Link to comment
Share on other sites

On 1/12/2024 at 3:14 AM, Antonio Cahuana said:

I know that for Cinnamon it wouldn't be ideal because it lacks hardware acceleration

You can try to apply things from Manjaro Arc Linux.
the build something with hardware acceleration for RK3566 and I test it on Rock3A device.

To build graphic responsive distro:
Follow the path:
Rk3566 ----> ARK -----> Manjaro ----> Wayland ------> Chromium
 

Link to comment
Share on other sites

On 1/12/2024 at 10:05 AM, Martynas Skapas said:

Where do i need to begin with?


I don't put bluetooth drivers there :ph34r:
you need to figure out and bring this to our forum
here your patch to follow:

https://github.com/gouwa/hwpacks/blob/master/wifibt/bluetooth-ap6335.conf
https://datasheetspdf.com/datasheet/AP6335.html
https://download.kamami.pl/p562297-AP6335 datasheet_V1.3_02102014.pdf

@Martynas SkapasBring that to us!

Link to comment
Share on other sites

@hotnikq

 

Quote

Rk3566 ----> ARK -----> Manjaro ----> Wayland ------> Chromium

 

Can you explain this?

Is it mainline?

Is the repository package or compiled or something else?

I cannot get video acceleration in youtube. I have tried with gstreamer web browsers, ffmpeg with v4l2-request and firefox, but nothing. 

 

It works very well in video player and web video acceleration it's just the last item to get a decent desktop computer.

 

Link to comment
Share on other sites

On 1/16/2024 at 12:38 PM, maka said:

It works very well in video player and web video acceleration it's just the last item to get a decent desktop computer.


ok, share with us how did you archive this acceleration.

How I kwnew it

 

https://forum.armbian.com/topic/22476-video-playback/?do=findComment&comment=154884

 

 

https://forum.armbian.com/topic/22476-video-playback/?do=findComment&comment=154951

 

https://forum.armbian.com/topic/22476-video-playback/?do=findComment&comment=154967

 

 

@maka bring it to your chromium!    

https://forum.armbian.com/topic/22476-video-playback/?do=findComment&comment=155372

 

Edited by hotnikq
Link to comment
Share on other sites

I have got video player acceleration with flathub clapper for 1080p with 20% CPU. Enough for me. Based on hantro driver so no 4k. There's also a @jock tutorial for debían to enable ffmpeg v4l2-request that is equivalent.

 

I have understood that must enable webrtc-pipewire in chromium, isnt It?

Edited by maka
Link to comment
Share on other sites

On 1/17/2024 at 5:22 PM, maka said:

I have understood that must enable webrtc-pipewire in chromium, isnt It?


did you archive it?

 

Quote

 Enabled: WebRTC PipeWire support

When enabled the WebRTC will use the PipeWire multimedia server for capturing the desktop content on the Wayland display server. – Linux

#enable-webrtc-pipewire-capturer

 

 

On 1/17/2024 at 6:09 PM, maka said:

No way. I get 100% with 1080p.

 

if your wayland dispay acceleration works,
you will need a patched chromium with WebRTC enabled
 

Link to comment
Share on other sites

On 2/6/2024 at 7:04 AM, paradigman said:

Wayland pre-installed, with working acceleration?


This is the 4gb topic!
did you have a ubuntu 22.04 x86-64 computer?

You can build it by your self:
1. Copy the h96-max-v56 directory to build/packages/blobs/  directory
2. Copy the h96-max-v56.conf file to the build/config/boards/ directory
3. Run the image build 


https://docs.armbian.com/Developer-Guide_Build-Preparation/

https://drive.google.com/file/d/1oYK4EhbfcThfBs3F1Ri582jf6PYYp5x2/view?usp=drive_link
https://drive.google.com/file/d/1G5KBVq1oR-QrIKG3FoHmUTwh8OSAG018/view
https://forum.armbian.com/topic/28895-efforts-to-develop-firmware-for-h96-max-v56-rk3566-8g64g/?do=findComment&comment=175357

 

You can also try the Gnome Wayland

Armbian 23.11.0 Desktop Gnome V1.0 The Latest unofficial

Debian 12 BookWorm Desktop Gnome v1.0 The Latest unofficial

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)
On 1/12/2024 at 3:14 AM, Antonio Cahuana said:

Installed on 8GB/64GB, and it runs well, although I know that for Cinnamon it wouldn't be ideal because it lacks hardware acceleration. However, it's suitable for use as a server.


This Chinese box It's always a surprise.
sometimes it works, sometimes it doesn't
Kernel V6.6 was the new standart if you build any image let me know

 

@Antonio Cahuana
 

About the hardware acceleration, i think you can install Video drivers:
https://developer.arm.com/downloads/-/mali-drivers/bifrost-kernel

https://docs.mesa3d.org/download.html 

https://docs.mesa3d.org/drivers/panfrost.html 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)

 🏆 Become a sponsor, help to add other boards in armbian standart, you don't need to be a programmer to help the community,
just need a copy of the ARM BOARD and a x86 computer to compile new versions.


###########################
EMMC: V1.1 HZDM Release Version

###########################

 

If you like what you see here and want to help: Donate Armbian the like button only costs a few dollars.

Armbian Needs you help!

 

# Tested on 4gb 32gb version (04/04/2024)


 

If you given up of Armbian Linux on your H96MAX RK3566 TV box
Think Again and again and again and again, because:

@hzdm updated armbian Build configuration:


V1.1 HZDM original Build Armbian Tutorial:

 

#START#
On Linux:

1 - Follow the Build Armbian instructions
if it doesnt Build your image as espected
rm -rf build
git clone --depth 1 --branch v24.02 https://github.com/armbian/build
try again and again and again and again
 

2 -  Download H96MAX Armbian Build Config  (Original Source)
3 - Copy the h96-max-v56 directory to build/packages/blobs/  directory
4 - Copy the h96-max-v56.conf file to the build/config/boards/ directory
5 - Run the image build
./compile.sh

 

On Windows:


6 - Download the Armbian.cfg file to RKDevTool (Original Source)

7 - Drop it on RKDevTool

 

image.png.6ae39282409ee06f25761ae41a338f3e.png

 

8 - Shutting down H96 MAX.
9 - Press the Reset button.
10 - Turn on the H96 MAX.
11 - Wait until The message "Found One MASKROM Device" or "Found One LOADER Device" should appear. (1) 
12 - Mark all 2 sections with check marks (2)
13 - Open 2 files for each section (3)
14 - Check "Write by Address" (4).
 

image.png.d5bff1a4562ec0d5553c88202139d1ab.png

 

15 - Press the "Run" button (5). The download will start.
When the message "Download image OK" appears, the download is finished (6). 
16 - H96 MAX will automatically reboot. 

Done.

 

Alternative: On Linux OS

rkdeveloptool db MiniLoaderAll.bin   # If this is not your first time flashing with this firmware, an error may appear here\. It\'s not a big deal
rkdeveloptool wl 0x0 Your_Armbian_Image-trunk_H96-max-v56_jammy_current_6.1.62.img

rkdeveloptool rd


And because a malware was discovered in the XZ library from Edge trixie and Edge sid
I came here again to remove and ReBuild all afected images.

Ubuntu: One of the most popular Linux distributions is not affected as its xz version is the older 5.4 version. No updates are required.
Debian Linux: No stable versions of the distribution were affected.

but compromised packages were part of test, unstable and experimental versions. Users must update xz-utils.

Read more: CVE-2024-3094
 

 

Video drivers:
https://developer.arm.com/downloads/-/mali-drivers/bifrost-kernel

https://docs.mesa3d.org/download.html

https://docs.mesa3d.org/drivers/panfrost.html

 

 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)

###################################
###################################


Official armbian Images since 24.5.0-trunk.433
https://github.com/armbian/community/releases/

 

Wifi Driver:

https://drive.google.com/file/d/1jU0VRhe-ou8lZ-D1COvwuqGvMBIht-Dw/view?usp=sharing

 

Take some files from CoreElec
https://github.com/CoreELEC/brcmfmac_sdio-firmware-aml/tree/master/firmware/brcm
 

cd /lib/firmware/brcm/
sudo wget https://github.com/LibreELEC/brcmfmac_sdio-firmware/raw/master/BCM4335A0.hcd
sudo wget https://github.com/CoreELEC/brcmfmac_sdio-firmware-aml/raw/master/firmware/brcm/fw_bcm4335b0_ag.bin
sudo ln -s fw_bcm4335b0_ag.bin brcmfmac4335-sdio.h96-TVbox,rk3566.bin
sudo reboot now

nmcli dev wifi

 

Quote

sudo cat > /lib/firmware/brcm/brcmfmac4335-sdio.txt << "EOF"
# bcm94335wlcspMS_ES50_RC171p24p23_04052013_AM_mdfy_PAparam.txt -- 4/5/2013 by Murata, based on bcm94335wlcspMS_ES50_RC171p24p20_04022013_AM.txt, changed PA parameters and txidxcap parameters and ccode.
# bcm94335wlcspMS_ES50_RC171p24p20_04022013_AM.txt -- 4/2/2013 by Broadcom Corporation
# Use with AARDVARK_REL_6_30_171_24_23 -- Murata BCM4335 WLCSP 11AC Module
# Sample variables file for Murata Type-XJ ES5.0 (0x00 0x11) -- bcm94335wlcspMS_AM_P400.txt as original
sromrev=11
boardrev=0x1500
boardtype=0x064b
boardflags=0x10401001
boardflags2=0x0
#updated boardflags3 for forcing to enable external LPO
boardflags3=0x0800c08b
macaddr=00:90:4c:c5:12:38
#ccode modified by Murata
#ccode=0
ccode=XS
regrev=0
antswitch=0
pdgain5g=1
pdgain2g=1
tworangetssi2g=0
tworangetssi5g=0
femctrl=4
vendid=0x14e4
devid=0x43ae
manfid=0x2d0
#prodid=0x052e
nocrc=1
#otpimagesize=502
xtalfreq=37400
extpagain2g=1
extpagain5g=1
rxgains2gelnagaina0=2
rxgains2gtrisoa0=6
rxgains2gtrelnabypa0=1
rxgains5gelnagaina0=3
rxgains5gtrisoa0=5
rxgains5gtrelnabypa0=1
rxchain=1
txchain=1
aa2g=1
aa5g=1
ag0=0
ag1=0
tssipos5g=1
tssipos2g=1
#PA parameters (2G20M/2G40M/5G20M/5G40M/5G80M)
#PA parameters modified by Murata
#pa2ga0=-208,6208,-764
#pa2ga1=-203,6429,-793
#pa5ga0=-167,5736,-685,-157,5669,-670,-157,5548,-665,-141,5621,-664
#pa5ga1=-101,6543,-735,-99,6452,-731,-147,5743,-695,-75,6468,-723
#pa5ga2=-172,5903,-708,-160,5868,-698,-113,6264,-722,-125,5915,-684
pa2ga0=0xff31,0x1759,0xFD1D
pa2ga1=0xff35,0x18BB,0xFCEC
pa5ga0=0xff78,0x1715,0xFD49,0xff89,0x1714,0xFD57,0xff86,0x1652,0xFD62,0xffa9,0x1760,0xFD5E
pa5ga1=0xff56,0x1596,0xFD5F,0xff88,0x1764,0xFD45,0xff89,0x1632,0xFD65,0xff69,0x160E,0xFD49
pa5ga2=0xff5a,0x1667,0xFD4E,0xff5f,0x15F7,0xFD5E,0xff5a,0x1531,0xFD68,0xff6e,0x1587,0xFD6A
# Default Target Power for 2G -- 17dBm(11)/14dBm(54)/13dBm(MCS7,MCS8)/16dBm(6,MCS0)
maxp2ga0=74
cckbw202gpo=0
cckbw20ul2gpo=0
dot11agofdmhrbw202gpo=0x6666
ofdmlrbw202gpo=0x0022
mcsbw202gpo=0x88866662
# Default Target Power for 5G -- 14dBm(54)/13dBm(HT20-MCS7,VHT20-MCS8)/12dBm(HT40-MCS7,VHT40-MCS9)/11dBm(VHT80-MCS8/MCS9)/16dBm(6,20HT-MCS0)
maxp5ga0=74,74,74,74
# Low
mcslr5glpo=0
mcsbw205glpo=0x88866662
mcsbw405glpo=0xAAA88884
mcsbw805glpo=0xCCCAAAA6
# Mid
mcslr5gmpo=0
mcsbw205gmpo=0x88866662
mcsbw405gmpo=0xAAA88884
mcsbw805gmpo=0xCCCAAAA6
# High
mcslr5ghpo=0
mcsbw205ghpo=0x88866662
mcsbw405ghpo=0xAAA88884
mcsbw805ghpo=0xCCCAAAA6
#20MHz High Rate
sb20in40hrpo=0x0
sb20in80and160hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
#40MHz High Rate
sb40and80hr5glpo=0x0
sb40and80hr5gmpo=0x0
sb40and80hr5ghpo=0x0
#20MHz Low Rate
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
#40MHz Low Rate
sb40and80lr5glpo=0x0
sb40and80lr5gmpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
tssifloor2g=80
tssifloor5g=160,190,240,260
#rpcal:use with 171.17 or later, compensates filter ripple
rpcal2g=0x0
rpcal5gb0=0x0
#cckdigfilttype[0-7] 0:default
cckdigfilttype=2
phycal_tempdelta=25
#GPIO 0 for SDIO HW OOB interruption
muxenab=0x10
#sd_gpout=0
#sd_oobonly=1
rssicorrnorm_c0=-3,-2
rssicorrnorm5g_c0=-1,0,-3,-1,0,-3,-3,-2,-4,-3,-2,-4
#txidxcap2g and txidxcap5g modified by Murata
#txidxcap2g=32
#txidxcap5g=44
txidxcap2g=36
txidxcap5g=36
paparambwver=1
EOF


 

sudo rmmod brcmfmac_wcc brcmfmac brcmutil
modprobe brcmfmac

 

 

How to flash:

Same as V1.1


###################################
###################################

Edited by Hqnicolas
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