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

    Firefox deb version freezed when try to play video

    Scheduled Pinned Locked Moved PI CM5 Laptop
    31 Posts 3 Posters 2.1k 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.
    • plumlisP
      plumlis @george
      last edited by plumlis

      @george

      Already did. Seems it doesn't work.

      $./build-uboot.sh cm5-notebook
      
      ## make rk3588_coolpicm5_notebook_defconfig -j16
      #
      # configuration written to .config
      #
      scripts/kconfig/conf  --silentoldconfig Kconfig
        CHK     include/config.h
        CFG     u-boot.cfg
        GEN     include/autoconf.mk.dep
        CFG     spl/u-boot.cfg
        CFG     tpl/u-boot.cfg
        GEN     spl/include/autoconf.mk
        GEN     include/autoconf.mk
        GEN     tpl/include/autoconf.mk
        CHK     include/config/uboot.release
        CHK     include/generated/timestamp_autogenerated.h
        UPD     include/generated/timestamp_autogenerated.h
        CHK     include/config.h
        CFG     u-boot.cfg
        CHK     include/generated/version_autogenerated.h
        CHK     include/generated/generic-asm-offsets.h
        CHK     include/generated/asm-offsets.h
        HOSTCC  tools/mkenvimage.o
        HOSTCC  tools/fit_image.o
        HOSTCC  tools/image-host.o
        HOSTCC  tools/dumpimage.o
        HOSTCC  tools/mkimage.o
        HOSTCC  tools/rockchip/boot_merger.o
        HOSTCC  tools/rockchip/loaderimage.o
        HOSTLD  tools/loaderimage
      tools/rockchip/boot_merger.c: In function ‘mergeBoot’:
      tools/rockchip/boot_merger.c:700:43: warning: ‘%s’ directive output may be truncated writing up to 813 bytes into a region of size 5 [-Wformat-truncation=]
        700 |         snprintf(buffer, sizeof(buffer), "%s", chip);
            |                                           ^~
      ......
        742 |                 chipType = convertChipType(chip + 2);
            |                            ~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/stdio.h:980,
                       from ././include/compiler.h:25,
                       from <command-line>:
      In function ‘snprintf’,
          inlined from ‘convertChipType’ at tools/rockchip/boot_merger.c:700:2,
          inlined from ‘getChipType’ at tools/rockchip/boot_merger.c:742:14,
          inlined from ‘getBoothdr’ at tools/rockchip/boot_merger.c:761:18,
          inlined from ‘mergeBoot’ at tools/rockchip/boot_merger.c:830:2:
      /usr/include/aarch64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output between 1 and 814 bytes into a destination of size 5
         54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         55 |                                    __glibc_objsize (__s), __fmt,
            |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         56 |                                    __va_arg_pack ());
            |                                    ~~~~~~~~~~~~~~~~~
      In function ‘wide2str’,
          inlined from ‘unpackBoot’ at tools/rockchip/boot_merger.c:955:3,
          inlined from ‘main’ at tools/rockchip/boot_merger.c:1072:8:
      tools/rockchip/boot_merger.c:895:18: warning: array subscript 20 is outside array bounds of ‘char[20]’ [-Warray-bounds=]
        895 |         str[len] = 0;
            |         ~~~~~~~~~^~~
      tools/rockchip/boot_merger.c: In function ‘main’:
      tools/rockchip/boot_merger.c:933:14: note: at offset 20 into object ‘name’ of size 20
        933 |         char name[MAX_NAME_LEN];
            |              ^~~~
        HOSTLD  tools/boot_merger
        HOSTLD  tools/mkenvimage
        HOSTLD  tools/dumpimage
        HOSTLD  tools/mkimage
        CC      arch/arm/cpu/armv8/fwcall.o
        CC      common/main.o
        LD      arch/arm/cpu/armv8/built-in.o
        CC      cmd/version.o
        LD      common/built-in.o
        CC      lib/display_options.o
        LD      cmd/built-in.o
        LD      lib/built-in.o
        LD      u-boot
      /usr/bin/aarch64-linux-gnu-ld.bfd: warning: u-boot has a LOAD segment with RWX permissions
        OBJCOPY u-boot.srec
        OBJCOPY u-boot-nodtb.bin
        SYM     u-boot.sym
      make[2]: 'arch/arm/dts/rk3588-cp5-x8.dtb' is up to date.
        COPY    u-boot.dtb
      start=$(/usr/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(/usr/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00200000 $start $end
        CAT     u-boot-dtb.bin
        MKIMAGE u-boot.img
        MKIMAGE u-boot-dtb.img
        COPY    u-boot-dtb-kern.bin
        ALIGN   u-boot-dtb-kern.bin
        CAT     u-boot.bin
        CC      spl/common/spl/spl.o
        CC      spl/arch/arm/cpu/armv8/fwcall.o
        COPY    spl/u-boot-spl.dtb
        CC      tpl/arch/arm/cpu/armv8/fwcall.o
        LD      spl/arch/arm/cpu/armv8/built-in.o
        CC      tpl/arch/arm/mach-rockchip/tpl.o
        LD      tpl/arch/arm/cpu/armv8/built-in.o
        CC      spl/lib/display_options.o
        LD      tpl/arch/arm/mach-rockchip/built-in.o
        LD      spl/common/spl/built-in.o
        LD      spl/lib/built-in.o
        LD      tpl/u-boot-tpl
      /usr/bin/aarch64-linux-gnu-ld.bfd: warning: u-boot-tpl has a LOAD segment with RWX permissions
        OBJCOPY tpl/u-boot-tpl-nodtb.bin
        COPY    tpl/u-boot-tpl.bin
        LD      spl/u-boot-spl
      /usr/bin/aarch64-linux-gnu-ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions
        OBJCOPY spl/u-boot-spl-nodtb.bin
        CAT     spl/u-boot-spl-dtb.bin
        COPY    spl/u-boot-spl.bin
        CFGCHK  u-boot.cfg
      ERROR: No python2
      
      $ python
      Python 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      >>>
      

      blog: https://plumz.me

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

        @plumlis
        The following is what I have compiled and can be used directly.
        RKDevTool_v3.13_for_window.rar

        plumlisP 1 Reply Last reply Reply Quote 0
        • plumlisP
          plumlis @george
          last edited by

          @george thanks.
          The only way to upgrade uboot is following this guide?

          https://forum.cool-pi.com/topic/162/how-to-upgrade-the-boot-loader-of-coolpi-4b

          short two pins and conect to PC to upgrade loader?

          blog: https://plumz.me

          G 2 Replies Last reply Reply Quote 0
          • G
            george @plumlis
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • G
              george @plumlis
              last edited by

              @plumlis
              Follow the steps below to operate:
              1.USB cable for TYPEC interface and X86 computer connection
              2. Run sudo reboot loader on the shell,The machine will enter loader mode, as shown in the following figure
              5e3d1ba5-2459-4105-966b-4570d4140858-image.png
              3. Click on the tool to force entry into maskrom mode
              7271eb57-2764-453b-9d4c-6e8313dcb120-image.png
              f26341ce-ce2a-4558-b97a-9743252d5b71-image.png
              4. Check the option to force writing by address
              5bd48d63-e5e9-406c-a7c1-fab579cac9a4-image.png
              5. Burning, the machine will automatically restart after completion
              71627684-e4fb-46ef-8312-7786a12a575f-image.png

              plumlisP 1 Reply Last reply Reply Quote 0
              • plumlisP
                plumlis @george
                last edited by

                @george Nice, I'll try it.

                Btw I finally figured out why my USB Disk can't boot up.

                The the fedora image you gave me have Boot up info in cmdline like this:

                rootfs=LABLE=writable

                And my EMMC also has a parttion labled writable(dafault).

                So actually it booted up from usb disk, but set writable lable on emmc as root, So I boot back to my ubuntu. That mislanding me ths USB disk can't be boot up.

                I changed to rootfs=UUID=(my usb disk UUID). And I can boot into fedora image now.

                blog: https://plumz.me

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

                  @plumlis
                  You can change the EMMC label to writable1 or another name.

                  1 Reply Last reply Reply Quote 0
                  • plumlisP
                    plumlis
                    last edited by

                    Upgrade finished, Seems boot up speed much faster than before.

                    Will play around with fedora image.

                    BTW I compiled kernel 6.1 from github https://github.com/yanyitech/coolpi-kernel kernel 6.1 branch and It can't boot up.

                    Hope new kernel will come soon.

                    Many thanks for your help.

                    blog: https://plumz.me

                    1 Reply Last reply Reply Quote 0
                    • plumlisP
                      plumlis
                      last edited by

                      Just uncheck "Use recommended performance settings" and "Use hardware acceleration when available" in Firefox settings will fix this issue.

                      But also will have no GPU acceleration.

                      blog: https://plumz.me

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

                        @plumlis
                        FFmpeg can be changed to a native package. Or using the Chromium browser, the decoding issue of this player has been bothering us for a long time. Take some time later to focus on solving it.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post