Jump to content

Recommended Posts

Posted (edited)

You're right, the u-boo.sd was already existing into the boot folder.

 

So, I have done the installation on eMMC like this:

sudo su root
cd /root
./install-aml.sh

And find the result:

  Reveal hidden contents

 

But to copy this report from PuTTY, I have selected the text and done a right-clic (wrong idea) because This is execute a kind of script:

  Reveal hidden contents

 

By chance, without incidence because I have shutdown the system and re-start without the SD card and the system boots successfully with Armbian inside !

 

Ethernet was not functionnal because the speed parameter was again 1000Mb. So, same command:

sudo ethtool –s [device_name] speed 100 duplex full autoneg on

Don't forget to disconnect and reconnect the cable after this command !

Edited by Armin
Posted
  On 5/19/2020 at 11:16 AM, Armin said:

Force the Ethernet speed to 100Mb

Expand  

Have you tried all of the dtb files to see if any of them support your ethernet setup without needing to make manual changes?  From above it looks like you are using: meson-g12a-x96-max-no-cvbs.dtb.  I would suggest you try meson-g12a-x96-max-rmii.dtb which is a 100Mb ethernet version of the meson-g112a-x96-max.dtb file.

 

Good to see that you have made overall progress today on your box.

Posted (edited)
  On 5/19/2020 at 3:27 PM, SteeMan said:

Have you tried all of the dtb files to see if any of them support your ethernet setup without needing to make manual changes?  From above it looks like you are using: meson-g12a-x96-max-no-cvbs.dtb.  I would suggest you try meson-g12a-x96-max-rmii.dtb which is a 100Mb ethernet version of the meson-g112a-x96-max.dtb file.

 

Good to see that you have made overall progress today on your box.

Expand  

To be honest, when I read your comment, I was not "hot" to follow your recommendations because I suppose that I make the manual change only 1x and this is fix definitively.

 

But, I have tried to install a French domotic server (Jeedom) but I have some troubles with ethernet connection:

  Reveal hidden contents

 

Therefore, I will try your suggestion:  meson-g12a-x96-max-rmii.dtb

 

After booting on SD card:

- How can I test deeply the ethernet connection (before to transfer the installtion on the eMMC) ?

- When this is OK, Can I make directly the installation on the eMMC over the previous one ?

 

Edited by Armin
Posted
  On 5/19/2020 at 4:51 PM, Armin said:

Therefore, I will try your suggestion:  meson-g12a-x96-max-rmii.dtb

 

After booting on SD card:

- How can I test deeply the ethernet connection (before to transfer the installtion on the eMMC) ?

- When this is OK, Can I make directly the installation on the eMMC over the previous one ?

Expand  

Actually my original suggestion a few posts ago was to try all of the g12/sm1 dtbs and find the one that works best for your hardware.

To test the different DTBs, you will need to use the working sd card you have from earlier.  Edit the uEnv.txt file and try rebooting with that sd card using the different dtb.  When you find the dtb file that works best for you, you can either reinstall that entire environment to emmc by using the install-aml.sh script (but doing so will overwrite everything you have on emmc), or while running from the sd card, mount the /boot partition on the emmc and edit the uEnv.txt file on the emmc directly.

The command you are using to set the network speed (ethtool -s) does not persistently make that change, so you will need to do that after every reboot.  I'm sure you could google and find a way to make that change persistent, but if you can get it working without manual changes it would be better for you.

Posted (edited)
  On 5/19/2020 at 5:05 PM, SteeMan said:

To test the different DTBs, you will need to use the working sd card you have from earlier. 

Expand  

 

I have tried:

-  meson-g12a-x96-max-rmii.dtb ==> Boot OK but Ethernet NOK (cannot get device settings from ethtool eth0 command)

- meson-g12b-ugoos-am6-no-cvbs.dtb ==> Boot NOK (stays on green screen)
- meson-g12b-odroid-n2.dtb ==> Boot NOK (stays on green screen)

- meson-sm1-sei610-ethfix.dtb (from Ciprian28) ==> Boot OK and Ethernet OK (already fixed at 100Mb)

 

Now, How Can I test deeper the ethernet connection ?

 

 

 

Edited by Armin
Posted

I bought a X96 Air the other day, and installed Armbian on it using meson-sm1-sei610-ethfix.dtb. Ethernet works, and it runs fine (I haven't tested HDMI audio because I'm using it as a headless server), however WiFi/BT does not.

From browsing this and other threads, I gathered that these boxes may have different WiFi chips, and to get it working requires identifying the chip used, and then finding the proper drivers for it (forgive my layman's vocabulary here)… and that this involves the dtb files.

How do I find out what chip my box uses? Do I need to open it up and simply look for the component? Trial and error by testing a few likely candidates for this particular model?

Posted (edited)
  On 5/24/2020 at 8:33 PM, P.P.A. said:

I bought a X96 Air the other day, and installed Armbian on it using meson-sm1-sei610-ethfix.dtb. Ethernet works, and it runs fine (I haven't tested HDMI audio because I'm using it as a headless server), however WiFi/BT does not.

From browsing this and other threads, I gathered that these boxes may have different WiFi chips, and to get it working requires identifying the chip used, and then finding the proper drivers for it (forgive my layman's vocabulary here)… and that this involves the dtb files.

How do I find out what chip my box uses? Do I need to open it up and simply look for the component? Trial and error by testing a few likely candidates for this particular model?

Expand  

 

I think you will be able to find the wireless chipset with this command:

armbianmonitor -u

Into my report, I suppose that the wireless ( + Bluetooth = combo) chipset is rtl8822cs

 

Edited by Armin
Posted
  On 5/19/2020 at 5:56 PM, Armin said:

meson-sm1-sei610-ethfix.dtb (from Ciprian28) ==> Boot OK and Ethernet OK (already fixed at 100Mb)

Expand  

 

Hello,

 

I have done a new installation with Buster (Armbian_20.05.4_Arm-64_buster_current_5.7.0-rc6_20200519.img with meson-sm1-sei610-ethfix.dtb) because for my domotic system (Jeedom), buster is recommanded.

 

Now, this is OK but I need to know if I must update regulary my "Buster system" ?

 

If Yes, the dedicated command is:

sudo apt-get --allow-releaseinfo-change update

 

Posted
  On 5/26/2020 at 11:38 AM, Armin said:

Now, this is OK but I need to know if I must update regulary my "Buster system" ?

Expand  

If your question is must you update, the answer is no.  However, I wouldn't understand why you would not want to update.  One of the reasons to adopt Armbian is because it should provide you with regular security updates and critical bug fixes, like any regular linux distribution on an x86 platform. Armbian isn't just a static firmware that gets something running on a box/sbc but a more mainstream linux experience with updates.  Anyone who runs systems (especially exposed to the public internet) should in my opinion be concerned with security updates and fixes as a priority.

Now having said that, the base ubuntu or debian will get you security updates and fixes for the majority of the system, however linux kernel updates will come from Armbian.  While support for those kernel updates for Balbes TV box builds has improved significantly over the last few months, there may still be an occasional issue.

Posted (edited)
  On 5/26/2020 at 12:29 PM, SteeMan said:

If your question is must you update, the answer is no.  However, I wouldn't understand why you would not want to update.  One of the reasons to adopt Armbian is because it should provide you with regular security updates and critical bug fixes, like any regular linux distribution on an x86 platform. Armbian isn't just a static firmware that gets something running on a box/sbc but a more mainstream linux experience with updates.  Anyone who runs systems (especially exposed to the public internet) should in my opinion be concerned with security updates and fixes as a priority.

Now having said that, the base ubuntu or debian will get you security updates and fixes for the majority of the system, however linux kernel updates will come from Armbian.  While support for those kernel updates for Balbes TV box builds has improved significantly over the last few months, there may still be an occasional issue.

Expand  

 

So, with armbian-config command, "enable armbian upgrades" is enough to have  a system up to date ?

Edited by Armin
Posted

I went into armbian-config and changed from nigthly to stable without knowing what I was doing. After rebooting, I got an error, and now my X96 Air won't boot again with that SD card (never installed to eMMC).

Is there a way to fix this, or do I have to re-install everything?

I didn't make backups (lesson learned), is it possible to restore my settings and everything by just copying all the files from my old SD to my PC, re-flashing the SD card, and then moving certain folders back to it after setting up a new install?

Posted
  On 5/28/2020 at 6:37 PM, Иван Чеботарёв said:

Hi. Does anyone have transpeed x3 pro and did they manage to start armbian. If so, how?

Expand  

Try following this tutorial:

If you want to boot from microSD basically you need to 1) burn desired image on the card (I suggest using Etcher) 2) Edit uEnv.txt for Amlogic and link DTB file (finding correct one requires a bit of try and error,  I'm no expert but maybe start with meson-sm1-sei610.dtb) 3) Boot using toothpick method.  Good luck!

Posted
  On 2/8/2020 at 4:54 PM, srx said:

I've spent hours today playing with dtb parameters and whatnot.

So far nothing.

Yes, Android dtb and dtb in this image are different. But I can not just copy-paste it. It is all related and pretty difficult to understand.

 

In A95X F3 Air (S905x3/4GB/32GB) still no luck.

I have no time to do more research at the moment. Maybe I'll try again next weekend.

Expand  

 

Hi SRX,

were you able to get Armbian working on A95X F3?

Could you share the dtb and edits if any required file and sd card image file?

 

I tried Armbian_20.02.0-rc1.038_Aml-s9xxx_eoan_current_5.5.0-rc6_desktop_20200205.img  with meson-sm1-sei610-ethfix.dtb

I get some colured screen and rootfs mount fails.

 

Same SD card with same image working fine on Mecool K3 pro S912 box with different dtb and wifi only works with external USB adapter  :)

 

Posted

Hello! I have X88PRO-S905X3-D4-V1.0. I used meson-sm1-sei610.dtb and the ethernet does not work. I tried using the eth fix dtb and tried making a script that makes the auto negotiation off on startup and the ethernet still does not work. Please help

Posted (edited)
  On 6/7/2020 at 9:47 AM, Yeoj Henrie Sayadi said:

Hello! I have X88PRO-S905X3-D4-V1.0. I used meson-sm1-sei610.dtb and the ethernet does not work. I tried using the eth fix dtb and tried making a script that makes the auto negotiation off on startup and the ethernet still does not work. Please help

Expand  

 

I was facing to the same Ethernet issue with meson-sm1-sei610-ethfix.dtb and the problem has been solved when I have copied file u-boot.sd to u-boot.ext on the SD card.

 

I don't understand the reason because I was thinking that you need to add the "u-boot.ext" file if the system doesn't want to boot or color issue but not for an ethernet issue.

 

Maybe @balbes150 can confirm the relation between this missing file and some others issues.

Edited by Armin
Posted (edited)
  On 6/7/2020 at 12:17 PM, Armin said:

 

I was facing to the same Ethernet issue with meson-sm1-sei610-ethfix.dtb and the problem has been solved when I have copied file u-boot.sd to u-boot.ext on the SD card.

I don't understand the reason because I was thinking that you need to add the "u-boot.ext" file if the system doesn't want to boot or color issue but not for an ethernet issue.

Expand  

What kind of meson-sm1-sei610-ethfix.dtb have you used? I am struggling the same issue, but if I rename the u-boot.sd, the box is stuck in boot loop (reboots every 2 seconds).

Edited by Teddybee
Posted (edited)
  On 6/7/2020 at 3:54 PM, Teddybee said:

What kind of meson-sm1-sei610-ethfix.dtb have you used? I am struggling the same issue, but if I rename the u-boot.sd, the box is stuck in boot loop (reboots every 2 seconds).

Expand  

This one from Ciprian28: https://forum.armbian.com/topic/12988-armbian-for-amlogic-s905x3/page/4/?tab=comments#comment-97143

Don't forget to declare it into uEnv.txt

  Reveal hidden contents

 

You shouldn't rename u-boot.sd but copy it before and after rename this copie to u-boot.ext

That means on the SD card, you have the u-boot.sd file and the u-boot.ext file 

Edited by Armin
Posted (edited)
  On 6/7/2020 at 8:48 PM, Armin said:

You shouldn't rename u-boot.sd but copy it before and after rename this copie to u-boot.ext

That means on the SD card, you have the u-boot.sd file and the u-boot.ext file 

Expand  

Thanks. I did it that way as well. It is not working on my box, but if I plug the sd card  with reader in the usb, and copy the u-boot.usb to .ext, it was working. At least the colours are fixed, but the ethernet still bad.
Have you done anything else with the ethernet? I have tried the 

sudo ethtool –s [device_name] speed 100 duplex full autoneg on

, without luck.

Edited by Teddybee
Posted (edited)
  On 6/7/2020 at 8:57 PM, Teddybee said:

Thanks. I did it that way as well. It is not working on my box, but if I plug the sd card  with reader in the usb, and copy the u-boot.usb to .ext, it was working. At least the colours are fixed, but the ethernet still bad.
Have you done anything else with the ethernet? I have tried the 

sudo ethtool –s [device_name] speed 100 duplex full autoneg on

, without luck.

Expand  

 

 

Sorry to read that.

 

With meson-sm1-sei610-ethfix.dtb, the speed is already fixed to 100Mb. This is why your command with ethtool didn't change the issue. You can check the parameters with ifconfig.

No, I didn't change any parameter with meson-sm1-sei610-ethfix.dtb.

 

No other way to check with each DTB file into Amlogic folder !

Edited by Armin
Posted
  On 6/7/2020 at 12:17 PM, Armin said:

 

I was facing to the same Ethernet issue with meson-sm1-sei610-ethfix.dtb and the problem has been solved when I have copied file u-boot.sd to u-boot.ext on the SD card.

 

I don't understand the reason because I was thinking that you need to add the "u-boot.ext" file if the system doesn't want to boot or color issue but not for an ethernet issue.

 

Maybe @balbes150 can confirm the relation between this missing file and some others issues.

Expand  

I made a copy of u-boot.sd and renamed it to u-boot.ext and now it is stuck in a boot loop. I tried doing it on a usb but using u-boot.usb instead of u-boot.sd and it only boots to android. Are there any way I can make ethernet working because I don't have a keyboard to log in or type in commands. Maybe make a script that does "sudo ethtool –s eth0 speed 100 duplex full autoneg on" but I don't know how to do it by adding a file or using a pc

Posted (edited)
  On 6/8/2020 at 3:27 AM, Yeoj Henrie said:

I made a copy of u-boot.sd and renamed it to u-boot.ext and now it is stuck in a boot loop. I tried doing it on a usb but using u-boot.usb instead of u-boot.sd and it only boots to android. Are there any way I can make ethernet working because I don't have a keyboard to log in or type in commands. Maybe make a script that does "sudo ethtool –s eth0 speed 100 duplex full autoneg on" but I don't know how to do it by adding a file or using a pc

Expand  

Ok, that means for your box, forget the way of the file boot.ext or boot.usb.

 

If you have tried without success the DTB file with ethernet fix (meson-sm1-sei610-ethfix.dtb), then the command "sudo ethtool –s eth0 speed 100 duplex full autoneg on" doesn't help you because these value are the same than meson-sm1-sei610-ethfix.dtb.

 

I think you need to know the name of your Ethernet chipset to find the right drivers of it. Without keyboard, you can check directly on the PCB of the box or with a keyboard, you make this command "armbianmonitor -u" and check into the created report (example: http://ix.io/2oEe).

 

Edited by Armin
Posted (edited)
  On 6/8/2020 at 5:57 PM, Armin said:

Ok, that means for your box, forget the way of the file boot.ext or boot.usb.

 

If you have tried without success the DTB file with ethernet fix (meson-sm1-sei610-ethfix.dtb), then the command "sudo ethtool –s eth0 speed 100 duplex full autoneg on" doesn't help you because these value are the same than meson-sm1-sei610-ethfix.dtb.

 

I think you need to know the name of your Ethernet chipset to find the right drivers of it. Without keyboard, you can check directly on the PCB of the box or with a keyboard, you make this command "armbianmonitor -u" and check into the created report (example: http://ix.io/2oEe).

 

Expand  

I see PSF-2447 next to the ethernet port then it connects to RTL8211F. How do I find and install the drivers for it? It has the same board as the image in page 3 X88PRO-S905X3-D4-V1.0

Edited by Yeoj Henrie
needed to add what board it is
Posted (edited)
  On 6/10/2020 at 6:44 AM, Yeoj Henrie said:

I see PSF-2447 next to the ethernet port then it connects to RTL8211F. How do I find and install the drivers for it? It has the same board as the image in page 3 X88PRO-S905X3-D4-V1.0

 
Expand  

Beelink GT1 has the same PSF-2447 (ethernet?) chip.

PS: There are just some coil in it, doesn't matter for OS.

 

Odroid C2 has the same ethernet. So it should be working in armbian.

Edited by Teddybee
Posted

I bought X96Air S905X3 but only 2 Gb Ram and Ethernet is 100Mbs speed. Successful installed Armbian bionic with meson-sm1-sei610.dtb and also installed AdGuardHome to it. LAN & Wifi works well. No problem with color & resolution except Bluetooth does not working.

There is a small issue that I can not boot from SD card (Message: “Error -84 whilst initialising SD card” while booting). So I have to boot from USB.

Can anyone advise me how to boot from SD card? Or do I need to buy a new SD card?

(The function of card slot is normal in Android mode)

Thank you.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines