Compiling armbian for the V10 CoolPI Laptops
-
I sent this email to @george directly but since that I realized it may have been caught in spam filters. I have recently purchased a coolpi cm5 v10 laptop and am looking to compile armbian so I can get debian SID packages....and so I can use my own kernel patches. I was trying to modify your armbian stuff to work on the v10 laptop but I have been running into numerous u-boot issues, dealing them by myself would be a sisyphean task. I think it would be best to ask you if there is a armbian build environment for the v10 cm5 laptops which is more tuned to the v10 than the one on the github.
-
@yusisamerican
You can use the armbian script on GitHub to build. The address is as follows:
https://github.com/yanyitech/armbian.git -
@george I got this error when trying to run the script you gave through docker:
Created symlink /etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service -> /usr/lib/systemd/system/wpa_supplicant.service. Created symlink /etc/systemd/system/multi-user.target.wants/wpa_supplicant.service -> /usr/lib/systemd/system/wpa_supplicant.service. Setting up python3-oauthlib (3.2.2-1) ... Setting up gcc-13 (13.2.0-24) ... Setting up cpp (4:13.2.0-7) ... Setting up python3-lazr.restfulclient (0.14.6-1) ... Setting up g++-13-aarch64-linux-gnu (13.2.0-24) ... Setting up gcc-aarch64-linux-gnu (4:13.2.0-7) ... Setting up g++-13 (13.2.0-24) ... Setting up gcc (4:13.2.0-7) ... Setting up python3-software-properties (0.99.30-4) ... Setting up g++-aarch64-linux-gnu (4:13.2.0-7) ... Setting up g++ (4:13.2.0-7) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.10) ... Processing triggers for fontconfig (2.15.0-1.1) ... Processing triggers for initramfs-tools (0.142) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for libc-bin (2.38-8) ... Processing triggers for dbus (1.14.10-4+b1) ... Processing triggers for debianutils (5.17) ... Processing triggers for sgml-base (1.31) ... Setting up polkitd (124-2) ... Creating group 'polkitd' with GID 992. Creating user 'polkitd' (User for polkitd) with UID 992 and GID 992. Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of reload. Warning: Fake start-stop-daemon called, doing nothing Warning: Fake start-stop-daemon called, doing nothing Setting up network-manager (1.46.0-2) ... Created symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service. Created symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service -> /usr/lib/systemd/system/NetworkManager-wait-onl ine.service. Created symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service. Setting up packagekit (1.2.8-2+b2) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of force-reload. Failed to open connection to "system" message bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket -> /usr/lib/systemd/user/pk-debconf-helper.socket. Setting up network-manager-openvpn (1.11.0-1) ... Setting up software-properties-common (0.99.30-4) ... Processing triggers for resolvconf (1.92) ... /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf Processing triggers for dbus (1.14.10-4+b1) ... [ o.k. ] Installing the desktop packages for [ Armbian ] Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package libnautilus-extension1a [ error ] ERROR in function create_rootfs_cache [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:285 -> functions/main/build-tasks.sh:208 -> functions/main/rootfs-image.sh:66 -> functions/rootfs/create-cache.sh:223 -> functions/logging/traps.sh:0 ] [ error ] Installation of Armbian desktop packages for legacy coolpi-cm5-notebook sid 3dsupport gnome no failed [ o.k. ] Process terminated [ error ] unmount_on_exit() called! [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:285 -> functions/main/build-tasks.sh:208 -> functions/main/rootfs-image.sh:66 -> functions/rootfs/create-cache.sh:223 -> functions/logging/traps.sh:1 -> functions/main/rootfs-image.sh:0 ] [ o.k. ] Unmounting [ /root/armbian/.tmp/rootfs-e32e8fa2-02c7-4e9a-bb21-74f4cd2f9f22/ ] [ error ] ERROR in function unmount_on_exit [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:285 -> functions/main/build-tasks.sh:208 -> functions/main/rootfs-image.sh:66 -> functions/rootfs/create-cache.sh:223 -> functions/logging/traps.sh:1 -> functions/main/rootfs-image.sh:27 -> functions/logging/traps.sh:0 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated
It seems rootfs cache or something is broken.
-
@yusisamerican said in Compiling armbian for the V10 CoolPI Laptops:
E: Unable to locate package libnautilus-extension1a
The package shown in the figure cannot be found. A simpler method is to first block it.
-
@george I was unable to get wifi working with that script, perhaps something with the defconfig?
-
@yusisamerican
Run the following command and upload the result.lspci lsusb
-
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01) 0000:01:00.0 Non-Volatile memory controller: Micron Technology Inc Device 6001 (rev 03) 0003:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01) 0003:31:00.0 Network controller: Broadcom Inc. and subsidiaries Device 449d (rev 02)
Bus 006 Device 002: ID 0781:5581 SanDisk Corp. Ultra Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 058e:3864 Tripath Technology, Inc. USB Camera Bus 002 Device 002: ID 1a86:8091 QinHeng Electronics USB HUB Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 1c4f:006b SiGma Micro USB Keyboard Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub