您尚未登录。

#1 Re: 全志 SOC » 编译 V3s 2019 版本的 u-boot » 2020-02-27 13:01:29

现在获取到的licheePi/u-boot里面怎么没有
LicheePi_Zero_800x480LCD_defconfig
LicheePi_Zero_480x272LCD_defconfig
这2个文件

#2 Re: 全志 SOC » 编译 V3s 2019 版本的 u-boot » 2020-02-27 12:17:25

enjoy 说:

谢谢,安装了;但还有错误
ARCH=arm make menuconfig
  LEX     scripts/kconfig/zconf.lex.c
/bin/sh: 1: flex: not found
make[1]: *** [scripts/Makefile.lib:218:scripts/kconfig/zconf.lex.c] 错误 127
make: *** [Makefile:539:menuconfig] 错误 2

已经可以了,看了看makefile需要flex
sudo apt-get install flex -y

#3 Re: 全志 SOC » 编译 V3s 2019 版本的 u-boot » 2020-02-27 11:57:35

我心飞翔 说:

sudo apt-get install bison -y

谢谢,安装了;但还有错误
ARCH=arm make menuconfig
  LEX     scripts/kconfig/zconf.lex.c
/bin/sh: 1: flex: not found
make[1]: *** [scripts/Makefile.lib:218:scripts/kconfig/zconf.lex.c] 错误 127
make: *** [Makefile:539:menuconfig] 错误 2

#4 Re: 全志 SOC » 编译 V3s 2019 版本的 u-boot » 2020-02-27 09:08:00

git clone https://github.com/u-boot/u-boot.git      获取到最新的源码
VERSION = 2020
PATCHLEVEL = 04
SUBLEVEL =
EXTRAVERSION = -rc3
下面这是什么错误
ARCH=arm make menuconfig
  YACC    scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not found
make[1]: *** [scripts/Makefile.lib:226:scripts/kconfig/zconf.tab.c] 错误 127
make: *** [Makefile:539:menuconfig] 错误 2

#5 Re: 全志 SOC » 编译 V3s 2019 版本的 u-boot » 2020-02-27 09:03:55

$ gcc --version
gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
这是代表GCC版本 8.3.0
可不可以编译最新的uboot

页脚

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

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