Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude sunxi-tools from Orange Pi 4 build #2941

Closed
AndreiCherniaev opened this issue Jun 29, 2021 · 7 comments
Closed

exclude sunxi-tools from Orange Pi 4 build #2941

AndreiCherniaev opened this issue Jun 29, 2021 · 7 comments

Comments

@AndreiCherniaev
Copy link
Collaborator

AndreiCherniaev commented Jun 29, 2021

I suggest exclude sunxi-tools from Orange Pi 4 build. Because it use RK3399.

I use
./compile.sh BOARD=orangepi4 BRANCH=current RELEASE=hirsute BUILD_MINIMAL=no BUILD_DESKTOP=yes KERNEL_ONLY=no KERNEL_CONFIGURE=yes DESKTOP_ENVIRONMENT=xfce DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base COMPRESS_OUTPUTIMAGE=sha,gpg,img

My log is
...
[ .... ] Installing from repository [ wireguard-tools --no-install-recommends ]
[ o.k. ] Freezing Armbian packages [ orangepi4 ]
[ o.k. ] Enabling serial console [ ttyS2 ]
[ o.k. ] Building kernel splash logo [ hirsute ]
[ .... ] Installing extras-buildpkgs [ hostapd htop mmc-utils sunxi-tools ]
[ o.k. ] Calling image customization script [ customize-image.sh ]
[ o.k. ] Unmounting [ /home/a/Downloads/myArmbianGit/build/.tmp/rootfs-bed95457-9ec3-4f54-89f5-280e14b32b16 ]
[ o.k. ] Preparing image file for rootfs [ orangepi4 hirsute ]

Also

@AndreiCherniaev
Copy link
Collaborator Author

Trash packeges are include
build/config/cli/hirsute/main
where hirsute is your Ubuntu version name. Does armbian has tool to use package lists depending on the board. For my board Orange Pi 4B package sunxi-tools is trash.

@zhangn1985

@igorpecovnik
Copy link
Member

igorpecovnik commented Jul 2, 2021

Agree it is a trash, but on the other hand it is non critical and not urgent matter, something that can easily wait. There are "1000 requests" already waiting for our sponsorship (here, here and here). Since we receive no support from you, since developing sw is our cost, don't expect any fast response. Also this is open source - if this problem bothers you badly, just start with understanding of build system and send a merge request to the code. If you are busy like we are, try to hire someone. We would need to do the same to cover your wish.

@igorpecovnik
Copy link
Member

igorpecovnik commented Jul 2, 2021

Does armbian has tool to use package lists depending on the board.

I think we do, but it was recently introduced functionality, which is badly documented and we haven't start to use properly yet.

@AndreiCherniaev
Copy link
Collaborator Author

AndreiCherniaev commented Jul 2, 2021

Does armbian has tool to use package lists depending on the board.

I think we do, but it was recently introduced functionality, which is badly documented and we haven't start to use properly yet.

Are you about #1837 ?

@igorpecovnik
Copy link
Member

Are you about #1837 ?

That is discussion only. Nothing from that was implemented in a way described there. At least not intentionally.

Its a part of #2776

@AndreiCherniaev AndreiCherniaev mentioned this issue Jul 2, 2021
5 tasks
@lanefu
Copy link
Member

lanefu commented Jul 5, 2021

[ .... ] Installing extras-buildpkgs [ hostapd htop mmc-utils sunxi-tools ]
[ o.k. ] Calling image customization script [ customize-image.sh ]

As a workaround. you could uninstall sunni-tools and other packages you don't want via the customize-image script.

@ThomasKaiser
Copy link
Contributor

I suggest exclude sunxi-tools from Orange Pi 4 build. Because it use RK3399

Never heard of sunxi-fel (part of sunxi-tools)?

sunxi-tools is part of every Armbian install to allow any SBC running Armbian (even those with an RK3399 at its heart) to flash the eMMC of any Allwinner SBC out there via USB. See https://github.com/ThomasKaiser/sunxi-armbian-flasher-osx for some ideas.

rpardini pushed a commit to rpardini/armbian-build that referenced this issue Jan 7, 2022
add ssv6051 driver for kernel 5.10 and 5.15

(cherry picked from commit f3388b9)

Add upstream patches (armbian#3380)

(cherry picked from commit d7794cc)

Fixes for Github Actions (armbian#3379)

* Update build-beta-images.yml

* Update build-kernel-on-merge-request.yml

* Update build-train.yml

(cherry picked from commit 6bfc83b)

Refactor armbian-bsp-cli package creation (armbian#3378)

* Refactor armbian-bsp-cli package creation

- added general distro status for all in separate file inside BSP
- remove branch and distro specifics

* Looking for prebuild pack

* Small fixes

(cherry picked from commit 310495d)

Cleanup. Remove deprecated build targets (armbian#3148)

* Update targets.conf

* Update targets-desktop-beta.conf

* Update targets-cli-beta.conf

* Update targets.conf

Update targets according ot current status of maintainer list
reduce userspaces to Focal
reduce to xfce default desktop
keep one minimal and one edge to check if they build at least.

* adjust support status according current maintainer sheet

* Readd pbp

* Readd pbp

* Readd C2

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
(cherry picked from commit 9d8a424)

prepare_host: Installing packages with the install_pkg_deb function (armbian#3374)

* separate joint and own lists for architecture

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove duplicate selection

* Final add Installing build dependencies

* libncurses: Do not use transitional package

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* add arch i386: Remove duplicate selection

* lib32ncurses-dev: Dependency only for amd64

* install_pkg_deb: parameter verbose to log

(cherry picked from commit 0282567)

Improve fist login UX (armbian#3375)

* Improve 1st login script

* Update packages/bsp/common/usr/lib/armbian/armbian-firstlogin

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Address accessibility issue

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
(cherry picked from commit e76a5b0)

fixes the manual launch of the installation script from USB media (armbian#3377)

(cherry picked from commit 3f8da05)

Bugfix - legacy kernels doesn't want to play nice with kernel options

When NFSD is enabled as module, kernel does not compile. But it works as build in. Since its pretty pointless to fix in the code, lets use this workaround.

FYI @patrickbkr

(cherry picked from commit 2b4e9e6)

Unify NFS configuration (armbian#3376)

* Unify NFS configuration
* Fix rk35xx kernel

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
(cherry picked from commit 7698848)

Limit sunxi-tools install to Allwinner family only

Close armbian#2941

(cherry picked from commit 181d0e2)

Re-enable rock-3a building now that it works (armbian#3373)

Revert a change in bddce2c now that rock-3a building succeeds and provides a usable image (armbian#3271)

(cherry picked from commit 32dc244)

sun50iw9 - bugfix - change phy driver to build-in since it breaks compilation when added as module

(cherry picked from commit 5a6b9b2)

Install debian packages using a special function (armbian#3368)

* Add new function install_pkg_deb

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Use the install_pkg_deb function

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* sunxi-tools: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* hostapd, hostapd-realtek: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Clean Environment for building as default

* upgrading: Repack a clean Environment archive

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
(cherry picked from commit fedc9c1)

fix kernel legacy for firefly-rk3399 (armbian#3369)

(cherry picked from commit e453e4d)

add station m2\p2 (armbian#3352)

(cherry picked from commit 08568a6)

Bump version to proceed on 22.02 Armbian Ratel

(cherry picked from commit 483c055)

Assemble needed runs into a GH Actions build train (armbian#3366)

(cherry picked from commit 7f556dc)

helios64: fix udev rules to let fancontrol work again (armbian#3367)

(cherry picked from commit 37662d8)

Fix the uboot for rock-3a (armbian#3271)

* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
(cherry picked from commit f6143ef)
useful64 pushed a commit to useful64/build that referenced this issue Feb 4, 2022
useful64 pushed a commit to useful64/build that referenced this issue Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants