WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-10-21 15:22:11

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

成功在f1c100s上运行debian系统

按照https://whycan.cn/t_2666.html,把其中的

debootstrap --foreign --verbose --arch=armhf  stretch rootfs http://ftp2.cn.debian.org/debian

改为

debootstrap --foreign --verbose --arch=armel  stretch rootfs http://ftp2.cn.debian.org/debian

debian.gif

这下可以用apt任意安装app了

最近编辑记录 kekemuyu (2019-10-21 15:25:00)

离线

#2 2019-10-21 15:39:51

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,216

Re: 成功在f1c100s上运行debian系统

牛, 网络怎么解决? RNDIS ?

离线

#3 2019-10-21 15:43:27

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

晕哥 说:

牛, 网络怎么解决? RNDIS ?

网络确实比较困难,暂时用RNDIS吧

离线

#4 2019-10-21 16:12:25

迪卡
会员
注册时间: 2018-11-02
累计积分: 267

Re: 成功在f1c100s上运行debian系统

看看free占用情况
还有fdisk -l

离线

#5 2019-10-21 16:19:16

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

迪卡 说:

看看free占用情况
还有fdisk -l

root@ubuntu-VirtualBox:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G  1.3G  5.7G  18% /
devtmpfs         12M     0   12M   0% /dev
tmpfs            12M     0   12M   0% /dev/shm
tmpfs            12M  1.7M   10M  15% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            12M     0   12M   0% /sys/fs/cgroup
root@ubuntu-VirtualBox:~# free
              total        used        free      shared  buff/cache   available
Mem:          23708       10616         880        1368       12212        8804
Swap:        299996         512      299484
root@ubuntu-VirtualBox:~# fdisk -l
Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa4bec05e

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       2048    34815    32768   16M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      34816 15523839 15489024  7.4G 83 Linux

none_20191021-1618.png

最近编辑记录 kekemuyu (2019-10-21 16:20:46)

离线

#6 2019-10-21 17:23:41

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

开始没明白第四步什么意思,现在知道是在本机模拟启动了arm的虚拟机,这样的话我在虚拟机里安装好软件,然后打包到f1c100s的文件系统里,软件就自然就安装好了,这太方便了。
4. 解压   

   

 LC_ALL=C LANGUAGE=C LANG=C chroot rootfs /debootstrap/debootstrap --second-stage --verbose

可以在这个时候

   

LC_ALL=C LANGUAGE=C LANG=C chroot rootfs

   安装任何东西

离线

#7 2019-10-21 17:49:53

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,216

Re: 成功在f1c100s上运行debian系统

好帖,晚点收录进精华帖.





------------------------------------
203. 成功在f1c100s上运行debian系统

最近编辑记录 晕哥 (2019-10-21 23:29:08)

离线

#8 2019-10-22 12:16:20

tango_zhu
会员
注册时间: 2018-04-12
累计积分: 36

Re: 成功在f1c100s上运行debian系统

这么gg的cpu跑这么大系统?卡不卡?

离线

#9 2019-10-22 12:32:58

迪卡
会员
注册时间: 2018-11-02
累计积分: 267

Re: 成功在f1c100s上运行debian系统

kekemuyu 说:
迪卡 说:

看看free占用情况
还有fdisk -l

root@ubuntu-VirtualBox:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G  1.3G  5.7G  18% /
devtmpfs         12M     0   12M   0% /dev
tmpfs            12M     0   12M   0% /dev/shm
tmpfs            12M  1.7M   10M  15% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            12M     0   12M   0% /sys/fs/cgroup
root@ubuntu-VirtualBox:~# free
              total        used        free      shared  buff/cache   available
Mem:          23708       10616         880        1368       12212        8804
Swap:        299996         512      299484
root@ubuntu-VirtualBox:~# fdisk -l
Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa4bec05e

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       2048    34815    32768   16M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      34816 15523839 15489024  7.4G 83 Linux

https://whycan.cn/files/members/1315/none_20191021-1618.png



要占用1.3G存储吗?

离线

#10 2019-10-22 12:43:51

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

迪卡 说:
kekemuyu 说:
迪卡 说:

看看free占用情况
还有fdisk -l

root@ubuntu-VirtualBox:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G  1.3G  5.7G  18% /
devtmpfs         12M     0   12M   0% /dev
tmpfs            12M     0   12M   0% /dev/shm
tmpfs            12M  1.7M   10M  15% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            12M     0   12M   0% /sys/fs/cgroup
root@ubuntu-VirtualBox:~# free
              total        used        free      shared  buff/cache   available
Mem:          23708       10616         880        1368       12212        8804
Swap:        299996         512      299484

这个debian是最小安装,应该不到300M。我装了很多东西,所以有1.3G

root@ubuntu-VirtualBox:~# fdisk -l
Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa4bec05e

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       2048    34815    32768   16M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      34816 15523839 15489024  7.4G 83 Linux

https://whycan.cn/files/members/1315/none_20191021-1618.png



要占用1.3G存储吗?

debian最小安装不到300M,我的装了很多东西所以1.3G。tf卡那么大,不用在乎这点空间

最近编辑记录 kekemuyu (2019-10-22 12:51:02)

离线

#11 2019-10-22 12:46:38

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

tango_zhu 说:

这么gg的cpu跑这么大系统?卡不卡?

不卡,系统虽大但服务启动的少的话,跟精简版系统运行速度没区别,优势是想运行什么就安装什么就行了,不像精简版那么麻烦还得交叉编译

最近编辑记录 kekemuyu (2019-10-22 12:47:51)

离线

#12 2019-10-23 19:21:30

magusneo
会员
注册时间: 2019-06-22
累计积分: 17

Re: 成功在f1c100s上运行debian系统

支持,能不能再去裁剪一下,然后移植到miyoo上。

miyoo原来的dingux其实比较差,原来是适配mips的,其实不稳定、问题多。

离线

#13 2019-10-23 21:22:13

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

magusneo 说:

支持,能不能再去裁剪一下,然后移植到miyoo上。

miyoo原来的dingux其实比较差,原来是适配mips的,其实不稳定、问题多。

需要裁减就用buildroot吧,debian最小也得200多m。

离线

#14 2019-11-06 15:16:10

xgui
会员
注册时间: 2019-09-07
累计积分: 165

Re: 成功在f1c100s上运行debian系统

root@xgui:/# apt-get install xfce
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package xfce
root@xgui:/# apt-get install xfce4
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  adwaita-icon-theme at-spi2-core cpp cpp-6 dbus dbus-user-session dbus-x11 dconf-gsettings-backend dconf-service desktop-base desktop-file-utils
  dosfstools eject exfat-fuse exfat-utils exo-utils fontconfig fontconfig-config fonts-dejavu-core fuse gdisk glib-networking
  glib-networking-common glib-networking-services gnome-accessibility-themes gnome-icon-theme gnome-themes-standard gnome-themes-standard-data
  groff-base gsettings-desktop-schemas gstreamer1.0-plugins-base gtk-update-icon-cache gtk2-engines-pixbuf gtk2-engines-xfce gvfs gvfs-common
  gvfs-daemons gvfs-libs hicolor-icon-theme iso-codes keyboard-configuration krb5-locales libaacs0 libasound2 libasound2-data libasound2-plugins
  libasyncns0 libatasmart4 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatkmm-1.6-1v5 libatspi2.0-0 libavahi-client3 libavahi-common-data
  libavahi-common3 libavcodec57 libavresample3 libavutil55 libbdplus0 libbluray1 libcairo-gobject2 libcairo2 libcairomm-1.0-1v5 libcanberra-gtk3-0
  libcanberra-gtk3-module libcanberra0 libcap2-bin libcdparanoia0 libcolord2 libcroco3 libcups2 libdatrie1 libdbus-1-3 libdbus-glib-1-2 libdconf1
  libdrm-amdgpu1 libdrm-freedreno1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl1-mesa libepoxy0 libevdev2 libexif12 libexo-1-0 libexo-common
  libexo-helpers libexpat1 libflac8 libfontconfig1 libfontenc1 libfreetype6 libfuse2 libgail-common libgail18 libgarcon-1-0 libgarcon-common
  libgbm1 libgck-1-0 libgcr-3-common libgcr-base-3-1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa
  libglib2.0-0 libglib2.0-data libglibmm-2.4-1v5 libglu1-mesa libgomp1 libgraphite2-3 libgsm1 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtkmm-3.0-1v5 libgudev-1.0-0
  libharfbuzz0b libical2 libice6 libicu57 libimobiledevice6 libinput-bin libinput10 libisl15 libjack-jackd2-0 libjbig0 libjpeg62-turbo
  libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libkeybinder-3.0-0 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2
  liblightdm-gobject-1-0 libltdl7 libmp3lame0 libmpc3 libmpfr4 libmtdev1 libnotify-bin libnotify4 libnspr4 libnss3 libntfs-3g871 libogg0
  libopenjp2-7 libopus0 liborc-0.4-0 libpam-cap libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangomm-1.4-1v5 libparted2
  libpciaccess0 libperl5.24 libpixman-1-0 libplist3 libpng16-16 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpoppler-glib8
  libpoppler64 libproxy1v5 libpulse-mainloop-glib0 libpulse0 libpulsedsp librest-0.7-0 librsvg2-2 librsvg2-common libsamplerate0 libsecret-1-0
  libsecret-common libsensors4 libshine3 libsigc++-2.0-0v5 libsm6 libsnappy1v5 libsndfile1 libsoup-gnome2.4-1 libsoup2.4-1 libsoxr0 libspeex1
  libspeexdsp1 libstartup-notification0 libswresample2 libtdb1 libthai-data libthai0 libtheora0 libthunarx-2-0 libtiff5 libtumbler-1-0 libtwolame0
  libtxc-dxtn-s2tc libudisks2-0 libupower-glib3 liburi-perl libusb-1.0-0 libusbmuxd4 libutempter0 libva-drm1 libva-x11-1 libva1 libvdpau-va-gl1
  libvdpau1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx4 libwacom-bin libwacom-common libwacom2 libwavpack1 libwayland-client0
  libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebp6 libwebpmux2 libwebrtc-audio-processing1 libwnck-common libwnck22 libwrap0
  libx11-6 libx11-data libx11-xcb1 libx264-148 libx265-95 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0
  libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util0 libxcb-xfixes0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6
  libxfce4panel-2.0-4 libxfce4ui-1-0 libxfce4ui-2-0 libxfce4ui-common libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util7
  libxfconf-0-2 libxfixes3 libxfont1 libxfont2 libxft2 libxi6 libxinerama1 libxkbcommon0 libxkbfile1 libxklavier16 libxml2 libxmu6 libxmuu1 libxpm4
  libxrandr2 libxrender1 libxres1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1 libxvidcore4 libxxf86dga1 libxxf86vm1 libzvbi-common libzvbi0
  light-locker lightdm lightdm-gtk-greeter man-db mesa-va-drivers mesa-vdpau-drivers notification-daemon ntfs-3g orage parted pavucontrol perl
  perl-modules-5.24 policykit-1 poppler-data pulseaudio pulseaudio-utils rename rtkit sgml-base shared-mime-info tango-icon-theme tcpd thunar
  thunar-data thunar-volman tumbler tumbler-common ucf udisks2 upower usbmuxd va-driver-all vdpau-driver-all x11-apps x11-common x11-session-utils
  x11-utils x11-xkb-utils x11-xserver-utils xauth xbitmaps xdg-user-dirs xfce4-appfinder xfce4-notifyd xfce4-panel xfce4-pulseaudio-plugin
  xfce4-session xfce4-settings xfconf xfdesktop4 xfdesktop4-data xfonts-100dpi xfonts-75dpi xfonts-base xfonts-encodings xfonts-scalable
  xfonts-utils xfwm4 xinit xkb-data xml-core xorg xorg-docs-core xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all
  xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati
  xserver-xorg-video-fbdev xserver-xorg-video-radeon xserver-xorg-video-vesa xterm
Suggested packages:
  cpp-doc gcc-6-locales cdtool setcd groff gvfs-backends isoquery alsa-utils libbluray-bdj libcanberra-gtk0 libcanberra-pulse colord cups-common
  krb5-doc krb5-user libvisual-0.4-plugins gstreamer1.0-tools libusbmuxd-tools jackd2 liblcms2-utils opus-tools libparted-dev libparted-i18n
  pciutils librsvg2-bin lm-sensors speex libwww-perl devhelp accountsservice xserver-xephyr less www-browser sox parted-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl make poppler-utils ghostscript fonts-japanese-mincho | fonts-ipafont-mincho
  fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum pavumeter paman paprefs avahi-daemon sgml-base-doc
  kdelibs-data thunar-archive-plugin thunar-media-tags-plugin tumbler-plugins-extra btrfs-progs | btrfs-tools cryptsetup-bin mdadm reiserfsprogs
  xfsprogs mesa-utils nickle cairo-5c xfce4-goodies xfce4-power-manager gtk3-engines-xfce sudo fortunes-mod pm-utils menu xfwm4-themes debhelper
  xorg-docs x11-xfs-utils xinput firmware-amd-graphics xserver-xorg-video-r128 xserver-xorg-video-mach64 xfonts-cyrillic
The following NEW packages will be installed:
  adwaita-icon-theme at-spi2-core cpp cpp-6 dbus dbus-user-session dbus-x11 dconf-gsettings-backend dconf-service desktop-base desktop-file-utils
  dosfstools eject exfat-fuse exfat-utils exo-utils fontconfig fontconfig-config fonts-dejavu-core fuse gdisk glib-networking
  glib-networking-common glib-networking-services gnome-accessibility-themes gnome-icon-theme gnome-themes-standard gnome-themes-standard-data
  groff-base gsettings-desktop-schemas gstreamer1.0-plugins-base gtk-update-icon-cache gtk2-engines-pixbuf gtk2-engines-xfce gvfs gvfs-common
  gvfs-daemons gvfs-libs hicolor-icon-theme iso-codes keyboard-configuration krb5-locales libaacs0 libasound2 libasound2-data libasound2-plugins
  libasyncns0 libatasmart4 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatkmm-1.6-1v5 libatspi2.0-0 libavahi-client3 libavahi-common-data
  libavahi-common3 libavcodec57 libavresample3 libavutil55 libbdplus0 libbluray1 libcairo-gobject2 libcairo2 libcairomm-1.0-1v5 libcanberra-gtk3-0
  libcanberra-gtk3-module libcanberra0 libcap2-bin libcdparanoia0 libcolord2 libcroco3 libcups2 libdatrie1 libdbus-1-3 libdbus-glib-1-2 libdconf1
  libdrm-amdgpu1 libdrm-freedreno1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl1-mesa libepoxy0 libevdev2 libexif12 libexo-1-0 libexo-common
  libexo-helpers libexpat1 libflac8 libfontconfig1 libfontenc1 libfreetype6 libfuse2 libgail-common libgail18 libgarcon-1-0 libgarcon-common
  libgbm1 libgck-1-0 libgcr-3-common libgcr-base-3-1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa
  libglib2.0-0 libglib2.0-data libglibmm-2.4-1v5 libglu1-mesa libgomp1 libgraphite2-3 libgsm1 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtkmm-3.0-1v5 libgudev-1.0-0
  libharfbuzz0b libical2 libice6 libicu57 libimobiledevice6 libinput-bin libinput10 libisl15 libjack-jackd2-0 libjbig0 libjpeg62-turbo
  libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libkeybinder-3.0-0 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2
  liblightdm-gobject-1-0 libltdl7 libmp3lame0 libmpc3 libmpfr4 libmtdev1 libnotify-bin libnotify4 libnspr4 libnss3 libntfs-3g871 libogg0
  libopenjp2-7 libopus0 liborc-0.4-0 libpam-cap libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangomm-1.4-1v5 libparted2
  libpciaccess0 libperl5.24 libpixman-1-0 libplist3 libpng16-16 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpoppler-glib8
  libpoppler64 libproxy1v5 libpulse-mainloop-glib0 libpulse0 libpulsedsp librest-0.7-0 librsvg2-2 librsvg2-common libsamplerate0 libsecret-1-0
  libsecret-common libsensors4 libshine3 libsigc++-2.0-0v5 libsm6 libsnappy1v5 libsndfile1 libsoup-gnome2.4-1 libsoup2.4-1 libsoxr0 libspeex1
  libspeexdsp1 libstartup-notification0 libswresample2 libtdb1 libthai-data libthai0 libtheora0 libthunarx-2-0 libtiff5 libtumbler-1-0 libtwolame0
  libtxc-dxtn-s2tc libudisks2-0 libupower-glib3 liburi-perl libusb-1.0-0 libusbmuxd4 libutempter0 libva-drm1 libva-x11-1 libva1 libvdpau-va-gl1
  libvdpau1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx4 libwacom-bin libwacom-common libwacom2 libwavpack1 libwayland-client0
  libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebp6 libwebpmux2 libwebrtc-audio-processing1 libwnck-common libwnck22 libwrap0
  libx11-6 libx11-data libx11-xcb1 libx264-148 libx265-95 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0
  libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util0 libxcb-xfixes0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6
  libxfce4panel-2.0-4 libxfce4ui-1-0 libxfce4ui-2-0 libxfce4ui-common libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util7
  libxfconf-0-2 libxfixes3 libxfont1 libxfont2 libxft2 libxi6 libxinerama1 libxkbcommon0 libxkbfile1 libxklavier16 libxml2 libxmu6 libxmuu1 libxpm4
  libxrandr2 libxrender1 libxres1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1 libxvidcore4 libxxf86dga1 libxxf86vm1 libzvbi-common libzvbi0
  light-locker lightdm lightdm-gtk-greeter man-db mesa-va-drivers mesa-vdpau-drivers notification-daemon ntfs-3g orage parted pavucontrol perl
  perl-modules-5.24 policykit-1 poppler-data pulseaudio pulseaudio-utils rename rtkit sgml-base shared-mime-info tango-icon-theme tcpd thunar
  thunar-data thunar-volman tumbler tumbler-common ucf udisks2 upower usbmuxd va-driver-all vdpau-driver-all x11-apps x11-common x11-session-utils
  x11-utils x11-xkb-utils x11-xserver-utils xauth xbitmaps xdg-user-dirs xfce4 xfce4-appfinder xfce4-notifyd xfce4-panel xfce4-pulseaudio-plugin
  xfce4-session xfce4-settings xfconf xfdesktop4 xfdesktop4-data xfonts-100dpi xfonts-75dpi xfonts-base xfonts-encodings xfonts-scalable
  xfonts-utils xfwm4 xinit xkb-data xml-core xorg xorg-docs-core xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all
  xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati
  xserver-xorg-video-fbdev xserver-xorg-video-radeon xserver-xorg-video-vesa xterm
0 upgraded, 375 newly installed, 0 to remove and 0 not upgraded.
Need to get 158 MB of archives.
After this operation, 578 MB of additional disk space will be used.
Do you want to continue? [Y/n]

本来想跑个桌面, 装一个 xfce4 的, 结果提示要 578M, 好吓人的体积啊, Linux下面有没有好用的精简桌面呢?

离线

#15 2019-11-06 17:03:01

xgui
会员
注册时间: 2019-09-07
累计积分: 165

Re: 成功在f1c100s上运行debian系统

root@test5:~# startxfce4  
/usr/bin/startxfce4: Starting X server


X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-armmp-lpae armv7l Debian
Current Operating System: Linux test5 4.15.0-licheepi-nano+ #2 Tue Aug 27 15:20:21 CST 2019 armv5tejl
Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw vt.global_cursor_default=0
Build Date: 03 November 2018  04:54:31AM
xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support) 
Current version of pixman: 0.34.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov  3 17:28:43 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
MESA-LOADER: failed to retrieve device information
gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabi/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/sun4i-drm_dri.so: cannot open shared object file: No such file or directory
failed to load driver: sun4i-drm
gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabi/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms_swrast
EGL_MESA_drm_image required.
(EE) 
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Bad file descriptor
xinit: server error
root@test5:~# 
root@test5:~# cat /var/log/Xorg.1.log
[   311.849] 
X.Org X Server 1.19.2
Release Date: 2017-03-02
[   311.851] X Protocol Version 11, Revision 0
[   311.851] Build Operating System: Linux 4.9.0-8-armmp-lpae armv7l Debian
[   311.851] Current Operating System: Linux test5 4.15.0-licheepi-nano+ #2 Tue Aug 27 15:20:21 CST 2019 armv5tejl
[   311.852] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw vt.global_cursor_default=0
[   311.853] Build Date: 03 November 2018  04:54:31AM
[   311.854] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support) 
[   311.854] Current version of pixman: 0.34.0
[   311.855] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   311.855] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   311.858] (==) Log file: "/var/log/Xorg.1.log", Time: Thu Nov  3 17:21:50 2016
[   311.877] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   311.942] (==) No Layout section.  Using the first Screen section.
[   311.943] (==) No screen section available. Using defaults.
[   311.943] (**) |-->Screen "Default Screen Section" (0)
[   311.943] (**) |   |-->Monitor "<default monitor>"
[   311.947] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   311.948] (==) Automatically adding devices
[   311.948] (==) Automatically enabling devices
[   311.949] (==) Automatically adding GPU devices
[   311.949] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   311.956] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   311.956] 	Entry deleted from font path.
[   311.957] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[   311.957] (==) ModulePath set to "/usr/lib/xorg/modules"
[   311.958] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   311.958] (II) Loader magic: 0x66cf60
[   311.960] (II) Module ABI versions:
[   311.961] 	X.Org ANSI C Emulation: 0.4
[   311.961] 	X.Org Video Driver: 23.0
[   311.961] 	X.Org XInput driver : 24.1
[   311.962] 	X.Org Server Extension : 10.0
[   312.029] (--) using VT number 2

[   312.030] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   312.087] (II) xfree86: Adding drm device (/dev/dri/card0)
[   312.101] (II) no primary bus or device found
[   312.102] 	falling back to /sys/devices/platform/display-engine/drm/card0
[   312.102] (II) LoadModule: "glx"
[   312.107] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   312.252] (II) Module glx: vendor="X.Org Foundation"
[   312.252] 	compiled for 1.19.2, module version = 1.0.0
[   312.253] 	ABI class: X.Org Server Extension, version 10.0
[   312.254] (==) Matched modesetting as autoconfigured driver 0
[   312.254] (==) Matched fbdev as autoconfigured driver 1
[   312.254] (==) Assigned the driver to the xf86ConfigLayout
[   312.255] (II) LoadModule: "modesetting"
[   312.257] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   312.262] (II) Module modesetting: vendor="X.Org Foundation"
[   312.262] 	compiled for 1.19.2, module version = 1.19.2
[   312.262] 	Module class: X.Org Video Driver
[   312.263] 	ABI class: X.Org Video Driver, version 23.0
[   312.263] (II) LoadModule: "fbdev"
[   312.266] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   312.280] (II) Module fbdev: vendor="X.Org Foundation"
[   312.280] 	compiled for 1.19.0, module version = 0.4.4
[   312.281] 	Module class: X.Org Video Driver
[   312.282] 	ABI class: X.Org Video Driver, version 23.0
[   312.282] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   312.283] (II) FBDEV: driver for framebuffer: fbdev
[   312.320] (II) modeset(0): using drv /dev/dri/card0
[   312.321] (WW) Falling back to old probe method for fbdev
[   312.321] (II) Loading sub module "fbdevhw"
[   312.321] (II) LoadModule: "fbdevhw"
[   312.323] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   312.346] (II) Module fbdevhw: vendor="X.Org Foundation"
[   312.346] 	compiled for 1.19.2, module version = 0.0.2
[   312.347] 	ABI class: X.Org Video Driver, version 23.0
[   312.348] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   312.358] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   312.359] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   312.360] (==) modeset(0): RGB weight 888
[   312.360] (==) modeset(0): Default visual is TrueColor
[   312.361] (II) Loading sub module "glamoregl"
[   312.361] (II) LoadModule: "glamoregl"
[   312.363] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   313.317] (II) Module glamoregl: vendor="X.Org Foundation"
[   313.317] 	compiled for 1.19.2, module version = 1.0.0
[   313.318] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   313.318] (II) glamor: OpenGL accelerated X.org driver based.
[   314.112] (II) glamor: EGL version 1.4 (DRI2):
[   314.113] EGL_MESA_drm_image required.
[   314.116] (EE) modeset(0): glamor initialization failed
[   314.117] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[   314.119] (II) modeset(0): Output None-1 has no monitor section
[   314.132] (II) modeset(0): EDID for output None-1
[   314.134] (II) modeset(0): Printing probed modes for output None-1
[   314.134] (II) modeset(0): Modeline "800x480"x61.6   30.00  800 840 888 928  480 493 496 525 (32.3 kHz eP)
[   314.135] (II) modeset(0): Output None-1 connected
[   314.135] (II) modeset(0): Using exact sizes for initial modes
[   314.135] (II) modeset(0): Output None-1 using initial mode 800x480 +0+0
[   314.136] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   314.136] (==) modeset(0): DPI set to (96, 96)
[   314.137] (II) Loading sub module "fb"
[   314.137] (II) LoadModule: "fb"
[   314.139] (II) Loading /usr/lib/xorg/modules/libfb.so
[   314.153] (II) Module fb: vendor="X.Org Foundation"
[   314.154] 	compiled for 1.19.2, module version = 1.0.0
[   314.154] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   314.155] (II) UnloadModule: "fbdev"
[   314.155] (II) Unloading fbdev
[   314.156] (II) UnloadSubModule: "fbdevhw"
[   314.157] (II) Unloading fbdevhw
[   314.158] (==) Depth 24 pixmap format is 32 bpp
[   314.180] (EE) 
Fatal server error:
[   314.182] (EE) AddScreen/ScreenInit failed for driver 0
[   314.182] (EE) 
[   314.183] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   314.183] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[   314.184] (EE) 
[   314.280] (EE) Server terminated with error (1). Closing log file.

悲剧, f1c100s debian xfce4 桌面启动失败。

离线

#16 2019-11-06 17:25:04

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

我怎么看到了armv7,确定桌面版本安装正确吗?

Build Operating System: Linux 4.9.0-8-armmp-lpae armv7l Debian

离线

#17 2019-11-06 17:29:48

kekemuyu
会员
注册时间: 2018-12-13
累计积分: 321

Re: 成功在f1c100s上运行debian系统

我看还是别折腾了,即使装上去也是奇慢无比

离线

#18 2019-11-06 17:33:55

xgui
会员
注册时间: 2019-09-07
累计积分: 165

Re: 成功在f1c100s上运行debian系统

这是我在电脑上面用 apt-get 安装的 xfce4, 明明最前面用的是 arch=armel 这个命令, 怎么xfce4变成了 armv7l  了呢

奇怪奇怪

离线

#19 2019-11-06 17:34:49

xgui
会员
注册时间: 2019-09-07
累计积分: 165

Re: 成功在f1c100s上运行debian系统

kekemuyu 说:

我看还是别折腾了,即使装上去也是奇慢无比

越搞不定, 我就越想折腾出来,如果奇慢无比我也死心了。

离线

#20 2019-11-07 13:29:14

silong1126
会员
注册时间: 2019-11-07
累计积分: 32

Re: 成功在f1c100s上运行debian系统

厉害,厉害。牛人啊

离线

#21 2019-11-07 23:46:08

surmountliu
会员
注册时间: 2019-11-04
累计积分: 6

Re: 成功在f1c100s上运行debian系统

可以弄成一个小电脑了,五十元的带液晶显示计算机。

离线

页脚