先装上 18.04 发现编译 f1c100s sdk有点问题,
马上重新安装上 16.04,
按这个一步一步,
三下五除二编译成功
boot-resource.fex Len: 0x483400
Vboot-resource.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
boot.fex Len: 0x6ed000
Vboot.fex Len: 0x4
BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is at----------/root/c600/tools/pack/sunivw1p1_linux_evb_uart0.img
pack finish
离线
无聊试了一下远程桌面
安装 vncserver:
sudo apt-get install -y vnc4server
sudo apt-get install -y gnome-session-flashback
sudo apt-get install -y gnome-session
sudo apt-get install -y gnome-terminal
运行vncserver:
root@ubuntu:~# vncserver
New 'ubuntu:1 (root)' desktop is ubuntu:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/ubuntu:1.log
https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
修改 ~/.vnc/xstartup
# 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 &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &gnome-terminal &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
最后记得执行:
chmod +x ~/.vnc/xstartup
windows客户端连接:
离线
root@ubuntu:~# qtcreator
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
Cannot start '/root': Permission denied
Unsupported screen format: depth: 16, red_mask: 3f, blue_mask: f800
Using RGB16 fallback, if this works your X11 server is reporting a bad screen format.
QQuickWidget: Failed to make context current
QQuickWidget::resizeEvent() no OpenGL context
QQuickWidget: Failed to make context current
QQuickWidget: Cannot render due to failing makeCurrent()
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
bool QOpenGLTextureBlitter::create() Could not link shader program:
""
QXcbConnection: XCB error: 157 (Unknown), sequence: 326, resource id: 1, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 328, resource id: 4, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 337, resource id: 1, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 339, resource id: 4, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 348, resource id: 1, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 350, resource id: 4, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 359, resource id: 1, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 374, resource id: 4, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 383, resource id: 1, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 385, resource id: 4, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 394, resource id: 1, major code: 148 (Unknown), minor code: 1
QXcbConnection: XCB error: 157 (Unknown), sequence: 396, resource id: 4, major code: 148 (Unknown), minor code: 1
qtcreator 窗口全黑,log信息在上面.
离线
Unsupported screen format: depth: 16, red_mask: 3f, blue_mask: f800
这个问题找到解决方案了
参考: https://forum.selur.net/showthread.php?tid=55
命令行后加24参数:
vncserver -depth 24
离线
黑窗口找到一个治标的方法:
https://www.netsarang.com/forum/xmanager/4204/Cannot_Open_Qt_Creator_when_use_Xmanger_Enterprise_5
qt5/qtcreator 安装指令:
sudo apt-get install qt5-default qttools5-dev-tools qtcreator
启动运行:
qtcreator -noload Welcome
离线
@晕哥 用电信
电信也要看地方吧, 内陆省份估计还有, 沿海难说了.
不过现在用 FRP 更好了.
花 998 元买个 三年 5Mbps 腾讯云的服务器:
https://whycan.cn/t_3084.html
然后像内网一样穿透自如:
https://whycan.cn/t_2696.html
https://whycan.cn/t_2708.html
离线