100ask am335x

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2019年3月27日 (三) 09:31的版本

视频链接地址: 开发板购买地址: 资料光盘下载地址:

配套视频wiki教程 裸机程序wiki 驱动程序wiki

配套模块资源


介绍

基本资源特征

接口布局和尺寸

硬件资源介绍

配套资料介绍

 
├─00_UserManual			 <-----------------包含用户手册
├─01_windows_tools		 <------------------开发涉及的所有工具
├─02_images				 <-----------------系统镜像
  ├─nandflash			 <-----------------包含nandflash系统镜像
  └─sdcard              <-----------------包含sd卡系统镜像
├─03_examples
├─04_lib
├─05_hardware			 <-----------------硬件相关资料
└─06_datasheet	
    ├─AM437x_Chip		 <-----------------CPU类相关手册
    └─Peripheral		 <-----------------外设芯片相关手册

快速入门

准备工作

要使用你的AM335x开发板,请提前准备好以下资源:

  • 100askAM3358开发板
  • microSD卡/TF卡: Class10或以上的 8GB SDHC卡
  • 一个12v/2A的电源是配置
  • 一台电脑,需要联网,建议使用我们提供的 Ubuntu 16.04 64位系统镜像

如需自行安装配置开发环境请参考[ ]

sd卡启动

nandflash启动

编译系统

获取源码

git邮箱用户名配置

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

repo工具配置

100ask@book$ mkdir repo && cd repo
100ask@book$ git clone  https://git.dev.tencent.com/codebug8/repo.git
100ask@book$ sudo cp repo/repo /bin/
book@100ask$  mkdir -p 100ask_am335x && cd 100ask_am335x
book@100ask$  repo init -u https://dev.tencent.com/u/weidongshan/p/manifests/git -b linux-sdk -m ti335x/ti335x_linux_release.xml --no-repo-verify
book@100ask$  repo sync -j4

编译uboot

book@100ask$ cd u-boot book@100ask:u-boot$ make distclean book@100ask:u-boot$ make 335x_evm_defconfig book@100ask:u-boot$ make

编译linuxkernel

book@100ask$ cd linux-kernel
book@100ask:linux-kernel$ make mrproper
book@100ask:linux-kernel$ make am335x_evm_defconfig
book@100ask:linux-kernel$ make zImage
book@100ask:linux-kernel$ make dtbs

编译内核模块

book@100ask:linux-kernel$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules

安装内核模块到nfs根文件系统

book@100ask:linux-kernel$ sudo make ARCH=arm INSTALL_MOD_PATH=/media/rootfs  modules_install

编译根文件系统

更新日志

反馈建议