您尚未登录。

楼主 # 2022-12-26 15:22:00

hd_xyz
会员
注册时间: 2022-12-04
已发帖子: 25
积分: 21

uboot配置全志v3s的LCD显示

目前尝试用uboot2018 -- uboot2022版本均无法使全志v3s点亮lcd ,使用旧版本uboot2017荔枝派的LicheePi_Zero_800x480LCD_defconfig可以显示lcd的logo

从https://github.com/u-boot/u-boot 下载的uboot2022.04版本,
执行make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LicheePi_Zero_defconfig
再执行make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
进入配置界面后进入> ARM architecture 找不到旧版本uboot2017.01的Enable graphical uboot console on HDMI, LCD or VGA
通过搜索得出
│ Symbol: VIDEO_HDMI [=n] │
│ Type : bool │
│ Prompt: HDMI output support │
│ Location: │
│ (3) -> ARM architecture │
│ -> Enable graphical uboot console on HDMI, LCD or VGA (VIDEO_SUNXI [=n]) │
│ Defined at arch/arm/mach-sunxi/Kconfig:824 │
│ Depends on: ARM [=y] && ARCH_SUNXI [=y] && VIDEO_SUNXI [=n] && !MACH_SUN8I [=y] && !MACH_SUNIV [=n]

-> Enable graphical uboot console on HDMI, LCD or VGA (VIDEO_SUNXI [=n]) 该项为n ,不像旧版本的uboot一样直接显示在配置界面可以选y
下方提示的 │ Depends on: ARM [=y] && ARCH_SUNXI [=y] && VIDEO_SUNXI [=n] && !MACH_SUN8I [=y] && !MACH_SUNIV [=n]
尝试把配置界面的
[y] Sunxi SoC Variant (sun8i (Allwinner V3/V3s/S3/S3L)) --->
取消选择v3s为:[ ] Sunxi SoC Variant
则在配置界面下方会自动显示出 -> Enable graphical uboot console on HDMI, LCD or VGA
可以配置为y 也就是打开lcd显示
执行编译
time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log
报错如下
u-boot-2022.04# time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log
scripts/kconfig/conf --syncconfig Kconfig

WARNING: unmet direct dependencies detected for SPL_SYS_THUMB_BUILD
Depends on [n]: ARM [=y] && !ARM64 [=n] && SPL [=n]
Selected by [y]:

  • ARCH_SUNXI [=y] && <choice> && !ARM64 [=n]

WARNING: unmet direct dependencies detected for SPL_USE_TINY_PRINTF
Depends on [n]: SPL [=n]
Selected by [y]:

  • ARCH_SUNXI [=y] && <choice>

WARNING: unmet direct dependencies detected for SPL_SYS_THUMB_BUILD
Depends on [n]: ARM [=y] && !ARM64 [=n] && SPL [=n]
Selected by [y]:

  • ARCH_SUNXI [=y] && <choice> && !ARM64 [=n]

WARNING: unmet direct dependencies detected for SPL_USE_TINY_PRINTF
Depends on [n]: SPL [=n]
Selected by [y]:

  • ARCH_SUNXI [=y] && <choice>

WARNING: unmet direct dependencies detected for SPL_SYS_THUMB_BUILD
Depends on [n]: ARM [=y] && !ARM64 [=n] && SPL [=n]
Selected by [y]:

  • ARCH_SUNXI [=y] && <choice> && !ARM64 [=n]

WARNING: unmet direct dependencies detected for SPL_USE_TINY_PRINTF
Depends on [n]: SPL [=n]
Selected by [y]:

  • ARCH_SUNXI [=y] && <choice>
    UPD include/config.h
    CFG u-boot.cfg
    In file included from ./include/common.h:16:0:
    include/config.h:4:10: 致命错误: configs/.h:没有那个文件或目录
    #include <configs/.h>
    ^~~~
    编译中断。
    make[1]: *** [scripts/Makefile.autoconf:78:u-boot.cfg] 错误 1
    CFGCHK u-boot.cfg
    OFCHK .config
    make: *** 没有规则可制作目标“include/config/auto.conf”,由“include/config/uboot.release” 需求。 停止。

real 0m0.547s
user 0m0.301s
sys 0m0.266s

结论:此项选中时 [y] Sunxi SoC Variant (sun8i (Allwinner V3/V3s/S3/S3L)) --->
则无法打孔lcd配置Enable graphical uboot console on HDMI, LCD or VGA ??
请各位大佬指点迷津,是哪一步配置错了,uboot2017是可以显示lcd的 uboot2018-uboot2022就一直配置失败

离线

#1 2022-12-26 16:35:54

shaoxi2010
会员
注册时间: 2019-06-13
已发帖子: 399
积分: 338

Re: uboot配置全志v3s的LCD显示

没记错的话,v3s的lcd显示是lichee修改后的,主线框架没有支持这个型号的。

离线

楼主 #2 2022-12-26 18:12:45

hd_xyz
会员
注册时间: 2022-12-04
已发帖子: 25
积分: 21

Re: uboot配置全志v3s的LCD显示

shaoxi2010 wrote:

没记错的话,v3s的lcd显示是lichee修改后的,主线框架没有支持这个型号的。

对的,用LicheePi修改的uboot2017.01版本可以lcd显示logo,主线没有现成支持lcd的 搞不了,有可以参考的方法或链接嘛 这种情况怎么整呀大佬,主线加上lcd难嘛,我水平很菜 哎

离线

楼主 #3 2022-12-31 15:51:01

hd_xyz
会员
注册时间: 2022-12-04
已发帖子: 25
积分: 21

Re: uboot配置全志v3s的LCD显示

@hd_xyz
顶贴,大佬们 主线uboot怎么支持lcd驱动呀,修改流程是怎么样的 新手不知道怎么入手修改

离线

#4 2023-02-15 23:22:40

senjet
会员
注册时间: 2023-02-12
已发帖子: 11
积分: 1

Re: uboot配置全志v3s的LCD显示

https://github.com/u-boot/u-boot/compare/master...mcerveny:u-boot:simplefb_v3s_v2
请根据上面的差异比较打补丁,实践证明没问题

离线

#5 2023-09-05 23:32:22

sliver_cyh
会员
注册时间: 2021-12-07
已发帖子: 7
积分: 7

Re: uboot配置全志v3s的LCD显示

senjet wrote:

https://github.com/u-boot/u-boot/compare/master...mcerveny:u-boot:simplefb_v3s_v2
请根据上面的差异比较打补丁,实践证明没问题

这个方法楼上的朋友都试过了吗?

离线

#6 2023-09-17 16:31:01

善思维
会员
注册时间: 2023-09-15
已发帖子: 6
积分: 1

Re: uboot配置全志v3s的LCD显示

楼主改成功了吗?

离线

页脚

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

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


东莞哇酷科技有限公司开发