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

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

    Scheduled Pinned Locked Moved Maker
    147 Posts 11 Posters 16.4k 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.
    • E
      edwardzhou
      last edited by

      最近一直在用这个方法,非常太好用太方便了。

      我对上面的备份安装放在同一个U盘实现的方法,做了一些改进,通过启动菜单选择 备份 还是 安装, 比每次去改 initrd.img 要方便很多。

      步骤1. 编辑 /extlinux/extlinux.conf 如下

      menu title Select the boot mode
      TIMEOUT 60
      default Linux coolpi backup
      
      label Linux coolpi backup
      	kernel /Image
      	initrd /initrd-backup.img
      	fdt    /rk3588s-cp4.dtb
      	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
      
      label Linux coolpi install
      	kernel /Image
      	initrd /initrd-install.img
      	fdt    /rk3588s-cp4.dtb
      	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
      
      

      步骤2, 把 install 中的 initrd.img 复制过来,并改名为 initrd-install.img

      步骤3, 把 backup 中的 initrd.img 复制过来,并改名为 initrd-backup.img

      U盘查到板子上,上电启动。
      你局可以看到菜单

      Capacity: 30436.5 MB = 29.7 GB (62333952 x 512)
      ... is now current device
      Scanning usb 0:1...
      Found /extlinux/extlinux.conf
      Retrieving file: /extlinux/extlinux.conf
      reading /extlinux/extlinux.conf
      629 bytes read in 39 ms (15.6 KiB/s)
      Select the boot mode
      1:	Linux coolpi backup
      2:	Linux coolpi install
      Enter choice:
      

      输入1 或 2 回车即可,默认是1, 60秒无输入,则自动启动backup

      X 大法师大 2 Replies Last reply Reply Quote 1
      • E
        edwardzhou @AugustRobot_Zou
        last edited by

        @AugustRobot_Zou 我一直插的是USB3.0的上面的端口,能正常启动。

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

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

          @AugustRobot_Zou 我一直插的是USB3.0的上面的端口,能正常启动。

          你的主板刷了新版本的loader

          A 1 Reply Last reply Reply Quote 0
          • X
            xingzhan2012 @edwardzhou
            last edited by

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

            console=ttyS0

            我没有接串口,console=ttyS0,没有跳出选择菜单

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

              @xingzhan2012 loader阶段选择是在串口上操作

              1 Reply Last reply Reply Quote 0
              • A
                AugustRobot_Zou @jack_admin
                last edited by

                @jack_admin 我有个疑问,我用SD卡部署的系统,做好安装盘。然后能在EMMC卡上自动安装吗?
                我理解应该不行吧?SD和EMMC的block名字不一样,还是说安装脚本会自动识别修改

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

                  @AugustRobot_Zou 通过u盘方式可以按优先级自动安装

                  1 Reply Last reply Reply Quote 0
                  • W
                    wuming
                    last edited by

                    进入ubuntu的默认密码是什么?

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

                      @wuming coolpi/coolpi

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

                        @大法师 我把console=tty0改成了ttyS0,115200n81,但是串口还是没有输出调试信息

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

                          @Twsuts 主板是4B还是CM5,串口启动信息发一个

                          jack@cool-pi.com

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

                            usb cable 2.0的就行了吧

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

                              @jugg 可以的

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

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • J
                                  jugg @大法师
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jugg
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jugg
                                      last edited by

                                      628172c3-9c48-4941-89a0-39b1913ebef9-image.png
                                      这里这么多镜像
                                      到底怎么用
                                      用哪个

                                      我刷了
                                      42b341fd-f64f-4ee0-876a-0cc8563a44a1-image.png

                                      打不开啊
                                      c3d9a111-3bf2-4070-8a73-6e0be7ad7bc7-image.png

                                      怎么备份?怎么还原?能不能描述清楚
                                      备份是备份emmc的所以还是只备份了文件系统

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

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

                                        最近一直在用这个方法,非常太好用太方便了。

                                        我对上面的备份安装放在同一个U盘实现的方法,做了一些改进,通过启动菜单选择 备份 还是 安装, 比每次去改 initrd.img 要方便很多。

                                        步骤1. 编辑 /extlinux/extlinux.conf 如下

                                        menu title Select the boot mode
                                        TIMEOUT 60
                                        default Linux coolpi backup
                                        
                                        label Linux coolpi backup
                                        	kernel /Image
                                        	initrd /initrd-backup.img
                                        	fdt    /rk3588s-cp4.dtb
                                        	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
                                        
                                        label Linux coolpi install
                                        	kernel /Image
                                        	initrd /initrd-install.img
                                        	fdt    /rk3588s-cp4.dtb
                                        	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
                                        
                                        

                                        步骤2, 把 install 中的 initrd.img 复制过来,并改名为 initrd-install.img

                                        步骤3, 把 backup 中的 initrd.img 复制过来,并改名为 initrd-backup.img

                                        U盘查到板子上,上电启动。
                                        你局可以看到菜单

                                        Capacity: 30436.5 MB = 29.7 GB (62333952 x 512)
                                        ... is now current device
                                        Scanning usb 0:1...
                                        Found /extlinux/extlinux.conf
                                        Retrieving file: /extlinux/extlinux.conf
                                        reading /extlinux/extlinux.conf
                                        629 bytes read in 39 ms (15.6 KiB/s)
                                        Select the boot mode
                                        1:	Linux coolpi backup
                                        2:	Linux coolpi install
                                        Enter choice:
                                        

                                        输入1 或 2 回车即可,默认是1, 60秒无输入,则自动启动backup

                                        可以参考 edwardzhou 整理的内容
                                        @jugg

                                        jack@cool-pi.com

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

                                          @大法师
                                          根本就还原不了 各种问题

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

                                            f7b006ea-46d7-4129-878e-89e9dd64a829-image.png
                                            这就是还原出来的系统 两次都这样 根本启动不了

                                            大法师大 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 2 / 8
                                            • First post
                                              Last post