目前尝试用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就一直配置失败
离线
没记错的话,v3s的lcd显示是lichee修改后的,主线框架没有支持这个型号的。
对的,用LicheePi修改的uboot2017.01版本可以lcd显示logo,主线没有现成支持lcd的 搞不了,有可以参考的方法或链接嘛 这种情况怎么整呀大佬,主线加上lcd难嘛,我水平很菜 哎
离线
@hd_xyz
顶贴,大佬们 主线uboot怎么支持lcd驱动呀,修改流程是怎么样的 新手不知道怎么入手修改
离线