dbsharpe

  • Content Count

    118
  • Joined

  • Last visited

Everything posted by dbsharpe

  1. The answers are in this forum but 1. see https://forum.armbian.com/topic/7930-armbian-for-amlogic-s9xxx-kernel-41x-ver-555/?do=findComment&comment=68879 2. see /boot/config* on the target tv box. 3. depending on changes, you just copy from the buildhost modules into /lib once you've tested them and copy arch/arm64/boot /Image.gz to /boot/zImage
  2. I'd try the .dtb filename your using from another .img build (more recent). I've found this works for me. Comparing the decompiled .dts source, the only difference was positioning of some statements in the structure (TBH, I pull the /boot and /lib/modules/ files out of the image when a new one is released).
  3. I'm using a meson-gxbb-p201.dtb box and have noticed issues from version to version (i.e. sound on kernel 4.20.2) as well as screen powered off. Had to use systemctl restart lightdm.service to get the screen back. Problem are fixed by using the dtb from Armbian_5.73_Aml-s905_Ubuntu_bionic_default_4.20.2_desktop_20180129.img.xz (even though I'm running 4.20.2-aml-s9xxx kernel)
  4. What is the current status of AMAUDIO/AMAUDIO2 (audio through HDMI from 3.14.29 amlogic kernel source) into 4.2x or NEXT 5.0 kernel builds for S905?
  5. You will need to mount (/mnt) a partition in emmc with enough space and issue: dd if=/dev/zero of=/mnt/512mbfile.bin bs=1024 count=512000 which will report speed in bytes at the end. Its difficult to a read test due to the caching element but dd if=/mnt/512mbfile.bin of=/dev/null bs=1024 will give you the speed of RAM if you run read test after write!
  6. Your correct but under android or older 3.14.x kernels, aml_sd_emmc presents all the flash partitions laid out but with more recent 4.x and above kernels, meson-gxbb-mmc is one device according to /proc/partitions
  7. I've not installed on emmc as I've never used usb burning tool to unbrick a tv box. Not impressed with the write speed when mounting existing emmc flash partitions. For example on my T95 S905, the data partion mmcblk0p14 based on the android boot information can be accessed with mount -t ext4 /dev/mmcblk0 /mnt -o loop,offset=2545942528,sizelimit=5272240128 Can't suggest much with emmc apart from it will probably be a .dtb issue.
  8. If I had problems with a driver, I'd probably try going back a few kernel versions to see where the ethernet speed was OK or started faltering. The name of the module should be listed (from a shell) in /sys/class/net/<ETHERNET IF NAME>/device/uevent . If the kernel is at fault, possibly look at the source code and see if the developers/modifiers has an email address in the .c or .h files you could use to contact. I find most device problems in Armbian are related to .dtb files or firmware files. Having said that, have you tried ethtool under Armbian (assuming you get full speed w
  9. I think gnthibault I've mentioned this before in forums but is it possible confusion may be occurring between duplicate partition labels? In fstab, you have LABEL=ROOTFS / and in uEnv.ini etc bootargs=root=LABEL=ROOTFS What I'm saying is the internal emmc flash and sdcard may have the same ROOTFS label. Perhaps take the sdcard and relabel the ROOT partition with tune2fs or get UUID= value from blkid (and changing boot files in /boot/ and /etc/fstab ?
  10. Have a look at this post regarding kernel build. You will have to locate the relevant commit in https://github.com/150balbes/Amlogic_s905-kernel to get the correct version of 4.18.7 kernel source. As well as cross compile, you can also compile natively and either binaries seem to execute for me. As an aside, I'm running 4.19.7-aml-s9xxx and config-4.19.7-aml-s9xxx has CONFIG_USB_SERIAL_FTDI_SIO=m and ftdi_sio.ko has already been built, if that's what you are looking for (assuming you have the correct .dbt which activates your USB ports).
  11. For anyone reading and this is not working, it may be the file /lib/firmware/brcm/nvram_ap6330.txt is missing. I'm using the same kernel on ubuntu but earlier image and it's not present on the image or repository package. The working file is 1522 bytes long, 82 lines fb5322048b8fa27d612a9f4dce1696cd md5sum with a head saying #AP6330_NVRAM_V1.0_20121130.
  12. I'm not an expert and have not backed up using ddbr but you might have to restore by hand with the dd command - see /usr/bin/ddbr_restore_nand assuming you can boot any linux like O/S from SD card. I can see problems booting from SD card with armbian installed on emmc due to the root=LABEL=ROOTFS conflicts at boot.
  13. This forum post will help you with wifi as it looks the exact comms hardware at issue It may be that the dbt file could be the problem for ethernet, even when the appropriate one is being used.
  14. The 800Mb includes (sic) the header files and the rest of the kernel source. You can use this to compile what ever additional modules (driver) you wish so place it in the location where the driver source is looking for it.
  15. To 'install', just download the zip file and extract the folder into /usr/src Rename the resulting directory 4.18.0-aml-s9xxx etc to give you /usr/src/4.18.0-aml-s9xxx
  16. Commit 846b7fe on Aug 19, 2018 has a Makefile with version/patch/sublevel of 4.18.0 - does that kernel source tree have the required header files (with a few .c files as bonus :-) ? The direct link is https://github.com/150balbes/Amlogic_s905-kernel/tree/846b7fef181189f73ada11fd9ecb69691ed05fd3
  17. To answer the original post, I presume the headers you want will be in the kernel source code? Have look round https://github.com/150balbes/Amlogic_s905-kernel and pick a commit that matches the target kernel date and also revision level (found in top level Makefile).
  18. See for yourself on your own Armbian installation with: grep -i NET_UDP_TUNNEL /boot/config-4*
  19. Although the latest kernel I've tried is 4.18.0-aml-s9xxx, you need CONFIG_NET_UDP_TUNNEL=m according to https://www.wireguard.com/install in the kernel source .config which isn't currently present as per armbian /boot/config. Don't know if it will help but a small hint regarding kernel build is at post https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x-ver-544/?page=65&tab=comments#comment-61928 As additional help, you will need CONFIG_NET_FOU=m to get the above included in the .config.
  20. Don't know if it will be more help but you can also get the hardware info from android adb shell getprop | grep -i build.product or grep -i build.product /system/build.prop Also grep for ro.build.flavor ro.product.name ro.product.device ro.product.board ro.build.product board.platform
  21. Can't advise you on your specific device but I had a similar problem and it was down to incorrect firmware file names. I had to go back to the original working Android and find the firmware_path, nv_path etc by using dmseg and comparing file sizes/md5sum signatures. The specific device was t95 (Armbian forum post).
  22. Sorry, not familiar with mecool bb2 pro but as a general tip when debugging wifi problems, I found kernel 3.x Armbian builds supported wifi but the 4.x kernels did not work even though a module was loaded. Having got the correct dtb file, I had a poke around in /sys/class/net/wlan0/device/modalias & uevent I compared this to what android had and also made sure the files being used by android /lib/firmware/ and Armbian where correct.
  23. Take a look at https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x-ver-544/?page=63&tab=comments#comment-60307 . I've just checked one of the latest AML Armbian 4.1x kernel Ubuntu images and the distro fault appears to be present still.
  24. No zram shouldn't be too much on an issue but the reason (for 4.18.0-aml-s9xxx based kernels) your seeing this is that no zram.ko kernel module has been built (see /boot/config-4.18.0-aml-s9xxx). I've compiled the kernel from soruce http://github.com/150balbes/ to build some additional modules and zram builds and loads. I'm no expert on zram but it seems to be operational when loaded at boot on my Aml system, giving compressed swap. I assume kernel stability issues are the reasons zram has not been included in the current kernel .config
  25. S905X based H/W is recommended as per https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x/?do=findComment&amp;comment=56629