Jump to content

Orangepi 3 h6 allwiner chip


constantius

Recommended Posts

just built " Armbian_5.89_Orangepioneplus_Debian_stretch_dev_5.1.7.img " but still NOK on OpiOnePlus, cannot SSH to it,

similar is written here , but seems to be sorted on Opi3 - unfortunately cannot use debug tools nor hdmi at this stage, hoping for permanent fix soon  ...

Link to comment
Share on other sites

not sure what happened but we have code "green" again on OPiOnePlus thus we are good to go @1,8Ghz, thanks!

:~# cpufreq-info |grep available
  available frequency steps: 480 MHz, 720 MHz, 816 MHz, 888 MHz, 1.08 GHz, 1.32 GHz, 1.49 GHz, 1.64 GHz, 1.80 GHz

 

Link to comment
Share on other sites

[    4.631820] Unable to handle kernel paging request at virtual address ffff0000126fd9a8
[    4.639748] Mem abort info:
[    4.642548]   ESR = 0x86000006
[    4.645598]   Exception class = IABT (current EL), IL = 32 bits
[    4.651507]   SET = 0, FnV = 0
[    4.654556]   EA = 0, S1PTW = 0
[    4.657694] swapper pgtable: 4k pages, 48-bit VAs, pgdp = (____ptrval____)
[    4.664557] [ffff0000126fd9a8] pgd=00000000b7fff003, pud=00000000b7ffe003, pmd=0000000000000000
[    4.673245] Internal error: Oops: 86000006 [#1] SMP
[    4.678115] Modules linked in: snd_pcm_dmaengine snd_pcm uas snd_timer snd soundcore btsdio(+) bluetooth brcmfmac ch341 brcmutil usbserial cfg80211 dw_hdmi_cec dw_hdmi_i2s_audio rfkill sun50i_h6_ths thermal_sys cpufreq_dt realtek dwmac_sun8i mdio_mux
[    4.700264] Process systemd-udevd (pid: 469, stack limit = 0x(____ptrval____))
[    4.707477] CPU: 0 PID: 469 Comm: systemd-udevd Not tainted 5.1.7-sunxi64 #5.89.190612
[    4.715381] Hardware name: OrangePi 3 (DT)
[    4.719470] pstate: 20000085 (nzCv daIf -PAN -UAO)
[    4.724257] pc : 0xffff0000126fd9a8
[    4.727747] lr : __update_load_avg_se+0x14/0x1e8
[    4.732355] sp : ffff000010003bc0
[    4.735663] x29: ffff000010003bc0 x28: ffff800074450000
[    4.740967] x27: 0000000000000000 x26: 0000000000000003
[    4.746271] x25: 0000000000000003 x24: 000000011413cb58
[    4.751575] x23: 0000000000000009 x22: ffff800073b5d200
[    4.756878] x21: 0000000000000000 x20: ffff800009a81ac0
[    4.762182] x19: ffff800077bc9e00 x18: 0000000000000000
[    4.767485] x17: 0000000000000000 x16: 0000000000000000
[    4.772787] x15: 0000000000000000 x14: 0000000000000000
[    4.778090] x13: 0000000000000000 x12: 0000000000000030
[    4.783393] x11: 0101010101010101 x10: 0000000000000040
[    4.788696] x9 : ffff000010dd69e0 x8 : ffff000010dd69d8
[    4.793999] x7 : ffff8000750002d8 x6 : 0000000009345c38
[    4.799302] x5 : 0000000000000004 x4 : 000000011413b800
[    4.804605] x3 : 0000000000001358 x2 : ffff800009a81ac0
[    4.809908] x1 : ffff800077bc9e00 x0 : 000000011413cb58
[    4.815212] Call trace:
[    4.817654]  0xffff0000126fd9a8
[    4.820791]  enqueue_task_fair+0xa8/0x6a8
[    4.824796]  activate_task+0x4c/0xa0
[    4.828365]  ttwu_do_activate.isra.10+0x4c/0x88
[    4.832889]  try_to_wake_up+0x208/0x408
[    4.836719]  default_wake_function+0x10/0x18
[    4.840981]  __wake_up_common+0x88/0x150
[    4.844899]  __wake_up_locked+0x18/0x20
[    4.848728]  complete+0x78/0xb0
[    4.851866]  mmc_wait_done+0x10/0x18
[    4.855436]  mmc_request_done+0xb4/0x160
[    4.859353]  sunxi_mmc_irq+0x374/0x3c0
[    4.863100]  __handle_irq_event_percpu+0x6c/0x190
[    4.867797]  handle_irq_event_percpu+0x34/0x88
[    4.872234]  handle_irq_event+0x40/0x98
[    4.876064]  handle_fasteoi_irq+0xcc/0x1a8
[    4.880155]  generic_handle_irq+0x24/0x38
[    4.884158]  __handle_domain_irq+0x5c/0xb0
[    4.888249]  gic_handle_irq+0x58/0xa8
[    4.891905]  el1_irq+0xb8/0x140
[    4.895043]  kernfs_find_ns+0x60/0x120
[    4.898786]  kernfs_iop_lookup+0x4c/0xb8
[    4.902703]  __lookup_slow+0x9c/0x1a8
[    4.906359]  lookup_slow+0x3c/0x60
[    4.909754]  walk_component+0x218/0x330
[    4.913585]  path_lookupat+0x94/0x1f8
[    4.917241]  filename_lookup+0x8c/0x160
[    4.921071]  user_path_at_empty+0x48/0x58
[    4.925075]  do_readlinkat+0x74/0x170
[    4.928731]  __arm64_sys_readlinkat+0x1c/0x28
[    4.933084]  el0_svc_common.constprop.0+0x64/0x160
[    4.937867]  el0_svc_handler+0x20/0x78
[    4.941610]  el0_svc+0x8/0xc
[    4.944489] Code: bad PC value
[    4.947539] ---[ end trace fb3818787af04e1c ]---
[    4.952149] Kernel panic - not syncing: Fatal exception in interrupt
[    4.958488] SMP: stopping secondary CPUs
[    6.004071] SMP: failed to stop secondary CPUs 0-1,3
[    6.009028] Kernel Offset: disabled
[    6.012511] CPU features: 0x002,20002004
[    6.016426] Memory Limit: none
[    6.019478] Rebooting in 10 seconds..
[   16.263075] SMP: stopping secondary CPUs
[   17.308656] SMP: failed to stop secondary CPUs 0-1,3

 

 

 

 

 

so with the old dtb for opi3 from 5.1.5 image mention earlier in the posts this is running fine from emmc

 

 

 

 

Link to comment
Share on other sites

none, as mentioned " ./compile.sh " is being used to compile dev images, this was in reply to Werner ( yesterday ): 

" You can build your own image using the the build script available here: https://github.com/armbian/build "

 

  ___  ____  _    ___
 / _ \|  _ \(_)  / _ \ _ __   ___   _
| | | | |_) | | | | | | '_ \ / _ \_| |_
| |_| |  __/| | | |_| | | | |  __/_   _|
 \___/|_|   |_|  \___/|_| |_|\___| |_|

Welcome to Debian Stretch with Armbian Linux 5.1.7-sunxi64
System load:   0.00 0.00 0.00   Up time:       7:49 hours
Memory usage:  12 % of 991MB    IP:            192.168.10.2
CPU temp:      48°C
Usage of /:    35% of 3.5G      storage/:      1% of 7.4G

Last login: Wed Jun 12 07:25:49 2019 from 192.168.10.60

 

Link to comment
Share on other sites

  ___  ____  _   _____
 / _ \|  _ \(_) |___ /
| | | | |_) | |   |_ \
| |_| |  __/| |  ___) |
 \___/|_|   |_| |____/

Welcome to Ubuntu Bionic with Armbian Linux 5.1.7-sunxi64
System load:   0.04 0.05 0.04   Up time:       9:20 hours
Memory usage:  26 % of 1997MB   Zram usage:    7 % of 998Mb     IP:            4.3.2.1
CPU temp:      54°C
Usage of /:    82% of 7.1G      storage/:      55% of 1.9T

[ General system configuration (beta): armbian-config ]

Last login: Wed Jun 12 09:46:29 2019 from 1.2.3.4


root@orangepi3:/home/pi3# uname -a
Linux orangepi3 5.1.7-sunxi64 #5.89.190612 SMP Tue Jun 11 23:22:44 CEST 2019 aarch64 aarch64 aarch64 GNU/Linux

 

with dtb from Armbian_5.88.190601_Orangepi3_Ubuntu_bionic_dev_5.1.5.7z up and runing on EMMC. just boot the 5.1.5 image and copy over the old dtb ...

Link to comment
Share on other sites

Hi guys,

 

I'm aware of the current issues with the OPi3 images not booting and for me I can't find any of the currently downloadable images that will boot.

 

I just need to urgently test a couple of things - can anyone point me to a reasonably recent Ubuntu Bionic dev server image for the OPi3 that will boot/run?

 

I have an "old" Armbian_5.78_Orangepi3_Debian_stretch_dev_5.0.7.img that runs just fine (as long as I don't upgrade it!) but I don't have any similar Ubuntu versions. Does anyone happen to know of an archive of old versions, or maybe have something that I could download direct?

 

Many thanks!
George

 

Link to comment
Share on other sites

15 hours ago, dziobak said:

apt-mark hold linux-dtb-dev-sunxi64

and do full apt update/upgrade

Works perfectly for me - thank you @dziobak :thumbup:

  ___  ____  _   _____
 / _ \|  _ \(_) |___ /
| | | | |_) | |   |_ \
| |_| |  __/| |  ___) |
 \___/|_|   |_| |____/
                       
Welcome to Ubuntu Bionic with Armbian Linux 5.1.7-sunxi64
System load:   0.22 0.16 0.14      Up time:       44 min        
Memory usage:  17 % of 1997MB     IP:            192.168.xxx.xxx
CPU temp:      36°C               
Usage of /:    24% of 7.1G       

       

 

Link to comment
Share on other sites

Please advice, how to restore old dtb files? After upgrade to 5.1.7 (debian), OPi3 system became unstable and hang in maximum 50 minutes (sometimes immediately after reboot)

 

Tried to rollback

 

dpkg: warning: downgrading linux-dtb-dev-sunxi64 from 5.89.190614 to 5.89.190612

 

but still same issue.

Link to comment
Share on other sites

After updating to new firmware the board not booting and wait on u-boot state

 

=> version
U-Boot 2019.04-armbian (May 08 2019 - 10:38:01 +0200) Allwinner Technology

aarch64-linux-gnu-gcc (Linaro GCC 7.4-2019.02) 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4]
GNU ld (Linaro_Binutils-2019.02) 2.28.2.20170706

 

Please advice, is it possible to upload new image somehow? I mean, without flashing sd card, just in u-boot console

Edited by AZ8
explanation
Link to comment
Share on other sites

[ o.k. ] Writing U-boot bootloader [ /dev/loop0 ]
[ o.k. ] Done building [ /orangepi/build/output/images/Armbian_5.89_Orangepi3_Debian_stretch_dev_5.1.7.img ]
[ o.k. ] Runtime [ 33 min ]
[ o.k. ] Repeat Build Options [ ./compile.sh BOARD=orangepi3 BRANCH=dev RELEASE=stretch BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no  ]

OK, so building my own image worked.. But it still isn't working on my OPi3.

 

Can anyone please provide a working IMG (5.88.190601 - 5.1.5)?

Or tell me how to change the dtb file?

Link to comment
Share on other sites

5 hours ago, renedis said:

[ o.k. ] Writing U-boot bootloader [ /dev/loop0 ]
[ o.k. ] Done building [ /orangepi/build/output/images/Armbian_5.89_Orangepi3_Debian_stretch_dev_5.1.7.img ]
[ o.k. ] Runtime [ 33 min ]
[ o.k. ] Repeat Build Options [ ./compile.sh BOARD=orangepi3 BRANCH=dev RELEASE=stretch BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no  ]

OK, so building my own image worked.. But it still isn't working on my OPi3.

 

Can anyone please provide a working IMG (5.88.190601 - 5.1.5)?

Or tell me how to change the dtb file?

hi, you need to overid the dtp file in here

 

ll /boot/dtb-5.1.7-sunxi64/allwinner/

total 968
drwxr-xr-x 3 root root  4096 Jun 15 12:19 ./
drwxr-xr-x 3 root root  4096 Jun 15 12:21 ../
drwxr-xr-x 2 root root  4096 Jun 15 12:19 overlay/
-rw-r--r-- 1 root root 33668 Jun 14 23:52 sun50i-a64-amarula-relic.dtb
-rw-r--r-- 1 root root 35345 Jun 14 23:52 sun50i-a64-bananapi-m64.dtb
-rw-r--r-- 1 root root 34228 Jun 14 23:52 sun50i-a64-nanopi-a64.dtb
-rw-r--r-- 1 root root 35180 Jun 14 23:52 sun50i-a64-olinuxino.dtb
-rw-r--r-- 1 root root 35776 Jun 14 23:52 sun50i-a64-orangepi-win.dtb
-rw-r--r-- 1 root root 34570 Jun 14 23:52 sun50i-a64-pine64-lts.dtb
-rw-r--r-- 1 root root 35082 Jun 14 23:52 sun50i-a64-pine64-plus.dtb
-rw-r--r-- 1 root root 35004 Jun 14 23:52 sun50i-a64-pine64.dtb
-rw-r--r-- 1 root root 36584 Jun 14 23:52 sun50i-a64-pinebook.dtb
-rw-r--r-- 1 root root 34582 Jun 14 23:52 sun50i-a64-sopine-baseboard.dtb
-rw-r--r-- 1 root root 36526 Jun 14 23:52 sun50i-a64-teres-i.dtb
-rw-r--r-- 1 root root 31397 Jun 14 23:52 sun50i-h5-bananapi-m2-plus-v1.2.dtb
-rw-r--r-- 1 root root 31004 Jun 14 23:52 sun50i-h5-bananapi-m2-plus.dtb
-rw-r--r-- 1 root root 29328 Jun 14 23:52 sun50i-h5-emlid-neutis-n5-devboard.dtb
-rw-r--r-- 1 root root 29798 Jun 14 23:52 sun50i-h5-libretech-all-h3-cc.dtb
-rw-r--r-- 1 root root 32108 Jun 14 23:52 sun50i-h5-nanopi-k1-plus.dtb
-rw-r--r-- 1 root root 29396 Jun 14 23:52 sun50i-h5-nanopi-m1-plus2.dtb
-rw-r--r-- 1 root root 29316 Jun 14 23:52 sun50i-h5-nanopi-neo-core2.dtb
-rw-r--r-- 1 root root 29412 Jun 14 23:52 sun50i-h5-nanopi-neo-plus2.dtb
-rw-r--r-- 1 root root 29061 Jun 14 23:52 sun50i-h5-nanopi-neo2-v1.1.dtb
-rw-r--r-- 1 root root 29065 Jun 14 23:52 sun50i-h5-nanopi-neo2.dtb
-rw-r--r-- 1 root root 29991 Jun 14 23:52 sun50i-h5-orangepi-pc2.dtb
-rw-r--r-- 1 root root 29918 Jun 14 23:52 sun50i-h5-orangepi-prime.dtb
-rw-r--r-- 1 root root 29138 Jun 14 23:52 sun50i-h5-orangepi-zero-plus.dtb
-rw-r--r-- 1 root root 29143 Jun 14 23:52 sun50i-h5-orangepi-zero-plus2.dtb
-rw-r--r-- 1 root root 27608 May 30 22:14 sun50i-h6-orangepi-3.dtb <----------------------------------------
-rw-r--r-- 1 root root 27359 Jun 14 23:52 sun50i-h6-orangepi-lite2.dtb
-rw-r--r-- 1 root root 26874 Jun 14 23:52 sun50i-h6-orangepi-one-plus.dtb
-rw-r--r-- 1 root root 27617 Jun 14 23:52 sun50i-h6-pine-h64.dtb

 

Link to comment
Share on other sites

hmm just built " Armbian_5.89_Orangepioneplus_Debian_stretch_dev_5.1.7 ", but alas.

Anyone working " sun50i-h6-orangepi-one-plus.dtb " or is it something else this time?

Perhaps a 5_90 soon that will boot ( with latest 5.1.12 kernel )? cheers

Link to comment
Share on other sites

There will probably no version bump until it is known to work. You do not need to wait for a bump anyways if you are using the build system. This always includes the latest commits, just take a look here from time to time: https://github.com/armbian/build/commits/master

 

Maybe @megi is on vacation as the last commit to orangepi-5.1 and orangepi-5.2 branch was 16 days ago. The development might be focused on 5.2 anyways as soon as the new version is officially released.

Link to comment
Share on other sites

 / _ \|  _ \(_) |___ /
| | | | |_) | |   |_ \
| |_| |  __/| |  ___) |
 \___/|_|   |_| |____/

Welcome to Debian Stretch with Armbian Linux 5.1.7-sunxi64
System load:   0.02 0.01 0.00   Up time:       8:04 hours
Memory usage:  9 % of 1997MB    IP:            x.x.x.x
CPU temp:      46°C
Usage of /:    69% of 7.1G

Everything is working now, I've installed to eMMC.

 

Thanks everyone for working on this! The OPi3 is pretty fast too!

Link to comment
Share on other sites

1 hour ago, Werner said:

The development might be focused on 5.2 anyways as soon as the new version is officially released.

 

hi - yes I fully agree with that approach. - would love to see in July first 5.2 iamges :-)

Though my suggestion would be to store in downloads ( archive ) an image that is known to work

as I tried a few, incl the one in archive,  but none were OK as has been reported here past days, my silly mistake was I erased my custom built images which worked once ( as you can see in my report 12 June ) ...

cheers

Link to comment
Share on other sites

Now that the OPi3 has been moved into the Armbian downloads section there needs to be be a set of 'known-to-be-working' images made available while development on newer kernels and features continues.

 

There will be a number of people buying the OPi3 as their first SoC board, trying the 'factory' images (as we have all done in the past <_<) and then coming here where they will currently find images labelled "Suitable for Testing" that will not boot. This is not a great first impression of Armbian for these people, who won't yet have the knowledge or experience to hold back upgrade packages or to replace dtb files, etc. and just want to be able to boot a [mostly] working system.

 

 

Link to comment
Share on other sites

On 6/13/2019 at 6:20 PM, GeorgeP said:

....

 

I have an "old" Armbian_5.78_Orangepi3_Debian_stretch_dev_5.0.7.img that runs just fine (as long as I don't upgrade it!) but I don't have any similar Ubuntu versions. Does anyone happen to know of an archive of old versions, or maybe have something that I could download direct?

 

Many thanks!
George

 

Hi George

 

you can download this one. I hope that this help you.

http://io.mrobot.eu/deposito/Armbian_5.82.190423_Orangepi3_Ubuntu_bionic_dev_5.0.7.7z

 

This one it's usable, and you can use with a complete desktop.  It's far to be perfect, but usable.

(I'm writing from armbiam 5.82 - 5.0.7 installed in the emmc on my OPI3)

 

regards

MaX

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