Jump to content

dbsharpe

Members
  • Posts

    118
  • Joined

  • Last visited

Everything posted by dbsharpe

  1. I can't help you with native compilation of kernel modules but I can tell you how I cross compile the latest aml-s9xxx kernel source under linux on intel to make executable modules and bootable zimage. The official way to compile a kernel is to build everything as per https://github.com/150balbes/Build-Armbian or /build but its time and space consuming. Download commit version around 19th August 2018 from https://github.com/150balbes/Amlogic_s905-kernel I get the impression 150balbes kernel is a clone of LE development which is mainline with a number of patches. Toolchain I use is gcc-linaro-7.2.1-2017.11-i686_aarch64-linux-gnu so you will need to setup your environment to run it. Unpack the kernel download and copy /boot/config-4.18.0-aml-s9xxx to .config in your source. command to build is: make EXTRAVERSION=-rc5-amlogics905x ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j2 Not sure about but your chip k RTL8189FTV but I would have thought it was already in the current kernel
  2. >it is s905x, it should have gxl and/or p212 in name and 2gb as ram amount if there multiple dtb files for gxl_p212 Try the troubleshooting tips I've put on this post: https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x/?do=findComment&comment=58673 May be worth stepping back to an image with older kernel 3.14.xx to see if that works.
  3. Yeah its a Ubuntu thing, not kernel. The brcmfmac4330-sdio.txt issue is with images using kernels 4.9.40 upwards and I've also checked 4.18.0. Only ever used Ubuntu images and the problem is upstream somewhere with https://github.com/150balbes/pkg-aml/blob/firmware-aml-20180213/ .
  4. On 150balbes 4.18.0-rc5 Ubuntu images, for those with T95 (p200) AML tvbox using meson-gxbb-p201.dtb / 200 device tree file, there is a problem with wifi caused by an error with nvram firmware files. Problems manifests as wlan0 present but can't see any AP's. To fix, use mv /lib/firmware/brcm/brcmfmac4330-sdio.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt.old ln -s /lib/firmware/brcm/nvram_ap6330.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt in a shell on the target as root. Not sure where this Ubuntu distribution fault has crept in. nvram_ap6330.txt is actually the same file as android system:/etc/wifi/40183/nvram.txt and although not perfect, works better!
  5. I've tried most of the balbes150 Armbian images (mainly Ubuntu server) on a 'q-box' s905x android TV box (p212) and they all work (I've only tried at a superficial level). I've returned the q-box as the seller lied about the hw spec. Here are some observations which may help others having issues getting started. 1. Use the largest SD card you can so that the image fits on the boot media. 2. After writing the sd card (under linux I use xzcat -d -c ARMBIAN.img.xz | dd of=/dev/block/mmcblk0), check both sd card partitions by mounting. You may need to e2fsck or resize2fs partition 2 (mmcblk0p1). 3. Under androud, 'reboot update' will boot from sd card (or reboot recovery, toothpic etc). Try all the /dtb files (you can determine your board type by looking in the android /system/build.prop file for the ro.product. entry). Even if the screen does not work, its possible the Ethernet port is working or a USB keyboard ctrl-alt-del may reboot. Check your DHCP server/broadband router logs to see if a lease has been obtained and try shell access via SSH. 4. In between each dtb file, check the file system on the sdcard is not corrupt and still mounts. If your TV box still has stock android recovery, get TWRP recovery S905_TWRP3_ViT.zip from http://alielectronics.net/2017/04/05/x96-android-tv-box-4k-s905x-2gb-ram-16gb-rom-android-6-0/ and run it from 'apply update from EXT'. This is a stand alone TWRP recovery without flashing and has a command prompt (shell) menu option to help you check the sd card without moving it between machines.
  6. Hardware recommendation (AML) Hi, I have a T95 android TV box (S905, aka Beelink etc) Chinese clone/noname which is running Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.79_mate_20180209 ok (without a /boot/dtb.img) from sdcard and also Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_server_20180601 (with gxbb_p200_2G_100M.dtb) thanks to balbes150. Sorry to hijack the thread but can anyone recommend a sub $50 ebay AML based android TV box (any AML chip) to buy that WILL run linux kernel 4.4.x onwards as I'm looking to upgrade to newer h/w. I've tried a TX3 (S905) but I got rid of it as the Nougat Android on it was rubbish. Thanks.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines