Skip to content
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

Add support for: Bqeel MVR9 #1313

Closed
giovEra opened this issue Apr 20, 2023 · 9 comments
Closed

Add support for: Bqeel MVR9 #1313

giovEra opened this issue Apr 20, 2023 · 9 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@giovEra
Copy link

giovEra commented Apr 20, 2023

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.

@giovEra giovEra changed the title Add support for MVR9 Add support for: Bqeel MVR9 Apr 20, 2023
@ophub
Copy link
Owner

ophub commented Apr 21, 2023

@giovEra
Copy link
Author

giovEra commented Apr 21, 2023

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

@ophub
Copy link
Owner

ophub commented Apr 22, 2023

@giovEra
Copy link
Author

giovEra commented Apr 22, 2023

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 ophub added documentation Improvements or additions to documentation support This need is supported new box Research Fills in the Blanks labels Apr 23, 2023
@ophub ophub closed this as completed Apr 27, 2023
@ophub
Copy link
Owner

ophub commented May 1, 2023

@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.

@giovEra
Copy link
Author

giovEra commented May 2, 2023

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

@giovEra
Copy link
Author

giovEra commented May 3, 2023

Hey @ophub,
thanks for the hint.

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

@ophub
Copy link
Owner

ophub commented May 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests

2 participants