远程访问 TightVNC 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 直接看英文吧,下面 的,,,VPN ServerNetflix, Hulu, Amazon PrimeNetflix 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=[path]/u-boot.img of=/dev/sdx seek=64
复制代码 Kernel
- 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- -j16
复制代码- Flash 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/sdx1
复制代码 NOTE: The step 1.1 and 2.1 should be skipped since most of the linux distribution will mount the sdcard automatically.
|