Jump to content

H6 Famous Reboot problem


martinayotte

Recommended Posts

On 5/6/2019 at 8:46 PM, Lucas Allrig said:

Whats wrong? Has anybody this same issue? What I could to do?


Nothing. You are using developers versions, which do break sometimes completely.

Link to comment
Share on other sites

Just tried the current nightly. Lite2 boots, however Wifi is not working. I can see some of the networks on 2.4GHz, no 5GHz. Connecting is not possible.

System keeps spawning messages:

[    8.812739] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    9.040493] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[   24.287924] ieee80211 phy0: brcmf_escan_timeout: timer expired
[   67.039923] ieee80211 phy0: brcmf_escan_timeout: timer expired
[   69.599946] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   69.605853] ieee80211 phy0: brcmf_notify_escan_complete: Scan abort failed
[  102.623956] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  102.629884] ieee80211 phy0: brcmf_run_escan: error (-110)
[  102.635368] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  155.615958] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  155.621873] ieee80211 phy0: brcmf_run_escan: error (-110)
[  155.627367] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  218.591973] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  218.597923] ieee80211 phy0: brcmf_run_escan: error (-110)
[  218.603405] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  281.567970] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  281.573897] ieee80211 phy0: brcmf_run_escan: error (-110)
[  281.579373] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  324.831945] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  324.837852] ieee80211 phy0: _brcmf_set_multicast_list: Setting mcast_list failed, -110

 

Link to comment
Share on other sites

11 minutes ago, haajee said:

Should this also fix the not working NIC again? :) I have downloaded Armbian 5.86.190514 for the One Plus but NIC was not just working.

Not related !

But Good Catch ! :thumbup:

The status was "disabled" and "phy" missing ...

Fixed for tomorrow's build !

Link to comment
Share on other sites

@martinayotte  I have compiled the latest version of armbian,but the new kernel does not recognize rtl8153 behind usb hub when connecting to the usb3 port.

 

some alerts and errors appears during booting

 

Quote


[    2.174433] sun50i-h6-r-pinctrl 7022000.pinctrl: 7022000.pinctrl supply vcc-pl not found, using dummy regulator
.............

 

 

 

sun4i-usb-phy 5100400.phy: Couldn't request ID GPIO

 

.............

 

sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-ph not found, using dummy regulator

 

...................

 

usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator

 

...................

 

[   11.121768] core: _opp_supported_by_regulators: OPP minuV: 1160000 maxuV: 1160000, not supported by regulator
[   11.121782] cpu cpu0: _opp_add: OPP not supported by regulators (1640000000)
[   11.121863] core: _opp_supported_by_regulators: OPP minuV: 1160000 maxuV: 1160000, not supported by regulator
[   11.121869] cpu cpu0: _opp_add: OPP not supported by regulators (1800000000)
[   11.121954] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 912000 KHz
[   11.122365] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1080000 KHz
[   11.166839] thermal thermal_zone0: failed to read out thermal zone (-16)
[   11.166902] thermal thermal_zone1: failed to read out thermal zone (-16)

......................

 

brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.xunlong,orangepi-lite2.txt failed with error -2

 

Link to comment
Share on other sites

15 hours ago, may said:

@martinayotte  I have compiled the latest version of armbian,but the new kernel does not recognize rtl8153 behind usb hub when connecting to the usb3 port.

 

some alerts and errors appears during booting

 

 

 

Sorry for interrupt. But the Orange Pi One Plus does not have USB 3.0 ports. The H6 processor support USB 3 but it's not implemented (sadly) in the One Plus. But when in plug this Ugreen USB 3 NIC in the USB 2 adapter of the Orpi One Plus it works like a charm. Speed with iperf3 arround the 220Mbps. The USB 3 version works with Axis AX88179. :)

 

Edit: sorry you could have of course a Orpi 3. :) Btw maybe not enough power on the USB hub? Does the hub support external power? :)

Link to comment
Share on other sites

Dear Martin,

 

I am pleased to let you know, that the recent nightly from today works fine on the lite2!

Thank you and all others here who contributed very much!

 

Further, I can enable now uart1 and it shows up. I just was not able yet to set up bluetooth.

Will post my results in the according thread.

 

Keep up the good work!!

Link to comment
Share on other sites

Hi

the last build, 

https://dl.armbian.com/orangepi3/nightly/Armbian_5.86.190515_Orangepi3_Ubuntu_bionic_dev_5.1.0.7z

 

... my in OrangePi3+emmc-2GBram, can't boot correctly.

 

I'm using the hdmi-> vga adapter that they sell in the orangepi store on aliexpress and their original 3A power supply.

I get black screen and continuous reboot every 30-40 seconds.
I have no way to debug and give more information. I think it's a panic kernel and the system reboot automatically.

My display is a lcd - 1440x900_60 from LG

 

I have also installed in the 8GB internal mmc the version
https://dl.armbian.com/orangepi3/nightly/Armbian_5.82.190423_Orangepi3_Ubuntu_bionic_dev_5.0.7.7z
and it works correctly after some minor tweaks. (no reboot, no black screen)

I think we should set the default resolution of the console to 1024x768 and not a higher one, in the case that is what causes the black screen. Not everyone has a 1080p display

Link to comment
Share on other sites

17 hours ago, haajee said:

 

Sorry for interrupt. But the Orange Pi One Plus does not have USB 3.0 ports. The H6 processor support USB 3 but it's not implemented (sadly) in the One Plus. But when in plug this Ugreen USB 3 NIC in the USB 2 adapter of the Orpi One Plus it works like a charm. Speed with iperf3 arround the 220Mbps. The USB 3 version works with Axis AX88179. :)

 

Edit: sorry you could have of course a Orpi 3. :) Btw maybe not enough power on the USB hub? Does the hub support external power? :)

my board is orangepilite2, no problem with the power

Link to comment
Share on other sites

On 5/14/2019 at 11:31 PM, martinayotte said:

Not related !

But Good Catch ! :thumbup:

The status was "disabled" and "phy" missing ...

Fixed for tomorrow's build !

 

NIC is just back active but a new problem is introduced. It got contineusly new MAC adresses even when i select a static ipadress...  I think its a problem with the mac adress of the buildin 100NIC like the OrangePi One H3 and the external Realtek Link H6?

 

 

ip mac adresses.jpg

 

On the Sunxi wikipage is also the following spec:

'NetworkGBit MAC, integrated 10/100M PHY'

 

Don't know what only a gbit mac is. but probapply is there now a physical 1000Mbit mac from the realtek chip and from the H6 itself? Found also this in the datasheet.

 

 

mac problem.jpg

Link to comment
Share on other sites

1 hour ago, haajee said:

It got contineusly new MAC adresses even when i select a static ipadress...

Another Good Catch ! :thumbup:

We had a fix done almost 2 months ago, by adding missing alias in DT, but it seems that this was lost during the switch from 5.0.y to 5.1.y ...

Fix committed : https://github.com/armbian/build/commit/7cd2f9ff58a5bb9e4b8296b32d8796fccbd0338b

 

Link to comment
Share on other sites

7 minutes ago, martinayotte said:

Another Good Catch ! :thumbup:

We had a fix done almost 2 months ago, by adding missing alias in DT, but it seems that this was lost during the switch from 5.0.y to 5.1.y ...

Fix committed : https://github.com/armbian/build/commit/7cd2f9ff58a5bb9e4b8296b32d8796fccbd0338b

 

 

And thank you very much again to you! :) So probaply in the comming nightly should it be fixed? If i found another strange things you should hear. XD

Link to comment
Share on other sites

2 hours ago, martinayotte said:

Yes ! But if you are familiar with decompiling/recompiling DT, you can easily add it yourself if you wish to try it out quickly ...

 

Hmm... Is there somewhere a short description? :)

 

There is also something else a little bit 'strange'. The max clockspeed is just 1488MHz. It was always 1888MHz?

 


orangepioneplus:~$ lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1488.0000
CPU min MHz:         480.0000
BogoMIPS:            48.00
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

Link to comment
Share on other sites

22 minutes ago, haajee said:

Hmm... Is there somewhere a short description? :)

First, install the DT compiler : http://ftp.debian.org/debian/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-3_arm64.deb

Next, copy the /boot/dtb/allwinner/sun50i-h6-orangepi-one-plus.dtb into /boot/dtb/allwinner/sun50i-h6-orangepi-one-plus.dtb-ORIG as backup.

Third, decompile it into DTS :

dtc -@ -I dtb -O dts -o /root/sun50i-h6-orangepi-one-plus.dts-5.1.0 /boot/dtb/allwinner/sun50i-h6-orangepi-one-plus.dtb

Fourth, edit the file /root/sun50i-h6-orangepi-one-plus.dts-5.1.0 by adding this in the aliases node :  ethernet0 = "/soc/ethernet@5020000";

Fifth, recompile the DTB and reboot :

dtc -@ -I dts -O dtb -o /boot/dtb/allwinner/sun50i-h6-orangepi-one-plus.dtb /root/sun50i-h6-orangepi-one-plus.dts-5.1.0

About "cpu-freq", I don't really know, I'm not the expert on this one ...

Link to comment
Share on other sites

I've build Armbian_5.87_Orangepi3_Ubuntu_bionic_dev_5.1.3_desktop and it's clocked at 1.8Ghz.
But what is a problem is that there's no throttling happening. It goes over 95°C. I'm sure it would even go higher if I let the heatsink warm up fully.

Here a screenshot. The second time I run 7z b. 94°C and no throttling happening.

Screenshot_2019-05-19_00-50-15.thumb.png.f29e7a386dcb561a0dc44e217d30c179.png

And is it possible to put those files needed for wifi in the correct place in the build?

Link to comment
Share on other sites

2 hours ago, martinayotte said:

Do you means "to avoid having to copy firmware files" ? I think so, but that wasn't yet a priority ...

Once it's been done nobody needs to care about it anymore.
It's just a small detail, but another step closer to a more finished product. 


I do think the throttling is more important. I can't advice anyone to use this without proper cooling. I'm using a heatsink and it goes over 95°C. I always stopped it at that temp. I'm sure it could go well over 100°C. Certainly with CPUMiner for example. Aren't there patches for throttling that were added to 5.0 but didn't reach 5.1? I remember us trying different throttle settings. If my very bad memory serves me right it was with @TonyMac32 for the PineH64 b. But could as well have been with @martinayotte for the OPi3. I can't find the posts of that.
It used to throttle at a too low temp. (I think 65/70°C) and that was changed to a higher temp. (My brain only memorize what it wants, all useless stuff that is...)
Tony also later added a frequency(1.64), and this is in the 5.1 for OPi3. Here's the post of that.
https://forum.armbian.com/topic/9623-pine-h64-model-b/?do=findComment&comment=76606

Link to comment
Share on other sites

14 minutes ago, NicoD said:

I do think the throttling is more important. I can't advice anyone to use this without proper cooling. I'm using a heatsink and it goes over 95°C. I always stopped it at that temp. I'm sure it could go well over 100°C. Certainly with CPUMiner for example. Aren't there patches for throttling that were added to 5.0 but didn't reach 5.1? I remember us trying different throttle settings. If my very bad memory serves me right it was with @TonyMac32 for the PineH64 b. But could as well have been with @martinayotte for the OPi3. I can't find the posts of that.

It used to throttle at a too low temp. (I think 65/70°C) and that was changed to a higher temp. (My brain only memorize what it wants, all useless stuff that is...)
Tony also later added a frequency(1.64), and this is in the 5.1 for OPi3. Here's the post of that.
https://forum.armbian.com/topic/9623-pine-h64-model-b/?do=findComment&comment=76606

 

95 degrees celcius??? :O I got my H6 not higher than 30 degrees celsius with a simple fan and heatsink. Also when i run it before on 1.8GHz...

Link to comment
Share on other sites

1 minute ago, haajee said:

95 degrees celcius??? :O I got my H6 not higher than 30 degrees celsius with a simple fan and heatsink. Also when i run it before on 1.8GHz...

Could you try without the fan with a full load for 15 minutes? What image do you use?
The SoC can be easily cooled when using a fan. But I've got very bad results without.
And what do you mean with 30 degrees? In idle or maxed out?

Link to comment
Share on other sites

Just now, NicoD said:

Could you try without the fan with a full load for 15 minutes? What image do you use?
The SoC can be easily cooled when using a fan. But I've got very bad results without.
And what do you mean with 30 degrees? In idle or maxed out?

 

30 degrees with standard use. Not fully idle or maxed. What tool did you use for a full load test?

Link to comment
Share on other sites

10 minutes ago, haajee said:

30 degrees with standard use. Not fully idle or maxed. What tool did you use for a full load test?

I usually use blender. But 7zip is ok too. install it : sudo apt install p7zip-full
And to run it : 7z b

Run it a few times right behind each other. It doesn't max out the CPU completely. But even with that I'm getting 95°C after 2 runs.
For blender you download this file and unzip. Install blender, sudo apt install blender. Open Blender and open the cpu file of the downloaded files.
Then click render.
I use a taskbar app to see the temperature. You can use htop or so to do the same. I also wrote a simple program to do the same. As long as you keep an eye on the temp.

Do know that I'm using a dev 5.1 image. The 5.0 images should be throttling normally.

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