49 49
balbes150

Single Armbian image for RK + AML + AW (aarch64 ARMv8)

Recommended Posts

Hi everyone, I would like to ask for some help please.

 

I'm using a Nexbox A95X s905x 2g/16g (model b7n) (using gxl dtb)

 

I think I messed up my firmware with CoreELEC and now everything is weird.

 

Initially I couldn't boot back into armbian as stated in red at the top of the 1st thread.

So I re-flashed the firmware using the aml usb burning tool as indicated (erase all) and now when I boot, it always goes into emergency mode(?)

Errors were showing "failed to create static device nodes in /dev" etc, much more errors than this, and can't boot normally.

 

I do not really understand "the new activation of the universal multi-boot, which is used in all new systems" from the latter part.
 

Can I get some elaboration on how to fix the CoreELEC changes to revert back to being able to use armbian please?

Really appreciate the work btw!

Share this post


Link to post
Share on other sites
On 6/21/2020 at 9:52 AM, AzuriAdore said:

revert back to being able to use armbian please?

Write in more detail what steps you are taking and what results you get from them.

Share this post


Link to post
Share on other sites
10 hours ago, balbes150 said:

Write in more detail what steps you are taking and what results you get from them.

Thanks for showing interest in helping.

 

I have fixed my problem by trying another build of Armbian.

 

I was using the headless(server) bionic build 20200619 and this was giving me errors on boot-up.

When I changed to desktop focal 20200619, it was fine. Every daemon launched with OK status.

 

Until now I am still not sure why bionic doesn't work, but no worries because I will use focal.

 

Thanks for your awesome work and providing a new life for my old TV box. Your Armbian build is amazing!

Share this post


Link to post
Share on other sites
On 6/10/2020 at 11:08 PM, Turgus said:

So it seems that the (native) resolution of screen is not detected properly..could you set the command via terminal to change resolution?
Maybe you could add the desired res via commands for testing(will not be permanent and only for the session, but perfect to test..):


xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync

xrandr --addmode HDMI-1 1368x768_60.00

xrandr --output HDMI-1 --mode 1368x768_60.00

 

Thanks for your answer. I had just tried this  method, but not run. The resolution of my TV is 1366x768, not 1368x768, however when I write:

cvt 1366 768

the system answer with 1368x768 resolution, that is not the same exactly. I don't know if it is the problem

 

 homeserver@arm-64:~$ cvt 1366 768
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync

 

Another solution?

Thanks in advance

 

Share this post


Link to post
Share on other sites

Hi everyone,
I am trying to install homeassistant on an X96 box (think it is S905X).

I am kind of new to Linux and Python but I have got a good deal of experience with computers and programming languages in general.

I followed the instructions from this forum and successfully installed armbian on an SD card (using Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205.img and pinpointing the right dtb) and managed to boot on it.

Then I successfully installed homeassistant too...

great then...

except that the same homeassistant complained that Pthon3.6 is deprecated and it should be updated.

I tried to install latest Python (3.8.3) in parallel to 3.6 but there was no way of making homeassistant build correctly then.

Then I purged 3.6 and reinstalled 3.8.3 from scratch... and eventually I got the correct home assistant installation.

Fine...

not quite.... because, after rebooting the box, I now have a black screen with a cursor on top left and nothing else.

The boot scrolls quickly with a list of OKs (in green so everything seems normal for a while) until it gets to the black screen and the process halts there... very annoying: 4 days of debugging and it now looks like I have to start it all again from scratch.

Any idea what could have caused the boot to fail after Python update (for example I noticed that Python3.6 disappeared from usr/bin and 3.8 went into a ...local directory: could that be the cause?... or is it because at one point I did, I think, apt-get upgrade?)

Share this post


Link to post
Share on other sites
22 hours ago, esdcmc said:

I followed the instructions from this forum and successfully installed armbian on an SD card (using Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205.img and pinpointing the right dtb) and managed to boot on it.

Then I successfully installed homeassistant too...

great then...

except that the same homeassistant complained that Pthon3.6 is deprecated and it should be updated.

I tried to install latest Python (3.8.3) in parallel to 3.6 but there was no way of making homeassistant build correctly then.

 

From the information you provided you are running Ubuntu 18.04 (bionic) which has python 3.6.  I believe that Ubuntu 20.04 (focal) has python 3.8.  So the easiest thing to do would likely be to use the armbian focal build instead of the bionic build.

Share this post


Link to post
Share on other sites
(edited)

Hello @balbes150,

 

I do not find any AML version with kernel 5.6.1 (5.6.0. in 4th-April and 5.6.2 in 8th-April). Please to indicate me that if there is an AML version with kernel 5.6.1 !

 

Thanks in advance

Edited by Armin

Share this post


Link to post
Share on other sites
15 hours ago, Armin said:

I do not find any AML version with kernel 5.6.1 (5.6.0. in 4th-April and 5.6.2 in 8th-April). Please to indicate me that if there is an AML version with kernel 5.6.1 !

All available versions are located on the links from the first message (space is limited).

Share this post


Link to post
Share on other sites
18 hours ago, Armin said:

Hello @balbes150,

 

I do not find any AML version with kernel 5.6.1 (5.6.0. in 4th-April and 5.6.2 in 8th-April). Please to indicate me that if there is an AML version with kernel 5.6.1 !

 

Thanks in advance

I'v looked through my downloads and I don't have any 5.6.1, the closest is 5.6.0-rc6, I don't think I'v seen a 5.6.1 version.

Share this post


Link to post
Share on other sites
2 hours ago, Reddwarf said:

I'v looked through my downloads and I don't have any 5.6.1, the closest is 5.6.0-rc6, I don't think I'v seen a 5.6.1 version.

Thanks to have look !

 

Yes, I've searched and same result. After 5.6.0, the next version is directly 5.6.2. So, this is not my eyes ! :D

Share this post


Link to post
Share on other sites

Thank-you all for the kind support.

 

It's unbelievable how ignorant I can be on the matter.

 

My story continues as follows:

- I restarted from scratch using the same image (Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205.img), reason being that in the s9xxx directory (https://mega.nz/folder/j9QSDQSQ#6WpasOlbZYIInfw6yo4phQ/folder/35ACSCjQ) there is no "Ubuntu 20.04 (focal)", as suggested by Steeman, so I don't quite know if any other image is actually compatible with my box

- I managed to install Python 3.8.3 in parallel with 3.6 and I built a virtual environment from 3.8.3

- then I installed HomeAssistant within that virtual environment and all seemed to work... except that the same Home Assistant did not install the Hass.io tab... and that's when I found out that Home Assistant and Hass.io are NOT the same thing (gosh! what a mess I put myself into!)

- plus I have got a bunch of other errors, inconsistently popping up (lack of Cloud, lack of Alexa, etc etc) every now and then

 

So here I am, I will be zapping the card for the third time and try the Docker solution as suggested by jeanrhum...

 

minor problem though: I have no idea what Docker is, and how it works and (unlike Python) I struggle to find good documentation.

 

Any suggestion for where I should start to learn this Docker thing?

Share this post


Link to post
Share on other sites
12 minutes ago, esdcmc said:

I restarted from scratch using the same image (Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205.img), reason being that in the s9xxx directory (https://mega.nz/folder/j9QSDQSQ#6WpasOlbZYIInfw6yo4phQ/folder/35ACSCjQ) there is no "Ubuntu 20.04 (focal)", as suggested by Steeman, so I don't quite know if any other image is actually compatible with my box

 

The AML specific builds are no longer maintained (thus why you are seeing no focal build and nothing current in the location you are looking).  The current builds are now "universal" builds that support Amlogic, Rockchip and Allwinner CPUs for android TV boxes.  Look at the first post in this thread: 

 

 

The instructions for installing are basically the same as the build you are using, but with additional options for the various CPU families.  These builds are being regularly updated and is where you should be looking for installation images.

Share this post


Link to post
Share on other sites
5 hours ago, balbes150 said:

ver 20200629-dev kernel 5.8-rc3

Hi, I've tested Forsa Desktop with Amlogic P281. 

 

It won't load Desktop environment. On 5.8 RC2 it was working.

 

When can we expect h265/hevc hardware video decoding? 

Share this post


Link to post
Share on other sites

Hello. No one will tell you where to get brcmfmac4356-sdio for chip BCM4356/2 and clm_blob for it. The wifi driver and bluetooth do not get up.

brcmfmac: F1 signature read @0x18000000=0x17224356
[ 3688.213438] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[ 3688.215800] usbcore: registered new interface driver brcmfmac
[ 3688.302869] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[ 3688.302925] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 3688.303168] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: Sep  9 2018 22:04:16 version 7.35.349.62 (r707733 CY) FWID 01-5fd4a6ce

Share this post


Link to post
Share on other sites
7 hours ago, dsh said:

with Amlogic P281 It won't load Desktop environment.

For me rc3 works with desktop on x96mini 2/16G p281 hardware. Because I stick on bionic to use camorama I did just a quick test(localize, install some stuff..) from card, but it also reboots several times as expected and brings always the focal system WITH desktop up.
Maybe try it again!?..

 

IMG_20200630_004237.jpg

Share this post


Link to post
Share on other sites
(edited)

Hi, I am new to this forum and have been trying to follow the instruction to install Armbian on my Mecool K1 Pro. I have tried different dtb's but still no luck in booting into Armbian below is the link to the message that I keep getting.

https://ibb.co/4P51vXc

 

No sure if i am going about it the right way, may be someone in the forum can help me.

 

The current firmware on the box is the stock firmware provided by Videostrong the manufactures of the box.

https://mega.nz/#F!3FkWlSRZ!JqsJfSg---koYN8y4ZdFbw

I noticed in the image provided by Videostrong there is a DTB.img file, could this file be used to boot Armbian correctly?

 

If Armbian works on the the box, I would like to use it to run Hassio server to control my smart devices at home.

 

Many Thanks for your help in advance.

 

Edited by Pank007

Share this post


Link to post
Share on other sites

A test version of the image for evaluating the correct operation of GPU controllers for Amlogic. Please everyone who has the ability to check the launch of one of these images and write the result (the chip AML used by DTB, the result of verification).

 

https://yadi.sk/d/uMgn3hLTa-J1Iw

Share this post


Link to post
Share on other sites
1 hour ago, balbes150 said:

A test version of the image for evaluating the correct operation of GPU controllers for Amlogic. Please everyone who has the ability to check the launch of one of these images and write the result (the chip AML used by DTB, the result of verification).

 

https://yadi.sk/d/uMgn3hLTa-J1Iw

Excelvan T2 (s912) using q201 dtb started from a slow usb key: http://ix.io/2qzp

The system seems usable. It is slow but I think it comes from my usb key.

 

EDIT: same test with an H96pro+ using vim2 dtb using a uhs1 sd card : http://ix.io/2qzv. The system is faster than my previous test and desktop is reactive.

On both config video playback was smooth.

Share this post


Link to post
Share on other sites
18 hours ago, Lexx said:

Hello. No one will tell you where to get brcmfmac4356-sdio for chip BCM4356/2 and clm_blob for it. The wifi driver and bluetooth do not get up.

 

Would this help (for wifi, not BT):

Share this post


Link to post
Share on other sites

@balbes150GPU-Test-Image launches properly(also testvideo from desktop plays fluent in windowmode&fullscreen) on s905w p281 x96 mini 2/16 (4.x PCB with working bt/wifi) as usual with the meson-gxl-s905w-p281.dtb

Share this post


Link to post
Share on other sites
2 hours ago, Pank007 said:

Hi, I am new to this forum and have been trying to follow the instruction to install Armbian on my Mecool K1 Pro. I have tried different dtb's but still no luck in booting into Armbian below is the link to the message that I keep getting.

 

 

Initially after watching some recent youtube videos about Armbian, you need to check you've commented out all the lines FDT= * APPEND above # rk-3399 at the top of /uEnv.txt

You will need to try all (amlogic) dtbs (I assume, don't have Mecool K1 Pro). Also check this page.

Personally, I boot into (sdcard) Armbian by issuing the command reboot update in a shell from android (app).

Share this post


Link to post
Share on other sites
A test version of the image for evaluating the correct operation of GPU controllers for Amlogic. Please everyone who has the ability to check the launch of one of these images and write the result (the chip AML used by DTB, the result of verification).
 
https://yadi.sk/d/uMgn3hLTa-J1Iw
Device : Fiberhome HG680-P S905X mali-450
Image : focal_current_5.7.6
Dtb:meson-gxl-s905x-p212.dtb
On LXDE, LLVM driver is still being used.
https://pastebin.com/k02E5upP
https://pastebin.com/dgAXMXpH
Tried on Sway, lima is detected, but glxgears is glitchy and stutters. Also lima echo a lot of pp pp2 reset time out when running glxgears
https://pastebin.com/6CJGrjUV
https://pastebin.com/HXBN0sYX
Mpv plays Test.mp4 with no problem in windowed size. When fullscreened, the outputs dropping frames like crazy either with default vo or with --vo=wlshm


Sent from my ASUS_X00TD using Tapatalk

Share this post


Link to post
Share on other sites
Device : Fiberhome HG680-P S905X mali-450
Image : focal_current_5.7.6
Dtb:meson-gxl-s905x-p212.dtb
On LXDE, LLVM driver is still being used.
https://pastebin.com/k02E5upP
https://pastebin.com/dgAXMXpH
Tried on Sway, lima is detected, but glxgears is glitchy and stutters. Also lima echo a lot of pp pp2 reset time out when running glxgears
https://pastebin.com/6CJGrjUV
https://pastebin.com/HXBN0sYX
Mpv plays Test.mp4 with no problem in windowed size. When fullscreened, the outputs dropping frames like crazy either with default vo or with --vo=wlshm


Sent from my ASUS_X00TD using Tapatalk

Josss, mantap

Sent from my SM-C9000 using Tapatalk

Share this post


Link to post
Share on other sites
48 minutes ago, dbsharpe said:

Initially after watching some recent youtube videos about Armbian, you need to check you've commented out all the lines FDT= * APPEND above # rk-3399 at the top of /uEnv.txt

You will need to try all (amlogic) dtbs (I assume, don't have Mecool K1 Pro). Also check this page.

Personally, I boot into (sdcard) Armbian by issuing the command reboot update in a shell from android (app).

@dbsharpe i have deleted the lines that are not relevant in the u Env,txt file and below is what i am left with.

 

LINUX=/zImage
INITRD=/uInitrd

# aml s9xxx
FDT=/dtb/amlogic/meson-gxl-s905d-p230.dtb
APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
 

I will give all the (amlogic) dtb's a try again, and also see if the reboot update in shell works for me.

 

Thanks, i will let you know how it goes.

Share this post


Link to post
Share on other sites
4 hours ago, balbes150 said:

A test version of the image for evaluating the correct operation of GPU controllers for Amlogic. Please everyone who has the ability to check the launch of one of these images and write the result (the chip AML used by DTB, the result of verification).

 

https://yadi.sk/d/uMgn3hLTa-J1Iw

TX9 Pro s912

Armbian_20.06.0_Arm-64_focal_current_5.7.6_desktop-TEST-GPU
meson-gxm-q200
boots OK to desktop


glxinfo
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 3.30

 

/etc/X11/xorg.conf.d/01-armbian-defaults.conf -> Option "AccelMethod" "glamor"
glxinfo
OpenGL vendor string: Panfrost
OpenGL renderer string: Mali T820 (Panfrost)
OpenGL version string: 2.1 Mesa 20.0.4
OpenGL shading language version string: 1.20
mouse pointer flicker & artifact

Share this post


Link to post
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...
49 49