导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    uboot没有亮背光

    其它全志芯片讨论区
    1
    1
    940
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      KoGu LV 4 最后由 编辑

      请教大佬们,调试日志如下,我在uboot-board.dts里面把关于lcd的配置都配成和kernel一样的,进去kernel是可以亮背光且显示的,但是uboot却不可以;另外uboot中的这几个报错是什么意思呢?

      
      U-Boot 2018.07-g33aa4d4 (Jun 12 2024 - 08:03:52 +0000) Allwinner Technology
      
      [00.339]CPU:   Allwinner Family
      [00.342]Model: sun8iw20
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
      ready
      [00.355]DRAM:  256 MiB
      [00.358]Relocation Offset is: 0ceb8000
      [00.386]secure enable bit: 0
      E/TC:0   fdt_getprop_u32:336 prop trace_level not found
      Error, wrong i2c adapter 931 max 1 possible
      [00.404]pmu_axp1530_probe pmic_bus_init fail
      [00.408]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [00.414]gic: sec monitor mode
      [00.417]line:703 init_clocks
      [00.420]flash init start
      [00.422]workmode = 0,storage type = 0
      [00.429]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:1c
      
      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x0fb00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [00.602]ubi0: attaching mtd4
      [01.049]ubi0: scanning is finished
      [01.059]ubi0: attached mtd4 (name "sys", size 251 MiB)
      [01.063]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [01.070]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [01.076]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [01.082]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
      [01.088]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [01.094]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [01.102]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
      [01.111]sunxi flash init ok
      [01.113]drv_disp_init
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [01.371]disp_fat_load for lcd config failed
      [01.396]drv_disp_init finish
      [01.595]Loading Environment from SUNXI_FLASH... OK
      [01.632]boot_gui_init:start
      partno erro : can't find partition Reserve0
      bad fb1_cfg[w=0,h=0,bpp=32,format=0]
      [01.668]boot_gui_init:finish
      partno erro : can't find partition bootloader
      [01.697]bmp_name=bootlogo.bmp size 768138
      [01.763]Item0 (Map) magic is bad
      secure storage read widevine fail
      secure storage read ec_key fail
      secure storage read ec_cert1 fail
      secure storage read ec_cert2 fail
      secure storage read ec_cert3 fail
      secure storage read rsa_key fail
      secure storage read rsa_cert1 fail
      secure storage read rsa_cert2 fail
      secure storage read rsa_cert3 fail
      [01.793]usb burn from boot
      delay time 0
      weak:otg_phy_config
      [01.804]usb prepare ok
      [01.846]LCD open finish
      [02.107]overtime
      [02.110]do_burn_from_boot usb : no usb exist
      List file under ULI/factory
      ** Unrecognized filesystem type **
      [02.142]update bootcmd
      [02.173]change working_fdt 0x4c877e68 to 0x4c857e68
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [02.230]disp_fat_load for lcd config failed
      partno erro : can't find partition bootloader
      writing lcd_compatible_index.txt
      [02.266]offset should be 0 but 0x5391 when write to new volume boot-resource
      Error: writing contents
      
      ** Unable to write "lcd_compatible_index.txt" from sunxi_flash 0:1 **
      [02.281]do_fat_fswrite for lcd config failed
      partno erro : can't find partition bootloader
      ** Unable to read file lcd_compatible_index.txt **
      [02.315]disp_fat_load for lcd config failed
      [02.321]update dts
      Info: gmac phy mode = rmii, phy_interface = 6
      Error: gmac get phy-clk-type failed
      [02.330]Board Net Initialization Failed
      [02.333]No ethernet found.
      Hit any key to stop autoboot:  0
      
      
      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策