3027c568c8c428daba927a56d9ae99a39f8348bf
Chip-cn-dat/allwinner-dat/allwinner-dat.md
| ... | ... | @@ -11,6 +11,7 @@ |
| 11 | 11 | |
| 12 | 12 | - [[V3S-dat]] |
| 13 | 13 | |
| 14 | +- [[virtualbox-dat]] |
|
| 14 | 15 | |
| 15 | 16 | ## periperhals |
| 16 | 17 |
SDK-dat/ubuntu-dat/2025-07-14-23-09-16.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ubuntu-dat/2025-07-14-23-09-16.png differ |
SDK-dat/ubuntu-dat/2025-07-14-23-09-43.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ubuntu-dat/2025-07-14-23-09-43.png differ |
SDK-dat/ubuntu-dat/2025-07-14-23-10-07.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ubuntu-dat/2025-07-14-23-10-07.png differ |
SDK-dat/ubuntu-dat/ubuntu-dat.md
| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | + |
|
| 2 | +# ubuntu-dat.md |
|
| 3 | + |
|
| 4 | + |
|
| 5 | + |
|
| 6 | + |
|
| 7 | + |
|
| 8 | + |
|
| 9 | +## share folder |
|
| 10 | + |
|
| 11 | + |
|
| 12 | + |
|
| 13 | +- 打开终端 (Open the terminal). |
|
| 14 | +- 使用命令 cd /mnt 进入到 mnt 目录 (Use the command cd /mnt to enter the mnt directory). |
|
| 15 | +- 使用命令 sudo mkdir share 创建 share 文件夹 (Use the command sudo mkdir share to create the share folder). |
|
| 16 | +- 使用命令 sudo mount -t vboxsf share /mnt/share 挂载共享文件夹 (Use the command sudo mount -t vboxsf share /mnt/share to mount the shared folder). |
|
| 17 | +- 进入到 share 目录 (Enter the share directory). |
|
| 18 | +- 使用 ls 命令查看挂载结果 (Use the ls command to check the mounted folder). |
|
| 19 | + |
|
| 20 | +## ref |
|
| 21 | + |
|
| 22 | +- [[virtualbox-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/virtualbox-dat/virtualbox-dat.md
| ... | ... | @@ -0,0 +1,99 @@ |
| 1 | + |
|
| 2 | +# virtualbox-dat |
|
| 3 | + |
|
| 4 | +下载安装 |
|
| 5 | +官网下载地址:https://www.virtualbox.org/ |
|
| 6 | + |
|
| 7 | +参考链接: Oracle VM VirtualBox官网下载安装教程: https://blog.csdn.net/kaixuansui/article/details/89334859/ |
|
| 8 | + |
|
| 9 | +VirtualBox安装Ubuntu |
|
| 10 | +注意: |
|
| 11 | + |
|
| 12 | +(1)内存大小设置:建议大于2GB |
|
| 13 | +(2) 虚拟硬盘大小设置:建议至少设置50GB(SDK所需较大空间) |
|
| 14 | +(3) 安装好Ubuntu14.04虚拟机环境后,建议不要在线升级Ubuntu版本 |
|
| 15 | + |
|
| 16 | +参考链接: Oracle VM VirtualBox安装Ubuntu14.04环境的教程: https://blog.csdn.net/weixin_42135087/article/details/108193641 |
|
| 17 | + |
|
| 18 | +增强功能 |
|
| 19 | +安装增强功能可以实现共享剪切板功能共享文件夹功能。共享粘贴板可在PC和虚拟机之间互相粘贴复制内容。文件夹共享可以在本地主机下创建一个文件夹,然后VirtualBOX将该文件夹映射到虚拟机下指定的文件夹中,这样我们就可以访问该文件夹下的子文件夹以及文件了。这两个功能都能极大地提高我们的开发效率 |
|
| 20 | + |
|
| 21 | +注意: 在共享文件夹的路径中如果是挂在的windows系统的文件夹,可能无法成功地下载Tina的SDK代码,注意SDK的下载目录不要设置在共享文件夹中。 |
|
| 22 | + |
|
| 23 | +安装增强功能的方法 |
|
| 24 | + |
|
| 25 | +方法一: 点击虚拟机界面上面菜单栏的【设备】--【安装增强功能】。然后可以看到在虚拟机的光驱中自动加载了增强iso的文件(VBoxGuestAdditions.iso),点击【Run】运行按钮。接着按虚拟机所指引步骤进行即可。 |
|
| 26 | + |
|
| 27 | +方法二: 在linux中挂载光驱。参考链接如下: https://jingyan.baidu.com/article/fdbd42779d9530b89e3f489c.html |
|
| 28 | + |
|
| 29 | +实现共享文件夹的方: |
|
| 30 | + |
|
| 31 | +在VirtualBox中创建共享文件夹的参考链接如下: http://www.koudaipe.com/funny/1002.html |
|
| 32 | + |
|
| 33 | +共享文件夹 共享文件夹后可能由于权限问题无法操作,需要做如下操作: |
|
| 34 | + |
|
| 35 | + |
|
| 36 | +sudo usermod -aG vboxsf $(whoami) |
|
| 37 | +*$(whoami) 替换成您Ubuntu的用户名 |
|
| 38 | + |
|
| 39 | +# VirtualBox Guide |
|
| 40 | + |
|
| 41 | +## Installation |
|
| 42 | + |
|
| 43 | +- Official download: [https://www.virtualbox.org/](https://www.virtualbox.org/) |
|
| 44 | +- Reference: [Oracle VM VirtualBox Official Installation Tutorial (Chinese)](https://blog.csdn.net/kaixuansui/article/details/89334859/) |
|
| 45 | + |
|
| 46 | +https://download.virtualbox.org/virtualbox/7.1.10/VirtualBox-7.1.10-169112-Win.exe |
|
| 47 | + |
|
| 48 | +## Installing Ubuntu in VirtualBox |
|
| 49 | + |
|
| 50 | +**Tips:** |
|
| 51 | + |
|
| 52 | +1. **Memory Size:** Set to more than 2GB (recommended) |
|
| 53 | +2. **Virtual Hard Disk Size:** At least 50GB (SDK requires large space) |
|
| 54 | +3. **Do not upgrade Ubuntu online** after installing Ubuntu 14.04 in the VM |
|
| 55 | + |
|
| 56 | +- Reference: [Oracle VM VirtualBox Ubuntu 14.04 Setup Tutorial (Chinese)](https://blog.csdn.net/weixin_42135087/article/details/108193641) |
|
| 57 | + |
|
| 58 | +- 现在创建虚拟硬盘(C) |
|
| 59 | +- VDI (VirtualBox磁盘映像) |
|
| 60 | +- 动态分配(D) |
|
| 61 | +- Choose a disk file... |
|
| 62 | +- ubuntu-14.04-desktop-amd64.iso |
|
| 63 | + |
|
| 64 | +- [[ubuntu-dat]] |
|
| 65 | + |
|
| 66 | +## Guest Additions (Enhancements) |
|
| 67 | + |
|
| 68 | +Installing Guest Additions enables: |
|
| 69 | +- Shared clipboard (copy/paste between PC and VM) |
|
| 70 | +- Shared folders (map a host folder to the VM for easy file access) |
|
| 71 | + |
|
| 72 | +These features greatly improve development efficiency. |
|
| 73 | + |
|
| 74 | +**Note:** |
|
| 75 | +If the shared folder is a Windows folder, you may not be able to successfully download Tina SDK code into it. Avoid setting the SDK download directory inside a shared folder. |
|
| 76 | + |
|
| 77 | +### How to Install Guest Additions |
|
| 78 | + |
|
| 79 | +**Method 1:** |
|
| 80 | +1. In the VM window, go to the menu bar: `Devices` → `Insert Guest Additions CD image...` |
|
| 81 | +2. The ISO (VBoxGuestAdditions.iso) will auto-mount in the VM's CD drive. |
|
| 82 | +3. Click `Run` and follow the on-screen instructions. |
|
| 83 | + |
|
| 84 | +**Method 2:** |
|
| 85 | +1. Manually mount the CD drive in Linux. |
|
| 86 | +2. Reference: [Linux Mount CD Drive Tutorial (Chinese)](https://jingyan.baidu.com/article/fdbd42779d9530b89e3f489c.html) |
|
| 87 | + |
|
| 88 | +## Setting Up Shared Folders |
|
| 89 | + |
|
| 90 | +- Reference: [How to Create Shared Folders in VirtualBox (Chinese)](http://www.koudaipe.com/funny/1002.html) |
|
| 91 | + |
|
| 92 | +**Permissions Fix:** |
|
| 93 | +If you cannot access the shared folder due to permissions, run: |
|
| 94 | + |
|
| 95 | +```bash |
|
| 96 | +sudo usermod -aG vboxsf $(whoami) |
|
| 97 | +# Replace $(whoami) with your Ubuntu username if needed |
|
| 98 | +``` |
|
| 99 | + |