The officially official Devuan Forum!

You are not logged in.

#1 Re: ARM Builds » Devuan on Khadas VIM3 » 2020-12-05 13:45:38

tuxd3v wrote:

hello anto,
does you know, if its possible to power up the board with Qualcomm QuickCharge, via usb type C?

Hello Tux,

I am sorry for this delayed reply.

I never use or own Qualcomm QuickCharge. But if it can supply voltage between 5 to 20 V, I guess it is possible to use it.

Kind regards,

Anto

#2 Re: Desktop and Multimedia » Removing XFCE after installing MATE » 2020-09-20 13:49:11

I feel like I was rude not to give update on this old post of mine. I am sorry about that.

As far as I remember, I screwed up both XFCE and MATE configurations. So I finally re-installed my desktop with MATE.

Thanks a lot for those who already replied to my post.

#3 Re: ARM Builds » Devuan on Khadas VIM3 » 2020-09-20 13:41:16

My progress up to now.

Unfortunately, I could not extract the ROOTFS provided by Tux below.

tuxd3v wrote:

EDIT: I generated a devuan rootfs for you , its HERE   smile

I got the following error extracting it.

anto@hp8570w:/data/Development/Khadas_VIM3/RootFS$ tar -xvf ViM3_devuan_beowulf_3.0.0_arm64.tar
ViM3_devuan-beowulf-base-arm64/
ViM3_devuan-beowulf-base-arm64/rootfs/
.
.
ViM3_devuan-beowulf-base-arm64/rootfs/srv/
tar: Exiting with failure status due to previous errors
anto@hp8570w:/data/Development/Khadas_VIM3/RootFS$ 

So I built my own ROOTFS files using Debootstrap.

anto@hp8570w:/data/Development/Khadas_VIM3/mkdir Devuan_ARM64
anto@hp8570w:/data/Development/Khadas_VIM3/qemu-debootstrap --arch arm64 beowulf Devuan_ARM64 http://deb.devuan.org/merged/
anto@hp8570w:/data/Development/Khadas_VIM3/chroot Devuan_ARM64
<--- did some setup --->

I then cleaned up the content of the ROOTFS of the SD card built from the image on https://dl.khadas.com/Firmware/VIM3/Debian/, then copied the content of the above /data/Development/Khadas_VIM3/Devuan_ARM64 into it.

At the first boot, of course I got errors as below.

root@khadas-vim3:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.9.0-rc2 (master@universe) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #0.9.3 SMP Thu Aug 27 17:22:08 CST 2020
[    0.000000] Machine model: Khadas VIM3
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! <----------------- Of course!
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000bd800000, size 768 MiB
.
.
[    5.037537] udevd[1659]: starting version 3.2.7
[    5.061230] random: udevd: uninitialized urandom read (16 bytes read)
[    5.066475] random: udevd: uninitialized urandom read (16 bytes read)
[    5.070166] random: udevd: uninitialized urandom read (16 bytes read)
[    5.082134] udevd[1659]: specified group 'kvm' unknown
[    5.138032] udevd[1659]: starting eudev-3.2.7
[    5.141100] udevd[1659]: specified group 'kvm' unknown
[    5.210835] udevd[1699]: could not open moddep file '/lib/modules/5.9.0-rc2/modules.dep.bin'  <------------ Missing as I am using linux-image-4.19.0-10-arm64
[    5.215218] udevd[1699]: could not open moddep file '/lib/modules/5.9.0-rc2/modules.dep.bin'  <------------ Missing as I am using linux-image-4.19.0-10-arm64
[    6.331356] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=31)
.
.

Then I tried to natively compile linux-5.9-rc2 that I downloaded from https://git.kernel.org/pub/scm/linux/ke … linux.git/, with the hope (naive beginner's hope big_smile) that the boot loader image will be aligned. After I installed the new kernel and rebooted, surprisingly the boot loader is still not aligned big_smile. Though udev is not complaining anymore with the missing modules.deb.bin as it exists now.

root@khadas-vim3:~# ls -ltr /lib/modules/5.9.0-rc2
total 1480
-rw-r--r--  1 root root 166701 Sep 20 13:35 modules.symbols.bin
-rw-r--r--  1 root root 132517 Sep 20 13:35 modules.symbols
-rw-r--r--  1 root root    196 Sep 20 13:35 modules.softdep
-rw-r--r--  1 root root  43373 Sep 20 13:35 modules.order
-rw-r--r--  1 root root    196 Sep 20 13:35 modules.devname
-rw-r--r--  1 root root 154606 Sep 20 13:35 modules.dep.bin
-rw-r--r--  1 root root 105384 Sep 20 13:35 modules.dep
-rw-r--r--  1 root root 107645 Sep 20 13:35 modules.builtin.modinfo
-rw-r--r--  1 root root  19091 Sep 20 13:35 modules.builtin.bin
-rw-r--r--  1 root root  15929 Sep 20 13:35 modules.builtin
-rw-r--r--  1 root root 383826 Sep 20 13:35 modules.alias.bin
-rw-r--r--  1 root root 357179 Sep 20 13:35 modules.alias
drwxr-xr-x 10 root root   4096 Sep 20 14:24 kernel
root@khadas-vim3:~#

I think without a proper tool, I would not be able to compile the boot loader. Or is there any other way to generate the boot loaded image that is aligned with the kernel?

Does anybody have any hints or suggestion on this?

Thanks a lot in advance for your help.

#4 Re: ARM Builds » Devuan on Khadas VIM3 » 2020-09-19 07:19:12

Hello Tux,

Thanks a lot for the Beowulf rootfs. I will try that one.

At the moment, the status of my VIM3 board is still scatter on my desk big_smile.

My Khadas VIM3 Pro

I have just opened the boxes last night.

I still could not locate the Serial adapter of my old Raspberry Pi, but yes I plan to connect the Serial adapter for development and troubleshooting purpose.

After I assemble it, perhaps I will see how it behaves using the Ubuntu image on https://dl.khadas.com/Firmware/VIM3/Ubuntu/SD_USB/.

In regards to the Embedded Devuan Builder, I am indeed using i686. Perhaps later on I can provide more information for building Khadas VIM3.

I will keep you posted.

Kind regards,

Anto

#5 ARM Builds » Devuan on Khadas VIM3 » 2020-09-18 17:07:37

anto
Replies: 7

Hello Everybody,

I just bought Khadas VIM3 board (https://docs.khadas.com/vim3/) and of course I have to install Devuan on it. big_smile

Did anybody successfully do that already?

What is your suggestion? Netinstall, adapt https://github.com/khadas/fenix to Devuan then compile it, or something else?

Thanks a lot in advance for your help.

Kind regards,

Anto

#6 Desktop and Multimedia » Removing XFCE after installing MATE » 2018-11-28 15:07:27

anto
Replies: 7

Hello Everybody,

I have been searching this forum for the procedure to remove XFCE and its related components after installing and configuring other DE, MATE in my case.

I am using Devuan ASCII and when I tried to remove xfce4 package, apt told me that a lot of other packages are no longer required and suggested to remove them using 'apt autoremove' as you can see below.

root@hp8570w:/home/anto# apt-get purge xfce4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ant ant-optional ca-certificates-java coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5 coinor-libosi1v5 default-java-plugin default-jre
  default-jre-headless enchant espeak-ng-data evince-gtk exfalso fonts-crosextra-caladea fonts-crosextra-carlito fonts-dejavu fonts-dejavu-extra fonts-font-awesome fonts-freefont-ttf
  fonts-lato fonts-opensymbol fonts-sil-gentium fonts-sil-gentium-basic gcj-6-jre-lib gir1.2-atspi-2.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gtksource-3.0
  gir1.2-javascriptcoregtk-4.0 gir1.2-keybinder-3.0 gir1.2-soup-2.4 gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gksu gnome-orca gstreamer1.0-alsa gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
  gstreamer1.0-pulseaudio gstreamer1.0-x gtk2-engines-xfce hddtemp hyphen-en-us icedtea-8-plugin icedtea-netx icedtea-netx-common java-common javascript-common liba52-0.7.4 libabw-0.1-1
  libao-common libao4 libapache-poi-java libapache-pom-java libass5 libatk-adaptor libatk-wrapper-java libatk-wrapper-java-jni libaudio2 libavc1394-0 libbase-java libbasicusageenvironment1
  libbcmail-java libbcpkix-java libbcprov-java libbluetooth3 libboost-date-time1.62.0 libbrlapi0.6 libbsh-java libcddb2 libcdio13 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5
  libcmis-0.5-5v5 libcommons-codec-java libcommons-collections3-java libcommons-logging-java libcommons-parent-java libdc1394-22 libdca0 libdom4j-java libdotconf0 libdouble-conversion1
  libdv4 libdvbpsi10 libdvdnav4 libdvdread4 libe-book-0.1-1 libebml4v5 libehcache-java libenchant1c2a libeot0 libespeak-ng1 libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data libfaad2
  libflute-java libfonts-java libformula-java libfreehand-0.1-1 libgcj-bc libgcj-common libgcj17 libgif7 libgksu2-0 libgles2-mesa libgltf-0.0-0v5 libgpod-common libgpod4 libgroupsock8
  libgstreamer-plugins-bad1.0-0 libgtksourceview-3.0-1 libgtksourceview-3.0-common libgtksourceview2.0-0 libgtksourceview2.0-common libgtop-2.0-10 libgtop2-common libharfbuzz-icu0
  libhsqldb1.8.0-java libhyphen0 libical2 libiec61883-0 libisorelax-java libitext-java libjavascriptcoregtk-4.0-18 libjaxen-java libjcommon-java libjdom1-java libjs-jquery libjs-modernizr
  libjs-sphinxdoc libjs-underscore libkate1 libkeybinder-3.0-0 liblangtag-common liblangtag1 liblayout-java liblirc-client0 liblivemedia57 libloader-java liblog4j1.2-java liblua5.2-0
  libmad0 libmail-java libmatroska6v5 libmhash2 libmicrodns0 libmpcdec6 libmpeg2-4 libmspub-0.1-1 libmsv-java libmtp-common libmtp-runtime libmtp9 libmwaw-0.3-3 libmythes-1.2-0
  libneon27-gnutls libnfs8 libodfgen-0.1-1 libopencore-amrnb0 libopencore-amrwb0 libopenmpt-modplug1 liborcus-0.11-0 libpagemaker-0.0-0 libpcaudio0 libpcre16-3
  libpentaho-reporting-flow-engine-java libpixie-java libpostproc54 libpq5 libprotobuf-lite10 libproxy-tools libpython3.5 libqrencode3 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
  libqt5svg5 libqt5widgets5 libqt5x11extras5 libraptor2-0 librasqal3 libraw1394-11 librdf0 librelaxng-datatype-java libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base
  libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-en-us libreoffice-impress
  libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver libreoffice-ogltrans libreoffice-pdfimport libreoffice-report-builder libreoffice-report-builder-bin
  libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-style-galaxy
  libreoffice-style-tango libreoffice-wiki-publisher libreoffice-writer librepository-java libresid-builder0c2a librevenge-0.0-0 libsac-java libsac-java-gcj libsaxonhe-java libsdl-image1.2
  libserializer-java libservlet3.1-java libsgutils2-2 libshout3 libsidplay1v5 libsidplay2 libsndio6.1 libsonic0 libspeechd2 libtag1v5 libtag1v5-vanilla libtagc0 libtidy5 libunique-1.0-0
  libupnp6 libusageenvironment3 libv4l-0 libv4lconvert0 libva-wayland1 libvisio-0.1-1 libvlc-bin libvlc5 libvlccore9 libwebkit2gtk-4.0-37 libwnck-3-0 libwnck-3-common libwpd-0.10-10
  libwpg-0.3-3 libwps-0.4-4 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1 libxcb-xv0 libxerces2-java libxfce4panel-2.0-4
  libxfce4ui-utils libxkbcommon-x11-0 libxml-commons-external-java libxml-commons-resolver1.1-java libxml-java libxmlbeans-java libxom-java libxpp2-java libxpp3-java libxslt1.1 libyajl2
  lp-solve media-player-info mousepad mythes-en-us openjdk-8-jre openjdk-8-jre-headless orage p7zip p7zip-full policykit-1-gnome python-dbus python-feedparser python-gi python-gi-cairo
  python-glade2 python-gobject python-libxml2 python-musicbrainzngs python-mutagen python-notify python-pyinotify python-six python-utidylib python-wicd python3-brlapi python3-louis
  python3-pyatspi python3-speechd python3-uno python3-xdg qt5-gtk-platformtheme qttranslations5-l10n quodlibet rfkill ristretto slim speech-dispatcher speech-dispatcher-audio-plugins
  speech-dispatcher-espeak-ng sphinx-rtd-theme-common tango-icon-theme thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman uno-libs3 ure vlc vlc-bin vlc-data vlc-l10n
  vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization wicd wicd-daemon wicd-gtk
  xarchiver xbrlapi xfburn xfce4-appfinder xfce4-battery-plugin xfce4-clipman xfce4-clipman-plugin xfce4-cpufreq-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict
  xfce4-diskperf-plugin xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-goodies xfce4-mailwatch-plugin xfce4-mount-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-panel
  xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-plugins xfce4-pulseaudio-plugin xfce4-screenshooter xfce4-sensors-plugin xfce4-smartbookmark-plugin
  xfce4-systemload-plugin xfce4-taskmanager xfce4-timer-plugin xfce4-verve-plugin xfce4-wavelan-plugin xfce4-weather-plugin xfce4-whiskermenu-plugin xfce4-xkb-plugin xsane xsane-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  task-xfce-desktop* xfce4*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 22.5 kB disk space will be freed.
Do you want to continue? [Y/n] 

The same result when I tried to remove other xfce components like xfdesktop4, xfce4-session, etc. It will mark all other packages a part from xfce components in the list to be removed, so those packages will be removed when I would do 'apt-get autoremove'.

I could hold those packages other than the xfce component using apt-mark, but I don't think that is practical.

Could any of you let me know the best way to remove only all xfce components?

Thanks a lot in advance for your help.

Kind regards,

Anto

Board footer

Forum Software