• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    Cool pi 4B & CM5 探索快速安装系统新方法

    Scheduled Pinned Locked Moved Maker
    147 Posts 11 Posters 16.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jack_admin @jugg
      last edited by

      @jugg 可以试下把你本地内核源码目录,编译生成的Image、dtb文件拷贝到U盘(U盘 根目录 install盘或backup盘)

      J 2 Replies Last reply Reply Quote 0
      • J
        jugg @jack_admin
        last edited by

        @jack_admin 没用 刷了 还是进不去

        1 Reply Last reply Reply Quote 0
        • J
          jugg @jack_admin
          last edited by

          @jack_admin
          有没有一个靠谱的方法备份、还原系统?

          1 Reply Last reply Reply Quote 0
          • 大法师大
            大法师
            last edited by 大法师

            这个方法我一直在用,没遇到你说的现象。U盘多大容量,需要备份的系统有多大,系统还原异常的完整log输出一份

            jack@cool-pi.com

            J 1 Reply Last reply Reply Quote 0
            • J
              jugg @大法师
              last edited by

              @大法师
              U盘16G 备份的系统3个G不到
              这个就是备份盘 备份出来的backup文件夹的内容
              0cf2f974-94fd-402b-a83c-5534aac63be4-image.png

              串口输出

              COOLPI LOADER BY YANYI(Jan 04 2023)
              
              DRAM:  8 GiB
              Using default environment
              
              0 2 1 3 6 8 7 9 trsv ln0 mon rx cdr lock timeout
              dp@fde50000 disconnected
              Monitor has basic audio support
              hdmi info isn't saved in main block
              mode:1920x1080 bus_format:0x100a
              hdmi@fde80000:  detailed mode clock 148500 kHz, flags[5]
                  H: 1920 2008 2052 2200
                  V: 1080 1084 1089 1125
              bus_format: 100a
              VOP update mode to: 1920x1080p0, type: HDMI0 for VP0
              dclk:148500,if_pixclk_div;2,if_dclk_div:4
              rockchip_vop2_init: hdmi0_phy_pll may not define
              rockchip_vop2_init: hdmi1_phy_pll may not define
              assigned-clock-parents's node not define
              VP0 set crtc_clock to 148500KHz
              VOP VP0 enable Esmart0[356x124->356x124@782x478] fmt[1] addr[0xedf21000]
              CEA mode used vic=16
              mtmdsclock:148500000
              bus_width:0x16a8c8,bit_rate:1485000
              hdptx_ropll_cmn_config bus_width:16a8c8 rate:1485000
              hdptx phy pll locked!
              hdptx phy lane locked!
              dw_hdmi_setup HDMI mode
              don't use dsc mode
              dw hdmi qp use tmds mode
              Autoboot in 1 seconds
              trsv ln0 mon rx cdr lock timeout
              dp@fde50000 disconnected
              VOP VP0 enable Esmart0[356x124->356x124@782x478] fmt[1] addr[0xedf21000]
              starting USB...
              Bus usb@fc880000: USB EHCI 1.00
              scanning bus usb@fc880000 for devices... 2 USB Device(s) found
                     scanning usb for storage devices... 1 Storage Device(s) found
              
              Device 0: Vendor: Generic  Rev: 8.07 Prod: Flash Disk      
                          Type: Removable Hard Disk
                          Capacity: 30000.0 MB = 29.2 GB (61440000 x 512)
              ... is now current device
              Scanning usb 0:1...
              Found /extlinux/extlinux.conf
              Retrieving file: /extlinux/extlinux.conf
              reading /extlinux/extlinux.conf
              274 bytes read in 35 ms (6.8 KiB/s)
              1:	Linux coolpi
              Retrieving file: /initrd.img
              reading /initrd.img
              8913121 bytes read in 807 ms (10.5 MiB/s)
              Retrieving file: /Image
              reading /Image
              37706240 bytes read in 3478 ms (10.3 MiB/s)
              append: root=LABEL=writable rw rootfstype=ext4 console=tty0 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0 rtleth=ethaddr:d6:c9:c9:a0:cf:46
              Retrieving file: /rk3588s-cp4.dtb
              reading /rk3588s-cp4.dtb
              141838 bytes read in 47 ms (2.9 MiB/s)
              ## Flattened Device Tree blob at 0x0a100000
                 Booting using the fdt blob at 0x0a100000
                 Loading Ramdisk to eb154000, end eb9d40e1 ... OK
                 Loading Device Tree to 00000000eb12e000, end 00000000eb153a0d ... OK
              Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
              Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
              Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
              Adding bank: 0x2f0000000 - 0x300000000 (size: 0x10000000)
              
              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
              

              显示器输出
              5c627cb5-be0f-481a-bf2e-e94f366c8c24-lQDPJw74dWd2tbrNC9DND8CwtgQ9wjD5uyQEiOtafIAzAA_4032_3024.jpg

              我这备份出来的系统无法还原 我都试了很多次了

              大法师大 1 Reply Last reply Reply Quote 0
              • 大法师大
                大法师 @jugg
                last edited by

                @jugg backup文件夹的内容传一份私发我试下

                jack@cool-pi.com

                J 2 Replies Last reply Reply Quote 0
                • J
                  jugg @大法师
                  last edited by

                  @大法师
                  新做的安装盘可以刷系统
                  备份盘的backup更新到安装盘的install目录下 就刷不了系统 直接就进系统了
                  有没有详细操作过程 到底怎么操作才能保证能刷

                  1 Reply Last reply Reply Quote 0
                  • J
                    jugg @大法师
                    last edited by

                    @大法师
                    是不是新的系统备份出来的不能 旧的系统备份出来的才能还原
                    可以试试0613的系统备份出来的 能不能还原

                    大法师大 1 Reply Last reply Reply Quote 0
                    • 大法师大
                      大法师 @jugg
                      last edited by

                      @jugg 先确认安装U盘是否可用,备份U盘是否可用。用备份好的U盘,把backup目录文件拷贝到安装U盘install目录

                      jack@cool-pi.com

                      J 2 Replies Last reply Reply Quote 0
                      • J
                        jugg @大法师
                        last edited by

                        @大法师
                        安装U盘和备份U盘都可以用
                        刚做好的安装U盘是可以刷系统 就是安装镜像里面的系统
                        备份u盘是可以备份系统 backup可以备份出系统
                        但是把备份U盘中backup文件夹的内容 拷贝到安装u盘的install文件夹中
                        安装U盘不能还原系统

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jugg @大法师
                          last edited by

                          @大法师
                          是把backup整个文件夹拷贝到install文件夹内?

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jack_admin @jugg
                            last edited by

                            @jugg 只拷贝img文件和tar包。如果安装异常,发些log分析

                            J 2 Replies Last reply Reply Quote 0
                            • J
                              jugg @jack_admin
                              last edited by

                              @jack_admin
                              备份U盘的backup只生成了这些
                              2b7cd1ce-8036-432b-9a8d-f537c11d2f31-image.png
                              没有tar包

                              1 Reply Last reply Reply Quote 0
                              • J
                                jugg @jack_admin
                                last edited by

                                @jack_admin

                                COOLPI LOADER BY YANYI(Feb 22 2023)
                                
                                DRAM:  8 GiB
                                Using default environment
                                
                                switch to partitions #0, OK
                                mmc0(part 0) is current device
                                ** Unable to read file logo.bmp **
                                MMC: no card present
                                mmc_init: -123, time 2
                                MMC: no card present
                                mmc_init: -123, time 2
                                ** Bad device mmc 1 **
                                switch to partitions #0, OK
                                mmc0(part 0) is current device
                                ** Unable to read file logo.bmp **
                                MMC: no card present
                                mmc_init: -123, time 2
                                MMC: no card present
                                mmc_init: -123, time 2
                                ** Bad device mmc 1 **
                                0 2 1 3 6 8 7 9 trsv ln0 mon rx cdr lock timeout
                                dp@fde50000 disconnected
                                hdmi@fde80000 disconnected
                                Autoboot in 1 seconds
                                trsv ln0 mon rx cdr lock timeout
                                dp@fde50000 disconnected
                                hdmi@fde80000 disconnected
                                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
                                
                                Device 0: unknown device
                                MMC: no card present
                                mmc_init: -123, time 2
                                switch to partitions #0, OK
                                mmc0(part 0) is current device
                                Scanning mmc 0:1...
                                Found /extlinux/extlinux.conf
                                Retrieving file: /extlinux/extlinux.conf
                                reading /extlinux/extlinux.conf
                                285 bytes read in 4 ms (69.3 KiB/s)
                                1:	Linux coolpi
                                Retrieving file: /initrd.img
                                reading /initrd.img
                                8775086 bytes read in 51 ms (164.1 MiB/s)
                                Retrieving file: /Image
                                reading /Image
                                37706240 bytes read in 212 ms (169.6 MiB/s)
                                append: root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0 rtleth=ethaddr:7a:46:da:5f:3e:bd
                                Retrieving file: /rk3588s-cp4.dtb
                                reading /rk3588s-cp4.dtb
                                141838 bytes read in 5 ms (27.1 MiB/s)
                                ## Flattened Device Tree blob at 0x0a100000
                                   Booting using the fdt blob at 0x0a100000
                                   Loading Ramdisk to eb176000, end eb9d45ae ... OK
                                   Loading Device Tree to 00000000eb150000, end 00000000eb175a0d ... OK
                                switch to partitions #0, OK
                                mmc0(part 0) is current device
                                ** Unable to read file logo_kernel.bmp **
                                MMC: no card present
                                mmc_init: -123, time 2
                                MMC: no card present
                                mmc_init: -123, time 2
                                ** Bad device mmc 1 **
                                switch to partitions #0, OK
                                mmc0(part 0) is current device
                                ** Unable to read file logo_kernel.bmp **
                                MMC: no card present
                                mmc_init: -123, time 2
                                MMC: no card present
                                mmc_init: -123, time 2
                                ** Bad device mmc 1 **
                                Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
                                Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
                                Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
                                Adding bank: 0x2f0000000 - 0x300000000 (size: 0x10000000)
                                
                                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
                                
                                

                                插了安装U盘 还是直接进系统了

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  jack_admin @jugg
                                  last edited by

                                  @jugg 没识别到你插的U盘,直接启动emmc系统。你确认下U盘插的位置

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    jugg @jack_admin
                                    last edited by

                                    @jack_admin
                                    usb3.0的下口
                                    这个U盘 进板子的系统能识别

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      jack_admin @jugg
                                      last edited by

                                      @jugg said in Cool pi 4B & CM5 探索快速安装系统新方法:

                                      @jack_admin
                                      usb3.0的下口
                                      这个U盘 进板子的系统能识别

                                      你再试试,没道理备份能用,安装能用,还原也是安装的过程

                                      J 2 Replies Last reply Reply Quote 0
                                      • J
                                        jugg @jack_admin
                                        last edited by

                                        @jack_admin
                                        我已经试过很多次了

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jugg @jack_admin
                                          last edited by

                                          @jack_admin
                                          除了刚刚做好的安装U盘能刷系统外
                                          替换了install目录里面的文件 它就直接进系统了

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            jack_admin @jugg
                                            last edited by

                                            @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
                                            

                                            观察能否扫描到存储设备

                                            J 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 6 / 8
                                            • First post
                                              Last post