ophub/amlogic-s9xxx-armbian

Add support for: Bqeel MVR9

giovEra opened this issue · 9 comments

Hi,
could you please add the support for Bqeel MVR9?

MVR9

It is a rockchip 3328 TV box and has been supported by 150balbes.
150balbes has deleted the sources, but a fairly reccent fork is available here: repo

Info about MVR9: infos

If you need additional information I am available, please do not hesitate to ask.

Hi @ophub,
thank you for your response.


On this mega.nz folder i've uploaded the files.
In detail:

  • "Armbian_21.11.0-trunk_Station-m1_focal_current_5.10.62.img.xz": is the latest 150balbes firmware I have.
  • "rk3328-box-trn9.dtb": is used for MVR9 in extlinux.conf:
LABEL Armbian
  LINUX /boot/Image
  INITRD /boot/uInitrd
  FDT /boot/dtb/rk3328-box-trn9.dtb
  APPEND root=UUID=96df9e27-d265-4cfe-bd03-f2c63f48f04f console=uart8250,mmio32,0xff130000 console=tty0 rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian
  • "u-boot" folder: extracted from firmware, should be contain the bootloader according to wiki

I could not find the dts file, so I converted the rk3328-box-trn9.dtb file to dts, getting this dts file, please note that the conversion generated the following warnings:

rk3328-box-trn9.dts: Warning (unit_address_vs_reg): /usb@ff600000: node has a unit name, but no reg or ranges property
rk3328-box-trn9.dts: Warning (interrupt_provider): /pinctrl/gpio0@ff210000: Missing #address-cells in interrupt provider
rk3328-box-trn9.dts: Warning (interrupt_provider): /pinctrl/gpio1@ff220000: Missing #address-cells in interrupt provider
rk3328-box-trn9.dts: Warning (interrupt_provider): /pinctrl/gpio2@ff230000: Missing #address-cells in interrupt provider
rk3328-box-trn9.dts: Warning (interrupt_provider): /pinctrl/gpio3@ff240000: Missing #address-cells in interrupt provider
rk3328-box-trn9.dts: Warning (graph_child_address): /vop@ff370000/port: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary

The sources used by 150balbes to compile armbian for MVR9 are available here, I think you can find more information about the dts.


I hope I have provided you with all the information you need. In case I have not, please do not hesitate to write to me

Hi, and thank you.

I tried jammy with kernel 6.1.25, and it seems to work.
Please give me a few days to do more thorough testing.

Some errors/warnings are printed during startup. If you want to take a look at it, you can get the dmesg output from here. The log is in html format to be easier to read as it keeps the syntax highlighting.

ophub commented

@giovEra
I found the dts of this device in the kernel source code, you can test it, change the name of dtb in /boot/armbianEnv.txt to rk3328-roc-pc.dtb, then restart and try, if it can be used normally, use this in the future Easy to maintain and update.

Hi @ophub,
I have tried dtb, but it does not work. At startup I get the following error:

photo-2023-05-02-16-56-08.jpg

Note: I checked and UUID of the partition and it is correct, I reset the name of dtb in /boot/armbianEnv.txt to rk3328-box-trn9.dtb and it boot correctly.


I found the dts of this device in the kernel source code

Can you give me the link to the dts file you found?
Thanks

Hey @ophub,
thanks for the hint.

Have a look here: rk3328-box-trn9.dts, can it help you?