@jugg
如果是TI的库仑计,而且内核有驱动,正常DTS配置一下就可以了。如果是linux内核没有的库仑计型号,就需要自己加驱动,相对麻烦一点。
-
RE: 接入笔记本电池
-
RE: 接入笔记本电池
@jugg
你电池是自带库仑计的吗,如果是这样需要知道库仑计的型号,然后DTS增加驱动即可。单纯升级notebook的系统大概率用不了。一般笔记本电池内置的库仑计TI的型号会比较多。 -
RE: CM5如何备份(克隆到另一台CM5)
@ytfycy
保存下面代码为sh脚本,然后放到U盘或者移动硬盘里边执行,执行前先增加一下权限。然后以root权限运行脚本。!# /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: Booting from USB drive
- It is recommended to use a USB 2.0 interface driver as the boot disk.
- You can also put the system into single user mode and set the ROOT password, which will involve modifying CMDLINE.
-
RE: Coolpi CM5-laptop Running ALT LINUX
- Update GPU driver to Panfrost
- Update RKMPP video hardware decoding
- Update default language to English
- Install an MPV video player that supports RKMPP hardware video decoding
- Install Chromium browser to solve firefox network video freeze issue
- Install Cheese camera preview software
-
RE: RKDevTool和rkdeveloptool的功能区别
@zehui
1.目前硬件是强制SPI启动的,如下图硬件配置,如果要改为扫描启动方式,可以去掉R18的电阻。
2.目前使用的是rockchip的loader和uboot。github的uboot源码有包括SPL部分。用户可以自行修改,DDRBIN目前没有开放源码只有二进制文件。