项目码云地址(国内下载速度快):https://gitee.com/jun626/nuc980-open-source-project

项目github地址:https://github.com/Jun1172/nuc980-open-source-project

ubuntu镜像,文件太大,加群私聊。

1.下载官方BSP

下载BSP

下载地址是:http://www.nuvoton.com.cn/products/iot-solution/application/gateway/numaker-nuc980-iiot/?tab=2&group=Software&rt=Board%20Support%20Package%20(BSP)

文件解压之后

NUC980开源项目6-获取官方源码_NUC980开源项目

这个文件在git资源中有提供。

将BSP目录下的压缩包复制到ubuntu

NUC980开源项目6-获取官方源码_NUC980开源项目_02

解压文件:tar zxvf nuc980bsp.tar.gz

NUC980开源项目6-获取官方源码_NUC980开源项目_03

2.通过GIT下载源码
  1. mkdir nuc980  
  2. cd nuc980/  
  3. export PATH=/home/jun/nuc980/:$PATH  
  4. curl https://storage.googleapis.com/git-repo-downloads/repo > /home/jun/nuc980/repo  
  5. chmod a+x repo  
  6. git config --global user.name "jun"  
  7. git config --global user.email "2839084093@qq.com"  
  8. mkdir linux_bsp  
  9. cd linux_bsp  
  10. repo init -u git://github.com/OpenNuvoton/manifest.git -b nuc980-2019.09 -m github.xml  
  11. //或者  
  12. repo init -u https://gitee.com/OpenNuvoton/manifest.git -b nuc980-2019.09 -m gitee.xml  
  13. repo sync  

NUC980开源项目6-获取官方源码_NUC980开源项目_04

Init成功,准备sync

NUC980开源项目6-获取官方源码_NUC980开源项目_05

会拉下来五个文件夹

NUC980开源项目6-获取官方源码_NUC980开源项目_06

按照官方介绍

applications

範例程序以及開源軟件, 例如 busybox, wireless tool…

buildroot

可用來編譯內核, 交叉編譯工具, 應用程序… 等的集合.

image/kernel

使用默認設置預先編譯好的內核

image/U-Boot

使用默認設置預先編譯好的支持 NAND 或 SPI flash 的 U
Boot 執行檔及環境變數env.txt檔。其中 U-Boot 的默認執行
位址均為 0xE00000。

linux-4.4.y

內核源碼

rootfs

根文件系統

u-boot-2016.11

U-Boot V2016.11 源碼

nuwriter

Linux 下使用的命令行介面 NuWriter

 

3.如果repo有问题,可以单独下载源码

源碼

倉庫鏈結

Applications

https://github.com/OpenNuvoton/NUC980_Linux_Applications.git
https://gitlab.com/OpenNuvoton/NuMicro-ARM7-ARM9-
Family/NUC980_Linux_Applications.git
https://gitee.com/OpenNuvoton/NUC980_Linux_Applications.git

buildroot

https://github.com/OpenNuvoton/NUC980_Buildroot.git
https://gitlab.com/OpenNuvoton/NuMicro-ARM7-ARM9-
Family/NUC980_Buildroot.git
https://gitee.com/OpenNuvoton/NUC980_Buildroot.git

linux-4.4.y

https://github.com/OpenNuvoton/NUC980-linux-4.4.y.git
https://gitlab.com/OpenNuvoton/NuMicro-ARM7-ARM9-Family/NUC980-
linux-4.4.y.git
https://gitee.com/OpenNuvoton/NUC980-linux-4.4.y.git

uboot.v2016.11

https://github.com/OpenNuvoton/NUC970_U-Boot_v2016.11.git
https://gitlab.com/OpenNuvoton/NuMicro-ARM7-ARM9-Family/NUC970_U
Boot_v2016.11.git
https://gitee.com/OpenNuvoton/NUC970_U-Boot_v2016.11.git

NuWriter

https://github.com/OpenNuvoton/NUC980_NuWriter.git
https://gitlab.com/OpenNuvoton/NuMicro-ARM7-ARM9-
Family/NUC980_NuWriter.git
https://gitee.com/OpenNuvoton/NUC980_NuWriter.git

Linux Command
Line NuWriter

https://github.com/OpenNuvoton/NUC980_NuWriter_CMD.git
https://gitlab.com/OpenNuvoton/NuMicro-ARM7-ARM9-
Family/NUC980_NuWriter_CMD.git
https://gitee.com/OpenNuvoton/NUC980_NuWriter_CMD.git

SD Writer

https://github.com/OpenNuvoton/NUC980_SDWriter.git
https://gitlab.com/OpenNuvoton/NuMicro-ARM7-ARM9-
Family/NUC980_SDWriter.git
https://gitee.com/OpenNuvoton/NUC980_SDWriter.git