@hangman etcher会格式化,不需要单独处理。
Posts made by george
-
RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?
-
RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?
@hangman
如下脚本放置到U盘或者TF卡中,然后运行就会导出EMMC的系统。导出的镜像可以重新烧录到EMMC或者TF卡中。!# /bin/sh IMAGE_NAME="$(date "+%Y%m%d")-rootfs.img" IMAGE_SIZE=8192 LOOP_NUMBER=$(losetup -f) echo "01:remove firstrun" rm /var/lib/misc/firstrun echo "02:Establishing a mount directory" mkdir ./mnt echo "03:dd image file" dd if=/dev/zero of=./$IMAGE_NAME bs=1M count=$IMAGE_SIZE echo "04:Mirror Partition" printf 'n\np\n1\n32768\n1081343\nn\np\n2\n1081344\n16777215\nw\n' | fdisk ./$IMAGE_NAME echo "05:format partition" partx -a -v ./$IMAGE_NAME mkfs.vfat $LOOP_NUMBER"p1" echo 'yes\n' | mkfs.ext4 $LOOP_NUMBER"p2" echo "06:copy boot files" mount $LOOP_NUMBER"p1" ./mnt cp /boot/firmware/* ./mnt/ -R umount ./mnt echo "07:backup rootfs" rm ./backup.fs dump -0u -f - /dev/mmcblk0p2 >> ./backup.fs echo "08:copy rootfs files" mount $LOOP_NUMBER"p2" ./mnt cd ./mnt restore -rf ../backup.fs umount ./mnt cd ../ e2fsck -p -f $LOOP_NUMBER"p2" resize2fs -M $LOOP_NUMBER"p2" e2label $LOOP_NUMBER"p2" writable losetup -d $LOOP_NUMBER echo "09:backimg ok" fdisk -l ./$IMAGE_NAME
-
RE: Laptop USB-C Alt Mode
@anernest Please upload a copy of dmesg information. Thank you.
-
Installing Cockpit on coolpi
- By default, the Cockpit package is included in the Ubuntu 22.04 default repository. You can install it by running the following command:
sudo apt-get install cockpit -y
- After installing Cockpit, run the following command to install the Podman module:
sudo apt-get install cockpit-podman -y
- After installing Cockpit, start the Cockpit service and have it start when the system reboots:
systemctl start cockpit systemctl enable cockpit
- You can also use the following command to check the status of Cockpit:
systemctl status cockpit
- You should see the following output:
●cockpit.service - Cockpit Web Service Loaded: loaded (/lib/systemd/system/cockpit.service; static) Active: active (running) since Tue 2023-11-21 08:44:56 UTC; 7min ago TriggeredBy: ● cockpit.socket Docs: man:cockpit-ws(8) Process: 336904 ExecStartPre=/usr/lib/cockpit/cockpit-certificate-ensure --for-cockpit-tls (code=exited, status=0/SUCCESS) Main PID: 336905 (cockpit-tls) Tasks: 3 (limit: 37954) Memory: 1.5M CPU: 358ms CGroup: /system.slice/cockpit.service └─336905 /usr/lib/cockpit/cockpit-tls
- At this point, Cockpit has started and is listening on port 9090. You can use the following command to view:
ss -antpl | grep 9090
- You should see the following output:
LISTEN 0 0 *:9090 *:*
-
Configure a UFW firewall and open port 9090
-
Now, open a web browser and use the URL https://your-server-ip:9090 Access the Cockpit web interface. You should see the Cockpit login page:
-
RE: 请问,怎么支持usb连接esp32开发板
@airobot机器人开发 好的!正常编译完内核以后需要把modules.tar.gz 解压到文件系统的/lib 目录,这里边主要是一些驱动的ko文件。
-
RE: 编译安装libc库导致不开机
@airobot机器人开发 系统镜像做到TF卡或者U盘里边,默认TF卡或者U盘启动优先级高于EMMC,系统启动后手动挂载EMMC分区就可以导出数据了。
-
RE: Laptop install Ubuntu on nvme
@Momo-0
Thank you for sharing. If you have any questions during use, I hope you can raise them. Thank you very much for your support. -
RE: 关于RS2CG5705B
@qys2022
RS这颗物料市场上很少能买到样品,你可以用如下链接的替换型号,功能和PIN定义完全一致:
https://item.szlcsc.com/213171.html -
RE: CM5 EVB 调试情况咨询
-
This screen CM5 can be supported, and you need to create a separate adapter board or adapter cable to be compatible with its PIN sequence.
-
The DSI interface of CM5 is shown below, including 2 sets of independent 4LINE DSI channels, 2 sets of I2C interfaces, etc., which can simultaneously drive two DSI interfaces for LCD, with a resolution of 2560 * 1600
-
It should be noted that the level of some IO is 1.8V, which requires a level conversion circuit to 3.3V.
-
-
RE: CM5 Uboot dts kernel都是开源的吗?
@Albert
问题1:uboot是否开源并且支持修改调试? github上有uboot源码,支持修改调试。https://github.com/orgs/yanyitech/repositories
问题2:设备树dts是否开源,比如我可以挂载一个slave到i2c控制器上,我可以在设备树上添加; 内核代码也是开源的,支持修改。问题3:CM5原厂有没有维护一个linux kernel版本,如果有的话,是否提供;Github上面有
问题4:想使用nfs挂载根文件系统,有没有相关的文档教程之类的;这个自行网络搜索解决。
-
RE: CM5的电源适配器是什么型号的?
@Albert
1.电源是配器可以选择标准的TYPEC是配器,支持12V/1.5A以上输出功率。
2.可以支持uefi,,目前EVB的机器支持nvme 2242规格的SSD.可以把系统安装到ssd或者标准SATA硬盘里边。 -
RE: CM5 EVB 调试情况咨询
@anernest
Thank you for your support. We will cooperate and support any issues that may arise in the future. And if you choose an LCD, you can also send it to us to confirm if it is supported. -
RE: CM5 Laptop Power Delivery
@anernest
Thank you for your suggestion. We will consider supporting you in the future. -
RE: I want to install pytorch and torchvision.
@etrin
You can obtain the version of CP310 from the following website.
https://download.pytorch.org/whl/cpu/torch_stable.html -
RE: I want to install pytorch and torchvision.
@etrin
This is related to the system's Python. If using ubuntu22.04, the Python version is 3.10. You can also try lowering the system's Python version, but it may cause other issues. -
RE: CM5 EVB 调试情况咨询
@anernest
Please provide the specifications of the monitor and the PIN definition of the interface, and we will evaluate whether it can be supported?