您尚未登录。

#3 Re: 全志 SOC » 试一试 Ubuntu 18.04 编译f1c200s tina 3.x » 2019-12-28 19:23:04

Biftor 说:

Hey, can you please tell me where can I get Tina 3 sources, for compiling?
I couldn't find the what you are compiling anywhere .
thanks.

tina是要签保密协议才能拿到吧?

#6 Re: 全志 SOC » 学习笔记F1C100S之u-boot编译过程记录 » 2019-12-18 22:48:51

达克罗德 说:

早上6,7点,不管是github还是Python还是apt-get,速度都上去了

6,7点得留意发型好不好, 捂脸.gif

#7 Re: 全志 SOC » 请问大神们同样的TF卡软件, 在荔枝派zero开发板用得好好的,在我自己的V3s板子上就提示mmc错误? » 2019-12-17 21:37:52

刚刚把设备树里面的 PGx 全部屏蔽, 仍然是上面的错误, 我估计是这组口的上拉或者下拉引起了.

算了, 不折腾了, 反正这个产品不用这组口做 SDIO

#8 Re: 全志 SOC » f1c100s如何设置root开机免密自动登陆 » 2019-12-10 08:43:03

kekemuyu 说:

用的debian系统,我的/etc/下没有inittab,有两个目录init和init.d

尴尬, 前段时间捣鼓半天, 就这个问题没解决了。


https://whycan.cn/t_3287.html#p28951

用尽各种办法, 控制台还是没有办法自动登录, 总是要输入账号密码







搞定记得分享一下哦, 为伊消得人憔悴。

#10 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-28 23:31:56

root@SmallWit:~# sudo apt-get install xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  xrdp
0 upgraded, 1 newly installed, 0 to remove and 116 not upgraded.
Need to get 200 kB of archives.
After this operation, 1475 kB of additional disk space will be used.
Get:1 http://ftp.cn.debian.org/debian/ jessie/main xrdp armhf 0.6.1-2 [200 kB]
Fetched 200 kB in 1s (166 kB/s)
Selecting previously unselected package xrdp.
dpkg: warning: files list file for package 'libgomp1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libatomic1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpython-dev:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libubsan0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'linux-libc-dev:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpython-stdlib:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libasan1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpython2.7:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgcc-4.9-dev:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsqlite3-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexpat1-dev:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpython2.7-dev:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpython2.7-minimal:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libc6-dev:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libapt-pkg4.12:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libusb-0.1-4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpython2.7-stdlib:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcap0.8:armhf' missing; assuming package has no files currently installed
(Reading database ... 43257 files and directories currently installed.)
Preparing to unpack .../xrdp_0.6.1-2_armhf.deb ...
Unpacking xrdp (0.6.1-2) ...
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up xrdp (0.6.1-2) ...
insserv: warning: script 'wifi.sh' missing LSB tags and overrides
[ 3555.749462] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
Processing triggers for systemd (215-17+deb8u6) ...
root@SmallWit:~#
root@SmallWit:~#
root@SmallWit:~#
root@SmallWit:~# service xrdp restart
root@SmallWit:~#

运行安装并启动xrdp服务:

sudo apt-get install xrdp -y
service xrdp restart

QQ图片20191128233023.png

QQ图片20191128233019.png

完全OK!

#11 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-28 22:37:15

太棒了, 原来可以不用另外安装 vncserver, 自带了 Xvnc, 所以 6楼/7楼的操作(手动运行vncserver命令)是多余的

https://whycan.cn/t_3287.html#p28402

只要修改  /etc/lightdm/lightdm.conf 最末即可:

[VNCServer]
enabled=true
command=Xvnc  -rfbauth /etc/vncpasswd
port=5900
width=1024
height=768
depth=24

记得先用命令手动设置一下密码, 保存到 /etc/vncpasswd:

vncpasswd /etc/vncpasswd

这样, 开机就可以自动运行 vnc 服务了, 不用再手动开启.


QQ截图20191128225910.png

参考: https://wiki.archlinux.org/index.php/LightDM     vnc 部分

#12 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-28 22:17:07

jiangming1399 说:

debian8,梦回2015

嗯, 是有点老了, 反正是学习嘛,无所谓.


看到一个好帖了, https://whycan.cn/t_3231.html#p27942

https://www.maketecheasier.com/enable-autologin-lightdm/

修改这个文件: /etc/lightdm/lightdm.conf

autologin-guest=false
autologin-user=root
autologin-user-timeout=0

就可以自动启动到桌面了

#14 Re: 全志 SOC » 分享个licheepi nano镜像,支持adb调试 » 2019-11-28 19:56:25

aaayao 说:

adbd这个文件没有找到呢,内核目录里也没有,怎么产生这个文件呢?

文件系统里面啊, buildroot的 output/target 目录

#16 DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 分享一个稳定的 ndk jni 读写串口的代码 » 2019-11-28 19:28:46

并夕夕
回复: 3

serial.cpp

//包含头文件
#include <stdio.h>
#include <stdlib.h>

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifndef _WIN32 
#include <sys/ioctl.h>
#include <unistd.h>
#include <termios.h>
#else
#include <io.h>
#pragma warning (disable:4996)
#endif

#include <errno.h>
#include <string.h>

#include <time.h>

int			fd_ = -1;


extern "C" {
	int set_opt(int fd, int nSpeed, int nBits, char nEvent, int nStop, int min_btye);
}

long long  getMilisec()
{
#ifndef _WIN32 
	struct timeval now;
	gettimeofday(&now, NULL);
	long long  t_mili = ((long long)now.tv_sec) * 1000 + now.tv_usec / 1000;
	return t_mili;
#else
	return 0;
#endif
}

//打印
//#include "android/log.h"
//static const char *TAG = "HelloWorldScene";
//#define LOGI(fmt, args...) __android_log_print(ANDROID_LOG_INFO, TAG, fmt, ##args)
//#define LOGD(fmt, args...) __android_log_print(ANDROID_LOG_DEBUG, TAG, fmt, ##args)
//#define LOGE(fmt, args...) __android_log_print(ANDROID_LOG_ERROR, TAG, fmt, ##args)



extern "C"  {

	bool Serial_Open()
	{
		if (fd_ > 0)//already open
			return true;

#ifndef _WIN32
		//char *dev[] = { "/dev/ttySAC0", "/dev/ttySAC1", "/dev/ttySAC2", "/dev/ttySAC3" };
		//long vdisable;
		fd_ = open("/dev/ttyS4", O_RDWR | O_NOCTTY | O_NDELAY);
		if (fd_ == -1) {
			return false;
		}

		//LOGE("Open Serial Port %s\n",dev[comport]);
		//恢复串口为阻塞状态
		if (fcntl(fd_, F_SETFL, 0) < 0) {
			return false;
		}

		/*测试是否为终端设备*/
		if (isatty(STDIN_FILENO) == 0) {
			//LOGE("standard input is not a terminal device\n");
		}

		set_opt(fd_, 9600, 8, 'N', 1, 200);

#else
		fd_ = open("/dev/ttyS4", O_RDWR);
		if (fd_ == -1) {
			return false;
		}
#endif

		return fd_ > 0;
	}

	void Serial_Close()
	{
		if (fd_ > 0)
		{
			close(fd_);
			fd_ = -1;
		}
	}

	int Serial_SendData(const unsigned char* data, int size)
	{
		if (fd_ < 0)//not open
			return -1;

		int ret = write(fd_, data, size);
		return ret;
	}

	int Serial_RecvData(unsigned char* buff, int len)
	{
		if (fd_ < 0)//not open
			return -1;

		memset(buff, 0, len);
		int readSize = read(fd_, buff, len);

		return readSize;
	}

	/*****************************
	 * 功能:设置串口函数
	 * 入口:(fd,波特率,数据位,奇偶校验,停止位)
	 *****************************/

	int set_opt(int fd, int nSpeed, int nBits, char nEvent, int nStop, int min_btye)
	{
#ifndef _WIN32
		struct termios newtio, oldtio;
		/*保存测试现有串口参数设置,在这里如果串口号出错,会有相关的出错信息*/
		if (tcgetattr(fd, &oldtio) != 0) {
			// LOGE("SetupSerial 1");
			return -1;
		}

		bzero(&newtio, sizeof(newtio));

		/*步骤一:设置字符大小*/
		newtio.c_cflag |= CLOCAL | CREAD;
		newtio.c_cflag &= ~CSIZE;

		/*设置停止位*/
		switch (nBits) {
		case 7: newtio.c_cflag |= CS7;
			break;
		case 8: newtio.c_cflag |= CS8;
			break;
		}

		/*设置奇偶校验位*/
		switch (nEvent) {
		case 'O': //奇数
			newtio.c_cflag |= PARENB;
			newtio.c_cflag |= PARODD;
			newtio.c_iflag |= (INPCK | ISTRIP);
			break;
		case 'E': //偶数
			newtio.c_iflag |= (INPCK | ISTRIP);
			newtio.c_cflag |= PARENB;
			newtio.c_cflag &= ~PARODD;

			break;
		case 'N': //无奇偶校验位
			newtio.c_cflag &= ~PARENB;
			break;
		}

		/*设置波特率*/
		switch (nSpeed)
		{
		case 2400:
			cfsetispeed(&newtio, B2400);
			cfsetospeed(&newtio, B2400);
			break;
		case 4800:
			cfsetispeed(&newtio, B4800);
			cfsetospeed(&newtio, B4800);
			break;
		case 9600:
			cfsetispeed(&newtio, B9600);
			cfsetospeed(&newtio, B9600);
			break;
		case 19200:
			cfsetispeed(&newtio, B19200);
			cfsetospeed(&newtio, B19200);
			break;
		case 115200:
			cfsetispeed(&newtio, B115200);
			cfsetospeed(&newtio, B115200);
			break;
		case 460800:
			cfsetispeed(&newtio, B460800);
			cfsetospeed(&newtio, B460800);
			break;
		default:
			cfsetispeed(&newtio, B115200);
			cfsetospeed(&newtio, B115200);
			break;
		}

		/*设置停止位*/
		if (nStop == 1) {
			newtio.c_cflag &= ~CSTOPB;
		}
		else if (nStop == 2) {
			newtio.c_cflag |= CSTOPB;
		}

		/*设置等待时间和最小接收字符*/
		newtio.c_cc[VTIME] = 1;
		newtio.c_cc[VMIN] = min_btye;

		/*处理未接收字符*/
		tcflush(fd, TCIFLUSH);
		/*激活新配置*/
		if ((tcsetattr(fd, TCSANOW, &newtio)) != 0) {
			// LOGE("COM set error\n");
			return -1;
		}
#endif
		return 0;
	}
}

Android.mk

#
# Copyright 2009 Cedric Priscal
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
# http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License. 
#

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

NDK_TOOLCHAIN_VERSION := 4.9

LOCAL_C_INCLUDES := C:/android-ndk-r15b/sources/cxx-stl/gnu-libstdc++/4.9/include
LOCAL_C_INCLUDES +=C:\android-ndk-r15b\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi\include

TARGET_PLATFORM := android-18
LOCAL_MODULE    := serialport
LOCAL_SRC_FILES := serial.cpp
LOCAL_LDLIBS    := -llog

LOCAL_CPPFLAGS := -std=c++11 -D __cplusplus=201103L

APP_STL := gnustl_shared

APP_CPPFLAGS := -std=c++11 -frtti -fexceptions
APP_CPPFLAGS += -std=gun++11 -lpthread

include $(BUILD_SHARED_LIBRARY)

Application.mk

APP_ABI := armeabi armeabi-v7a x86

#17 Re: 全志 SOC » u-boot如何开启LCD 和 LOGO? » 2019-11-28 07:40:03

达克罗德 说:

用的专门的gpio做的软spi,应该也可以用硬件spi实现。这几个gpio,据tiky说,甚至可以用LCD的数据线复用

3线spi 与 lcd 线复用? 这是什么骚操作, 我怎么还没有学会?

#19 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-26 19:52:40

把晕哥的配网方法get到了,下面装一个游戏模拟器试一试.

root@SmallWit:~# sudo apt install mame
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libasyncns0 libcaca0 libdirectfb-1.2-9 libflac8 libjson-c2 libogg0
  libportmidi0 libpulse0 libsdl-ttf2.0-0 libsdl1.2debian libsndfile1
  libvorbis0a libvorbisenc2 mess-data
Suggested packages:
  pulseaudio gnome-video-arcade mame-extra mame-tools
The following NEW packages will be installed:
  libasyncns0 libcaca0 libdirectfb-1.2-9 libflac8 libjson-c2 libogg0
  libportmidi0 libpulse0 libsdl-ttf2.0-0 libsdl1.2debian libsndfile1
  libvorbis0a libvorbisenc2 mame mess-data
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.9 MB/22.3 MB of archives.
After this operation, 113 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.cn.debian.org/debian/ jessie/main libjson-c2 armhf 0.11-4 [22.8 kB]
Get:2 http://ftp.cn.debian.org/debian/ jessie/main libasyncns0 armhf 0.8-5 [11.2 kB]
Get:3 http://ftp.cn.debian.org/debian/ jessie/main libdirectfb-1.2-9 armhf 1.2.10.0-5.1 [951 kB]
2% [3 libdirectfb-1.2-9 504 kB/951 kB 53%]                   84.5 kB/s 4min 13s[  260.468931] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
Get:4 http://ftp.cn.debian.org/debian/ jessie/main libflac8 armhf 1.3.0-3 [81.4 kB]
Err http://ftp.cn.debian.org/debian/ jessie/main libvorbis0a armhf 1.3.4-2
  404  Not Found
Err http://ftp.cn.debian.org/debian/ jessie/main libvorbisenc2 armhf 1.3.4-2
  404  Not Found
Get:5 http://ftp.cn.debian.org/debian/ jessie/main libsndfile1 armhf 1.0.25-9.1+deb8u1 [209 kB]
Get:6 http://ftp.cn.debian.org/debian/ jessie/main libpulse0 armhf 5.0-13 [221 kB]
Get:7 http://ftp.cn.debian.org/debian/ jessie/main libsdl1.2debian armhf 1.2.15-10+b1 [165 kB]
Get:8 http://ftp.cn.debian.org/debian/ jessie/main libsdl-ttf2.0-0 armhf 2.0.11-3 [16.9 kB]
Get:9 http://ftp.cn.debian.org/debian/ jessie/main libportmidi0 armhf 1:184-2.2 [

居然这么多404错误:

2% [3 libdirectfb-1.2-9 504 kB/951 kB 53%]                   84.5 kB/s 4min 13s[  260.468931] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
Get:4 http://ftp.cn.debian.org/debian/ jessie/main libflac8 armhf 1.3.0-3 [81.4 kB]
Err http://ftp.cn.debian.org/debian/ jessie/main libvorbis0a armhf 1.3.4-2
  404  Not Found
Err http://ftp.cn.debian.org/debian/ jessie/main libvorbisenc2 armhf 1.3.4-2
  404  Not Found
Get:5 http://ftp.cn.debian.org/debian/ jessie/main libsndfile1 armhf 1.0.25-9.1+deb8u1 [209 kB]
Get:6 http://ftp.cn.debian.org/debian/ jessie/main libpulse0 armhf 5.0-13 [221 kB]
Get:7 http://ftp.cn.debian.org/debian/ jessie/main libsdl1.2debian armhf 1.2.15-10+b1 [165 kB]
Get:8 http://ftp.cn.debian.org/debian/ jessie/main libsdl-ttf2.0-0 armhf 2.0.11-3 [16.9 kB]
Get:9 http://ftp.cn.debian.org/debian/ jessie/main libportmidi0 armhf 1:184-2.2 [18.5 kB]
Get:10 http://ftp.cn.debian.org/debian/ jessie/non-free mess-data all 0.154-3.1 [6447 kB]
Get:11 http://ftp.cn.debian.org/debian/ jessie/non-free mame armhf 0.154-3.1 [13.6 MB]
47% [11 mame 2195 kB/13.6 MB 16%]                            87.9 kB/s 2min 11s[  310.235993] EXT4-fs (mmcblk0p2): error count since last fsck: 1
[  310.241954] EXT4-fs (mmcblk0p2): initial error at time 1574131551: ext4_find_entry:1451: inode 46140
[  310.251082] EXT4-fs (mmcblk0p2): last error at time 1574131551: ext4_find_entry:1451: inode 46140
47% [11 mame 2195 kB/13.6 MB 16%][  320.532399] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
97% [11 mame 13.2 MB/13.6 MB 97%][  380.514009] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
Fetched 21.8 MB in 2min 9s (169 kB/s)
E: Failed to fetch http://ftp.cn.debian.org/debian/pool/main/libv/libvorbis/libvorbis0a_1.3.4-2_armhf.deb  404  Not Found

E: Failed to fetch http://ftp.cn.debian.org/debian/pool/main/libv/libvorbis/libvorbisenc2_1.3.4-2_armhf.deb  404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@SmallWit:~# [  440.542492] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[  500.518067] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[  560.505640] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[  620.516166] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[  680.566069] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[  740.565626] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[  800.538913] brcmfmac: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8

root@SmallWit:~# sudo apt-get update
Ign http://ftp.cn.debian.org jessie InRelease
Get:1 http://ftp.cn.debian.org jessie Release.gpg [1652 B]
Get:2 http://ftp.cn.debian.org jessie Release [77.3 kB]
Get:3 http://ftp.cn.debian.org jessie/main Sources [7063 kB]

吓得我赶紧 apt-get update

#22 Re: Qt/MSVC/MINGW/C++/MFC/GTK+/Delphi/BCB » VS2019/VC2019 离线版下载,约15G » 2019-11-25 21:23:12

QQ截图20191126193709.png

winrar 解压会提示错误:

! D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z.001: Cannot open D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z\Visual Studio Enterprise 2019\Microsoft.VisualStudio.TestTools.WebLoadTest.WebTestRecorder.Msi,version=16.0.28329.73\Microsoft.VisualStudio.TestTools.WebLoadTest.WebTestRecorder.Msi.msi
  系统找不到指定的路径。
! D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z.001: Cannot open D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z\Visual Studio Enterprise 2019\Microsoft.VisualStudio.TestTools.WebLoadTest.WebTestRecorder.Msi.Targeted,version=16.0.28329.73,chip=x64\Microsoft.VisualStudio.TestTools.WebLoadTest.WebTestRecorder.Msi.x64.msi
  系统找不到指定的路径。
! D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z.001: Cannot open D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z\Visual Studio Enterprise 2019\MS.VS.TestTools.WebLoadTest.ExcelAddin.Msi.Resources,version=16.0.28329.73,language=zh-CN\Microsoft.VisualStudio.TestTools.WebLoadTest.ExcelAddin.Msi.Resources.msi
  系统找不到指定的路径。
! D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z.001: Cannot open D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z\Visual Studio Enterprise 2019\MS.VS.TestTools.WebLoadTest.ExcelAddin.Msi.Resources,version=16.0.28329.73,language=zh-TW\Microsoft.VisualStudio.TestTools.WebLoadTest.ExcelAddin.Msi.Resources.msi
  系统找不到指定的路径。
! D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z.001: Cannot open D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z\Visual Studio Enterprise 2019\MS.VS.TestTools.WebLoadTest.WebTestRecorder.Msi.Resources,version=16.0.28329.73,language=zh-CN\Microsoft.VisualStudio.TestTools.WebLoadTest.WebTestRecorder.Msi.Resources.msi
  系统找不到指定的路径。
! D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z.001: Cannot open D:\BaiduYunDownload\679895 visual studio 2019\Visual Studio Enterprise 2019.7z\Visual Studio Enterprise 2019\MS.VS.TestTools.WebLoadTest.WebTestRecorder.Msi.Resources,version=16.0.28329.73,language=zh-TW\Microsoft.VisualStudio.TestTools.WebLoadTest.WebTestRecorder.Msi.Resources.msi
  系统找不到指定的路径。

但是实际安装的时候并没有错误, 可能没有用到那些包

#24 Re: 站务公告/网站建设 » 百度云盘VIP账号共享, 加站长微信whycan_cn,拿到百度云盘账号密码,速度快得飞起。 » 2019-11-25 20:37:19

QQ截图20191125203532.png

哈哈, 虽然分不够, 还是借到了晕哥的账号, 20G 的 VS2019  一个小时不到就下载完了.

#25 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-24 22:40:44

达克罗德 说:

牛啊,挖坑网都能跑,这点内存

root@SmallWit:~# free
             total       used       free     shared    buffers     cached
Mem:        120472     118412       2060        108        180      35808
-/+ buffers/cache:      82424      38048
Swap:       262140      77568     184572

基本靠 swap 撑着了, 交换数据量太大, 整个系统CPU动不动就 100%

#26 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-24 22:39:18

达克罗德 说:

内存使用率怎么样?

跑了vnc桌面之后,free命令显示:

root@SmallWit:~# free
             total       used       free     shared    buffers     cached
Mem:        120472     103572      16900       6852        888      47072
-/+ buffers/cache:      55612      64860
Swap:       262140       4352     257788

跑了 firefox 之后:

root@SmallWit:~# free
             total       used       free     shared    buffers     cached
Mem:        120472     118412       2060        108        180      35808
-/+ buffers/cache:      82424      38048
Swap:       262140      77568     184572

前面忘记告诉大家密码了

终端登录账号 root, 密码 smallwit

vnc 登录密码 smallwit

ntp时钟同步软件安装与使用:

apt-get install ntp -y
ntpdate
date

装上了 NTP 之后, 系统会自动同步服务器时间, 这样firefox 不会出现证书错误了:
QQ图片20191124223857.png

#28 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-24 22:01:10

修改 ~/.vnc/xstartup 文件, 添加下面粗体字一行

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
startlxde &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

然后再运行 vncserver, 貌似没问题了:
QQ截图20191124215942.png

跑个 firefox 试一试:
QQ图片20191124210231.png

哎哟, 居然汉字全部是方框框.

#30 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-24 18:04:21

然后我新建了一个 /usr/bin/start_wifi.sh 文件:

/bin/echo 'add_network' | /sbin/wpa_cli                                  ###添加网络
/bin/echo 'set_network 0 ssid "myhome"' | /sbin/wpa_cli         ###设置ssid
/bin/echo 'set_network 0 psk "13800138000"' | /sbin/wpa_cli  ###设置密码
/bin/echo 'enable_network 0' | /sbin/wpa_cli                          ###使能上面设置的网络

/sbin/udhcpc -i wlan0    ###获取IP

然后设置执行属性: chmod +x /usr/bin/start_wifi.sh

每次开机之后, 只要执行 start_wifi.sh 就可以了, 哈哈哈哈哈哈哈哈哈.....

然后想安装哪个软件, 就可以安装哪个软件了.

#31 Re: 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-24 18:01:48

wpa_cli -i wlan0 add_network                 
wpa_cli set_network 0  ssid 'myhome'     
wpa_cli set_network 0  psk '13800138000'
wpa_cli set_network 0  scan_ssid 1   
wpa_cli set_network 0  priority  1           

上面的命令执行结果都是 OK, 到下面这个就是 FAIL

wpa_cli -i wlan0 save_config

#32 全志 SOC » 今天终于收到了小智的S3开发板, 烧了店主给的debian8固件, 可以wifi联网, 也可以用apt-get更新固件,但是有一个幸福的烦恼 » 2019-11-24 17:57:51

并夕夕
回复: 27

像艺术品般的全志S3开发板,修改一代所有不足,打造完美S3开发板


...但是有一个幸福的烦恼, wifi账号密码不能保存, 下次启动又得重新手动设置.





-------------------------------

以下是站长@晕哥 添加:

小智开发板QQ交流群: 202900925
淘宝淘宝链接: https://item.taobao.com/item.htm?id=607207528669

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn