-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H96MAX M2 RK3528 - New box #2404
Comments
Well it was an adventure; -Used the following patches from ilyakurdyukov and included them in the armbian-build user patches.
Extract the u-boot img from Armbian to get the value "CONFIG_ROCKCHIP_USB_BOOT=y" in the u-boot. Flash the uboot.img to the device with rkdeveloptool (install with apt install) When the device is present and in "loader" mode. Fllash the uboot file. Burn the armbian_version_.img with BalenaEtcher on a flashdrive (USB2!) What is working on this box? What is not working? |
Based on your description, you are using the linux-rockchip kernel. You can check if there are wireless drivers available. |
The u-boot i flashed on the device: u-boot ### About the Wifi/BT chipset; I checked the drivers on the RockChip tree, but no luck: Chipset info RADXA is reporting of drivers: Forum link Rockchip KernelIs there a way to include this into the Ophub builds as I really enjoy the extras your image provide. I deployed ophubs armbian-software script with the release file to install a desktop environment. |
A single u-boot should be 16M, not 4M. |
The box with stock Android image does not boot from USB. What I did is I compiled Armbian and extracted the u-boot file from the image. The u-boot of Armbian itself is not changed or modified after creating the image. Only the file i flashed on the box itself to enable booting from USB. I did however (in the second post) used some patches for this SoC to modify the u-boot while creating the Armbian image. The DTB used to boot the device: rockchip/rk3528-mangopi-m28k.dtb |
Please upload the u-boot from the /usr/lib/u-boot-xxxx directory in the Armbian.img build you created using compile.sh. I need it to rebuild Armbian. |
I exported files from usr/lib/u-boot I exported files from usr/lib/linux-u-boot-vendor-mangopi-m28k Let me know if this is sufficient. |
I compiled the firmware for h96-max-m2 in releases. Please test it when you have time. I have uploaded the u-boot to the following link: https://github.com/ophub/u-boot/tree/main/u-boot/rockchip/h96-max-m2 I have uploaded the |
The android image, i do not see in the tag/tools. About the testing; Could it be that the patches i shared from ilyakurdyukov should be applied too? Besides that, could the drivers be included for the wireless? Radxa-pkg To make things easy, i shared the image i have working on the USB drive: Armbian 6.1 |
Android System Backup Name: Both kernels, I've updated the boot files. Could you please try this new 5.10.160 build I made and see if it boots: https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_bookworm_save_2024.07/Armbian_24.8.0_rockchip_h96-max-m2_bookworm_5.10.160_server_2024.07.09.img.gz |
Try this linux-rockchip kernel |
The kernel Ethernet info in dmesg:
HDMI works, sound works, there is some lag in displaying video but am not sure if this is due to the USB drive being too slow or the codec not working due to driver issues. Within dmesg the following error popped up:
I checked the dmesg and i saw it tries to open wlan/bluetooth: ap6275s
GPU bus errors:
|
The drivers for Bluetooth and wireless can both be defined in the dts. You can modify them based on this, and after debugging, you can rebuild a dedicated dts. |
i tried to recompile the DTS i made but it did not work. The bluetooth and wifi will not come up. I have asked the H96MAX manufacturing of the original ROM to extract the DTS from. The image i originally used was for the H96MAX m1, which uses another WIFI/BT module. |
For the DTS part, i failed to get wifi/bt working. The correct firmware's i got from the supplier H96MAX got 8800 chipset in the name. The mango_mod.dts compiles and it boots, but wifi and bluetooth do not work. Not sure if i missed something in the DTS.. it is not my expertise. The kernel you mentioned works; 6.1.43-rk35xx-rkr1, it is stable. I have ran multiple tests including docker. The android ROM for the H96MAX-M2 is; Link |
Have you tried if the latest version 6.1.75 can be used?
|
Was the display normal when you used 6.1.43 before? I removed the 6.1.43 kernel from the kernel repository today. Please send me the backup, and I will re-upload it to the repository. The current rebuild does not support specifying kernel versions for rk35xx/rk3588, only supports selecting stable and other branches. I will think about how to elegantly support this setting. 6.1.43 backup kernel in: |
The files: Is there a way to use armbian-update to use the backup files to go back to the previous kernel stored locally? |
https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/documents#10-updating-armbian-kernel
|
https://github.com/ophub/kernel/releases/tag/kernel_rk35xx I have uploaded the kernel version 6.1.43 here. You can download it and upload it to Armbian for your use. Follow the method above to update locally. Alternatively, you can also update it online directly. |
I added some configuration options for temperature sensors in the settings. Can you try compiling 6.1.75 and 6.1.43 that were compiled today to see if they work properly?
|
|
I compared the config files of 6.1.43 and 6.1.75, but couldn't find any missing options related to sensors. |
Hi folks, May I know whether h96 max m2 is usable now? Does BT&Wifi work? Thx! |
If you flash my created uboot with the flasher mentioned in this post, you are able to boot from usb. Using the mangopi dtb and rockchip 6.x kernel provided by ophub in the image you can boot. Everything works except wifi and bt. I couldn't get it working but I dont use these so for my use case thats fine.
I didn't test the install to emmc, that's something to explore if you want.
I used a USB dongle to connect the flash drive and keyboard/mouse as it only has 1 USB. And it works fine.
…-------- Oorspronkelijk bericht --------
Van: 2ndMessiah ***@***.***>
Datum: 23-08-2024 16:24 (GMT+01:00)
Aan: ophub/amlogic-s9xxx-armbian ***@***.***>
Cc: d5stick ***@***.***>, Author ***@***.***>
Onderwerp: Re: [ophub/amlogic-s9xxx-armbian] H96MAX M2 RK3528 - New box (Issue #2404)
Hi folks,
May I know whether h96 max m2 is usable now? Does BT&Wifi work?
Thx!
—
Reply to this email directly, view it on GitHub<#2404 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMVHYIN6ET2POLBTEMYSYBLZS5A2VAVCNFSM6AAAAABKIJWHM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGIYDINRQGE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
大家好,请问H96MAX M2 RK3528 或者芯片是RK3528的盒子是如何把armbian安装到EMMC的 |
用rockchip写固件工具或dd命令,在仓库的文档里有说明 |
用TF卡烧录h28k这个镜像到TF卡,把TF卡插到盒子上,正常启动,然后我把h28k这个镜像解压后上传到armbian系统(TF卡的系统) 然后执行
执行完之后我用命令 lsblk 查看了一下,其中mmcblk1是TF卡。就是这样,然后关闭,再打开机器的时候 无法进入系统,不知道哪里出问题。还是说直接把 TF卡系统dd到盒子EMMC上 比如这样 dd if=/dev/mmcblk1 of=/dev/mmcblk2 bs=1M status=progress |
你的操作看不出错误。 |
same, i have to ask the vendor but they only give tutor how to update system.. i need stock rom for using kernelsu |
The android ROM for the H96MAX-M2 is; Link |
i mean i need fw for h96max m1.. |
**Device Information | **
**Armbian Version |
**Describe the bug:
I wanted to add a new box to the armbian/ophub collection.
It runs Android 13. Chipset Rockchip RK3258. WIFI6 + BT: B-LINK BL-M8800DS1. 1000M LAN: Realtek RTL8211F
Bought it: https://nl.aliexpress.com/item/1005005843644900.html
Info: https://www.h96tvbox.com/product/h96-max-m2-android-tv-box/
Recovery image: https://boxput.notion.site/H96-Series-Frieware-b314bb2353ba4f08979edfca10db54fe
H96 Max 3528 -> IMG file.
The DTB i extracted from the android image can be found in: DTB
I have issues with the DTB running on Armbian, hopefully you could help me with that, to see if anything needs to be modified.
Please provide a detailed description of the issue and, if necessary, attach a screenshot.
Photos:
The text was updated successfully, but these errors were encountered: