Closed sharicov closed 2 years ago
ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: ug Wake-on: d Current message level: 0x0000003f (63) drv probe link timer ifdown ifup Link detected: yes
lshw
*-network:0 description: Ethernet interface physical id: 3 logical name: eth0 serial: 9e:61:c5:3d:24:aa size: 100Mbit/s capacity: 100Mbit/s capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=Jan_2016 duplex=full ip=192.168.3.125 link=yes multicast=yes port=twisted pair speed=100Mbit/s
x96max plus 2 4GB RAM 64GB Flash
Fixed by editing uEnv.txt to look like this: cat uEnv.txt LINUX=/zImage INITRD=/uInitrd FDT=/dtb/amlogic/meson-sm1-x96-max-plus.dtb
In usb, the default is to start with 100m. dtb. When writing emmc, the armbian-install script will be changed to gigabit dtb.
Thanks for quick response, much appreciated. And if I dont want to install armbian on the emmc? Can i just fix 1Gbps? Also it appears that ethernet problem is not really fixed. It doea aynv on 1Gbps, but stuck on boot for 5 minutes and loads up without receiving IP from the router. Also creates eth0:avahi adapter.
On Thu, Feb 3, 2022, 01:41 ophub @.***> wrote:
In usb, the default is to start with 100m. dtb. When writing emmc, the armbian-install script will be changed to gigabit dtb.
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1028462060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCOSWIP262SWMQLQSQHLUZG6KPANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
The x96 max box can only be 100M by default due to its own bootloader. Only when writing emmc and writing the bootloader file copied from hk1 at the same time, can the Gigabit network card be supported.
Can I just change dtb to hk1 in uEnv.txt before the boot?
On Thu, Feb 3, 2022, 08:01 ophub @.***> wrote:
The x96 max box can only be 100M by default due to its own bootloader. Only when writing emmc and writing the bootloader file copied from hk1 at the same time, can the Gigabit network card be supported.
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1028629688, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCORBYPPD5K5QGUGVBITUZIKZ5ANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
x96max cannot use gigabit dtb without bootloader support
The box of hk1 can be modified
More or less clear, but I still don't understand why I can't install armbian on microSD with all the scripts, I really don't want to touch the emmc, at least not yet, and I don't want to break the device.
On Thu, Feb 3, 2022 at 8:18 AM ophub @.***> wrote:
x96max cannot use gigabit dtb without bootloader support
The box of hk1 can be modified
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1028638257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCORI3SEZGIVCX5E4P2LUZIM3NANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
And also by the way, openwrt and coreelec do boot from microSD with proper 1Gbps support right out of the box.
On Thu, Feb 3, 2022, 08:30 Evgeny Zeldin @.***> wrote:
More or less clear, but I still don't understand why I can't install armbian on microSD with all the scripts, I really don't want to touch the emmc, at least not yet, and I don't want to break the device.
On Thu, Feb 3, 2022 at 8:18 AM ophub @.***> wrote:
x96max cannot use gigabit dtb without bootloader support
The box of hk1 can be modified
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1028638257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCORI3SEZGIVCX5E4P2LUZIM3NANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
Where did you download the OpenWrt firmware from?
The same kernel and boot files, this armbian and OpenWrt can actually be understood as a firmware. OpenWrt is refactored by flippy on the basis of armbian.
after some experiments box is no more booting from the microSD. emmc loads normally to original android, but no more from microSD. don't know if this is related, but last thing I did with microSD was adding embycore dtb in armbian uEnv.txt Do you know how can I fix the box?
fixed microSD boot by re-flashing original firmware with 2.2.4 Amlogic USB Burning Tool (latest to work for android 9 devices) Recreated microSD from your latest release using balena without any changes to the files. Now it is booting with 5 minutes delay again saying "a start job is running for raise network interfaces" and counting to 5 min 3s" or untill I plag ethernet cable in
After installing armbian to emmc ethernet connecting on 1Gbps (selected ID 52 when installing for x96max-plus-oc Updated the kernel using armbian-update (don't know if it is necessary for the eth to start acting as 1Gbps). So huge thanks again for your great project and support!!!
52 with -oc is overclocked, 51 without is standard.
Some devices may have old capacitors, and you need to change a few usb disks to start. It is recommended to use https://rufus.ie/ to make a boot disk in windows
thanks for clarification. Could you please assist with a docker question? I have ran armbian-docker script and selected access with certification during the installation process. Thank I've seen I am not able to connect and re-ran the script to install it with the local access via port 9000 but now it's not listening on port 9000, cannot connect.
I don't have the key, just tried to see if there is a wizard to create like in yunohost project...
If there is no certificate, delete the portainer container and use the container without certificate.
docker images
docker rmi xxxxxxx
docker ps
docker rm -f xxxxxxx
Completely removed docker and re-ran the script armbian-docker dpkg -l | grep -i docker apt-get purge -y docker-ce docker-ce-cli docker-compose python3-docker python3-dockerpty apt autoremove -y --purge docker-ce docker-ce-cli docker-compose python3-docker python3-dockerpty
BTW box performs very well under armbian: File copy from windows PC (wifi) to x96max_plus2 using huawei wifi 6 router AX3 pro
iperf over ethernet to another linux box (R4S):
all devices using SSD
Are you using the default dtb and u-boot of the s905x3?
cat /etc/ophub-release
armbian:~:# cat /etc/ophub-release VERSION_CODENAME='focal' U_BOOT_EXT='1' PACKAGED_DATE='2022-01-30' FDTFILE='meson-sm1-x96-max-plus-oc.dtb' UBOOT_OVERLOAD='u-boot-x96maxplus.bin' MAINLINE_UBOOT='/lib/u-boot/x96maxplus-u-boot.bin.sd.bin' ANDROID_UBOOT='/lib/u-boot/hk1box-bootloader.img' MYBOX_UBOOT='/lib/u-boot/mybox-bootloader.img' SOC='s905x3' KERNEL_VERSION='5.10.96' K510='1'
Same file transfer from same windows PC over LAN
very good
is there a specific reason you are installing portainer 1.24.2 in the armbian script? The latest version is 2.11.0
portainer/portainer:linux-arm64
Take the latest docker version officially released, maybe they didn't update the docker image in time.
They had abandoned this branch and created ce (community addition): https://hub.docker.com/r/portainer/portainer-ce
armbian-ddbr is not available in your armbian release, how can I do a backup of the installed system on eMMC?
Why gave up? I tested portainer-ce and updated the docker script
armbian-ddbr
was only changed today, you are testing the previous firmware, you use the ddbr
command. In the future, these two commands will be linked, which is actually one.
https://github.com/armbian/build/pull/3406
This script was previously in the firmware integrating 150balbes, and I saw he was committing upstream, so I renamed it and simplified the selection appropriately to not conflict.
x96:~:# ddbr DO YOU WANT TO BACKUP OR RESTORE ? BACKUP=(b) RESTORE=(r) b UNABLE TO FIND YOUR EMMC DRIVE OR YOU ALREADY RUN FROM EMMC!!!
So no way to backup eMMC to external disk?
b
For the portainer, maybe you are right, but version I get with your script is 1.24.2 while the official latest version is 2.11.0. Changelog here: https://github.com/portainer/portainer/releases/tag/2.11.0
b
the output is after I pressed b...
wget -O /usr/sbin/armbian-ddbr https://raw.githubusercontent.com/ophub/amlogic-s9xxx-armbian/main/build-armbian/common-files/files/usr/sbin/armbian-ddbr
chmod +x /usr/sbin/armbian-ddbr
armbian-ddbr
x96:~:# /usr/sbin/armbian-ddbr you are running in emmc mode, please boot system with usb or tf card!
would love to be able to do a backup from eMMC while running
For the portainer, maybe you are right, but version I get with your script is 1.24.2 while the official latest version is 2.11.0.
The official version submitted to docker is still a year ago and has not been updated
You need to boot from usb to backup the emmc partition. Unable to backup itself in emmc partition.
got it, thanks!
Any plans to make a bullseye based armbian? Would like to run yunohost on it.
On Thu, Feb 3, 2022, 16:35 ophub @.***> wrote:
You need to boot from usb to backup the emmc partition. Unable to backup itself in emmc partition.
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1029051915, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCOWYEIN34USUYQ6N6Z3UZKHCHANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
Thank you very much, didn't scroll ao far to see it. Will try. BTW whanted to let yiu know that it's non intuitive, when booting from microSD first time it askes to set root password and creates a regular user, but after armbian-install script, when booting from eMMC, it doesnt remember the regular user, and keeps the new root password. Maybe better to run root password change script after the installation and not before?
On Fri, Feb 4, 2022, 03:29 ophub @.***> wrote:
https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_Aml_bullseye_02.04.0302
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1029557006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCOQSGSW5FCRXC2WW4MLUZMTV3ANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
When writing emmc, the user created on the SD card and the modified password should be recorded in emmc. I'll test it.
I tested it and it's fine
Strange, I am on bullseye now and didn't create any users besides root, but I definitely couldn't boot with user I created on first boot (after focal was installed to eMMC)
On Fri, Feb 4, 2022, 10:33 ophub @.***> wrote:
I tested it and it's fine
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1029759010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCOUSMMOUEK6G6WSW53TUZOFMPANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
I tested today's image, changed the password on the usb, unplugged the usb after writing emmc, and then booted from emmc, I entered with the new modified password.
Root password worked fine (new one), what didn't work was the username I created when booted from MicroSD
On Fri, Feb 4, 2022, 11:24 ophub @.***> wrote:
[image: Snip20220204_2] https://user-images.githubusercontent.com/68696949/152504185-01a5a2e2-568c-4ae4-a4d4-d25fba762549.png
I tested today's image, changed the password on the usb, unplugged the usb after writing emmc, and then booted from emmc, I entered with the new modified password.
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/99#issuecomment-1029795215, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYCOSJSZX5UUEZ4EF32J3UZOLLVANCNFSM5NM3S54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
x96max plus2 (905x3) only connects Ethernet on 100Mbps. Same setup in Android connects 1Gbps