1 Star 0 Fork 0

mibo / nuc980-iot-board

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

nuc980-iot-board

介绍

linux learn

软件架构

软件架构说明

编译步骤

  1. u-boot build
cd nuc980_project/nuc980bsp/u-boot-2016.1
make distclean
make nuc980_zmb_defconfig
make all
最后生成u-boot.bin和u-boot-spl.bin两个文件(u-boot-spl.bin 会产生在子目录 /spl 中。)
  1. kernel build
cd nuc980_project/nuc980bsp/linux-4.4.y
make distclean
make nuc980_zmb_defconfig
make uImage
我们用到的是980uimage这个文件,而不是980image

备份config
make savedefconfig && mv defconfig arch/arm/configs/xxx_defconfig
或者cp .configs arch/arm/configs/xxx_defconfig
  1. git clone 失败时
[zhangmingbo@ubuntu]:[nuc980bsp]$ git clone --recurse https://gitee.com/OpenNuvoton/NUC980-linux-4.4.y.git
正克隆到 'NUC980-linux-4.4.y'...
remote: Enumerating objects: 28944, done.
remote: Counting objects: 100% (28944/28944), done.
remote: Compressing objects: 100% (9767/9767), done.
error: 预期仍然需要 6860 个字节的正文.04 GiB | 1.55 MiB/s     
fatal: 远端意外挂断了
fatal: 过早的文件结束符(EOF)
fatal: index-pack 失败


git config --list
git config --global http.postBuffer 524288000
git config --global http.sslVerify "false"


git 仓库过大,clone不下来的解决办法
先浅层clone
$ git clone --depth=1 https://gitee.com/OpenNuvoton/NUC980-linux-4.4.y.git

浅层clone成功后,再完整拉取:
cd NUC980-linux-4.4.y
#拉取完整当前分支
$ git fetch --unshallow
#追踪所有远程分支
$ git remote set-branches origin '*'
#拉取所有远程分支
$ git fetch -v
  1. wifi配置
wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
  1. 硬件引脚分配
UART1 RX:PA0  TX:PA1
UART2 RX:PA9  TX:PA10
UART3 RX:PC4  TX:PC3
UART4 RX:PC10 TX:PC9
UART5 RX:PG6  TX:PG7
UART6 RX:PA4  TX:PA5
UART7 RX:PA14 TX:PA13
UART8 RX:PA11 TX:PA12
UART9 RX:PB3  TX:PB1

SPI
SPI1 PB4~PB7
PDMA

I2C
SDA PE10
SCL PE12

PWM
PWM0 channel2 PF7
PWM0 channel3 PF8

CAN0
RX:PD6 TX:PD7

ADC
channel2
channel3

6.build busybox

make deconfig
cp .config ./configs/default_defconfig
make default_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-
make ARCH=arm CROSS_COMPILE=arm-linux- install

cp -d ./_install/* ../image/rootfs_ssh/

使用说明

  1. xxxx
  2. xxxx
  3. xxxx

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/adg7660/nuc980-iot-board.git
git@gitee.com:adg7660/nuc980-iot-board.git
adg7660
nuc980-iot-board
nuc980-iot-board
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891