您尚未登录。

楼主 # 2022-03-14 21:38:41

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 311
积分: 354

Tiny_200 R3 uboot显示LOGO出现 Error: compression type 3 not supported

使用的mangPi R3 SDK 编译的,不能正常显示splash.bmp 
提示
Reading 524288 byte(s) (256 page(s)) at offset 0x00080000
Error: compression type 3 not supported

-Boot 2020.07 (Mar 13 2022 - 21:11:31 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Allwinner F1C100s Generic Device
DRAM:  64 MiB
MMC:   mmc@1c0f000: 0, mmc@1c10000: 1
Setting up a 800x480 lcd console (overscan 0x0)
In:    serial
Out:   serial
Err:   serial
Allwinner mUSB OTG (Peripheral)
Hit any key to stop autoboot:  0 
Card did not respond to voltage select!
Card did not respond to voltage select!
unrecognized JEDEC id bytes: ff, c8, 51
Failed to initialize SPI flash at 0:0 (error -2)
List of MTD devices:
* spi-nand0
  - device: spi-nand@1
  - parent: spi@1c05000
  - driver: spi_nand
  - type: NAND flash
  - block size: 0x20000 bytes
  - min I/O: 0x800 bytes
  - OOB size: 128 bytes
  - OOB available: 4 bytes
  - 0x000000000000-0x000008000000 : "spi-nand0"
=========================
Boot Device: spi
Boot Slot 0: empty
Boot Slot 1: spi-nand
=========================

Reading 524288 byte(s) (256 page(s)) at offset 0x00080000
Error: compression type 3 not supported
gpio: pin 134 (gpio 134) value is 1
DFU waiting on SPI-NAND...
musb-hdrc: peripheral reset irq lost!
Booting from SPI-NAND...
Reading 5242880 byte(s) (2560 page(s)) at offset 0x00100000
## Loading kernel from FIT Image at 81000000 ...
   Using 'conf@0' configuration
   Trying 'kernel@0' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x810000cc
     Data Size:    4309816 Bytes = 4.1 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x80000000
     Entry Point:  0x80000000
     Hash algo:    crc32
     Hash value:   9f754ba3
   Verifying Hash Integrity ... crc32+ OK
## Loading fdt from FIT Image at 81000000 ...
   Using 'conf@0' configuration
   Trying 'fdt@0' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x8141c4e8
     Data Size:    15757 Bytes = 15.4 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   6c9c69a9
   Verifying Hash Integrity ... crc32+ OK
   Booting using the fdt blob at 0x8141c4e8
   Loading Kernel Image
   Loading Device Tree to 817f9000, end 817ffd8c ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0

Usage:
bmp info <imageAddr>          - display image info
bmp display <imageAddr> [x y] - display image at x,y
=> bmp info 0x80000
There is no valid bmp file at the given address
=>

如何确认nand.img分区里是否有splash.bmp  ?挂载后啥也看不到,不像SD卡镜像都能查看各个分区内容

genimage-nand.cfg文件:

flash nand-128M {
    pebsize = 128K
    numpebs = 1024
    minimum-io-unit-size = 2048
}

image sysimage-nand.img {
    flash {}
    flashtype = "nand-128M"

    partition u-boot {
        image = "u-boot-sunxi-with-nand-spl.bin"
        size = 512K
    }

    partition splash {
        offset = 0x80000
        image = "splash.bmp"
        size = 512K
    }

    partition kernel {
        offset = 0x100000
        image = "kernel.itb"
        size = 5M
    }

    partition rom {
        offset = 0x600000
        image = "rootfs.squashfs"
    }
}

离线

楼主 #2 2022-04-24 17:58:29

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 311
积分: 354

Re: Tiny_200 R3 uboot显示LOGO出现 Error: compression type 3 not supported

这个问题是图片格式问题,修改为RGB888就行了,原来的是ARGB888,RGB565格式也会提示Error: compression type 3 not supported

=> bmp info 0x80000000
Image size    : 251 x 94
Bits per pixel: 32
Compression   : 3
=> bmp display 0x80000000
Error: compression type 3 not supported

=> bmp info 0x80000000   
Image size    : 251 x 94
Bits per pixel: 16
Compression   : 3
=> bmp display 0x80000000
Error: compression type 3 not supported

=> bmp info 0x80000000
Image size    : 251 x 94
Bits per pixel: 24
Compression   : 0
=> bmp display 0x80000000  350 200

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn