Jump to content

tgillett

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by tgillett

  1. @well83 Thank you for that u-boot file - the device now boots up into the Armbian login page. Once I replaced the login credentials, the system runs as expected. Many thanks for your help. It does beg the question though, where did this particular uboot file come from, and more generally what is the process for producing u-boot files? Once again, many thanks for your help.
  2. @well83 The device I have is labelled A95X-F3-Air and it operates happily on the earlier Armbian firmware using uboot-s905x2-s922 file and /dtb/amlogic/meson-sm1-a95xf3-air.dtb Link: https://drive.google.com/open?id=1n6CZa582uJECV3lzQDtFbmbyvmOSiUSg Filename: Armbian_20.10_Arm-64_bullseye_current_5.9.0_desktop.img.xz So I am reasonably confident that all the components are ok. I went through the process as you outlined for installing 6.1.11: 1. Downloaded version 6.1.11 from here: https://mirror-us-phx1.armbian.airframes.io/dl/aml-s9xx-box/archive/ ( filename is Armbian_23.02.2_Aml-s9xx-box_bullseye_current_6.1.11_xfce_desktop.img.xz), and checked the sha256sum out all ok. 2. Edit the /extlinux/extlinux.conf file as follows: LABEL Armbian LINUX /uImage INITRD /uInitrd #FDT /dtb/amlogic/meson-gxl-s905x-p212.dtb #FDT /dtb/amlogic/meson-gxl-s905w-tx3-mini.dtb #FDT /dtb/amlogic/meson-sm1-a95xf3-air-gbit.dtb FDT /dtb/amlogic/meson-sm1-a95xf3-air.dtb append root=UUID=505123a0-7aa3-403f-b86b-27e32bc39aef rootflags=data=writeback console=ttyAML0,115200n8 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles 3. I then copied the uboot file uboot-s905x2-s922 to u-boot.ext 4. Safely removed the SD card and installed on the A95X device. 5. Powerup sends a screen signal to the monitor as shown by the calibration LED, but otherwise a blank screen. I feel I am missing some basic step, but I can't see what it it. Any suggestion s appreciated.
  3. Thanks, I will try that and see if I can make any progress and let you know.
  4. @well83 The bad news is that I have not been able to get any of the three firmware versions to run on my two types of S905 based hardware. One device is labelled "A95X-F3-AIR" and is based on S905X3, and the other is labelled "D905" and is based on S905. Outlined for info below are the steps I have used to successfully get older firmware running on both devices. You will note that the version of Armbian (20.10) is quite old so I am keen to update. I am particularly interested initially in your success with 6.11.1 and trying to replicate that as a starting point. Apart from downloading the firmware and burning it to SD card to create the "armi-boot" and "armbi_root" partitions, would you be able to tell me of any changes you had to make to the uboot.ext file, and the /boot/extlinux/extlinux.conf file, FDT and any other files to make it work on your device please? Many thanks in advance for your help. Regards 1. Tutorial Web Page https://i12bretro.github.io/tutorials/0269.html 2. Armbian Firmware Download (link from tutorial page) https://drive.google.com/open?id=1n6CZa582uJECV3lzQDtFbmbyvmOSiUSg Filename: Armbian_20.10_Arm-64_bullseye_current_5.9.0_desktop.img.xz 3. Edit /BOOT/extlinux/extlinux.conf: LABEL Armbian LINUX /zImage INITRD /uInitrd FDT /dtb/amlogic/meson-gxl-s905x-p212.dtb # Use this line for S905X e.g. "D905" #FDT /dtb/amlogic/meson-sm1-a95xf3-air.dtb # Use this line for 905X3 e.g. "A95X-F3-AIR" APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 4. Copy correct u-boot file. Copy "/boot/u-boot-s905x" to "/boot/u-boot.ext" for S905X device Or Copy "/boot/u-boot-s905x2" to "/boot/u-boot.ext" for S905X3 device 5. Install SD card in target device, install keyboard, mouse and HDMI monitor and power up.
  5. @well83 Would you be able to post links to allow me to download the three different versions of the firmware you have mentioned please (6.1.30, 6.6.3 and 6.1.11 )? That way I can attempt to replicate your test exactly to see what is going on, Thanks
  6. I am sure there are many ways to brick a TV box, so never say never... That said, the idea here is that you just boot Armbian / Debian from the SD card, leaving the contents of the internal eMMC memory (ie the Android TV Box code) unchanged. This means that if you remove the SD card and power up the device, it will boot into the Android code. I have several S905x3 boxes that I run routinely as headless classroom micro-servers with Armbian installed on the SD card without any issues. They always revert to Android if I boot without the SD card. If you decide to go further and install Armbian to eMMC (assuming you have suitable hardware for this) then please read Steeman's notes about this in his original post above. Worst case scenario, if you do somehow mess up the eMMC, then you can use the Amlogic tools to re-install the original code. T
  7. From what you have posted, I can't tell which Amlogic CPU your device actually has. Do you have any additional information which would identify the CPU e.g. as: S905 S905W, D, L S905X S905X2 S905X3
  8. Just for the record... The image file I used to get my S905X3 box running was from this tutorial: https://i12bretro.github.io/tutorials/0269.html which references this site for the image file: https://drive.google.com/open?id=1n6CZa582uJECV3lzQDtFbmbyvmOSiUSg The file is: Armbian_20.10_Arm-64_bullseye_current_5.9.0_desktop.img.xz I used the dtb file "meson-sm1-a95xf3-air.dtb" from the Stable image referenced in SteeMans post. This at least gets the board running and allows for an upgrade to the Debian Bullseye operating system using the apt-get command. I can't get the current Stable images from the site referred to in SteeMans post here to work: https://forum.armbian.com/topic/17106-installation-instructions-for-tv-boxes-with-amlogic-cpus/ Also the SHA checksums for these files don't seem to agree with the published value, so it may be there is some problem... I hope this helps.
  9. Success! I used an SD card that was set up and working in a S905 based device, using an earlier version of Armbian. I added the new dtd file (/dtb/amlogic/meson-sm1-a95xf3-air.dtb) and adjusted extlinux.conf accordingly. I copied u-boot-s905x2-s922 to u-boot-ext. Then I did the toothpick boot thing and held it for around 30 secs (not sure if this duration had any specific effect). After releasing the boot switch, the boot process started and it ended up running just like the previous S905 device. I then went back and tried again with the stable build that @SteeMan referenced, but that failed. So there seems to be some outstanding issue that needs a bit more time and testing to sort out. But at least now I know the dtb and u-boot files are ok so it is easier to try out other things. I have to say that the S905X3 processor handles the workload (Kolibri application) with much less effort than the previous S905 device. Hope this helps.
  10. HI I have just received the same type of device and started trying to install the Armbian firmware. I have followed the steps in SteeMans post here: The steps I have taken are listed below. I am using the "toothpick" method to power up with the boot switch depressed, then releasing after a few seconds. (How long should it be??) But no luck. Obviously someone has done this before since there is a dtb file specifically for this device, so I think I am missing some step along the way. I have installed Armbian on a S2905 device previously, but not the S2905X3 which is used in this device. Other than finding some problem with my installation process, the only alternative would seem to be just trying out all the dtb files in turn. But that sounds dubious in the face of there being a specific dtb file for the device. Any comments, advice or suggestions would be very welcome. Thanks in advance. -------------------------------------------------- Installation 1. Download firmware: Stable Builds: https://redirect.armbian.com/aml-s9xx-box/archive 2. Burn the firmware to SD card with Etcher 3. Edit the armbi-boot /extlinux/extlinux.conf file to point to the appropriate dtb file: LABEL Armbian LINUX /uImage INITRD /uInitrd FDT /dtb/amlogic/meson-sm1-a95xf3-air.dtb append root=UUID=afbf3a1b-d905-4b27-b78a-3682d3db0dca rootflags=data=writeback console=ttyAML0,115200n8 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles 4. Copy armbi-boot /u-boot-s905x2-s922 to /u-boot.ext 5. Install the SD card and attempt to boot
  11. @Werner Thanks. I have updated my master and built new images for the CubieTruck and for OPi PC+. The new CT image worked but not the OPi PC+ image. Is it possible that the fix has not been applied to OPi PC+ / H3 as yet, or is the fix inherently common to all Allwinner 32bit devices?
  12. I have tried the image for Buster from the Download page for OrangePi PC Plus, and also built new images from current Git repo. In all cases the device bootloops when it tries to start the kernel. The image from the OrangePi website works ok. This looks like a similar issue as experienced recently with CubieTruck and BananaPi A20 boards (https://armbian.atlassian.net/browse/AR-749) which was fixed with a workaround (https://github.com/armbian/build/pull/2963) Is it possibly the same / similar underlying problem?
  13. I updated my build environment and made a new build for CubieTruck using Buster minimal. Booted the board multiple times and works every time. Thanks for your help.
  14. Hi Igor Thanks for the update. I would like to test this solution on CubieTruck board. What do I need to do to get an updated image please? Thanks Terry
  15. Hi Igor Thanks very much for your response. This is my first day working with Armbian so it is still something of a learning curve. I took your advice and set up the build environment and built images for CT with combinations of Current and Legacy versions of the software for Buster and Focal as supported by the tool. None of these versions would boot correctly, failing in the same manner as the version on the Download page for CT: "Armbian_21.05.1_Cubietruck_buster_current_5.10.34_xfce_desktop" These images all have "U-Boot 2021.04" in common. (U-Boot 2021.04-armbian (May 06 2021 - 17:01:36 +0000)) I don't know how to proceed further with debugging, in particular checking for file sizes as you suggested. I have looked through the documentation Developer Guide / Building Armbian and User Configurations, and through the build files system, but it is not obvious where this information might be, or how to re-configure. Obviously I am missing something basic... I also explored the archive software a little more. The most recent version I could find there was: Armbian_21.02.3_Cubietruck_focal_current_5.10.21 dated March 2021. This software booted correctly, with "U-Boot 2020.10-armbian" I also tested several earlier versions with U-Boot 2019.04 and 2019.01 and they also booted correctly. So I thought it might be worth looking at the environment settings for the different U-Boot versions. Looking through the printenv output for the two recent versions of U-Boot, there are not a lot of obvious differences in address settings. One difference I noticed is the value of the "fdtcontroladdr" setting, as shown below, but I don't know if it is telling us anything useful. U-Boot 2020.10 fdt_addr_r=0x43000000 fdtcontroladdr=baf4ddf0 ### fdtfile=sun7i-a20-cubietruck.dtb fileaddr=66000000 filesize=38436 U-Boot 2021.04 fdt_addr_r=0x43000000 fdtcontroladdr=baf4bd80 ### fdtfile=sun7i-a20-cubietruck.dtb fileaddr=66000000 filesize=38436 I am happy to spend some more time on debugging if I can get some pointers in the right direction. Regards Terry
  16. Hi All I am not able to run Armbian Buster from the Downloads page (https://www.armbian.com/cubietruck/) on the CT board. Other images run fine, including: - Armbian_5.65_Cubietruck_Debian_stretch_next_4.14.78 (from archive) - Armbian_5.65_Cubietruck_Ubuntu_bionic_next_4.14.78 (from archive) - openwrt-19.07.7-sunxi-cortexa7-sun7i-a20-cubietruck-squashfs-sdcard.img.gz (from OpenWrt downloads site) The problem is that it endlessly reboots after resetting the CPU. The output from the serial port is shown below. I can interrupt the Autoboot and get to the Uboot console ok. The output from printenv is also shown below. Any suggestions as to what might be the problem would be greatly appreciated. If anyone has this set up working, a copy of the printenv output would be great to compare. Thanks in advance for any help. T
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines