Skip to content
Snippets Groups Projects
  1. Sep 19, 2024
  2. Sep 18, 2024
  3. Sep 14, 2024
  4. Sep 13, 2024
  5. Sep 09, 2024
  6. Sep 06, 2024
  7. Sep 05, 2024
    • Damon Ding's avatar
      video/drm: display: add logo bmp size check · ecc3b257
      Damon Ding authored
      
      Given considerations such as memory usage and the default
      configuration of the parameter partition table, it is not
      recommended to use excessively large BMP logo images.
      Therefore, the MAX_IMAGE_BYTES limit is set to 8 MB. For
      images exceeding this size, it is recommended to use BMP
      images in BI_RLE4/BI_RLE8 formats.
      
      The log may be like:
      
      ......
      bmp[logo.bmp] data size[23MB] is over the limitation MAX_IMAGE_BYTES[8MB]
      failed to display uboot logo
      CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
        bpll 816000 KHz
        lpll 816000 KHz
      ......
      
      Change-Id: If9b804b29f4a477b5b29050231944a39c0342a84
      Signed-off-by: default avatarDamon Ding <damon.ding@rock-chips.com>
      ecc3b257
    • Damon Ding's avatar
      video/drm: display: remove the resolution check for partially decoded images · 3dbe25b4
      Damon Ding authored
      The limitation is from decode_bmp.c in libnsbmp-0.1.7.
      Some RLE8 bmp images will be regarded as error becasuse
      of the check, without which these images can be showed
      successfully, so we remove the unexpected limitation.
      
      The libnsbmp-0.1.7 can be got from:
      https://git.netsurf-browser.org/libnsbmp.git
      
      
      
      Change-Id: I4a418b3484db1904d8c47b6e8ee7410c2964145f
      Signed-off-by: default avatarDamon Ding <damon.ding@rock-chips.com>
      3dbe25b4
  8. Sep 03, 2024
  9. Aug 30, 2024
  10. Aug 29, 2024
    • Shawn Lin's avatar
      rockchip: dts: rk3576: Remove prefetchable from pcie0 · f2af0778
      Shawn Lin authored
      
      Change-Id: I8e9f09c8f81790cd329552dc86f0f0f9fb1da22e
      Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
      f2af0778
    • Shawn Lin's avatar
      driver: pci: rockchip: Fix CONFIG_SYS_PCI_64BIT support · 7ff76e75
      Shawn Lin authored
      
      Change-Id: Id235372355d1b7446fda66df0937d0425b2d5bf0
      Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
      7ff76e75
    • Shawn Lin's avatar
      dm: pci: Fix PCI 64bit address support · fdb7e29c
      Shawn Lin authored
      
      Don't overwrite memory between 32bit and 64bit. And properly
      map them and let host drivers to get proper regions.
      
      Change-Id: I4176f4536aef22f5fae87de7321947348aa4f308
      Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
      fdb7e29c
    • Shawn Lin's avatar
      driver: pci: rockchip: Fix rescan error · b2a4eeb5
      Shawn Lin authored
      
      First, it need to free gpio if fails to link up
      the device. And do proper hardware level settings.
      
      => pci e
      pcie@2a200000: PCIe Linking... LTSSM is 0x0
      pcie@2a200000: PCIe Linking... LTSSM is 0x2
      pcie@2a200000: PCIe Linking... LTSSM is 0x2
      pcie@2a200000: PCIe Linking... LTSSM is 0x3
      pcie@2a200000: PCIe-0 Link Fail
      pcie@2a210000: PCIe Linking... LTSSM is 0x0
      pcie@2a210000: PCIe Linking... LTSSM is 0x3
      pcie@2a210000: PCIe Linking... LTSSM is 0x3
      pcie@2a210000: PCIe-0 Link Fail
      
      Retry enum:
      
      => pci e
      pcie@2a200000: PCIe Linking... LTSSM is 0x0
      pcie@2a200000: PCIe Linking... LTSSM is 0x0
      pcie@2a200000: PCIe Link up, LTSSM is 0x130011
      pcie@2a200000: PCIE-0: Link up (Gen2-x1, Bus0)
      pcie@2a200000: invalid flags type!
      pcie@2a210000: PCIe Linking... LTSSM is 0x0
      pcie@2a210000: PCIe Linking... LTSSM is 0x2
      pcie@2a210000: PCIe Link up, LTSSM is 0x130011
      pcie@2a210000: PCIE-2: Link up (Gen2-x1, Bus2)
      => nvme scan
      => nvme info
      Device 0: Vendor: 0x1e49 Rev: YM0500C6 Prod: YMA2256JA22314008G
                  Type: Hard Disk
      	    Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
      Device 1: Vendor: 0x1d97 Rev: V0218G0 Prod: MCC3212000213
      	    Type: Hard Disk
      	    Capacity: 488386.3 MB = 476.9 GB (1000215216 x 512)
      
      Change-Id: Ic3d72fda8b1fd55de8e23d6f7e3e2e5a505cc3ed
      Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
      b2a4eeb5
    • Xuhui Lin's avatar
      drivers: misc: Add rv1103b secure-otp support · df969cb0
      Xuhui Lin authored
      
      Change-Id: I3b28929d11ed61ead8378686c05d5e89dfff44f2
      Signed-off-by: default avatarXuhui Lin <xuhui.lin@rock-chips.com>
      df969cb0
  11. Aug 28, 2024
  12. Aug 27, 2024
    • Joseph Chen's avatar
      cpu: rockchip amp: Support armv8 boot cpu switch from EL2 to EL1 · 3792164f
      Joseph Chen authored
      
      Signed-off-by: default avatarJoseph Chen <chenjh@rock-chips.com>
      Change-Id: Ia0bde6a778b316aa9f33f29a5e2f749cf26d46cd
      3792164f
    • Shawn Lin's avatar
      nvme: Add erase cmd description · e88af282
      Shawn Lin authored
      
      Change-Id: I5cff646119cb78d001f9180ba393736015974c74
      Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
      e88af282
    • Shawn Lin's avatar
      nvme: add erase support · 32a1e554
      Shawn Lin authored
      
      Use discard to erase the desired LBA
      
      [1]
      => md.l 0x44000000 0x200     #先读一下0x44000000的内存地址
      44000000: 00000000 00000000 20014080 00000200    .........@. ....
      44000010: 44004400 02010108 00002000 24000200    .D.D..... .....$
      44000020: 08801000 10000000 00000000 80008018    ................
      
      [2]
      => nvme read 0x44000000 0x0 1     #NVMe LBA 0读一个block到0x44000000
      
      nvme read: device 0 block # 0, count 1 ... 1 blocks read: OK
      
      [3]
      => md.l 0x44000000 0x200         #再读一下0x44000000的内存地址,变了
      44000000: 4a400000 00000001 17c00000 00000002    ..@J............
      44000010: 4aa00000 00000001 16700000 00000002    ...J......p.....
      
      [4]
      => nvme erase 0x0 0x1		#0地址开始,擦除一个block
      
      nvme erase: device 0 block # 0, count 1 ... 1 blocks erased: OK
      
      [5]
      => nvme read 0x44000000 0x0 1   #再从NVMe的LBA 0地址读一个block数据到0x44000000
      
      nvme read: device 0 block # 0, count 1 ... 1 blocks read: OK
      
      [6]
      => md.l 0x44000000 0x200        #NVMe第一个block的数据已经清除了
      44000000: 00000000 00000000 00000000 00000000    ................
      44000010: 00000000 00000000 00000000 00000000    ................
      44000020: 00000000 00000000 00000000 00000000    ................
      ...
      
      Change-Id: I0495b3538acbfb1e522b027a635b74a078ccab15
      Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
      32a1e554
  13. Aug 26, 2024
  14. Aug 23, 2024
Loading