Jump to content

AzuriAdore

Members
  • Posts

    27
  • Joined

  • Last visited

Reputation Activity

  1. Like
    AzuriAdore reacted to jernej in OrangePi Zero2 - Allwinner H616   
    FYI, I ported wifi driver to mainline (top two commits): https://github.com/jernejsk/linux-1/commits/h616-full
    To say that code is convoluted is a big understatement.
  2. Like
    AzuriAdore reacted to RaptorSDS in Armbian for Amlogic S805 and S802/S812   
    @AzuriAdore thanks for your work
  3. Like
    AzuriAdore got a reaction from RaptorSDS in Armbian for Amlogic S805 and S802/S812   
    Hey guys,
    I'm releasing my personal Armbian build for AML s8xx compatible with Docker.
     
    Armbian: 21.11.0
    Ubuntu: 20.04 focal
    Linux: 5.14-rc2 by xdarklight
    Original build files by balbes150
    I only tweaked the board settings.

    Files used here:
    https://github.com/SLAzurin/build-armbian-custom/tree/s8xx
     
    Build steps on system with Ubuntu 20.04 and docker:
    Copy files from `userpatches.s8xx` to `userpatches` ./compile_s812.sh Mount the output image file to your filesystem (Check `postbuild.sh` for more details) Change the label for the ext4 partition to be `ROOTFS` Unmount image file and flash to SD Card. (Optional) Generate new .sha file with `sha256sum $IMAGE > $IMAGE.sha` Downloads here:
    https://github.com/SLAzurin/build-armbian-custom/releases/tag/v2021.11-s8xx
     
    I will not be taking any requests, it is already hard enough to get an image released as it is.
    You get what you get. Thank you for understanding =)

    Edit:
    When you try to install Docker,
    If you run into an issue that says cannot find package docker-ce, or something similar, do this:
    sudo sed -i "s/focal/bionic/g" /etc/apt/sources.list.d/docker.list sudo apt-get update sudo apt-get install -y docker-ce docker-ce-cli containerd.io  
  4. Like
    AzuriAdore reacted to iHackFX in OrangePi Zero2 - Allwinner H616   
    Hi, I recently received this board and I was able to get the docker started. Maybe someone may find it useful.
    After installing via "armbian-confix" if try to start docker service with
    $ systemctl start docker  we get this error: 
    ● docker.service - Docker Application Container Engine    Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)    Active: activating (auto-restart) (Result: exit-code) since Tue 2021-08-24 20:09:34 MSK; 26ms ago      Docs: https://docs.docker.com   Process: 11947 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)  Main PID: 11947 (code=exited, status=1/FAILURE) dpkg: error handling package docker-ce (--configure):  installed docker-ce package post-installation script subprocess returned error exit status 1 In "journalctl -xe" we get the following - "Running iptables --wait -t nat -L -n failed with message: `# Warning: iptables-legacy tables present, use iptables-legacy to see them\niptables: Operation not supported.`, error: exit status 1."
    And to fix it, you need to use the following command:
    $ update-alternatives --set iptables /usr/sbin/iptables-legacy Then restart the service and docker works.
  5. Like
    AzuriAdore got a reaction from RaptorSDS in Armbian for Amlogic S805 and S802/S812   
    Hey everyone, I updated my guide on making Docker work here https://github.com/SLAzurin/armbian-aml-s8xx-kernel-build-steps
    (For Ubuntu/Debian on linux version 5.10)
     
    @balbes150 The previous comment for Docker requirements is wrong.
    These here are the only config you need to enable to make Docker work when you build the linux kernel.
    CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y I hope you can add it successfully for the next release, thank you for your work.
  6. Like
    AzuriAdore got a reaction from andress187267 in Armbian for Amlogic S805 and S802/S812   
    @balbes150To make Docker work, the kernel build config file (/boot/config-**) is missing the following:
    Can you try to add these configs in the next Armbian build please?
    CONFIG_NF_NAT_IPV4=y CONFIG_NF_NAT_NEEDED=y CONFIG_POSIX_MQUEUE=y CONFIG_MEMCG_SWAP_ENABLED=y CONFIG_BLK_DEV_THROTTLING=y CONFIG_IOSCHED_CFQ=y CONFIG_CFQ_GROUP_IOSCHED=y CONFIG_CGROUP_HUGETLB=y CONFIG_RT_GROUP_SCHED=y CONFIG_IP_VS_NFCT=y CONFIG_IP_VS_PROTO_TCP=y CONFIG_IP_VS_PROTO_UDP=y CONFIG_IP_VS_RR=y CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_AUFS_FS=y CONFIG_BTRFS_FS_POSIX_ACL=y  
  7. Like
    AzuriAdore got a reaction from nef in Armbian for Amlogic S805 and S802/S812   
    My guide on how to build your own Kernel to make it compatible with Docker is here:
    Please read the guide once before doing it on your own
    https://github.com/SLAzurin/armbian-aml-s8xx-kernel-build-steps
     
  8. Like
    AzuriAdore reacted to RaptorSDS in Armbian for Amlogic S805 and S802/S812   
    @AzuriAdore looks like timing problem at init at boot ( maybe usb host did not get right shutdown) thats why somethig thinks get deactivate with newer kernel first and than after test and beta back online
    thanks for a guide for docker
     
    @obaldon1sorry to hear that you frustrated , my first device for flash was a windows CE->XDA 1 , there is no step by step instruction because every android device is diifferent some have more secure features like software fuse and secure bootloader other have only non root user ,  but like azuriadore say you learn something in the 30h.
     
    please dont waste your box ,
    also please notice this is still a hack of a device someparts are still beta and not stable ,
    also please notice this is not a windows device where your put your usb stick and one-click installer say hello i am windows installer , many things are still by adb-console and input commands into a black window
     
    do you have a pc connection to your device ?
     
  9. Like
    AzuriAdore got a reaction from nef in Armbian for Amlogic S805 and S802/S812   
    I am tagging the people who mentioned having issues with docker recently in this topic.
     
    @brajomobil@daniyo@nef
     
    To make Docker work, it takes extra steps.
     
    Please visit my guide on how to make it work if you are still interested:
    https://github.com/SLAzurin/armbian-aml-s8xx-kernel-build-steps
  10. Like
    AzuriAdore got a reaction from daniyo in Armbian for Amlogic S805 and S802/S812   
    I am tagging the people who mentioned having issues with docker recently in this topic.
     
    @brajomobil@daniyo@nef
     
    To make Docker work, it takes extra steps.
     
    Please visit my guide on how to make it work if you are still interested:
    https://github.com/SLAzurin/armbian-aml-s8xx-kernel-build-steps
  11. Like
    AzuriAdore got a reaction from TRS-80 in Armbian for Amlogic S805 and S802/S812   
    I am tagging the people who mentioned having issues with docker recently in this topic.
     
    @brajomobil@daniyo@nef
     
    To make Docker work, it takes extra steps.
     
    Please visit my guide on how to make it work if you are still interested:
    https://github.com/SLAzurin/armbian-aml-s8xx-kernel-build-steps
  12. Like
    AzuriAdore got a reaction from obaldon1 in Armbian for Amlogic S805 and S802/S812   
    You're welcome.
     
    I am writing steps on how to build the kernel to make it work with Docker.
    In the future, people can use my written guide on how to create the uImage themselves.
     
     
  13. Like
    AzuriAdore got a reaction from daniyo in Armbian for Amlogic S805 and S802/S812   
    To get docker working, you need to re-build the kernel, enable the missing required configs, and replace the default uImage from the boot partition.
    I was able to get it working with docker-compose as well. I will attach my personal uImage file. It is for kernel v5.9.0-rc7 for aml s8xxx.
     
    <link_removed>
     
    Extract and rename the file to uImage, then copy it to the root of the boot partition on the sd card.
    Make sure you backup your sd card before you apply this kernel, I am not responsible for your actions if anything goes wrong.
     
    --EDIT--

    My uImage uploaded does not work. I will write steps on how to make it work in a future post.
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines