peter 发表于 2017-12-6 17:43:17

TinkerOS使用技巧

远程访问TightVNC根据这里的步骤: http://www.yuriybaldyasov.com/2017/05/15/asus-tinker-board-tightvnc-server-installation-steps/X11vnc安装命令:sudo apt-get install x11vnc
编辑文件 ~/.config/lxsessions/LXDE/autostart 在底部添加@x11vnc -noxrecord -forever解释一下-noxrecord fixes a problem it has with stack smashing on this board-forever option keeps the server alive after a connect and disconnect from a client重启板子,就可以了
Vino看这里的步骤 https://wiki.archlinux.org/index.php/Vino直接看英文吧,下面 的,,,VPN ServerA guide for RPi can be used also for Tinker Board and can be found on: https://pimylifeup.com/raspberry-pi-vpn-server/Netflix, Hulu, Amazon PrimeA guide is published on tinkerboarding forum.Netflix is also available on android via Google Play.Virtual KeyboardIf you do not have a USB keyboard it is possible to install virtual keyboard via ssh with command 'sudo apt-get matchbox-keyboard'. To run the virtual keyboard run the 'matchbox-keyboard' in the terminal.How to build Kernel/U-boot source code Get source code:
$ git clone https://github.com/TinkerBoard/debian_u-boot.git -b linux4.4-rk3288 Building image:
$ cd debian_u-boot
$ make CROSS_COMPILE=arm-linux-gnueabi- O=miniarm-rk3288 tinker-rk3288_defconfig all -j4
$ ./miniarm-rk3288/tools/mkimage -n rk3288 -T rksd -d miniarm-rk3288/spl/u-boot-spl-dtb.bin u-boot.img
$ cat miniarm-rk3288/u-boot.bin >> u-boot.img
Flash image:
Prepare one sdcard which has the full Debian image inside.
then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx
$ sudo dd if=/u-boot.img of=/dev/sdx seek=64Kernel

Get source code:
$ git clone https://github.com/TinkerBoard/debian_kernel.git -b linux4.4-rk3288 Building image:
$ cd debian_kernel
$ make ARCH=arm miniarm-rk3288_defconfig -j16
$ make zImage ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16
$ make modules ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16
$ make ARCH=arm rk3288-miniarm.dtb CROSS_COMPILE=arm-linux-gnueabi- -j16Flash image:
Prepare one sdcard which has the full Debian image inside.
1. Install WIFI module to root file system:
1.1 Insert sd card to linux pc and then mount partition 2 (rootfs partition)
   suppose the block device of the sdcard is /dev/sdx
   Example:
   $ sudo mkdir –p /media/users/sdx2
   $ sudo mount /dev/sdx2 /media/users/sdx2
1.2 Open terminal to kernel folder and enter the following commands
   $ sudo make ARCH=arm INSTALL_MOD_PATH=/media/users/sdx2 modules_install
   $ sudo umount /media/users/sdx2 2. Replace the kernel image:
2.1 Insert sd card to linux pc and then mount partition 1 (boot partition)
   suppose the block device of the sdcard is /dev/sdx
   Example:
   $ sudo mkdir –p /media/users/sdx1
   $ sudo mount /dev/sdx1 /media/users/sdx1
2.2 Open terminal to kernel folder and copy zImage and rk3288-miniarm.dtb to partition 1
   $ cp arch/arm/boot/zImage /media/users/sdx1
   $ cp arch/arm/boot/dts/rk3288-miniarm.dtb /media/users/sdx1
   $ sudo umount /media/users/sdx1NOTE: The step 1.1 and 2.1 should be skipped since most of the linux distribution will mount the sdcard automatically.
页: [1]
查看完整版本: TinkerOS使用技巧