You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

使用menuconfig对Linux内核进行配置,

bitbake linux-ti -c menuconfig					(AM335X)
bitbake linux-mainline -c menuconfig			(i.MX6)

菜单的File systems – > Native language support下 ,找到以下三行,选中

<*>   Simplified Chinese charset (CP936, GB2312)                           │
<*>   Traditional Chinese charset (Big5)
<*>   NLS UTF-8


重新编译内核,镜像,开发板重新更新内核,文件系统

bitbake linux-mainline -c comfile -f
bitbake linux-mainline -c deploy
bitbake phytec-qt5demo-image

测试方法

将一张有中文文件的SD卡挂载在开发板上

mkdir /mnt/mmc
mount /dev/mmcblk0p1 /mnt/mmc -o utf8
ls /mnt/mmc

能看到中文文件名了。

  • No labels