hexdump0815 / linux-mainline-and-mali-allwinner-h6-kernel

linux-mainline-and-mali-allwinner-h3-h6-kernel
21 stars 8 forks source link

OrangePi zero 2w / question #8

Open serbyxp opened 9 months ago

serbyxp commented 9 months ago

I’m using default orangepi zero 2w u Ubuntu image , I came across this repo looking for mali driver fix, and notice you have pre built image, this can be burn straight to SD card or needs build? And it includes the working mali driver? HW acceleration?

I also have question maybe you know why Orange pi zero2w only has 10/100 EPHY in data sheet of H618 shows 2 EPHY (EMAC), EMAC0 =10/100/1000 and EMAC1 have 10/100, but data sheet says EMAC1 has no external pins… maybe you understand why, ( haven’t inspect PCB maybe have something in design)

thank you

hexdump0815 commented 9 months ago

the image is very unlikely to work with the opi 2w as it is mostly targeted to h616/h618 tv boxes and even there the support is still wip and with lots of hacks ... nearly all of the work to get it working somehow was done here: https://github.com/warpme/minimyth2 - maybe have a look at the corresponding patches there as i think he also has the opi 2w somewhat working and working also means working gpu (at least on the tv boxes it works on x11 - i did not test wayland yet - and there is no reason why it should not work on the opi boards)

regarding the eth phys - i'm not 100% sure, but usually there is a complete builtin 10/100 phy which is often used for cheaper devices like sbc's and tv boxes and there is another 1g one which needs some more external components and is rarely used on such devices ... the builtin 10/100 is not yet supported in mainline yet and needs some hacks as well, which are also included in the warpme tree plus i think some hacks in u-boot might be required too (also in that tree)

ps: maybe have a look at the warpme arch linux mini images here - https://github.com/warpme/miniarch/releases

serbyxp commented 9 months ago

thanks, ill take a look, just started with this orangePi have most the raspi stuff down, but the community so big and easy to find, (not so much the boards anymore, thats why Im im trying this other arm64) . Still trying to figure out a good source of information, but this is all very helpful thank you. Im not trying to make a TV box to do video display to a TV, but im doing some openCV with mobile phone screen mirroring ( it could output to display ... ), just need the h.264 decoder to run (mobile phone screen mirroring already encodes it before it sends it in h.264).

this was the only data sheet I found, but on page 16~17, you can see what I mentioned about the 2 EMAC0 and EMAC1 ... no idea some of this advertisments I see (when I google h618 ) for the tvboxes they even show that 10/100/1000 (now that it actualy works...)

https://linux-sunxi.org/images/b/b9/H616_Datasheet_V1.0_cleaned.pdf

I tried the miniarch but since I dont have the usb / ethernet daughter board cant set it up. going to try yours instead, plus im not used to arch package manager or any of that, well see how that goes

hexdump0815 commented 9 months ago

h264 is not the gpu - video decoding is in a seperate part on most arm socs (not like part of gpu as on intel) - gpu on arm simply means 3d rendering and that is even a separate block from the display output on arm socs usually

my image will most probably not boot on the opi 2w as it is missing proper memory initialization in u-boot and a proper dtb in the image ...