Open MrNonoss opened 7 months ago
Ethernet adapter. But the HDMI driver is completely broken in the latest legacy sources of Armbian. The last time HDMI worked was at the end of 2023, since then I haven't rebuilt the image for a long time. When I rebuilt the image in March, the HDMI was broken.
But it is possible to build a 6.1 kernel where HDMI and HDMI audio work, but the Ethernet driver on the DQ08 does not work. But this is not your problem as the H96 Max M1 does not have an Ethernet port.
./compile.sh build BOARD=mangopi-m28k BRANCH=vendor BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=xfce DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=jammy
Better use my .dtb (looks like HDMI audio requires some settings copied from the mangopi-m28k
device tree to work), but .dtb from mangopi-m28k
sort of works. The newer version asks for the root password from the screen rather than via Ethernet.
And don't try to install Armbian on EMMC, you have a high chance of bricking the TV-box.
./compile.sh build BOARD=mangopi-m28k BRANCH=vendor
But I forgot that the build with the new kernel still needs this patch, otherwise there is a high chance that it will not boot at all.
Awesome, Thanks for your reply.
So, I'm going to compile this way. Just to be sure, are you referring to a .precompiled .dtb? The patch is already included right?
So that I don't have to explain, it's easier to build the legacy image according to my instructions, take U-Boot from it and write it in EMMC. (Anyway, try booting the legacy image from flash drive to see if it works.) Then build the mangopi-m28k
image and write it to a flash drive.
Thank you a lot. I have it up and running. Just need to figure out how to setup wifi now. Looks like no driver is onboarded
My box is my H96 Max M7,wifi module is HCY6355->AP6335-> BCM4339
rmmod brcmfmac
insmod brcmfmac.ko debug=0x0120000e
dmesg |grep brcmfmac
error is cypress/cyfmac4339-sdio.bin not exists。
Copy the content of /lib/firmware/brcm/ to /lib/firmware/cypress rename brcmfmac4339-sdio.bin and brcmfmac4339-sdio.txt to cyfmac4339-sdio.bin and cyfmac4339-sdio.txt respectively. execute modprobe
insmod brcmfmac.ko debug=0x0120000e
user@mangopi-m28k:~$ sudo insmod brcmfmac.ko debug=0x0120000e
insmod: ERROR: could not load module brcmfmac.ko: No such file or directory
dmesg |grep brcmfmac
[ 412.719459] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4334-sdio.txt failed with error -2 [ 413.737143] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50 [ 419.243025] usbcore: deregistering interface driver brcmfmac [ 750.271033] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4334-sdio for chip BCM4334/3 [ 750.271588] usbcore: registered new interface driver brcmfmac [ 750.274059] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4334-sdio.mangopi,m28k.bin failed with error -2
Looks like something else is messing up. Thanks again for your kind help on this.
the H96 Max M7 dtb H96_MAX_M7_DTB.zip With this DTB, I can drive WLAN, but there is no HDMI display
I edit my dtb,you can give it a try, rk3528-h96max-m7.zip , now HDMI can display and wlan0 is work. But there are other errors as well, such as: [ 27.706806] Call trace: [ 27.706811] reset_control_get_internal+0x90/0x144 [ 27.706823] __of_reset_control_get+0x158/0x1a8 [ 27.706833] rk_gmac_probe+0x55c/0x7f4 [ 27.706843] platform_probe+0x70/0xc0 [ 27.706855] really_probe+0x1cc/0x390 [ 27.706863] driver_probe_device+0x140/0x158 [ 27.706872] driver_probe_device+0x48/0xd0 [ 27.706881] __device_attach_driver+0xd8/0x128 [ 27.706890] bus_for_each_drv+0xa0/0xc8
Wow, awesome, I will take a look at this.
Really helpful. Thanks
Maybe someone in this thread can help me. I got the H96MAX M2 box working with the 6.1 kernel and used the Mango DTB. Only WIFI is not working, it has the AIC8800 chip. Full thread and info here: LINK
I want to thank ilyakurdyukov for his effort and guidance for me to continue to get this box a running with Armbian.
Only WIFI is not working, it has the AIC8800 chip.
Try searching for AIC8800 fixes for other Rockchip devices. I wonder if this is related.
Hi, Thanks for the great stuff here. I successfully built the image and updates the u-boot on my H96 Max M1 garbage android TV.
From what I read, I must first setup an SSH connection before being able to configure armbian. Since there is no ethernet port on this device, and the wifi driver is not fine, how did you managed? USB to ethernet adapter?
Thank you for your help