随笔分类 - 嵌入式开发ARM
配置内核的时候提示Your display is too small to run Menuconfig! It must be at least 19 lines by 80 columns.
摘要:按照按照 (https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide)制作了一个image当想打开内核kernel的配置界面make ARCH=arm menuconfig的时候提示: scripts/kco
阅读全文
ubuntu 18.04.6编译uboot提示error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch
摘要:按照按照 (https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide)制作了一个image当编译uboot的时候, 发送命令make: make socfpga_cyclone5_config make 得到
阅读全文
用DE10_NANO_SOC_FB生成dts的时候 提示Component alt_vip_itc_0 of class alt_vip_itc is unknown
摘要:当使用DE10_NANO_SOC_FB工程产生dts时提示 Component alt_vip_itc_0 of class alt_vip_itc is unknown: 如果此时生成了dtb, 可以忽略这个提示。 如果没有生成,您可以先在Qsys 中把这两个器件disable 掉, 然后top文
阅读全文
为什么EmbeddedLinuxBeginnerSGuide的image中 uboot一定要放在fat32分区,不能跟preloader一起放在raw分区?
摘要:按照按照 (https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide)制作了一个image, 然后按照 https://www.cnblogs.com/DoreenLiu/p/17903782.html 将相
阅读全文
用ubuntu18.04.6 在编译uboot的时候提示 openssl/evp.h: no such file or directory
摘要:参考 https://www.rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide 制作image 的时候, 我将uboot 换成最新版本: git checkout rel_socfpga_v2023.04_23.11
阅读全文
Cyclone V SoC FPGA 制作SD卡 image 不支持scp命令怎么办?
摘要:按照 (https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide)制作了一个image, 当我想通过Winscp 访问板子的时候提示访问被拒绝。 将开发板和windows 用一根网线连接起来, 并设置在同一个
阅读全文
Cyclone V SOC FPGA 如何将preloader uboot kernel rootfile rbf dtb uboot.scr 等文件打包成一个SD卡 .img文件 方便windows的windisk32 一键烧写呢?
摘要:1. 说明 首先 我按照 (https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide)制作了一个image, 将SD卡进行分区fat32, raw 和ext3,然后将preloader uboot kerne
阅读全文
ubuntu 18.04.6 编译文件系统buildroot的时候提示 buildroot/output/host/ARM-buildroot-linux-gnueabihf/sysroot/usr/lib 没有文件或目录
摘要:错误提示如下:ln::无法创建符号链接 buildroot/output/host/ARM-buildroot-linux-gnueabihf/sysroot/usr/lib 没有文件或目录 cd 进入buildroot路径, 先sudo make clean 然后再cd .. 到software文
阅读全文
ubuntu18.04.6 编译buildroot的时候提示: Incorrect selection of kernel headers: expected 4.6.x, got 4.16.x
摘要:再次进入文件系统配置界面,将内核头文件从4.16.x 改为4.6.x 就可以了。
阅读全文
ubuntu18.04.6 配置Busybox make -C buildroot busybox-menuconfig 遇到提示LD_LIBRARY_PATH environment varilable. This doesn't work S
摘要:可以先在终端执行下面命令让LD_LIBRARY_PATH 变量的内容变为空白 然后再继续,这时会提示 安装g++ 输入 sudo apt-get install g++ 又提示权限不够,那就在make 命令的前面加上sudo即可: 这样 busybox的界面就会出现:
阅读全文
ubuntu 18.04.6 编译linux内核make ARCH=arm LOCALVERSION= zImage提示unrecognized argument in option... kernel/bounds.s failed
摘要:ubuntu 18.04.6 编译linux内核make ARCH=arm LOCALVERSION= zImage提示 unrecognized argument in option. "-mabi=aapcs-linux ... kernel/bounds.s failed 设置编译链的环境变量
阅读全文
UBUNTU 18.04.6编译linux内核make ARCH=arm menuconfig提示recipe for target ‘menuconfig’ failed
摘要:UBUNTU 18.04.6编译linux内核make ARCH=arm menuconfig提示recipe for target ‘menuconfig’ failed: 这是因为没有安装图形化 Kernel 配置工具。 要么安装libncurses5-dev库, 要么安装libncurses-
阅读全文
UBUNTU 18.04.6 在编译LINUX内核的时候执行MAKE ARCH=ARM SOCFPGA_DEFCONFIG提示Can't find default configuration "arch/x86/configs/socfpga_defconfig"
摘要:Intel 针对 SoC FPGA 芯片 提供的Linux 源码中已经提供好了一个名为socfpga_defconfig 的配置文件,我们对内核的配置和修改,建议基于此配置文件进行,因此在进行配置前,需要先将该配置文件导入到默认配置文件.config中,操作方法很简单。 在终端输入make ARCH
阅读全文
UBUNTU 18.04.6 在编译linux内核的时候执行make ARCH=arm socfpga_defconfig设置默认配置时报错bison flex not found 缺少文件
摘要:在编译linux内核的时候执行make ARCH=arm socfpga_defconfig设置默认配置时报错bison flex not found 缺少文件: /bin/sh: 1: bison: not found 输入命令 sudo apt-get install bison 进行安装: /
阅读全文
UBUNTU 18.04.6 的Quartus里面转换sof到rbf文件在uboot阶段加载时出错或者在kernel启动阶段卡住是什么问题?
摘要:参考Intel的 SD卡 image 设计的教程 (https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide) 确认 DE10-Nano 的 MSEL 设置为 01010,插上SD卡 给 DE10-Nano
阅读全文
UBUNTU 18.04.6 的Quartus打不开top文件 提示can't find design entity "......"
摘要:UBUNTU 18.04.6 的Quartus打不开top文件,提示: can't find design entity "......" 如果是安装ubuntu的时候选择了中文,桌面的Quartus工程打开以后会提示打不开top文件:can't find design entity "......
阅读全文
UBUNTU 18.04.6 如何安装Quartus SOCEDS 等软件
摘要:在Intel/Altera 网站(https://www.intel.com/content/www/us/en/software-kit/665988/intel-quartus-prime-lite-edition-design-software-version-18-1-for-linux.h
阅读全文
UBUNTU 20.04 ubuntu 18.04.6 编译PRELOADER遇到报错 undefined reference "“
摘要:我是参考https://www.cnblogs.com/DoreenLiu/p/14392442.html安装的 ubuntu-18.04.6-desktop-amd64.iso) 接着参考Intel的 SD卡 image 设计的教程 (https://rocketboards.org/foswik
阅读全文
【友晶科技TERASIC】SOC FPGA 的设备树Device Tree 的节点名字后面@后面的地址怎么理解
摘要:当我们打开SOC FPGA 板子产生的设备树dts文件的时候会发现每个组件有一个节点名称,比如led_pio, sysid_qsys等,@字符的后面还有个地址,比如led_pio节点的@后面的地址是0x100010040: sysid_qsys节点的@后面的地址是0x100010000: 其实这个不
阅读全文
【友晶科技Terasic】SOC FPGA 的设备树Device Tree 的 reg 参数详解
摘要:SOC FPGA是在单一器件上集成有双核 ARM Cortex-A9 的硬核处理器和FPGA逻辑资源, 硬核HPS这一端与FPGA 通信的时候采用的是AXI 的总线: HPS-to-FPGA 和LW HPS-to-FPGA。 在设备树文件当中,systemid_qsys 这个组件的reg 有三个参数
阅读全文