执行make menuconfig遇到错误
错误1
scripts/kconfig/Makefile:208: recipe for target 'scripts/kconfig/mconf-cfg' failed
make[1]: *** [scripts/kconfig/mconf-cfg] Error 1
Makefile:567: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
解决方法
sudo apt-get install libncurses5-dev
错误2
scripts/Makefile.host:9: recipe for target 'scripts/kconfig/lexer.lex.c' failed
make[1]: *** [scripts/kconfig/lexer.lex.c] Error 127
Makefile:567: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
解决方法
sudo apt-get install flex
错误3
/bin/sh: 1: bison: not found
scripts/Makefile.host:17: recipe for target 'scripts/kconfig/parser.tab.h' failed
make[1]: *** [scripts/kconfig/parser.tab.h] Error 127
Makefile:567: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
解决方法
sudo apt-get install bison -y
挂载nfs错误
执行命令
mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 192.168.2.206:/home/hasee/linux/n
fs/ /mnt/nfs
提示如下错误
root@ATK-stm32mp1:/# mount -t nfs -o nolock 192.168.2.206:/home/hasee/linux/nfs /mnt/nfs/
mount: /mnt/nfs: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
解决:加上busybox字段在mount前面
root@ATK-stm32mp1:/# busybox mount -t nfs -o nolock 192.168.2.206:/home/hasee/linux/nfs /mnt/nfs/
stm32MP157建立简单自启动应用
快速体验手册第99页有说明。
板子桌面应用在/opt/目录下,文件名为QDesktop,用自己的应用改成该名,然后替换进来就ok。