Coder Social home page Coder Social logo

ophub / amlogic-s9xxx-armbian Goto Github PK

View Code? Open in Web Editor NEW
5.5K 73.0 1.8K 12.97 MB

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.

License: GNU General Public License v2.0

Shell 33.04% Perl 1.95% Batchfile 6.88% C 0.56% Roff 57.56%
armbian amlogic s905x3 s905x2 s905d s922x s912 s905x s905w s905

amlogic-s9xxx-armbian's People

Contributors

0neday avatar 13584452567 avatar 7ji avatar araczkowski avatar buglloc avatar calmact avatar danboid avatar dy008 avatar etnperlong avatar helferp avatar initdc avatar janko888 avatar khancyr avatar livelier avatar liyiranlab avatar metaphorme avatar mufeng05 avatar nabakdev avatar ophub avatar rongchuan17 avatar sajjadsabzkar avatar scirese avatar shitlime avatar smankusors avatar unicorn9x avatar urain39 avatar xinhangzhou avatar yujincheng08 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amlogic-s9xxx-armbian's Issues

How to build Armbian_21.11.0 by Github action

I've followed your guide to build the Armbian images via Github action.
By the way, my output is only Armbian_21.08.1_Aml_s905x3_buster_5.10.83_2021.12.04.2126.img.gz. I have not seen Armbian_21.11.0 as your build.

Please check my release:
https://github.com/dinhchinh82/amlogic-s9xxx-armbian/releases

I just only run rebuild action:
https://github.com/dinhchinh82/amlogic-s9xxx-armbian/blob/main/.github/workflows/rebuild-armbian.yml

I've changed only small thing below:

  - name: Rebuild Armbian for Amlogic s906x3
    uses: ophub/amlogic-s9xxx-armbian@main
    with:
      armbian_path: ${{ env.ARMBIAN_URL }}
      armbian_soc: s905x3
      armbian_kernel: 5.10.80

Please give me the suggestion to get Armbian 21.11.0

Thank you.

Need Tutorial

hello

please help me how i can booting the armbian on my device( ZTE B80H), i already burn the images to sd card with balena etcher,after i put the sd card to my device, what sould i do?to make the armbian booting,and after booting what command for instaling/copy the armbian on sd card to emmc

thank you

can support desktop ?

hi ,
i tried to build a desktop version using Armbian_21.05.1_Lepotato_focal_current_5.10.34_xfce_desktop.img.xz , the build process seems fine , i changed the ROOT_MB variable so that the image file is large enough to hold all the files copied from armbian img .
i ended up getting a black screen after the console finish outputing all the services startup messages.

do i need to compile a new kernel with new options for the desktop environment ? or anything else should be done

the commands i used:
cd build/output/images/
wget https://armbian.tnahosting.net/archive/lepotato/archive/Armbian_21.05.1_Lepotato_focal_current_5.10.34_xfce_desktop.img.xz
cd -
./rebuild -d -b s905x3_s905d -k 5.10.80 ( guess i just use the stock kernel file made by flippy)
testing box: N1

btw wonderful project , you are the legend .

The mac address (eth0) of X96 max + is reset each time rebooting

I have X96 max + (4+32G+S905X3) running 5.10.82.
After installing the Armbian to eMMC, the Mac Address is not correct.

I've updated manually the mac address in the /etc/network/interfaces file as below but sometimes the mac address is still reset:

source /etc/network/interfaces.d/*
allow-hotplug eth0
no-auto-down eth0
iface eth0 inet dhcp
hwaddress ether 90:0E:B3:24:31:3B
'# Local loopback
auto lo
iface lo inet loopback

There is an strange message at the first boot screen as below:
IMG_4930

So is there a solution to fix the eth0 address?

Thank you.

Which dtb to choose for gtking-pro

Hi,
And first of all a big thank you for sharing.
So I have a Beelink Gt-King Pro with a serial number starting with SA9H ...
I managed to start the latest Bulleyes flash release on sd card using the gt-king-pro-rev_a.dtb but I had a system freeze and as we find a lot of different dtb with gtking-pro as a header suddenly I'm not sure I'm using the correct one .. Anyway when I use Coreelec on my gtking-pro I also use a dtb marked rev_a that's why I used this one .
IMG_20211213_193051
.
Thank

Not connected ethernet

i using X96max+ (S905x3, RAM 4GB) install Armbian_21.11.0_Aml_s905x3_buster_5.10.82_2021.11.26.2049.img
After booting up, my box can't connect to the network even though Ethernet is plugged in. Please guide me to connect. thanks bro

Boot up

Boot only when install media plugging up ( micro SD/USB flash)

Ubuntu userspace

Hi,

thanks for the project.

Is there a way to install Ubuntu userspace instead of Debian?

WiFi support

I am trying to fix the wifi for GT King.
So far I don't see anything in dmesg about it.
I found a good firmware repo here 👍
https://github.com/LibreELEC/amlogic-boot-fip/tree/master/beelink-s922x
https://github.com/LibreELEC/brcmfmac_sdio-firmware

Also, the chip itself seems to be AP6356S
There are many fixes for it, will see if they work, links for patches 👍
https://github.com/hyphop/khadas-linux-kernel/blob/master/patches/linux-5.4.5/0005-VIM3_wifi_hack.patch
khadas/fenix#33
https://forum.khadas.com/t/wifi-ap6398s-mainline-kernel/4929/52

supposedly patched kernel fork:
https://github.com/chewitt/linux

So far I could not build the patched kernel yet ..
any help would be appreciated.

So, the patch seems to work, at least now I get this in logs 👍
[ 11.703841] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 11.771352] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 11.796609] brcmfmac: brcmf_sdiod_sgtable_alloc: !!!! WIFI DEBUG azw,gtking: host->max_segs: 1 host->max_seg_size: 3 host->max_blk_cou
nt: 1536 sdiodev->max_request_size: 1536 sdiodev->max_segment_count: 1 max_blocks: 3 host->max_req_size: 1536
[ 11.796825] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43752-sdio for chip BCM43752/2
[ 11.827549] usbcore: registered new interface driver brcmfmac
[ 11.835915] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.azw,gtking.bin failed with error -2
[ 11.835995] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.bin failed with error -2

Not sure where to find this firmware .. any help ??

wifi enabled kernel is here 👍
5.15.4-wifi.tar.gz

Filesystem permission error: sudo not working

The latest version (11.14 buster) seems to break some files permission, not sure if this is from upstream (armbian).

Older version works fine (11.06 buster).

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

[S905x3] [X96 max+] Unable to ssh from other machine

Thank you for your great work to make armbian working on S095x3.

I've tried to install latest build to my 4/32G X96 max+ (S905x3). Everything seems to run well at the first glance but there is unable to ssh from outside.

The ssh service still running but when I checked it by systemctl status ssh, there is an error:
"Could not load host key: /etc/ssh/root_host_ed25519_key"
Error loading host key: "/etc/ssh/root_host_rsa_key": invalid format.

Please give us the solution to fix if any.

Low space

armbian-install does not install on emmc ugoos x3 pro, therefore I use it from a flash card or after loading dd if=/dev/mmcblk1 of=mmcblk2. but there is a problem, the image is written in a fixed size 2.4G, everything else is not aviable, so there is not enough space. How to fix it ?

Support VFD

Hi

Thank you for this amazing project amlogic-s9xxx-armbian.

Please add front led display support on your next release and also extend rootfs with free unallocated space from micro-sd card on first boot.

Thank you and kind regards

Fail cmd "armbian-update"

I failed to execute armbian-update after update to 5.15.1 on x96 max+

sudo armbian-update 5.15.2
Start update the armbian kernel.
Kernel version: 5.15.2
Start downloading the kernel from github.com ...
 [Error] 01.01 The boot file failed to download.

BT support

I have seen that BT wasn't working due to missing firmware file.
BCM4362A2.hcd should be put as /lib/firmware/brcm/BCM.hcd
Now BT works fine, tested with bt speaker, also it sees many other devices around.
File is posted at https://vp5.net/king/

Kernel Header for 5.10.79-flippy-67+

Hi @ophub,
I appreciate your sharing. I've installed successfully on my X96 Max+ and now it run smoothly on eMMC.
Just a bit issues when I can't find linux-headers-5.10.79-flippy-67+ anywhere. I found a linux-headers-meson64 when I install followed armbian-config command. So I try to build some driver through linux-headers-meson64 but it can't modprobe into system cause it required linux-headers-5.10.79-flippy-67+.
Could you give me some advices or information to install linux-headers-5.10.79-flippy-67+?
Thanks in advance.

running wayland and gnome with latest drivers

I could update this build to latest ubuntu impish and run the gnome much faster with acceleratad drivers.
The openwrt build even runs from usb flash !
to upgrade to ubuntu i updated apt sources.list
and installed missing keys.
Screenshot from 2021-11-07 04-23-47
Screenshot from 2021-11-07 04-34-52
Screenshot from 2021-11-07 04-39-40
Screenshot from 2021-11-07 04-52-40

HK1刷写Armbian到eMMC后无法启动

尝试刷写的设备
HK1 BOX

尝试刷写的固件
Armbian_21.11.0_Aml_s905x3_buster_5.10.75_2021.10.23.1327.img.gz
Armbian_21.11.0_Aml_s905x3_buster_5.4.155_2021.10.23.1329.img.gz

刷写步骤

  1. 使用Etcher将固件写入优盘,
  2. 优盘启动,命令行输入 armbian-install ,参照提示完成写入eMMC。

出现问题
先后尝试将上述两个固件写入设备的eMMC成功后,拔出优盘,重新拔出、插入电源线,启动失败。长时间等待后,显示器仍无信号输入。

更换其他作者的固件,成功写入,成功启动。
Armbian_20.10_Aml-s9xxx_buster_5.4.108-flippy-56+o.img.xz
固件页面

Is there a way to increase the default size of USB boot

As current setting, the size of armbian partition after booting is only around 2.5GB even the real size of USB boot storage is 16/32GB.
Is there away to increase the default size of armbian partition to 4-5GB?
This setting will be better for installing some application/lib before cloning the whole data from USB to eMMC.
Thank you.

Can't boot ZTE b860h S905x

i have burned it on sd card but it won't boot, what should i edit?
I have try dd if uboot.bin hg680p but same isue

Desktop environments

Hi, I wanted to install armbian on my s905x3 tv box, but NetworkManager does not have wifi plugin. The only way to set up wifi is DE. How to build armbian for s905x3 with DE from this repo?

Build error

root@mac:/usr/src/amlogic-s9xxx-armbian-main# ./make -d -b s922x -k 5.15.2
Welcome to build armbian for amlogic s9xxx STB!

Server space usage before starting to compile:
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vgubuntu-root ext4 915G 852G 17G 99% /

(1) Auto query the latest kernel version of the same series for [ 5.15.2 ]
(1) [ 5.15.2 ] is latest kernel.

(1) [ 5.15.2 ] Kernel is in the local directory.
Armbian SoC List: [ s922x ]
Kernel List: [ 5.15.2 ]
Ready, start build armbian...

(1.1) Start build armbian [ s922x - 5.15.2 ]. Remaining space is 17G.
[ s922x - 5.15.2 ] (1/5) make new armbian image.
[ Error ] Invalid file: /usr/src/amlogic-s9xxx-armbian-main/build/output/images/-trunk_.img
root@mac:/usr/src/amlogic-s9xxx-armbian-main#

How can I compile the kernel from this ??

Kernel headers

Hi,

Is it possible to install the kernel headers?

regards,

Wifi and bluetooth

Neither wifi or bt working on gt king
Also only kernel 5.12.19 supports 2.2Ghz smooth operation while other kernels run much slower.
Is it possible to build 5.15 kernel with 2.2 and 2.4ghz support?
I installed armbian-firmware-full but that didn't fix wifi and bt
Any help?

X96 max + 2/16G S905x3 Unable to boot from eMMC after flashing

I've try to install Armbian_21.11.0_Aml_s905x3_buster_5.10.83 to X96 max+ (2+16G version) but it could not boot after rebooting from eMMC. The log is as picture below:
IMG_4943

If I boot from USB, the box still can boot as usual but the ethernet is not recognized correctly (there is no local ip address).
There is an error if boot from USB as below:
IMG_4942

Do you have any suggestion to fix?
Thank you.

Keybord again

Keyboard does not work after boot from SD. Ugoos X3Pro.

Build an image for s905x2 and s912

I guess you removed this two SOC models due to a limit of Github Action. I forked your repo and modified the action file, but failed to run due to time limit. Could you provide the suitable kernel version or build an image for these models if you can?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.