Jump to content

Orangepi 3 h6 allwiner chip


constantius

Recommended Posts

Could anyone else check the voltage on USB please? I'm seeing very low voltages of 4.5V idle to 4V maxed out.
I'm using a OPi cable and my 4A PSU from my NanoPi M4. I would like to know if it's my setup. Thank you.
P.S.
With a higher input voltage of 5.3V(vs 5.1V) I get 4.75V idle and 4.5V maxed out.

Link to comment
Share on other sites

2 minutes ago, ilchenko Evgeny said:

what about resolution guys? 

help pls

Quote

sudo cvt 1920 1080 60

Then you get something like :
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

 

Everything after modeline you need to copy and past it behind : sudo xrandr -- newmod e
Example :
sudo xrandr -- newmod e "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

 

Then :
sudo xrandr --addmode HDMI-1 1920x10 80_60.00
sudo xrandr --output HDMI-1 --mode 1920x1080_60.00

 

For your tv those settings could be different and maybe that's why it doesn't work.


and then you can just use
xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync &&  xrandr --addmode HDMI-1 1920x1080_60.00 && xrandr --output HDMI-1 --mode 1920x1080_60.00

Wifi (before you ask this also)
mv /lib/firmware/brcm/brcmfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin-ORIG
mv /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt-ORIG
cp /lib/firmware/rkwifi/fw_bcm43456c5_ag.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin
cp /lib/firmware/rkwifi/nvram_ap6256.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt

PLease read some posts above, it's been posted many times now. @martinayotte @lanefu Could you put that info somwhere so people don't need to keep asking?

I'm now building a Debian image. Only issue now I can think of is on-board sound. My usb audio adapters work fine. Many thanks for all the great work @martinayotte :thumbup:

Link to comment
Share on other sites

Yesss... Nighties. Going to try the stretch one out today. My only devices are ARM based so I can't build from source. 

That was the one good thing about the Sunxi source. With some script tweaking I could build with an ARM host. 

 

Has anyone else  found the 8GB eMMC to be a little touchy, especially during boot? Not sure if it's hardware or Sunxi kernel related. 

Link to comment
Share on other sites

19 hours ago, ilchenko Evgeny said:

now can't set the resolution to 4K

how to do this? anybody slove?

 

Follow the same steps as for FHD/1080p, but for UHD/2160p (3480x2160). I am only able to get 4K@30Hz working:

$ cvt 3840 2160 30
# 3840x2160 29.98 Hz (CVT) hsync: 65.96 kHz; pclk: 338.75 MHz
Modeline "3840x2160_30.00"  338.75  3840 4080 4488 5136  2160 2163 2168 2200 -hsync +vsync

$ sudo xrandr --newmode "3840x2160_30.00"  338.75  3840 4080 4488 5136  2160 2163 2168 2200 -hsync +vsync

$ sudo xrandr --addmode HDMI-1 "3840x2160_30.00"

$ sudo xrandr --output HDMI-1 --mode "3840x2160_30.00"


Once you have this working, you can make this permanent by creating an xorg config file with your modelines. Here is my /etc/X11/xorg.conf.d/10-monitor.conf:

Section "Monitor"
    Identifier "HDMI-1"

    Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
    Modeline "3840x2160_30.00"  338.75  3840 4080 4488 5136  2160 2163 2168 2200 -hsync +vsync

    Option "PreferredMode" "3840x2160_30.00"
EndSection

 

Link to comment
Share on other sites

22 minutes ago, lamp216 said:

For me fps is low still on 1080p, youtube videos are in slowmo

Sent from my Mi MIX 2 using Tapatalk
 

 

Guys please remember that this is still very early (alpha) software, and is hi-res video such a high priority?

IMHO you need to give the devs some time to look at issues like this - and many of us like to relax at the weekend 🙂

Link to comment
Share on other sites

 
Guys please remember that this is still very early (alpha) software, and is hi-res video such a high priority?
IMHO you need to give the devs some time to look at issues like this - and many of us like to relax at the weekend
I'm not saying that they should fix it asap, they had done an amazing job and I really appreciate it, happy weekend

Sent from my Mi MIX 2 using Tapatalk

Link to comment
Share on other sites

1 hour ago, lamp216 said:

For me fps is low still on 1080p, youtube videos are in slowmo

If you really want to watch Youtube on it, install firefox, set your display resolution to 720p, and then you can watch 720p video almost perfect.
In 1080p you can only watch 480p video.

Link to comment
Share on other sites

I got ethernet and wifi working now as well, thanks all!

Any chance the wifi patch could be included in the build images?

 

I have some trouble installing docker using snap, `docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.` I had similar issues on other systems and was able to solve them but now I'm currently not, maybe there is a setting in the kernel? I saw wireguard is disabled, maybe something about docker as well?

Link to comment
Share on other sites

The Debian Jessie desktop image on the Orange Pi website can be upgraded to Stretch. Wifi partially breaks though. It can see the access points and show signal strength, but nothing happens when trying to connect. Screen resolution seems unchangable. It seems to be a plain Debian. Ie not messed with like some Orange Pi images. So if you really desperately need the legacy kernel that could work. Otherwise, the Armbian release of Stretch is already a nicer option IMHO.

xrdp server seems to have problems. Has anyone got it working properly on the Armbian nightly yet? I wanted to see if there was a noticeable performance difference between the "Legacy" Debian Stretch and Mainline Armbian Stretch through RDP.

 

Was Wifi meant to be working on the new nightlies? It doesn't seem to be there. It doesn't bother me.

 

edit: The uptime part of the ssh login script seems to be incorrect. It's grabbing the wrong value.

Link to comment
Share on other sites

using Armbian_5.77.190330_Orangepi3_Ubuntu_bionic_dev_5.0.4.7z

progress:

Doker (last version): done

Codec h264, h265: done

plex media server for arm64: done

 

not resolve problem:

1) does not reboot correctly. Need to unplug the power cable to start again. Very uncomfortable if you work remotely.

2) If switch to 4k resolution black color change to green and slow work. Maybe Mali doesnt work.

3) automount doesnt work. Still cant auto mount ntfs valume usb drive. Check checkbox on hardware property for automount usb media but no effect. Try to add to /etc/fstab - 2 times get emergency boot and no effect. Maybe i doing something wrong.

4) Plex do not see media files in ntfs folder If mount ntfs partition manualy anyway. I think need permissions but dont know how did this.

 

this my todo list)

if anyone will help with the solution will be very grateful^^

 

Link to comment
Share on other sites

1 hour ago, ilchenko Evgeny said:

1) does not reboot correctly. Need to unplug the power cable to start again. Very uncomfortable if you work remotely. 

 

Please refer to this topic rgd issue 1)

Also to create some more awareness I contacted "Allwinner Customer Service Team" recently and they made this a Xunlong issue,
their response: " After a short discussion internally, we suggest you contact Xunlong for clarification.

Let's hope for a satisfactory solution, little/ some hope this can be increased as Xunlog is partnering with armbian ... ...

 

let's keep fingers crossed...

Link to comment
Share on other sites

Anyone here wants to try an EDID reading fix?

 

https://megous.com/git/linux/commit/?h=up/opi3/v1&id=96d9395beba639d89cb1f128d3b93b68d7cd96b2

 

And adding this to &hdmi node:

 

+ ddc-enable-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */

 

like here:

 

https://megous.com/git/linux/commit/?h=up/opi3/v1&amp;id=d046a90b11ae0dab0bb3d86f14e6e8db13c4eedd

 

may help.

Link to comment
Share on other sites

1 hour ago, megi said:

Anyone here wants to try an EDID reading fix?

 

https://megous.com/git/linux/commit/?h=up/opi3/v1&amp;id=96d9395beba639d89cb1f128d3b93b68d7cd96b2

 

And adding this to &hdmi node:

 

+ ddc-enable-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ 

 

like here:

 

https://megous.com/git/linux/commit/?h=up/opi3/v1&amp;id=d046a90b11ae0dab0bb3d86f14e6e8db13c4eedd

 

may help.

modified code and compiling. Will update on results once there are any.

 

 it will take a bit of time as compiling on very small device (apu1d)

Link to comment
Share on other sites

8 hours ago, dolphs said:

 

Please refer to this topic rgd issue 1)

Also to create some more awareness I contacted "Allwinner Customer Service Team" recently and they made this a Xunlong issue,
their response: " After a short discussion internally, we suggest you contact Xunlong for clarification.

Let's hope for a satisfactory solution, little/ some hope this can be increased as Xunlog is partnering with armbian ... ...

 

let's keep fingers crossed...

Thx for answer.

uncover how to use this file sys_config/OrangePiH6_3_sys_config.fex please

last time I found a file in the system and changed the lines using nano. But now I can't find sys_config. Or is this script installed in some other way?

Sorry I don't know much about that.

 

Link to comment
Share on other sites

12 hours ago, megi said:

Anyone here wants to try an EDID reading fix?

 

https://megous.com/git/linux/commit/?h=up/opi3/v1&amp;id=96d9395beba639d89cb1f128d3b93b68d7cd96b2

 

And adding this to &hdmi node:

 

+ ddc-enable-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */

 

like here:

 

https://megous.com/git/linux/commit/?h=up/opi3/v1&amp;id=d046a90b11ae0dab0bb3d86f14e6e8db13c4eedd

 

may help.

no changes for me after suggested code fix and image build.

 

it would be good that someone else tried to to avoid any human error factor.

 

attaching files which i modified and hdmi still not worked after all.

sun8i_dw_hdmi.c

sun8i_dw_hdmi.h

sun50i-h6-orangepi-3.dts

Link to comment
Share on other sites

On 3/31/2019 at 11:44 PM, Murdag said:

I got ethernet and wifi working now as well, thanks all!

Any chance the wifi patch could be included in the build images?

 

I have some trouble installing docker using snap, `docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.` I had similar issues on other systems and was able to solve them but now I'm currently not, maybe there is a setting in the kernel? I saw wireguard is disabled, maybe something about docker as well?

used `

curl -sSL https://get.docker.com/ | sh` instead of snap and it works now, dont really know why but ...

has someone tried wireguard yet/ knows whats blocking?

Link to comment
Share on other sites

3 hours ago, megi said:

Try removing the duplicate hdmi related nodes. You have &hdmi* there multiple times.

you were right.

 

corrected and recompiled image.

 

could someone to boot it and check or hdmi works any better now ? as could be that I will be late today to test this at home.

 

cat /sys/class/drm/card0-HDMI-A-1/edid

should not be empty and return some crappy output of binary

 

http://78.157.85.46/Armbian_5.77_Orangepi3_Ubuntu_bionic_dev_5.0.5_desktop.img.gz

 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines