-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag v1.9 not booting, black screen #5
Comments
Just type ENTER key a few times and you will see the login prompt. If you have the heart-beat on the led, it is OK! |
No, you can have 32GB sd card but you have to manually (fdisk or gparted) reclaim the remaining card space. |
Thanks, it's not a continuos heartbeat, is just when starts, but I tried hitting enter but does not work. And compiled for Orange Pi one Plus, and works ok but no audio, (it takes all night to finish). Then my last chance will be to download build of Armbian, and apply next patches: According to one post in Armbian forum that fixes Audio and video acceleration too: I never applied a patch but I read that in user patches folder of Armbian I can put this files to compile again with that, currently is downloading data. The best solution for me is to make work your distro but I can't figure out how to do it. With your last instructions I have same result, does not even detect HDMI output, I checked if there is a corrupted OS partition with e2fsck in virtual box but is all ok. I'm using ubuntu 18.04 as host system to create SD and format_sd_mainline and flash_card.sh scripts. Do I need to do another extra step? Thank you again for your fast answer. |
Do you have a TTL to USB ? https://www.youtube.com/watch?v=kS1x6nrnnK0
No. Try this first and than update with the latest, see what you get. kernel 5.0.y OS Img is available here (use 7z to unzip and burn to SD card with Win32DiskImager or Etcher): https://mega.nz/#!NPoSkIyT!Ul1n_1WVklPXlR2nHQxEE356_2iM8WAWWm9AWNR08hg |
Today I bought a new 8GB card, I extracted this image, and I can see first boot screen just about a second, and it says "starting kernel" then HDMI behaves as undetected signal, but as you told me I hit several keys in keyboard but nothing happens, but if press CTRL+ALT+DEL the Orangepi power off, so keyboard input is working. For restarting I need to unplug and plug again power source. I saw closely my board and it says v.2.0 could it be an issue? Thank you! |
Yes, Could be. You could try to ssh to the board, try to find the IP and do an shh ubuntu@IP |
ssh i meant. |
Thanks it did not work, I can't do ssh, I looked at router DHCP to check but it does not have leases. In Xunlong mainline kernel is 5.3.5 and I managed to have sound, video but there is no thermal sensors, perhaps if in a future you could update to last kernel and upload a 7z image of full image and my SBC would work. Thank's anyway for all your support, I really appreciate it. |
You could try to transplant the Xulong Image and modules and see if it boots. You should link Image to the Xulong Image file. Type in: |
Thanks!
I built mainline from xulong and it boots ok and also have audio but no
accelerated graphics and xorg shows videos like 2 frame per second. and
thermal control or cpu freq are missing,
I tried to add those options to kernel config but it does not work.
My last try was with test.libreelec.tv version that was built yesterday,
with that version I have audio, accelerated graphics but not thermal
options I cannot check board temperature or cpu temperature.
And also is a version just with kodi and I cannot install x11, for me the
perfect version is like Armbian or Ubuntu minimal with all drivers and
audio like yours.
For me it’s a great news if you can build that.
Thanks again
…On Tuesday, December 10, 2019, avafinger ***@***.***> wrote:
You could try to transplant the Xulong *Image* and modules and see if it
boots. You should link Image to the Xulong Image file. Type in:
ll /boot
I will build one OS Image with Xulong Kernel and you can give it a try.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=ADVEZ44XVGSR6PFOKKKEXKDQX5275A5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGO4EQI#issuecomment-563987009>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADVEZ47E5VX6VFOUM7DJPSTQX5275ANCNFSM4JXWEXDA>
.
--
*Gabriel H. Giovaniello*
*+54 2216230146*
|
Can you check if HW accel is with panfrost or mali? I have noticed my kernel tree is outdated and to have panfrost enabled i have to move to kernel 5.4.y |
No need to host in github if you can tar.gz the kernel source code tree after all patches applied to the tree. |
Hi! Sadly I don’t know how to recompile kernel of LibreElec I just downloaded full image from next link: https://test.libreelec.tv/LibreELEC-H6.arm-9.80-nightly-20191209-d0f5bf5-orangepi-one-plus.img.gz in this url there are images for all supported Orangepi: I ran dmesg and it confirms that is panfrost as you told me: Here I send pastebin of it results: Also I send attached DTB of libreelec that I get from installed version. sun50i-h6-orangepi-one-plus.dtb.zip Hope this help you and thanks again |
Can you get the Kernel config also? |
Yes, here I send:
http://ix.io/247S
I extracted with following command, I don't know if it is ok:
"cat /proc/config.gz | gunzip > running.config"
Please tellme if you need anything else.
… On 11 Dec 2019, at 09:15, avafinger ***@***.***> wrote:
Can you get the Kernel config also?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=ADVEZ47UCK2OHUNTG6LAWY3QYDKVVA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGS4Y2A#issuecomment-564513896>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADVEZ43Q7LLQMHXNTMLHJDTQYDKVVANCNFSM4JXWEXDA>.
|
It is fine. I will see if i can do something with 5.4, but there are lots of changes on 5.4 so it may take days to come up with something stable. But you should know beforehand that HW accel. may work only with Wayland (i think gnome) and not X11 yet. Afaik. |
Ok, thanks!
I don’t know if its full HW accell, perhaps with Cedrus and x11 I can be fine, I just want to have youtube or video with proper FPS and I presume that this can be achieved with a good h264 decoder, I tested Armbian and X interface goes well overall and Youtube videos too, but no sound. Perhaps with your new release all this can work together.
Thanks a lot for your support.
… On 11 Dec 2019, at 11:08, avafinger ***@***.***> wrote:
It is fine. I will see if i can do something with 5.4, but there are lots of changes on 5.4 so it may take days to come up with something stable. But you should know beforehand that HW accel. may work only with Wayland (i think gnome) and not X11 yet. Afaik.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=ADVEZ43MRHRGHEFIPEQYH6LQYDX5BA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTHS7A#issuecomment-564558204>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADVEZ46OFZ7P67XVHKL5L2LQYDX5BANCNFSM4JXWEXDA>.
|
Hi Avafinger, Edit and update the file /etc/resolver.conf to reflect your network (DNS) Thanks for your work on the images.... |
I have updated the kernel to 5.3.9 based on xunlong and hopefully, DHCP and HDMI should work. at least works here. There are 3 "speedbin" on H6, say fast, normal and slow. Anyway, no mali or panfrost on this 5.3.y. Cedrus is built. @pinighg @coolsdaks
|
Ubuntu 18.04 OS Image is here: https://github.com/avafinger/orangepi-h6-ubuntu-base-minimal/releases/tag/v1.24 |
Hi Avafinger, that are really good news, lastly I managed to boot your previous version (5.1.3) and is the best of all distros that I tested before, I get 10 degrees less of temperature than with Armbian and is soo minimal! it's great, but I have just noise in HDMI sound. I don't know exactly why I cannot recreate img before, Previously I used Unarchiver in Mac, and appears a dialog with file localization when I tried to unzip 7z, then I tried with p7zip and 7z native command line and image fails too in 2 different SD, finally I tested with an app called "Keka" that unzips 7z format and I successfully boot your img files, so I upgraded step by step until kernel 5.1.3 and everything is great with exception of sound, I followed your Alsa instructions, and also tested different "asound.conf" versions and I hear just noise in HDMI output when I run speaker-test or I try to play a wav file, also in other distros to test sound I installed sox and play a demo mp3 with good results, but in this I cannot manage to make it work. If I try to recreate sd card with your script, in old version (with format_sd_mainline) it fails, and also fails with this new version v.124, I mean the process end correctly but don't boot when I put in Orangepi , perhaps you can create an img file and I will test or if you can tell me in which Linux version you are running this scripts I can recreate environment in a virtual machine and test if I can create SD, I getting no bootable results in Ubuntu 18.04 inside virtual box. Thanks a lot for your great and fast support! |
It failed to create the sd card Image (script error?) or failed to boot? Currently, i have Ubuntu 16.04 , no VM, Old machine.. |
It fails to boot, process ends successfully but no boot in Orange pi, I’ll
download an Ubuntu iso to check if it is a problem with my version and let
you know If it works.
Thanks
…On Thursday, December 12, 2019, avafinger ***@***.***> wrote:
If I try to recreate sd card with your script, in old version (with
format_sd_mainline) it fails, and also fails with this new version v.124
It failed to create the sd card Image (script error?) or failed to boot?
Currently, i have Ubuntu 16.04 , no VM, Old machine..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=ADVEZ46DU2QWJ63KJABQPQTQYKGJLA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXYD7A#issuecomment-565150204>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADVEZ44YIOQL6Q5HP44IBDTQYKGJLANCNFSM4JXWEXDA>
.
--
*Gabriel H. Giovaniello*
*+54 2216230146*
|
today I built Kernel 5.4.2 , i have CPU Temp but no Cpu Freq.
|
I finished installing your v1.24 and it's great, I tried 3 different guest os in VirtualBox but the problem seems to be the low level access to SD card in VirtualBox, so I created a loop device with an img file and modified your format_sd_mainline and flash_card to use always a "p" letter like if it was installing in a mmcblk, and I successfully created img file running your scripts on /dev/loop1 Then in my host system I put img file on SD with etcher and it works! I have 48 degrees with cpu idle without heatsink. When I put some video to test temperature it goes to 70 degrees but it's not overheating, the cpu freq that you configure is great, in one of my first test weeks ago I have similar results in temperature disabling 2 CPUs but it affects performance your config is perfect. About audio in my first attempts I was doing test with ubuntu user without adding it to audio group and that's why I cannot hear anything. Then I tried with root and I heard noise even with a music wav file but when I ran "speaker-test -t wav" I hear clear voice with your asound.conf file. Finally I have x11 working, video is flowing well and good audio, all because your great work! About last kernel issue with audio please tell me how can I help you, I google about the error code but probably you already do it, if you have an image or need additional help will be a pleasure to help you. |
Some progress with Kernel 5.4.2.
Board still runs a bit hotter than 5.1.y , 46C idle with the heatsink. I will give the 5.4.3 a try.. |
That's a great news! When you have a release please let me know and I will try. With your v.1.24 everything is great, but I cannot run Gcompris (an educational software), I'm trying to find out why, it says that I lack a kernel module but in your previous version it works ok. Thanks. |
Compare both kernel.config to find out which module is missing Kernel 5.4.3 works.
|
Great, how can I test your last kernel?
I cannot find tag or download instructions
Thanks
… On 13 Dec 2019, at 12:27, avafinger ***@***.***> wrote:
it says that I lack a kernel module but in your previous version it works ok.
Compare both kernel.config to find out which module is missing
Kernel 5.4.3 works.
***@***.***:~$ ssh ***@***.***
***@***.***'s password:
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 5.4.3 aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
Last login: Fri Dec 13 15:16:15 2019
***@***.***:~$ uname -ra
Linux opi-h6 5.4.3 #1 SMP PREEMPT Fri Dec 13 11:46:37 -03 2019 aarch64 aarch64 aarch64 GNU/Linux
***@***.***:~$ sudo ./h6-monitor.sh
[sudo] password for ubuntu:
CPU1 freq : 888 MHz
CPU2 freq : 888 MHz
CPU3 freq : 1320 MHz
CPU4 freq : 1320 MHz
CPU count : 4
Governor : ondemand
Core voltage : 0.94 V
SOC Temp : 39.45 C
***@***.***:~$
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=ADVEZ42YC2YMMHOFQNCWXWTQYOSUVA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG2JIRY#issuecomment-565482567>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADVEZ43I4EL3BYQRBOWVUC3QYOSUVANCNFSM4JXWEXDA>.
|
Here: https://github.com/avafinger/orangepi-h6-ubuntu-base-minimal/releases/tag/v1.25 I would suggest you have a second sd card as a backup, so you don't lose any work and can compare both versions. |
linux-image-5.4.3_1.0-26.deb re-uploaded to fix the install error. |
Hi Avafinger, I tried to update directly from your 5.3.9 Xunlong, and it fails: Unpacking linux-image-5.4.3 (1.0-26) ... I don't know if I'm doing something wrong, how can I check error log of this install? BTW yesterday I read about Panfrost and Mali 720 chip in mesa-20.0-dev it was declared stable: https://www.phoronix.com/scan.php?page=news_item&px=Mali-T720-Stable-Mesa-20.0 |
I tried with 2 different SD cards that boot's ok with your previous 5.3.9 version, but this always throws an install error as I mentioned in last message, I checked dpkg --contents and there is a /usr folder with Alex:alex user/group I don't know if this can be a problem, also there is a symlink at the end pointing to /arm/ directory that does not exists, I tried to recreate this directory but install fails anyway. Perhaps if you bring me your 5.4.2 pre-release I can do step by step upgrade from 5.3.9 to determine if it is an error with my setup. Thank you |
The last upload was supposed to fix the install error. Can you check the contents of files on both deb packages? Just in case it is in the cache of the browser. |
Yes, I downloaded it from different browsers even from Orangepi SBC directly after I created sd to discard the problem, I don’t have previous files to compare.
What I did after wrote you yesterday was install kernel, (installation fails).
I created a backup of new img and dtb files.
And make symlinks manually to 5.4.3 files in /boot partition (replacing Xunlong ones).
Then I restarted and boots with new kernel but an error persists in apt manager (half configured kernel)
So I uninstalled kernel but kept back files and recreate manually symlinks again and now is working and APT is working too.
I noted an extra slow I/O writes when I install packages or use system in general, as example when I apt-install something, download goes fast but unpacking packages are really slow, this happens with last kernels, (I have an image with your previous work 5.1.3 before Xunlong and works great).
Hope this help you and thank’s again for all your support.
… On 16 Dec 2019, at 09:08, avafinger ***@***.***> wrote:
The last upload was supposed to fix the error install. Can you check the contents of files on both deb packages? Just in case it is in the cache of the browser.
Ok. I will release tonight a new one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=ADVEZ43OHRW2BTBGC6IPEO3QY5VTXA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG6P6VI#issuecomment-566034261>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADVEZ4ZUVSJTIHMCOXOQFLTQY5VTXANCNFSM4JXWEXDA>.
|
Kernel 5.4.3 has a new DVFS and there is a huge CMA reserved memory for KODI, 384M. I have built mesa 20 and Kodi on my last attempt. It seems to be working. I also reverted to the previous DVFS in a hope to restore 1.8GHz without much success, still limited to 1.5GHz.. but i get ~4C less in overall Temp. I think if you are going Desktop, maybe the kernel without CMA (used for HW decoding) would be a better choice. I have yet to test real decoding to see if cedrus is working. |
That’s great
I tried to test Cedrus with h264fy plugin for chromium but I did not see any big difference in CPU usage when I play video, I mean with our without h264 decoding, cpu usage is high.
Today ill research how to test Mesa/OpenGL I tried with xglinfo and seems to be fine.
When you have a fixed version of kernel (I don’t know if mine is installed ok because I did symlinks manually etc from failed install) please let me know and ill test it.
Best regards
… On 16 Dec 2019, at 12:08, avafinger ***@***.***> wrote:
Kernel 5.4.3 has a new DVFS and there is a huge CMA reserved memory for KODI, 384M.
So i suspect it is running out of memory really soon that makes the system struggling. Here i added ZRAM to mitigate this. To be able to build Kodi i had to suppress CMA. Mesa and Panfrost were built with the huge CMA.
I have built mesa 20 and Kodi on my last attempt. It seems to be working.
I also reverted to the previous DVFS in a hope to restore 1.8GHz without much success, still limited to 1.5GHz.. but i get ~4C less in overall Temp.
I think if you are going Desktop, maybe the kernel without CMA (used for HW decoding) would be a better choice.
I have yet to test real decoding to see if cedrus is working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=ADVEZ42FDS2ZGEIAIJDWZ5LQY6KVFA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7AFXY#issuecomment-566100703>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADVEZ42MSKDYFJCQ7MEHLCLQY6KVFANCNFSM4JXWEXDA>.
|
Little update. I think the best approach would be to build LibreElec and get the Kernel tree and FFmpeg. Can you build it in your VM? |
Hi, I read about it, but in GitHub of LibreElec there is no nightly branch like we need to have all working. I tried to search in full GitHub without luck, perhaps if you can send me from where download this nightly branch I can compile it on my VM.
Thanks.
… On 16 Dec 2019, at 21:39, avafinger ***@***.***> wrote:
Little update.
Panfrost is not stable on my build and Cedrus still missing something.
I think the best approach would be to build LibreElec and get the Kernel tree and FFmpeg.
Can you build it in your VM?
instructions are here:
https://wiki.libreelec.tv/compile <https://wiki.libreelec.tv/compile>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=ADVEZ44RGEU4R4BXQB65YBTQZANVFA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHAVGLQ#issuecomment-566317870>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADVEZ47XS7EI6HFGTUCK233QZANVFANCNFSM4JXWEXDA>.
|
Hmmm, no idea. I think the nighty builds are based on the master dev branch. Check the versioning here if it matches the one you say it works smooth. Let's try the master and you test it. |
@pinighg |
Hi Avafinger,
I checked and master branch is on 9.2 and test is 9.8.8 I’ll be on vacation
until 27 but if I get proper repository I’ll let you know and perhaps I’ll
ask your help about how to create kernel tree.
Best regards
…On Tuesday, December 17, 2019, avafinger ***@***.***> wrote:
@pinighg <https://github.com/pinighg>
Please share the kernel tree and ffmpeg when you have that ready.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=ADVEZ4Y2XO6G4TM5NW4QBQTQZFDKRA5CNFSM4JXWEXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHEC3OA#issuecomment-566767032>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADVEZ46NB3UGCXCJ7MMNOPDQZFDKRANCNFSM4JXWEXDA>
.
--
*Gabriel H. Giovaniello*
*+54 2216230146*
|
Hi Avafinger, thank you for your great work!
I registered in GitHub just for asking you a few questions:
I tried to boot with instructions in v1.9 but in a 16GB sd card and Orange pi one plus does not boot properly (screen does not start) and perhaps board is reseting continuously.
It is mandatory to have 8GB sd?
Then I tried wit v.1.10 because I thought that was a problem of 16GB sd instead of being 8GB, so I followed your instructions for format and flash sdcard and I had same results.
Finally I get another 2GB SD and did same procedure, in both cases it finishes flashing ok, but same results when I put in Orangepi.
I checked md5sum of files and are ok.
When SBC starts the light flashes red and yellow instantly and then stops and turn on led of Ethernet. Several seconds ago same thing happens.
I installed a Virtuabox with ubuntu 18.04 to make all procedure again and same results.
Before I found your work I installed last Armbian in same sd card and it works ok (but no sound), also I installed kernel 4.9 version from Orange Pi's official web, and then build script and I added new rootfs with debootstrapped Debian and it works ok (but I can't change resolution, 1920x1080 is fixed and changes in DTB files are not applied).
So after all my mistakes will be great if you can help me to make it work, I'm a newbie on this.
Thank you.
The text was updated successfully, but these errors were encountered: