Jump to content

Orangepi 3 h6 allwiner chip


constantius

Recommended Posts

Armbian & Khadas are rewarding contributors

Last post regarding the download: it's a private system and I invite you to get the file from there temporarily -  but cannot guarantee for it working (nextcloud on OrangePi 3 :) ) - emmc working - just upraded my own system.

If you have any comments or questions regarding the download itself, please feel free to contact me via PM  and do not fill the forum with that stuff.

When the nightly builds are working, there should be a better download available from armbian.com
Have fun!

Link to comment
Share on other sites

Hi Guys,
I'm new to the forum here but have been using [only] Armbian on my various OPi boards for some time.
I'm now waiting for an OPi3 board to arrive from Aliexpress and so I've been following this thread with interest.
I've now successfully built Stretch images from the dev sources but with no hardware yet to test I'm restricted to keeping up with the posts on here.
Many thanks to everyone who has already contributed to what I reckon is going to be a pretty awesome board for the price.

George

Somerset, UK

Link to comment
Share on other sites

5 minutes ago, dreddit said:

Has the random Mac address been fixed yet, the last image from Frank Kettenbeil as such cannot assign a static ip, just get another sequential one after every reboot.

issues which are still seen on orange pi 3 with latest image - 5.0.4

1. random mac - maybe it is possible to hardcode it as in orange pi provided image. anyone tried already ?

root@OrangePi:~# cat /proc/cmdline
console=tty0 console=ttyS0,115200n8 no_console_suspend earlyprintk=sunxi-uart,0x05000000 mac_addr=xx:xx:xx:xx:xx:xx root=/dev/mmcblk1p2 ro rootwait

 

2. HDMI does not pick edid information, and  requires to force resolution - how to below

in my case tv still says unsupported resolution(1920x1080) even once i force it and tv supports it. once using lower resolution 800x600 I see artifact what is not seen on orangpi provided firmware.

also tried to copy edid from working firmware(orange pi home page) and force it on armbian image, with no luck.

 

3. Wifi requires firmware file rename - fix below

4. reboot always require physical power disconnect to boot again.

 

Link to comment
Share on other sites

8 minutes ago, kexec said:

2. HDMI does not pick edid information, and  requires to force resolution - how to below

Did you try this?

 

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.

Link to comment
Share on other sites

20 minutes ago, dreddit said:

I was under the impression that the issue was related on the OP3 ?

I didn't investigate ... It is not an hurry for me and maybe other since you can workaround simply by adding something like "hwaddress ether 08:22:33:44:55:66" in /etc/network/interfaces under "iface eth0 inet dhcp" (the first 08 seems to be important)

 

BTW, a quick look to OPiOne+ reveal that it is random there too, so issue is probably on all H6...

Link to comment
Share on other sites

20 minutes ago, NicoD said:

Did you try this?

 

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.

yes I did. below is image which I see then I lower resolution to 800x600, the only one which works for me and strange artifact at left side of screen which is a bit strange.

intresting or others also sees those or this is kind identification of poor signal quality. same setup with BSP(Board Support Package) works without issues.

this was xscreensaver  animation.

IMG-2746.thumb.jpg.74280a94d3292cfe1acea072afd5f495.jpg

 

21 minutes ago, martinayotte said:

I didn't investigate ... It is not an hurry for me and maybe other since you can workaround simply by adding something like "hwaddress ether 08:22:33:44:55:66" in /etc/network/interfaces under "iface eth0 inet dhcp" (the first 08 seems to be important)

 

BTW, a quick look to OPiOne+ reveal that it is random there too, so issue is probably on all H6...

agree - this is low priority series problem

Link to comment
Share on other sites

28 minutes ago, martinayotte said:

 

BTW, a quick look to OPiOne+ reveal that it is random there too, so issue is probably on all H6...

Issue is that U-Boot DT is missing ethernet0 alias. Solution is that you patch U-Boot, like I have done for PineH64 here.

Link to comment
Share on other sites

15 hours ago, jernej said:

Issue is that U-Boot DT is missing ethernet0 alias. Solution is that you patch U-Boot, like I have done for PineH64 here.

Thanks ! I was almost sure it was a simple thing, but I've never investigated since most of my boards are on WiFi .

I will commit a patch in Armbian github ...

Link to comment
Share on other sites

Hi katerkoff - As martinayotte wrote in that topic and lanefu explained litte more  
it comes all down to that Fex is not used with linux mainline kernels, and that is what armbian is based on.
It is incorporated however in their legacy kernel, but if you want my opinion that "ubuntu server" image is a joke ...

First you need a HDMI cable to enable SSH server before you can log in and next .. well too much disapointment, BUT it does reboot ...

Please check also the URLs in that "h6 famous reboot problem"  both armbian's documentation and the Fex Guide ( sunxi ).

Let's hope either in kernel development ( Linus ) this reboot thingie will be incorporated to handle "  reboot on h6 boards " or a workaround ( patch ) here is being developed somehow.

I wish I had the magic to do so, but I am afraid I am not skilled enough for that 

Link to comment
Share on other sites

1 minute ago, dolphs said:

Hi katerkoff - As martinayotte wrote in that topic and lanefu explained litte more  
it comes all down to that Fex is not used with linux mainline kernels, and that is what armbian is based on.
It is incorporated however in their legacy kernel, but if you want my opinion that "ubuntu server" image is a joke ...

First you need a HDMI cable to enable SSH server before you can log in and next .. well too much disapointment, BUT it does reboot ...

Please check also the URLs in that "h6 famous reboot problem"  both armbian's documentation and the Fex Guide ( sunxi ).

Let's hope either in kernel development ( Linus ) this reboot thingie will be incorporated to handle "  reboot on h6 boards " or a workaround ( patch ) here is being developed somehow.

I wish I had the magic to do so, but I am afraid I am not skilled enough for that 

orange pi updated their image to version 1.1 and solved issue that sshd was not working.

 

 

there is ubuntu server image provided by orange pi OrangePi_3_xenial_server_emmc_v1.1.tar.gz which was working correctly with ssh when I checked yesterday

https://drive.google.com/drive/folders/1NRjDnEB5IdhuQcfDwmvkdfy0nt1fDuWN

Link to comment
Share on other sites

On 3/28/2019 at 10:25 PM, kexec said:

yes I did. below is image which I see then I lower resolution to 800x600, the only one which works for me and strange artifact at left side of screen which is a bit strange.

intresting or others also sees those or this is kind identification of poor signal quality. same setup with BSP(Board Support Package) works without issues.

this was xscreensaver  animation.

IMG-2746.thumb.jpg.74280a94d3292cfe1acea072afd5f495.jpg

 

agree - this is low priority series problem

Maybe u can try this https://unix.stackexchange.com/questions/227876/how-to-set-custom-resolution-using-xrandr-when-the-resolution-is-not-available-i it worked for me, see first answer

Link to comment
Share on other sites

Hi,

 

For MAC address fix;

 

Spoiler

sudo nano /etc/network/interfaces.d/eth0

 

allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether XX:XX:XX:XX:XX:XX

 

 

I installed HomeAssistant and ESPHome everything working fine except usb programmer. I can not upload ESPHome firmware to ESP8266 wifi module com port not recognized.

 

Any suggestions?

 

Link to comment
Share on other sites

10 minutes ago, obenturk said:

I installed HomeAssistant and ESPHome everything working fine except usb programmer. I can not upload ESPHome firmware to ESP8266 wifi module com port not recognized.

What is the context exactly ?

Which kind of ESP8266 are you using and what is the USB-Serial driver on it ?

Which OrangePi3 kernel are you using ?

Did you check the presence of the driver using "lsusb" and "lsmod" ?

Link to comment
Share on other sites

Sorry for lack of required informations in question.

 

Which kind of ESP8266 are you using and what is the USB-Serial driver on it ?

I am using ESP-01 and mini usb-serial adapter with CH34X chip.

Which OrangePi3 kernel are you using ?

Armbian_5.77_Orangepi3_Ubuntu_bionic_dev_5.0.4.img

Did you check the presence of the driver using "lsusb" and "lsmod" ?

lsusb ;

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsmod ;

Module                  Size  Used by
ch341                  16384  0
usbserial              28672  1 ch341
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