@jugg 一个是接电脑刷loader,一个接U盘刷系统。
Posts made by jack_admin
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
正常安装
Starting kernel ... I/TC: Secondary CPU 4 initializing I/TC: Secondary CPU 4 switching to normal world boot I/TC: Secondary CPU 5 initializing I/TC: Secondary CPU 5 switching to normal world boot I/TC: Secondary CPU 6 initializing I/TC: Secondary CPU 6 switching to normal world boot I/TC: Secondary CPU 7 initializing I/TC: Secondary CPU 7 switching to normal world boot I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing I/TC: Secondary CPU 3 switching to normal world boot [ 11.122038] rk-pcie fe190000.pcie: IRQ msi not found [ 11.122053] rk-pcie fe190000.pcie: Missing *config* reg space [ 11.122142] rk-pcie fe190000.pcie: Missing *config* reg space [ 11.122169] rk-pcie fe190000.pcie: invalid resource [ 11.125068] mpp-iep2 fdbb0000.iep: allocate roi buffer failed [ 11.126208] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found! [ 11.126214] rkvdec2_init:1010: No niu aclk reset resource define [ 11.126218] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found! [ 11.126220] rkvdec2_init:1013: No niu hclk reset resource define [ 11.126737] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found! [ 11.126740] rkvdec2_init:1010: No niu aclk reset resource define [ 11.126744] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found! [ 11.126747] rkvdec2_init:1013: No niu hclk reset resource define [ 11.128444] mpp_iommu_probe:434: failed to get device node [ 11.128448] mpp_av1dec av1d-master: failed to attach iommu [ 11.666758] rk806 spi2.0: no sleep-setting state [ 11.671377] rk806 spi2.0: no reset-setting pinctrl state [ 11.676680] rk806 spi2.0: no dvs-setting pinctrl state [ 11.889706] tinker-mcu: send_cmds: send command failed, ret = -6, retry again! [ 11.897062] tinker-mcu: send_cmds: send command failed, ret = -6, retry again! [ 11.904409] tinker-mcu: send_cmds: send command failed, ret = -6, retry again! [ 11.911758] tinker-mcu: send_cmds: send command failed, ret = -6, retry again! [ 11.919105] tinker-mcu: send_cmds: send command failed, ret = -6, retry again! [ 11.926316] tinker-mcu: send_cmds: send command failed [ 11.931446] tinker-mcu: tinker_mcu_probe: init_cmd_check failed, -6 [ 12.501950] tinker-ft5406: tinker_ft5406_probe: wait connected timeout [ 12.520585] : terminal subdev does not exist [ 12.524858] : terminal subdev does not exist [ 12.529120] : terminal subdev does not exist [ 12.533383] : terminal subdev does not exist [ 12.537647] : get_remote_sensor: video pad[0] is null [ 12.542691] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed! [ 12.549901] : get_remote_sensor: video pad[0] is null [ 12.554943] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed! [ 12.562160] : get_remote_sensor: video pad[0] is null [ 12.567204] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed! [ 12.574416] : get_remote_sensor: video pad[0] is null [ 12.579458] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed! [ 12.587879] rockchip-mipi-csi2: Async registered subdev [ 12.657092] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active. [ 12.667892] debugfs: File 'Capture' in directory 'dapm' already present! [ 12.690795] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present! [ 13.023688] debugfs: File 'Left Hp mixer' in directory 'dapm' already present! [ 13.030902] debugfs: File 'Right Hp mixer' in directory 'dapm' already present! [ 13.038198] debugfs: File 'HPCP L' in directory 'dapm' already present! [ 13.044797] debugfs: File 'HPCP R' in directory 'dapm' already present! [ 13.051402] debugfs: File 'HPVOL L' in directory 'dapm' already present! [ 13.058088] debugfs: File 'HPVOL R' in directory 'dapm' already present! [ 13.066273] ov5648 8-0036: could not get default pinstate [ 13.071667] ov5648 8-0036: could not get sleep pinstate [ 13.079716] ov5648 8-0036: Unexpected sensor id(000000), ret(-5) [ 13.086769] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed! [ 13.095900] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed! [ 13.105015] rkcif-mipi-lvds2: There is not terminal subdev, not synchronized with ISP [ 13.112896] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed! [ 13.113084] rockchip_headset rk-headset: Can not read property headset_gpio [ 13.122014] rkcif-mipi-lvds2: There is not terminal subdev, not synchronized with ISP [ 13.137989] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff] [ 13.146511] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff] [ 13.155020] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff] [ 13.167187] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present! [ 13.198264] RKNPU fdab0000.npu: failed to find power_model node [ 13.204174] RKNPU fdab0000.npu: RKNPU: failed to initialize power model [ 13.210775] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient wait for device. AT2Y1B wait for external disk device.. Kingston 20+0 records in 20+0 records out 20971520 bytes (21 MB, 20 MiB) copied, 0.186213 s, 113 MB/s Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that the previous content won't be recoverable. The number of cylinders for this disk is set to 946944. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): Partition type p primary partition (1-4) e extended Partition number (1-4): First sector (16-60604415, default 16): Using default value 16 Last sector or +size{,K,M,G,T} (16-60604415, default 60604415): Command (m for help): Selected partition 1 Hex code (type L to list codes): Changed system type of partition 1 to b (Win95 FAT32) Command (m for help): Partition type p primary partition (1-4) e extended Partition number (1-4): First sector (1048592-60604415, default 1048592): Using default value 1048592 Last sector or +size{,K,M,G,T} (1048592-60604415, default 60604415): Using default value 60604415 Command (m for help): The partition table has been altered. Calling ioctl() to re-read partition table mkfs.fat 4.2 (2021-01-31) fatlabel: warning - lowercase labels might not work properly on some systems total 205M -rwxr-xr-x 1 0 0 37M Jul 31 2023 Image -rwxr-xr-x 1 0 0 176 Jun 13 2023 cmdline.txt -rwxr-xr-x 1 0 0 68 Jul 31 2023 config.txt drwxr-xr-x 2 0 0 4.0K Jun 19 2023 extlinux -rwxr-xr-x 1 0 0 8.4M Jun 13 2023 initrd.img -rwxr-xr-x 1 0 0 6.0M Jun 19 2023 logo.bmp -rwxr-xr-x 1 0 0 6.0M Jun 19 2023 logo_kernel.bmp -rwxr-xr-x 1 0 0 136M Jun 13 2023 modules.tar.gz -rwxr-xr-x 1 0 0 140K Jul 31 2023 rk3588s-cp4-dsi.dtb -rwxr-xr-x 1 0 0 140K Jul 31 2023 rk3588s-cp4-sfc.dtb -rwxr-xr-x 1 0 0 140K Jul 31 2023 rk3588s-cp4.dtb -rwxr-xr-x 1 0 0 13M Jul 31 2023 vmlinuz mke2fs 1.46.5 (30-Dec-2021) Discarding device blocks: done Creating filesystem with 7444478 4k blocks and 1864128 inodes Filesystem UUID: e42c8656-d1a3-40b1-85a8-2ddce3913d78 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done e2fsck 1.46.5 (30-Dec-2021) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information writable: 11/1864128 files (0.0% non-contiguous), 161057/7444478 blocks resize2fs 1.46.5 (30-Dec-2021) The filesystem is already 7444478 (4k) blocks long. Nothing to do! 1.6GiB 0:00:54 [29.8MiB/s] [================================> ] 99% Complete install... please remove udisk for next booting auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... auto poweroff system later when you plugout udisk... udisk have been removed.Now poweroff system... [ 136.856307] reboot: Power down
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@jugg
https://wiki.cool-pi.com/en/home/quick_start
参考loader更新方法U盘你格式化一次,拷贝uboot.img到U盘
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@jugg 你升级下最新的loader,再试下上下两个U3有没有改善。我们测试用闪迪/金士顿 U3 U盘,也试过部分移动硬盘,可以识别加载
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@jugg said in Cool pi 4B & CM5 探索快速安装系统新方法:
@大法师
安装U盘和备份U盘都可以用
刚做好的安装U盘是可以刷系统 就是安装镜像里面的系统
备份u盘是可以备份系统 backup可以备份出系统
但是把备份U盘中backup文件夹的内容 拷贝到安装u盘的install文件夹中
安装U盘不能还原系统你的U盘有几个,什么型号的,是概率识别?
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@jugg 同一个U盘,断电重启,插U3下面一个或上面一个端口
starting USB... Bus usb@fc880000: USB EHCI 1.00 scanning bus usb@fc880000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found
观察能否扫描到存储设备
-
RE: openKylin 1.0版本发布(里程碑)
@shaq clean自己输入了,没集成到脚本。一般make clean; make distclean等等
-
RE: Cool pi 4B & CM5 探索快速安装系统新方法
@jugg said in Cool pi 4B & CM5 探索快速安装系统新方法:
@jack_admin
usb3.0的下口
这个U盘 进板子的系统能识别你再试试,没道理备份能用,安装能用,还原也是安装的过程
-
RE: CM5如何安装网卡驱动?
@Jachyn 内核配置增加CONFIG_PCI_IOV,还有其他的根据相应的symbol查找。
另外发现内核带有一个版本的驱动,你可以试下配置编译试试
drivers/net/ethernet/mellanox/ ├── Kconfig ├── Makefile ├── mlx4 ├── mlx5 ├── mlxfw └── mlxsw 4 directories, 2 files
-
RE: CM5如何安装网卡驱动?
@Jachyn
mlx5_core: version magic '5.10.110 SMP preempt mod_unload aarch64' should be '5.10.110 SMP mod_unload aarch64'- modinfo mlx5相关的ko驱动文件
- 内核更改配置为抢占模式,编译替换
-
cool pi 4b & CM5 linux system support compile u-boot
step1
https://github.com/yanyitech/ubuntu.git
coolpi@coolpi:~$ git clone https://github.com/yanyitech/ubuntu.git -b basic
step2
coolpi@coolpi:~$ cd ubuntu coolpi@coolpi:~/ubuntu$ ./setup.sh *************************************************** Select Ubuntu or Debian Version: 1. Ubuntu18.04 32bit armhf 2. Ubuntu18.04 64bit arm64 3. Ubuntu20.04 32bit armhf 4. Ubuntu20.04 64bit arm64 5. Ubuntu22.04 32bit armhf 6. Ubuntu22.04 64bit arm64 7. Ubuntu23.04 32bit armhf 8. Ubuntu23.04 64bit arm64 9. Debian12 32bit armhf 10. Debian12 64bit arm64 11. Debian11 32bit armhf 12. Debian11 64bit arm64 13. Debian10 32bit armhf 14. Debian10 64bit arm64 15. Ubuntu22.04 64bit amd64 q. Quit Which version select[1-15]:15 *************************************************** Select rebuild or update root filesystem: 1. Clean and rebuild 2. Only mount and enter 3. Quit Which Operate select[1-3]:1
Wait for building process.
step 3
coolpi@coolpi:~/ubuntu$ ./setup.sh *************************************************** Select Ubuntu or Debian Version: 1. Ubuntu18.04 32bit armhf 2. Ubuntu18.04 64bit arm64 3. Ubuntu20.04 32bit armhf 4. Ubuntu20.04 64bit arm64 5. Ubuntu22.04 32bit armhf 6. Ubuntu22.04 64bit arm64 7. Ubuntu23.04 32bit armhf 8. Ubuntu23.04 64bit arm64 9. Debian12 32bit armhf 10. Debian12 64bit arm64 11. Debian11 32bit armhf 12. Debian11 64bit arm64 13. Debian10 32bit armhf 14. Debian10 64bit arm64 15. Ubuntu22.04 64bit amd64 q. Quit Which version select[1-15]:15 *************************************************** Select rebuild or update root filesystem: 1. Clean and rebuild 2. Only mount and enter 3. Quit Which Operate select[1-3]: 2 root@coolpi:/# git clone https://github.com/yanyitech/coolpi-loader.git Cloning into 'coolpi-loader'... remote: Enumerating objects: 557573, done. remote: Counting objects: 100% (3175/3175), done. remote: Compressing objects: 100% (1964/1964), done. ...
-
RE: CM5如何安装网卡驱动?
@Jachyn said in CM5如何安装网卡驱动?:
coolpi@coolpi:~/Desktop$ sudo /etc/init.d/mlnx-en.d restart Unloading NIC driver: [ OK ] Loading Mellanox MLX5 NIC driver: [FAILED] Loading NIC driver: [FAILED] Please run /usr/sbin/sysinfo-snapshot.py to collect the debug information and open an issue in the http://support.mellanox.com/SupportWeb/service_center/SelfService
执行这个之后,系统日志输出(dmesg)分析下错误原因。