Z4R Posted December 17, 2017 Posted December 17, 2017 Hi, i'm mauro i'm try to enter in this world.....I have a T95K PRO box but i have some problem can anyone help me. I'm succefull boot up Arm bian with many image with q2012g.dtb file but after all startup process i can't utilize internet. I connect ehthet cable i try to set manual but nothid do. How can i solve? I see that ethert was see because i see MAC address... i have a question the dtb.img have driver?? so i need to try all boot up my box? sorry if i bother all of you Thankyou Mauro
ArtUrlWWW Posted December 20, 2017 Posted December 20, 2017 Hello, guys! I am still trying to start Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_icewm_20171212.img.xz on Beelink GT1 Ultimate. Without any dtb.img files it started, asked me for root login/password, asked to create linux user, rebooted and after that it don't want to start: After that I've rebooted TV box with CTLR+ALT+DEL and got another view: I've tried all files from dtb directory and, as result, TV box booted only with kvim****.dtb files, but the similar boot error. With other files from dtb directory TV box didn't booted at all - it hangs on Beelink boot logo. Here is my /var/log/ directory from TV box, booted with kvim multiboot dtb - https://goo.gl/tJwQSa . Can you advise me, how to fix such error? Thank you!
ArtUrlWWW Posted December 20, 2017 Posted December 20, 2017 Second version of /var/log, more clear - https://goo.gl/WknnZ9
ArtUrlWWW Posted December 20, 2017 Posted December 20, 2017 I found warnings in the file /var/log/lightdm/seat0-greeter.log : ** (process:4593): WARNING **: Error reading existing Xauthority: Failed to open file '/var/lib/lightdm/.Xauthority': Permission denied Error writing X authority: Failed to open X authority /var/lib/lightdm/.Xauthority: Permission denied but there is no .Xauthority file in the /var/lib/lightdm/ directory.
ArtUrlWWW Posted December 21, 2017 Posted December 21, 2017 I have some progress - I've downloaded boot.img from my Android 7.1.1 Beelink GT1 Ultimate TV box. I followed an instruction from lvmc - but I got only ./split_bootimg.pl boot.img Page size: 2048 (0x00000800) Kernel size: 7944273 (0x00793851) Ramdisk size: 1482583 (0x00169f57) Second size: 0 (0x00000000) Board name: Command line: buildvariant=user Writing boot.img-kernel ... complete. Writing boot.img-ramdisk.gz ... complete. and there is no boot.img-second.gz . How can I extract DTB/DTS from Android 7.1.1 TV box? Thank you!
Inter95 Posted December 28, 2017 Posted December 28, 2017 I got same issue like @ArtUrlWWW on H96 Pro+ 3GB/32GB S12. On LE I use gxm_q200_3g.dtb and works with no problem at all but on "Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_mate_20171226.img" boot well without any dtb but it stuck on similar ss posted above. I can enter to gui with command "strartx" from a tty shell but it send me to a different gui I think because it doesn't have the option of lightdm in the upper right corner of the screen where I can choose one of the three option there and at the same time I can't use sudo from mate terminal. For some strange reason that I don't understand when I was try to run Armbian for the 2nd or 3rd time I could enter to Armbian login with no problem but wifi didn't work so I hadn't read enough then try to fix it running Armbian from zero again with no luck (noob mistake, now I know that I just need to load the wifi_dummy module :)) after that I flashed my tvbox to its stock firmware, reburned my media a few times with no luck.
balbes150 Posted December 29, 2017 Posted December 29, 2017 Use images IceWM. In the image with IceWM, no KODI. Then you can install any DE (including Mate).
Inter95 Posted December 29, 2017 Posted December 29, 2017 Thanks @balbes150 I will try it then let you know.
gnthibault Posted January 7, 2018 Posted January 7, 2018 Hi all! I wanted to thank @balbes150 for his work, I tested ubuntu xenial with icewm on a H96 pro+ 3G/32G, and it works very well. However, as I tried to download the regular (mate) distribution on https://yadi.sk/d/5_32km_EsCV2A/ARMBIAN , I had a lot of trouble because download througput is too slow, and stops before download is finished. Do you have another option for downloading this file ? Thank you in advance for your help !
balbes150 Posted January 9, 2018 Posted January 9, 2018 On 07.01.2018 at 10:08 PM, gnthibault said: Do you have another option for downloading this file ? Added the files to MEGA. Try this link. https://mega.nz/#F!Xw4WVBqY!xgPbJkJkfMUIVoCAX2hBlQ 2
pyc Posted January 12, 2018 Posted January 12, 2018 Excuse my lazyness, but I see this topic is huge... I see it's possible to run Linux on Amlogic S912 packed in Beeling GT1 Ultimate, but I'm not sure if hardware graphic acceleration (it's that ARM Mali-T820MP3, right?) can be used. Some say it's possible but I have yet to see someone says it works flawlessly on this type of sweet little box. Also, does wireless keyboard/mouse work? Android 7 on this box is kind of usable, yet there are many problems like low picture quality when rendering movies (it's ok on desktop), hardware acceleration not working in Kodi (you can't play 4K videos), and generally it's really painful to use Android as desktop operating system. Can somebody throw few useful links? Thanks!
pulesky Posted January 17, 2018 Posted January 17, 2018 Hello, Ive got an H96 pro plus 3/32 I would like to put linux on but it doesn't work. Does anyone can tell me exactly which DTB file i have to use for this model? ive got the same issue than Marcopolo I run initially UPDATE&BACKUP App and choose the zip file, It says "shutting down" and there is no sign of activity of any reboot, no screen output nothing. waited much longer than 10mins several times. Tried to press the reset button when power on with paper clip. no screen output anytime when booting with sd card inserted. In a second time i would like to install direcly Linux if it work well on eMMC... If anyone can help me it will be great! thx Rémi
jeanrhum Posted January 17, 2018 Posted January 17, 2018 46 minutes ago, pulesky said: I run initially UPDATE&BACKUP App and choose the zip file, It says "shutting down" and there is no sign of activity of any reboot, no screen output nothing. waited much longer than 10mins several times. I had exact same problem with mine (Alfawise H96 pro+). I didn't find any solution... In fact I suppose that it comes from u-boot, but I had also some powering issues. with default android, reboot didn't work (I use now superceleron ATV and it works). Powering through classical power barrel didn't work anymore and I power it through usb . I have the model with 2 hidden usb ports. I also have a GT1 Ultimate and armbian work well with kernel 3.4 with no specified dtb (no wifi but no use for me). Since it has better heat dissipation than h96, I gave up to put armbian on it.
pulesky Posted January 17, 2018 Posted January 17, 2018 13 hours ago, jeanrhum said: I had exact same problem with mine (Alfawise H96 pro+). I didn't find any solution... In fact I suppose that it comes from u-boot, but I had also some powering issues. with default android, reboot didn't work (I use now superceleron ATV and it works). Powering through classical power barrel didn't work anymore and I power it through usb . I have the model with 2 hidden usb ports. I also have a GT1 Ultimate and armbian work well with kernel 3.4 with no specified dtb (no wifi but no use for me). Since it has better heat dissipation than h96, I gave up to put armbian on it. I ve got GT1 ultimate also Do you use stock ROM or superceleron ROM on GT1? On superceleron rom no android tv for me i don't have the backup apk... Could you help to trying to install on ultimate GT1? what is the step and your initial firmware please?
jeanrhum Posted January 17, 2018 Posted January 17, 2018 I don't remember exactly which initial version I got (maybe 313 or something like that since I bought it about one year ago) and I manually upgrade via usb to one of the latest official rom (I think 704). Currently I use latest armbian server image from Balbes on sdcard and it just work as expected. I use the backup and upgrade procedure as described on the 1rst post of s905 topic. I upgraded android because , by accident, I erased the emmc with a previous version of Balbes' armbian a few month ago.
kingul Posted January 20, 2018 Posted January 20, 2018 On 09.01.2018 at 9:10 AM, balbes150 said: Added the files to MEGA. Try this link. https://mega.nz/#F!Xw4WVBqY!xgPbJkJkfMUIVoCAX2hBlQ @balbes150 Can you please modify my original dtb.img to work with one of your firmware made with kernel 4.9.40? It's working with 3.14.29, gcc 4.9, but not with gcc > 5 or kernel 4.9.40dtb.img 1
balbes150 Posted January 21, 2018 Posted January 21, 2018 16 hours ago, kingul said: Can you please modify my original dtb.img to work with one of your firmware made with kernel 4.9.40? It's working with 3.14.29, gcc 4.9, but not with gcc > 5 or kernel 4.9.40 This requires access to source code and information from the manufacturer. Maybe you need to contact the manufacturer of your TV box.
samarcanda Posted January 21, 2018 Posted January 21, 2018 Please how can i reboot android from armbian without remove usb key? I install successfull Armbian_5.37_S9xxx_Debian_stretch_3.14.29_server_20171226 image on usb key and boot armbian from android with armlogic tool app, but i don't know how to do the opposite. I can do it only removing physically the usb key.
balbes150 Posted January 21, 2018 Posted January 21, 2018 30 minutes ago, samarcanda said: Please how can i reboot android from armbian without remove usb key? I install successfull Armbian_5.37_S9xxx_Debian_stretch_3.14.29_server_20171226 image on usb key and boot armbian from android with armlogic tool app, but i don't know how to do the opposite. I can do it only removing physically the usb key. Only disconnecting the USB media. Either learn how to do selective start of the system.
samarcanda Posted January 21, 2018 Posted January 21, 2018 1 hour ago, balbes150 said: Only disconnecting the USB media. Either learn how to do selective start of the system. Thanks
chiefthunder Posted January 22, 2018 Posted January 22, 2018 Can anyone help me on getting WiFi to work on my H96 pro mini? I managed to get Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_server_20171226 running off an SD card. Did not need any DBT file. Only thing I need working is wifi and just cannot work out how to fix it. Any ideas?
chiefthunder Posted January 22, 2018 Posted January 22, 2018 8 hours ago, chiefthunder said: Can anyone help me on getting WiFi to work on my H96 pro mini? I managed to get Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_server_20171226 running off an SD card. Did not need any DBT file. Only thing I need working is wifi and just cannot work out how to fix it. Any ideas? I've done it myself. Not to worry, used the wifi_dummy
etatto Posted January 27, 2018 Posted January 27, 2018 Hi @balbes150 Could you please tell me if the latest (on the 27th of January as of this writing) on your github is working on a Khadas VIM2 Max? I have compiled for Debian Stretch and the boot doesn't pass this stage, with a stack trace: [ 6.477332@3] hdmitx: update physcial size: 16 9 [ 6.481921@3] config: hdmitx: unknown cmd: 0x14000000 [ 27.491744@3] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 27.495829@1] 3-...: (0 ticks this GP) idle=0f7/140000000000000/0 softirq=392/393 fqs=2626 [ 27.502733@1] (detected by 1, t=5255 jiffies, g=-98, c=-99, q=48) [ 27.508858@1] Task dump for CPU 3: [ 27.513010@1] hdmi_init.sh R running task 0 2370 1 0x00000002 [ 27.520873@1] Call trace: [ 27.525077@1] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 27.529331@1] [<000000000000000a>] 0xa [ 62.475758@1] fb: mem_free_work, free memory: addr:6af000 [ 90.511743@1] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 90.516096@1] 3-...: (0 ticks this GP) idle=0f7/140000000000000/0 softirq=392/393 fqs=10502 [ 90.523339@1] (detected by 1, t=21010 jiffies, g=-98, c=-99, q=70) [ 90.529551@1] Task dump for CPU 3: [ 90.533926@1] hdmi_init.sh R running task 0 2370 1 0x00000002 [ 90.541768@1] Call trace: [ 90.546145@1] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 90.550546@1] [<000000000000000a>] 0xa [ 153.531742@1] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 153.536221@1] 3-...: (0 ticks this GP) idle=0f7/140000000000000/0 softirq=392/393 fqs=18377 [ 153.543592@1] (detected by 1, t=36765 jiffies, g=-98, c=-99, q=70) [ 153.549803@1] Task dump for CPU 3: [ 153.554288@1] hdmi_init.sh R running task 0 2370 1 0x00000002 [ 153.562099@1] Call trace: [ 153.566551@1] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 153.571047@1] [<000000000000000a>] 0xa [ 160.067789@0] random: crng init done [ 216.551741@0] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 216.556227@1] 3-...: (0 ticks this GP) idle=0f7/140000000000000/0 softirq=392/393 fqs=26252 [ 216.563637@1] (detected by 1, t=52520 jiffies, g=-98, c=-99, q=70) [ 216.569849@1] Task dump for CPU 3: [ 216.574384@1] hdmi_init.sh R running task 0 2370 1 0x00000002 [ 216.582187@1] Call trace: [ 216.586653@1] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 216.591156@1] [<000000000000000a>] 0xa [ 242.695808@0] INFO: task kworker/1:1:1237 blocked for more than 120 seconds. [ 242.701706@0] Not tainted 4.9.40 #1 [ 242.706184@0] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 242.713600@0] kworker/1:1 D 0 1237 2 0x00000000 [ 242.721111@0] Workqueue: events aml_tvout_mode_work [ 242.728395@0] Call trace: [ 242.732988@0] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 242.737651@0] [<ffffff8009be2864>] __schedule+0x21c/0x748 [ 242.742638@0] [<ffffff8009be2dd0>] schedule+0x40/0xa8 [ 242.747644@0] [<ffffff8009be32c4>] schedule_preempt_disabled+0x1c/0x30 [ 242.754111@0] [<ffffff8009be4b94>] __mutex_lock_slowpath+0xac/0x188 [ 242.760663@0] [<ffffff8009be4cd8>] mutex_lock+0x68/0x80 [ 242.765499@0] [<ffffff80098139e0>] validate_vmode+0x30/0x90 [ 242.771017@0] [<ffffff8009814688>] refresh_tvout_mode+0x58/0xf0 [ 242.776880@0] [<ffffff80098149c0>] aml_tvout_mode_work+0x30/0xa8 [ 242.782836@0] [<ffffff80090bbf58>] process_one_work+0x1e0/0x498 [ 242.788700@0] [<ffffff80090bc260>] worker_thread+0x50/0x4a8 [ 242.794219@0] [<ffffff80090c2cd8>] kthread+0xf8/0x110 [ 242.799221@0] [<ffffff8009083680>] ret_from_fork+0x10/0x50 [ 279.571742@0] INFO: rcu_preempt detected stalls on CPUs/tasks: [ 279.576483@1] 3-...: (0 ticks this GP) idle=0f7/140000000000000/0 softirq=392/393 fqs=34127 [ 279.584149@1] (detected by 1, t=68275 jiffies, g=-98, c=-99, q=70) [ 279.590466@1] Task dump for CPU 3: [ 279.595164@1] hdmi_init.sh R running task 0 2370 1 0x00000002 [ 279.602956@1] Call trace: [ 279.607721@1] [<ffffff8009086434>] __switch_to+0x94/0xa8 [ 279.612556@1] [<000000000000000a>] 0xa Do you have an idea? Tks.
balbes150 Posted January 28, 2018 Posted January 28, 2018 12 hours ago, etatto said: Do you have an idea? Tks. What kernel chooses when building image ? Which version of the image ? What dtb are using to run ?
etatto Posted January 28, 2018 Posted January 28, 2018 Sorry I forget these kernel = dev, 4.9.40 image = debian stretch dtb = kvim2.dtb; I also try kvim2_linux.dtb with the same result
balbes150 Posted January 28, 2018 Posted January 28, 2018 Wait for the nearest update GIT. It will be added a new version with the kernel 4.9.40 for the VIM2. I will write the steps that you will need to perform to build such an option.
etatto Posted January 28, 2018 Posted January 28, 2018 1 hour ago, balbes150 said: Wait for the nearest update GIT. It will be added a new version with the kernel 4.9.40 for the VIM2. I will write the steps that you will need to perform to build such an option. Thanks, I wait
icusu Posted February 1, 2018 Posted February 1, 2018 Hello all! I have successfully gotten @balbes150's debian server image installed onto a few H96's that I am setting up for compiling. I am hoping to reclaim some of the memory that systemd is using. Specifically, I intend to completely disable hdmi output as well as the reserved memory for the mali gpu. Does anyone have a guide I could read for uboot or something else that would allow me to accomplish this? I'm not looking for someone to just fix the problem for me, but a pointer in the right direction would be quite nice. Either way, thanks go out to balbes150 and others in these tv box threads which have gotten me to this point.
Recommended Posts