Jump to content

dbsharpe

Members
  • Posts

    118
  • Joined

  • Last visited

Posts posted by dbsharpe

  1. 8 minutes ago, Z11ntal33r said:

    My main concern is the following error which I've never seen before and apply to both images. There are thousands of the same error message in journalctl.  Running systemctl stop getty@ttyS1 && systemctl disable getty@ttyS1 does not fix it. How do I disable it in boot kernel console (disable set_hardware serialconsole)?

     

      Reveal hidden contents
    
    
    Feb 03 21:17:46 aml agetty[1689]: /dev/ttyS2: not a tty
    Feb 03 21:17:50 aml systemd[1]: systemd-fsckd.service: Succeeded.
    Feb 03 21:17:53 aml systemd[1]: systemd-hostnamed.service: Succeeded.
    Feb 03 21:17:56 aml systemd[1]: serial-getty@ttyS2.service: Succeeded.
    Feb 03 21:17:57 aml systemd[1]: serial-getty@ttyS2.service: Service RestartSec=100ms expired, scheduling restart.
    Feb 03 21:17:57 aml systemd[1]: serial-getty@ttyS2.service: Scheduled restart job, restart counter is at 3.
    Feb 03 21:17:57 aml systemd[1]: Stopped Serial Getty on ttyS2.
    Feb 03 21:17:57 aml systemd[1]: Started Serial Getty on ttyS2.

     

     

    I use systemctl stop  sys-devices-platform-serial8250-tty-ttyS0.device  ; systemctl stop dev-ttyS0.device
    which works but I'm using S905X p201 & p212 hardware.

  2. 1 hour ago, fatugazuhati said:

    Thank you @dbsharpe, I was been able to recompile the kernel on the device with that sources, but I'm not able to crosscompile the kernel with any toolchain, the compilation finish succesfully but I haven't an Image file for the kernel not any ko files for the modules.

    Do you have some idea of because this occours?


     

    So that I knew what I was talking about, I took commit f29b82a2598b69b52764a51876685a7a079a36c6 of Amlogic_s905-kernel when I last replied to your original post. I built it with the /boot/config-3.14.29 from the June 2018 release
    that has /proc/version of  Linux version 3.14.29-amlogics905x-gf29b82a-dirty

    That compiles for me using gcc-linaro-7.2.1-2017.11-i686_aarch64-linux-gnu toolchain (old PC) with the build command make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j4 (may need EXTRAVERSION= to make loadable files).
    If your using -j in the make, the compilation may have actually failed and the error overwritten by the other threads. Re run the make at the end without -j to see.

    Otherwise, check disks space, use clean source etc. I've had problems with newer version of perl and old kernel sources in the past.

  3. 9 hours ago, fatugazuhati said:

    Does someone have the sources for the old kernel khadas-3.14? It was just few mega. In the past I was able to git it with a simple:

    git clone -b khadas-3.14 https://github.com/150balbes/Amlogic_s905-kernel.git

    unfortunately I have never saved it and now it isn't more available in the @balbes150 repo, I never thought it would be removed.

     

     

    Oh, I did a google search and came up with this copy which might do:
    https://github.com/abceset/Amlogic_s905-kernel/tree/khadas-3.14 which is a copy/clone and should do if you pick the right commit!

  4. 36 minutes ago, fatugazuhati said:

    Thanks for answering me but unfortunately that is the binary and can't help me. Anyway are you sure that it has support for vlan 8021q?

    About the sources for khadas-3.14, this is a big lost, in my opinion the Armbian versions with kernel 3.14 are the better one for s905/s912 devices, with them everything works and it is possible install Armbian in the emmc. The kernel 3.14 is outdated but COREElec too still uses a kernel 3.14 for theese devices.

    Honestly I don't understand why that branch has been deleted and not only archived.

    Sorry you've misunderstood. As you know, the link provided was an armbian image and does not have the required kernel module.
    You might be able to find close matching AML 3.14.26 kernel source which complies after that module is added in the .config and load it but I doubt you will get away with no module symbol errors.

     

  5. 4 hours ago, edragon said:

     You want this:-   

     

    Sorry thats binary image builds, not source. Since CONFIG_VLAN_8021Q= looks quite embedded, I don't think you will get away with obtaining the 3.14.x android kernel source (or khadas is there is one) and changing the VERSION in Makfeile
    to build the module (8021q.ko).
    I can't see how someone somewhere hasn't cloned 150balbes kernel repo with that branch.

     

     

  6. 6 hours ago, Amoren said:

    Hello,

    I installed the armbian image on an sd card (Armbian_19.11.3_Aml-g12_xenial_legacy_5.3.0_desktop_20191126) then I inserted into my H96pro+ box(amlogic s912) and booted. the linux installation process started (creating user name, password...).

     I logged to my user account but at the end there is no GUI interface (the linux stay in text mode).

    Please help me to log into the GUI interface/ 

     

    I've seen various X problems when moving up through the builds. It can be down to kernel, dtb etc.
    If X is crashing according to fbdev in /var/log/Xorg.log, its probably the kernel or dtb (also after startx).

    If lightdm gtk greeter consumes 100% on 1 cpu, try to change the greeter - take some tips from https://cialu.net/how-to-solve-failed-to-start-session-with-lightdm-and-xfce/
    Disabling selinux at boot fixes a lot of strange issues.

    At the end of the day, it seems to be better to move onto a different armbian build or back to a good one, particularly kernel files and modules.

  7. 1 hour ago, andro7 said:

    What's wrong?

    As said i already burn the system twice, installed nextcloud snap, configured it, used it for a while...then some day the problem occurs again.

    Thanks for any help

     

    andro7

     

     

     

    I've not seen your specific problem but with the newer builds (kernel 5.3.0-aml-g12 or dtb?) I have observed with a s905x:
       mmc driver does not like of my Sandisk extreme micro sd card (neither do 4.x kernels) - gives kernel crash / Call trace during startup and fails to boot
      selinux appears to be fully active so I have help from selinux=0 at the end of bootargs= in /boot/uEnv.ini

  8. 43 minutes ago, srx said:

    Looks like IPv6 is disabled in kernel (at least in 5.99, that is the latest in the repo). That is not good. I would like to see it enabled. IPv6 is essential feature that should not be disabled.

     

     

    According to /boot/config-5.3.0-aml-g12 in Ubuntu Disco, CONFIG_IPV6=m and can confirm ./kernel/net/ipv6/ipv6.ko is built. Can't see why the kernel would vary on this release.

  9. 14 minutes ago, Leisoj said:

     

    Hello dbsharpe, thanks for making img available. Already able to install on Nexbox A95x S905X, it was not necessary to create dtb.img; Now I bought the X96 mini and wanted to put Armbian_5.37_S9xxx_Debian_stretch_4.20 But I can't find it anywhere ...

    Sorry, I only use Ubuntu and had downloaded debian by mistake.
    If your looking for 4.20.x kernel files only, I'd get on from yadi.sk and extract the relevant files from /boot & root:/lib/modules/4.20* and put them on your working environment.

  10. 5 hours ago, Saurabh said:

    Hi , can anyone provide me the link to download Armbian bionic image with kernel 3.14. I have seen that image earlier at the ydisk link which @balbes150 provided but seems he has removed it now .

    I've uploaded it to megashares - https://mega.nz/#!0jxX1KBD!iws8Ojo_zJ5K7SllQ7c7xphP8SAbanMP6YypqnMnbbM
    File details - Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_mate_20180601.img.xz - 706438108 bytes, md5sum 8ee5fe48fbd0a255915b696bda170cf
     

  11. 21 minutes ago, Leisoj said:

     

    Hello everyone, my TV box is NEXBOX A95X S905X 1G/8G - Android 7.1, kernel 3.14.29. What is the best option to use for this model? I have tried some, but to no avail

    Don't know but this post might help determining the board type (dtb to use):
    https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x-ver-544/?do=findComment&comment=66212
    If not, you'll have to try every dtb and be patient - even though the screen isn't
    working, ethernet and usb might be - see
    https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x-ver-544/?do=findComment&comment=58673

     

     

  12. 32 minutes ago, KrishIsola said:

     

    For my wifi hotspot authentication problem, I found the below log messages. Does this log help to identify the problem?

    I'm not an expert in kernel / os level. Hence, seeking for help (DESPERATE !!!).

     

     

    I had issues with hostapd but I don't recall the exact problem. I got it down to the armbian kernel being a bit too new and perhaps a bug had crept in. The .config feature that wasnt working might have been multiple ssid's or higher speed wireless 802.11n.
    Work around was to get hostapd sources a couple of years old and compile it.

    I use rt2xxx based hardware and don't recommend  the internal wifi devices.

  13. 23 minutes ago, Doroteo said:

    Hi @lifeform,

     

    Im trying do the same for Tp-link usb WiFi dongle drivers, but without succes becouse the @balbes150 armbian image I used does not have headers.

     

     

    What driver/chip do you want to build? Your better off getting the correct kernel source from https://github.com/150balbes/Amlogic_s905-kernel (or armbian build) if its a popular driver not enabled in the current /boot/config.

    Search these forum threads for build instructions.

     

  14. 51 minutes ago, Jery said:

    @balbes150

    Hi and thanks for Your work.

    Please which images without desktop have working wifi? I have A95x with S905 2/16GB (really not S905X) and with meson-gxbb-nexbox-a95x.dtb is working. But modprobe dhd, wifi_dummy etc almost says not found in the directory. Identification from android is BCM4335. I have copied DTB.img from android, but it is not working with Armbian Disco. Please is any way how to enable wifi?

    Thank You

     

    Have a look at this post.

    It may be the firmware between android and Linux (/lib/firmware/brcm) is different and android may work better. You'll have to do some work in android working out which one is in use and which files (usually at least 2 files) and if they differ.

    Don't mix DTB's between distros (Android to Linux or Linux to Linux with a bit less caution).

  15. 22 hours ago, SteeMan said:

    I think you have run into the same issue I recently did.  I have purchased four TX3 mini boxes (2G/16G) over time from different vendors.  Two of the boxes work perfectly (i.e. I can install to the built in eMMC.  However on the other

     

    It's been the same issue for years, down to clone copies. I've got 2 T95 boxes which are S905X - one is p201, the other is p212.
    The only way to find out what your getting is to persuade your supplier to provide you with a copy of /system/build.prop from android (looking for build.product line)

  16. 5 hours ago, hanguofu said:

    What is wrong with my compiled kernel ?

     

    I played with the official img : Armbian_5.77_Aml-s905_Ubuntu_bionic_default_5.0.2_20190401.img.xz  on my usb stick and everything is good. 

     

    Is there sth. wrong with my built process ?

     

     

    I'd say no modules are being loaded at boot possibly due to kernel name / magic not matching (uname -a on the install image kernel vs compiled kernel).
    Otherwise, check your using the same tool chain (shown with cat /proc/version on the target) but I've only seen that issue being pertinent with android phones running old kernels. Check you are using the correct source.

     

  17. 13 minutes ago, Reddwarf said:

    Which box and which dtb did you use?

     

    14 minutes ago, Reddwarf said:

    Which box and which dtb did you use?

    I have two T95's - one is p201, the other is p212.
    Armbian_5.73_Aml-s905_Ubuntu_bionic_default_4.20.2_desktop_20180129_img.xz (lima)  contains the working dtb's.

    (see  forum.armbian.com/topic/7930-armbian-for-amlogic-s9xxx-kernel-41x-ver-555/?do=findComment&comment=72165 )

  18. 4 minutes ago, AlecClaire said:

    Does anybody know why on USB thumb drive desktop environment starts right away but on a SD card one needs to Crtl+AltF2, log-in and "startx"?

     

     

    I'd like to know - startx does not work for me so I have to boot into android to fix this as the screen resolution appears to be too low booting Armbian. Small script to solve would be nice.

  19. 2 hours ago, guidol said:

    today I switched/reinstalled on my Sunvell T95K Pro 

    from Armbian_5.72_Aml-s912_Debian_stretch_next_5.0.0-rc3-next-20190125-g494367cb5-dirty_desktop.img

    to     Armbian_5.73_Aml-s912_Debian_stretch_next_5.0.0-rc4-next-20190130-g02495e76d-dirty.img

    because I didnt use a desktop there and couldnt find a solution to "update" from 5.72 to 5.73 :(

    (Also couldnt find a higher version than 5.73 for next-Kernel 5.0 and debian stretch - only ubuntu....)

     

    I "cleared" the normal "dmesg-problem" for the WiFi-regulatory.db and applied the 

     

     

    Can't help with the firmware problem as I've not run 5.0.0-rc4 but can you expand on the WiFi-regulatory.db issue and any fix. I've had intermittent issues with wifi AP's and this message in dmesg / syslog.

    Thanks.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines