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

    How to upgrade the boot loader of coolpi 4b?

    Scheduled Pinned Locked Moved Pi 4B
    10 Posts 6 Posters 1.3k 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.
    • G
      george
      last edited by george

      If you need to boot armbian normally, you need to update the loader file to version 0104.

      Follow the steps below to update the loader:

      • Download the latest loader file One Drive
        ![5594e1d4-3a7b-46fc-a7b5-2a9fe418dfc0-image.png]
        b03e7436-83de-4ad3-870c-f23a3d057f4d-image.png

      • Short the 2 pins shown by the arrow.
        484cb5bd-12d1-48ed-87f6-0756e04cc019-image.png

      • The USB interface and computer connection.
        2cd71480-ce1c-422c-acb2-501d266d276e-image.png

      • Plug in the power supply and open the upgrade software. The machine enters the maskrom upgrade mode.
        5ab7434e-30a8-4e2d-aa7e-8d613d21256f-image.png

      • choose to write by address
        96f556fc-ab5d-4c4e-a808-b4ca035d4268-image.png

      • Click Execute to complete the loader update.
        909c4f7c-b55a-4e2a-9c5b-af56d097eb01-image.png

      • If the computer prompts that the USB driver cannot be found, please download and install the driver software first.One Drive
        61903b37-cd70-4a57-af0e-93e0d43ea004-image.png

      R Z 2 Replies Last reply Reply Quote 1
      • G george referenced this topic on
      • R
        reddfoxx @george
        last edited by

        @george Could you give some guidance on what type of USB cable is needed?

        G 1 Reply Last reply Reply Quote 0
        • G
          george @reddfoxx
          last edited by

          @reddfoxx Refer to attachment link:
          https://www.aliexpress.us/item/3256803830903295.html?spm=a2g0o.productlist.main.51.2d623ca45F44fO&algo_pvid=370776b3-bc3a-44b3-b469-07b7abd5eb71&algo_exp_id=370776b3-bc3a-44b3-b469-07b7abd5eb71-25&pdp_ext_f={"sku_id"%3A"12000027750691599"}&pdp_npi=2%40dis!USD!0.17!0.13!!!!!%40212244c416739165017785791d0685!12000027750691599!sea&curPageLogUid=LiqQEObfPtMi

          1 Reply Last reply Reply Quote 0
          • G george referenced this topic on
          • Z
            zensation @george
            last edited by

            @george I did this procedure and now my board wont boot from my emmc module or from usb. maybe it wont boot at all. is there a fix?

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

              @zensation
              please connect uart cable and attache console print message info.

              jack@cool-pi.com

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

                @大法师

                =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2023.05.17 09:56:49 =~=~=~=~=~=~=~=~=~=~=~=
                DDR V1.09 a930779e06 typ 22/11/21-17:50:56
                LPDDR4X, 2112MHz
                channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
                channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
                channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
                channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
                Manufacturer ID:0x6
                CH0 RX Vref:28.7%, TX Vref:24.8%,0.0%
                CH1 RX Vref:29.7%, TX Vref:24.8%,0.0%
                CH2 RX Vref:30.7%, TX Vref:22.8%,0.0%
                CH3 RX Vref:28.7%, TX Vref:24.8%,0.0%
                change to F1: 528MHz
                change to F2: 1068MHz
                change to F3: 1560MHz
                change to F0: 2112MHz
                out
                INFO: Preloader serial: 2
                NOTICE: BL31: v2.3():v2.3-481-g17b41886e:derrick.huang
                NOTICE: BL31: Built : 16:20:07, Dec 7 2022
                INFO: spec: 0x13
                INFO: ext 32k is not valid
                INFO: ddr: stride-en 4CH
                INFO: GICv3 without legacy support detected.
                INFO: ARM GICv3 driver initialized in EL3
                INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
                INFO: system boots from cpu-hwid-0
                INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
                INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
                INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
                INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
                INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
                INFO: BL31: Initialising Exception Handling Framework
                INFO: BL31: Initializing runtime services
                INFO: BL31: Initializing BL32
                INFO: hdmirx_handler: dma not on, ret
                I/TC:
                I/TC: OP-TEE version: 3.13.0-652-g4542e1efd #derrick.huang (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #5 2022年 09月 20日 星期二 09:41:09 CST aarch64
                I/TC: Primary CPU initializing
                I/TC: Primary CPU switching to normal world boot
                INFO: BL31: Preparing for EL3 exit to normal world
                INFO: Entry point address = 0x200000
                INFO: SPSR = 0x3c9

                COOLPI LOADER BY YANYI(Apr 11 2023)

                DRAM: 4 GiB
                Using default environment

                0 2 1 3 6 8 7 9 hdmi@fde80000 disconnected
                Autoboot in 1 seconds
                i2c read err!
                i2c read err!
                i2c read err!
                i2c read err!
                i2c read err!
                can't get edid block:0
                failed to get edid
                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: hdmi1_phy_pll may not define
                hdptx_ropll_cmn_config bus_width:16a8c8 rate:1485000
                hdptx phy pll locked!
                VP0 set crtc_clock to 1485KHz
                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 phy lane locked!
                dw_hdmi_setup HDMI mode
                don't use dsc mode
                dw hdmi qp use tmds mode
                starting USB...
                Bus usb@fc000000: usb maximum-speed not found
                trsv ln0 mon rx cdr lock timeout
                Register 2000140 NbrPorts 2
                Starting the controller
                USB XHCI 1.10
                Bus usb@fc880000: USB EHCI 1.00
                Bus usb@fcd00000: usb maximum-speed not found
                Register 2000140 NbrPorts 2
                Starting the controller
                USB XHCI 1.10
                scanning bus usb@fc000000 for devices... cannot reset port 1!?
                WARN: interface 0 has 6 endpoint descriptor, different from the interface descriptor's value: 2
                2 USB Device(s) found
                scanning bus usb@fc880000 for devices... 1 USB Device(s) found
                scanning bus usb@fcd00000 for devices... 1 USB Device(s) found
                scanning usb for storage devices... 1 Storage Device(s) found

                Device 0: Vendor: Samsung Rev: RVT2 Prod: SSD 860 EVO
                Type: Hard Disk
                Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
                ... is now current device
                Scanning usb 0:1...
                MMC: no card present
                mmc_init: -123, time 2
                Card did not respond to voltage select!
                mmc_init: -95, time 16
                Loading order: usb - tf - emmc
                bank id invalid
                request for 141 failed:-22
                bank id invalid
                request for 141 failed:-22
                resetting USB...
                Bus usb@fc000000: usb maximum-speed not found
                trsv ln0 mon rx cdr lock timeout
                Register 2000140 NbrPorts 2
                Starting the controller
                USB XHCI 1.10
                Bus usb@fc880000: USB EHCI 1.00
                Bus usb@fcd00000: usb maximum-speed not found
                Register 2000140 NbrPorts 2
                Starting the controller
                USB XHCI 1.10
                scanning bus usb@fc000000 for devices... WARN: interface 0 has 6 endpoint descriptor, different from the interface descriptor's value: 2
                2 USB Device(s) found
                scanning bus usb@fc880000 for devices... 1 USB Device(s) found
                scanning bus usb@fcd00000 for devices... 1 USB Device(s) found
                scanning usb for storage devices... 1 Storage Device(s) found
                reading cmdline.txt
                reading config.txt
                reading /vmlinuz
                12944981 bytes read in 610 ms (20.2 MiB/s)
                reading /initrd.img
                8775086 bytes read in 419 ms (20 MiB/s)
                reading /rk3588s-cp4.dtb
                139959 bytes read in 38 ms (3.5 MiB/s)
                Uncompressed size: 36805120 = 0x2319A00

                Flattened Device Tree blob at 0x17000000

                Booting using the fdt blob at 0x17000000
                Loading Ramdisk to eb178000, end eb9d65ae ... OK
                Loading Device Tree to 00000000eb152000, end 00000000eb1772b6 ... OK
                Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
                Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
                Adding bank: 0x1f0000000 - 0x200000000 (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
                [ 15.175309] rk-pcie fe190000.pcie: IRQ msi not found
                [ 15.175326] rk-pcie fe190000.pcie: Missing config reg space
                [ 15.175416] rk-pcie fe190000.pcie: Missing config reg space
                [ 15.175447] rk-pcie fe190000.pcie: invalid resource
                [ 15.178204] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
                [ 15.179392] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
                [ 15.179397] rkvdec2_init:707: No niu aclk reset resource define
                [ 15.179401] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
                [ 15.179404] rkvdec2_init:710: No niu hclk reset resource define
                [ 15.179940] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found!
                [ 15.179944] rkvdec2_init:707: No niu aclk reset resource define
                [ 15.179948] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found!
                [ 15.179950] rkvdec2_init:710: No niu hclk reset resource define
                [ 15.181731] mpp_iommu_probe:405: failed to get device node
                [ 15.181736] mpp_av1dec av1d-master: failed to attach iommu
                [ 15.308728] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.314246] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.319758] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.325274] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.330786] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.345752] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.351267] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.356779] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.362291] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.367802] dwhdmi-rockchip fde80000.hdmi: i2c read err!
                [ 15.446175] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy pll locked!
                [ 15.446416] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy lane locked!
                [ 15.707367] rk806 spi2.0: no sleep-setting state
                [ 15.711984] rk806 spi2.0: no reset-setting pinctrl state
                [ 15.717289] rk806 spi2.0: no dvs-setting pinctrl state
                [ 15.846322] rockchip-usbdp-phy fed80000.phy: trsv ln0 mon rx cdr lock timeout
                [ 16.064729] rockchip-mipi-csi2: Async registered subdev
                [ 16.134121] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
                [ 16.144586] debugfs: File 'Capture' in directory 'dapm' already present!
                [ 16.166139] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
                [ 16.500031] debugfs: File 'Left Hp mixer' in directory 'dapm' already present!
                [ 16.507238] debugfs: File 'Right Hp mixer' in directory 'dapm' already present!
                [ 16.514535] debugfs: File 'HPCP L' in directory 'dapm' already present!
                [ 16.521135] debugfs: File 'HPCP R' in directory 'dapm' already present!
                [ 16.527738] debugfs: File 'HPVOL L' in directory 'dapm' already present!
                [ 16.534425] debugfs: File 'HPVOL R' in directory 'dapm' already present!
                [ 16.542487] ov5648 8-0036: could not get default pinstate
                [ 16.547877] ov5648 8-0036: could not get sleep pinstate
                [ 16.556039] ov5648 8-0036: Unexpected sensor id(000000), ret(-5)
                [ 16.563294] rockchip_headset rk-headset: Can not read property headset_gpio
                [ 16.571579] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
                [ 16.580098] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
                [ 16.588608] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
                [ 16.600643] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
                [ 16.631627] RKNPU fdab0000.npu: failed to find power_model node
                [ 16.637538] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
                [ 16.644137] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient

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

                  @zensation make a new boot disk with newest image. also you can fuse system image to emmc through ums mode.

                  http://wiki.cool-pi.com

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    zensation @jack_admin
                    last edited by

                    @jack_admin i used the most recent debian image on the drive linked here. i burned the image to 2 diferent usb drives. they are nvme ssd's connected over usb. this method works on my other raspberry pi-like sbc's just not the cool-pi

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

                      Since I upgraded my PC to Win11, the RKDevTool always cannot find the device of coolpi-4b.
                      Does the RKDevTool support Win11?
                      Or could I upgrade the boot loader of coolpi-4b in ubuntu environment?

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

                        @AugustRobot_Zou said in How to upgrade the boot loader of coolpi 4b?:

                        Since I upgraded my PC to Win11, the RKDevTool always cannot find the device of coolpi-4b.
                        Does the RKDevTool support Win11?
                        Or could I upgrade the boot loader of coolpi-4b in ubuntu environment?

                        https://www.cool-pi.com/topic/47/coolpi-4b-bootloader命令行升级方法

                        用这个办法升级成功,避开RKDevTool 在win11驱动问题

                        1 Reply Last reply Reply Quote 1
                        • plumlisP plumlis referenced this topic on
                        • 1 / 1
                        • First post
                          Last post