“Download ubuntu-18.04 imx6ul qemu”的版本间的差异

来自百问网嵌入式Linux wiki
(创建页面,内容为“*下载链接,点击即可下载 **https://dev.tencent.com/u/weidongshan/p/ubuntu-18.04_imx6ul_qemu_system/git/archive/release.tar.gz”)
 
 
(未显示3个用户的6个中间版本)
第1行: 第1行:
*下载链接,点击即可下载
+
{{DISPLAYTITLE:下载ubuntu-18.04_imx6ul qemu}}
**https://dev.tencent.com/u/weidongshan/p/ubuntu-18.04_imx6ul_qemu_system/git/archive/release.tar.gz
+
*在视频中演示的方法可能是直接下载压缩包,但是由于GIT仓库改版,只能使用下面方法下载
 +
*使用GIT clone方式下载
 +
:请在ubuntu终端下执行如下命令,直接在线克隆整个仓库
 +
book@100ask:~$  git  clone  https://e.coding.net/weidongshan/ubuntu-18.04_imx6ul_qemu_system.git
 +
 
 +
*如果使用GIT命令失败
 +
:有如下提示时
 +
fatal: Out of memory, malloc failed (tried to allocate 314572801 bytes)
 +
fatal: index-pack failed
 +
:先执行下列命令增加swap分区
 +
sudo dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
 +
sudo chmod 600 /root/myswapfile
 +
sudo mkswap /root/myswapfile
 +
sudo swapon /root/myswapfile
 +
:然后修改/etc/fstab,增加如下一行
 +
/root/myswapfile              swap                    swap    defaults        0 0
 +
:最后重新执行上面的GIT命令

2021年3月27日 (六) 14:33的最新版本

  • 在视频中演示的方法可能是直接下载压缩包,但是由于GIT仓库改版,只能使用下面方法下载
  • 使用GIT clone方式下载
请在ubuntu终端下执行如下命令,直接在线克隆整个仓库
book@100ask:~$  git  clone  https://e.coding.net/weidongshan/ubuntu-18.04_imx6ul_qemu_system.git
  • 如果使用GIT命令失败
有如下提示时
fatal: Out of memory, malloc failed (tried to allocate 314572801 bytes)
fatal: index-pack failed
先执行下列命令增加swap分区
sudo dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
sudo chmod 600 /root/myswapfile
sudo mkswap /root/myswapfile
sudo swapon /root/myswapfile
然后修改/etc/fstab,增加如下一行
/root/myswapfile               swap                    swap    defaults        0 0
最后重新执行上面的GIT命令