dbsharpe

Members
  • Content Count

    117
  • Joined

  • Last visited

Everything posted by dbsharpe

  1. You may have seen some other messages skipping past at boot complaining about mmcblk meaning the dbt/kernel is not recognising the sdcard or its controller. In single user mode, busybox blkid and cat /proc/partitions may show them missing.
  2. Looks like the nvram file is now brcmfmac-ap6330-sdio.txt in focal Ubuntu package armbian-firmware according to apt-file search brcmfmac-ap6330-sdio.txt . There are various versions of brcmfmac4330-sdio.bin (and others with different file names) so experiment with different ones to see which is best. I don't know if the ones in packages armbian-firmware, armbian-firmware-ful & linux-firmware are identical. You will probably find a few different ones in under android /etc/wifi which you could try - you'll have to rename etc the binary file to brcmfmac4330-sdio.bin. See also this previ
  3. The tv box name (TX3 mini) like a lot of boxes has little relation to the hardware inside. Try this forum post - seems to have worked for quite a few different boxes having wifi issues.
  4. I've seen these permission issue posts a few times before but never had them myself or know why they occur. stat /usr/bin/sudo on my system shows 4755 owned by root. After logging in, try the su - command instead of sudo winch will switch you to root (or login as root). See this link about single user mode to change permissions (chmod 4755 /usr/bin/sudo ; chown roor:root /usr/bin/sudo). Bit elementary but the only help I can offer.
  5. When I had wifi and firmware issues in Armbian, I used the firmware found running under Android. I'd also look at the linux kernel source code for the particular module loaded to find out the firmware file names, usually defined in the .h header files
  6. If it was NTFS (and not a FAT derivation that has a size limit of about 4Gb file size), I would suggest creating an empty file about 20Gb in size with dd if=/dev/zero of=./20gb_filesystem.img.ext4 bs=4k iflag=fullblock,count_bytes count=20G . Format the file with mkfs.ext4 ./20gb_filesystem.img.ext4 and mount with mount ./20gb_filesystem.img.ext4 /mnt which will give you a linux filesystem in a file.
  7. Is the disk under /media/root/Seagate NTFS? It needs to be Linux ext3/4 etc and make sure /media/root/Seagate/armbianbuild has chmod a+rwx to rule out any permissions issues. If I was encountering issues I could not fix, I'd use strace -f -o /tmp/trace-build.txt ./compile.sh and examine /tmp/trace build.txt at the end.
  8. Put debug at the end of the APPEND string might make initrd become more verbose. Also the word single to use single user mode in APPEND with root=LABEL=ROOTFS removed my be of some use.
  9. Yes, I am building on a H96 max x3 TV box (AML S905X3) running Focal arm64. You can build on a tv box running Armbian booted from sdcard but the location for storage before issuing the command git clone https://github.com/150balbes/Build-Armbian should be internal flash/EMMC/NAND, high speed external wired storage or network storage (ie from your 'computer'). About 10Gb needed. Might take half a day.
  10. At the same time these post appeared, I was able to natively compile balbes150 Armbian under Focal arm-64/aarch64. Haven't tried recently. Top tip, make sure CCACHE isn't using slow sdcard storage. I used a H96 max x3 and pointed it to a folder in /tmp as it boots with RAM Memory: 2429544K/3535872K available.
  11. Sorry, the thread starter by the author has a disclaimer: "For all. I don't support s905x3". There are specific forums for this box and AML chip.
  12. > I've managed to successfully boot an MXQPro 4k (Amlogic S905X p212 board) from SD Card, however upon running the installation script Armbian, it doesn't seem to find the internal eMMC. I think it might be covered by this previous reply - and the post after it.
  13. As far as packages go, I find focal seems to have less than bionic. As a work around for other none specific packages, you could download the from the bionic repo with wget and install with dpgk. If you get complaints about dependcies, you could manualy copy in the files after extracting them from the package with ar x pkg.deb ; tar -xvf data.tar.xz
  14. If you have an existing armbian installation, you can upkack (xzcat -d) the new installation image, mount (offset=) and copy the zImage, uInitd from BOOT and modules from ROOFTS - see this old post. It appears when you boot from sdcard, u-boot.ext is an executable chained via aml_autoscript and s905_autoscript. In summary, if you want the old method you will need old version of the above boot files plus the uEnv.txt (and delete u-boot.ext). I did this because at first I was getting "card did not respond to voltage select" errors with a dev image. However, it goes onto attempting
  15. Having taken a quick look at the ssv6x5x sources available, there is no way you'll get a 3.4.x kernel driver working on a 5.x system as the interfaces have changed. Anyway, wifi drivers beginning s**** are pretty much toxic on this forum and other aftermaket O/S boards.
  16. In the absence of a u-boot file, this is how I was able to work round it but you still need to boot from sdcard but run root from flash. You will need to restore an operable android image with USB Burning Tool or restore full backup of internal flash. On my p201 S905X device, I was able to format all (most) of the internal flash apart from the first 108Mb (arbitrary value) which excludes the bootloader (something like mke2fs -F -t ext4 -m 0 -L ROOT_EMMC -E offset=113246208 /dev/mmcblk1 [ -< device for internal flash] ) You
  17. My suggestion for potential solution is my post.
  18. I don't have much experience of booting and running from internal flash but the usual forum response to such failure is that you have NAND and not EMMC in your tv box. Assuming /dev/mmcblk1p1 and /dev/mmcblk1p2 file systems are good, you could work around by booting off sdcard but mount /dev/mmcblk1p2 as your root file system. Check internal flash /etc/fstab is OK and modify /uEnv.txt on the sdcard to point to flash /dev/mmcblk1p2 (APPEND=root=LABEL=ROOT_EMMC).
  19. Personally, I encourage my tv box to boot into Armbian by issuing the command 'reboot update' in a shell terminal under android or power up with the toothpick method (poke the button inside the A/V port). After that, make sure your flash sticks /uEnvv.txt is correct with a just the irelevant lines commented out apart from the ones used. You may have to read page 1 of this thread again regarding u-boot after checking uEnv.txt about 10 times.
  20. On your qbox, which is probably p212, you might find this post of use: I don't think /lib/firmware/brcm/config.txt is used in linux currently.
  21. I've had one of these boxes but didn't run Armbian on it. The one I had was p281 and the copy of Android dmesg I have seems to indicate a TLL901X chip. I sold it as wifi support seemed lacking on libreelec. The Android system backup I have has many wifi chips to choose from in /system/lib/libhardware_legacy.so (according to /usr/bin/strings). You could start by looking at this post if your lucky and it is actually a broadcom chip. Also, you need to look in dmesg or /var/log/syslog for "firmware" regarding any load messages.
  22. I've managed to install Armbain to EMMC (internal storeage) for the first time (Armbian_20.06.0_Arm-64_focal_dev_5.8.0-rc3_desktop_20200629.img) on my 8/2Gb s905x p201 box by following install-aml-s905-emmc.sh by hand, line by line and it boots reliably from internal flash but with reduced RAM. Can anyone provide a bootloader/uboot for s905x 2Gb as mine is only showing about 800Mb after flashing with /root/u-boot/u-boot-s905/u-boot.img . I'm able to build u-boot source and BayLibre u-boot but no idea what the output does.
  23. After considering, I'm currently running armbian Ubuntu Focal on internal flash (just the android /data partition) but bootstraping a p212 s905x from sdcard by making the following mods: uInitrd -> initrd:/bin/mount replace with ROOTFS/bin/mount binary uInitrd -> initrd:/scripts/local replace the line mount ${roflag} ${FSTYPE:+-t ${FSTYPE} }${ROOTFLAGS} ${ROOT} ${rootmnt} with /bin/mount -t ext4 /dev/mmcblk1 ${rootmnt} -o loop,offset=2545942528,sizelimit=5272240128 copy sdcard ROOTFS to mounted flash and edit /etc/fstab -> comment out #LABEL=ROOTFS
  24. I've been considering for some time bootstrapping from sdcard but mounting the internal flash as root. If the /data partition is big enough, you could rm * everything and copy partition 2 from the sdcard. I'd assume the init script in /boot/uInitrd would need modifying as the root= argument in /boot/uEnv.txt APPEND= only accepts devices, uuid & labels (AFAIK). Note putting single in uEnv.txt APPEND boots to a shell at runlevel 1 which may help debugging etc. Edit ... additonal notes: 1. Single user mode without mounting any disk file systems: APPEND=rw console=ttyA
  25. Initially after watching some recent youtube videos about Armbian, you need to check you've commented out all the lines FDT= * APPEND above # rk-3399 at the top of /uEnv.txt You will need to try all (amlogic) dtbs (I assume, don't have Mecool K1 Pro). Also check this page. Personally, I boot into (sdcard) Armbian by issuing the command reboot update in a shell from android (app).