补充常见问题.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-05-13 09:41:38 +08:00
parent 5732cfc3f2
commit dbdcf96370
1 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Yocto 基本使用 # Yocto 基本使用和常见问题
## 交叉编译配置 ## 交叉编译配置
@ -50,3 +50,18 @@ Kernel 配置方法为:
```sh ```sh
bitbake linux-renesas -c do_menuconfig bitbake linux-renesas -c do_menuconfig
``` ```
## 常见问题
### Please use a locale setting which supports utf-8
Yocto 需要 locales 支持且设置为 UTF8。
```sh
# Ubuntu
sudo apt-get install locales
sudo dpkg-reconfigure locales
sudo locale-gen en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8
```