3.DM816x 1-day Workshop-Getting Started with the EZSDK
更新时间:2023-05-01 03:56:01 阅读量: 综合文库 文档下载
- 3dm8cm等于多少cm推荐度:
- 相关推荐
DM816x 1-day Workshop
Module 3
Getting Started with the EZSDK
schlum@9735aa543b3567ec102d8a82
Copyright ?2011 Texas Instruments. All rights reserved.
Flash n Bootloader
Provides rudimentary h/w init Calls Linux kernel and passes boot arguments o Kernel
Initializes the system (and device)
Manages system resources Provides services for user programs
p Filesystem
Single filesystem (/ root)
Stores all system files
After init, kernel looks to filesystem for “what ’s next ” bootarg tells linux where to find root filesystem
What Is a ‘Linux Distribution?’
A ‘Linux distribution’is a combination of the components required to provide a working Linux environment for a particular platform:
1.Linux kernel port
A TI LSP or Linux PSP is a Linux kernel port to a device,
not just a set of device drivers
2.Bootloader
Uboot is the standard bootloader for ARM Linux
3.Linux ‘file system’
This does NOT mean a specific type of file system like FAT file system
or flash file system …rather, it more like the “C:\”drive in Windows
It refers to all the ‘user mode’software that an application needs such as graphics libraries, network applications, C run-time library (glibc, uclibc), codec engine, dynamically-loaded kernel modules (CMEM, DSPLINK) 4.Development tools
CodeSourcery-GCC, GDB
MV DevRocket, CCSv5 (beta), GHS Multi, etc.
File System Linux Kernel Boot Loader
U -Boot Linux Kernel Init Process Login Prompt ARM assembly code Passes args to Linux (bootargs )Initialize hardware via static drivers /sbin /init –1st process exe by kernel
Login console Usually one of first prog ’s to run Mount root filesys
Booting Linux – MMC/SD BootnRBLROM
o
(x-loader) Internal RAM
MLO
p
U-BootDDR2 MLO (x-loader)
KernelDDR2
Device
MMC/SDLinux Kernel
RBL MLO (x-loader)
n
o p
UBoot
OCMC (on-chip memory controller) Internal memory
DDR3UBoot Linux Kernel
The ROM bootloader cannot make assumptions about external memory, so it can only load to the device’s internal memory Even though TI8168 and TI8148 have two 128K banks of OCMC memory, ROM-coded MMC boot mode is 128K limited and too small for full U-boot
Ubuntu PC
EVM eth0
RS-232
minicom
U-Boot
Ethernet
~/targetfs
nfs server
/tftpboot/
uImage
tftp server
DHCP/boot p server
“make menuconfig”options
Kernel Object Modules1. Static (built-in) oss v4l2? ?
Linux Kernel fbdev nfsd dsp httpd ext3
Kernel Module Examples: fbdev frame buffer dev v4l2 video for linux 2 nfsd network file server dev dsp oss digital sound proc. audio alsa audio driver
Linux Kernel source code is broken into individual modules Only those parts of the kernel that are needed are built in
2. Dynamic (insmod)
# insmod
Use insmod (short for insert module) command to dynamically add modules into the kernel Keep statically built kernel small (to reduce size or boot-up time), then add functionality later with insmod Insmod is also handy when developing kernel modules
.ko = kernel object
Narcissus–Modifying the GNU Linux Filesystem
Booting Linux – MMC/SD BootnRBLROM
o
(x-loader) Internal RAM
MLO
p
U-BootDDR2 MLO (x-loader)
KernelDDR2
Device
MMC/SDLinux Kernel
RBL MLO (x-loader)
n
o p
UBoot
OCMC (on-chip memory controller) Internal memory
DDR3UBoot Linux Kernel
The ROM bootloader cannot make assumptions about external memory, so it can only load to the device’s internal memory Even though TI8168 and TI8148 have two 128K banks of OCMC memory, ROM-coded MMC boot mode is 128K limited and too small for full U-boot
MLO (U-boot_min) BuildnRBLROM
o
(x-loader) Internal RAM
MLO
p
U-BootDDR2
KernelDDR2
host $ cd ti-ezsdk_dm816x-evm_xxx/psp/linux-xxx-psp-xxx ti-ezsdk_dm816x-evm_xxx/psp/linux-xxx-psp-xxx host $ distclean host $ make ARCH=arm ti8168_evm_min_sd* CROSS_COMPILE=arm-none-linux-gnueabi- u-boot.ti u-boot.ti host $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabiu-boot.min.sd ${DEST}/MLO host $ cp u-boot.min.sd
Typically, available u-boot configs are as found by: host $ ls include/configs This yields “ti8168_evm_config,” which is an acceptable config. However, TI has modified u-boot Makefile to include alternate configs: (Min configs correspond to MLO/x-loader, have hard-coded environment vars) ti8168_evm_min_sd Fits in internal memory, SD/MMC boot
U-Boot BuildnRBLROM
o
(x-loader) Internal RAM
MLO
p
U-BootDDR2
KernelDDR2
host $ cd ti-ezsdk_dm816x-evm_xxx/psp/linux-xxx-psp-xxx ti-ezsdk_dm816x-evm_xxx/psp/linux-xxx-psp-xxx host $ distclean host $ make ARCH=arm ti8168_evm_config* CROSS_COMPILE=arm-none-linux-gnueabi- u-boot.ti u-boot.ti host $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabiu-boot.noxip.bin ${DEST}/u-boot.bin ${DEST}/u-boot.bin host $ cp u-boot.noxip.bin
TI has modified u-boot Makefile to include these configs: (Non-min configs include all u-boot supported drivers but are >128K) ti8168_evm_config ti8168_evm_config_nand ti8168_evm_config_nor ti8168_evm_config_spi Default, equivalent to ti8168_evm_config_nand NAND boot, Environment stored in NAND flash NOR boot, Environment stored in NOR flash SPI boot, Environment stored in SPI flash
正在阅读:
3.DM816x 1-day Workshop-Getting Started with the EZSDK05-01
proe5.0 安装说明方法05-12
南京市建邺区十二五规划纲要10-17
2015年尔雅通识课美学原理作业及答案06-02
第2章《平面向量》单元测试题附答案新人教A版必修404-22
站直了做人04-29
成语改错字专项练习3:12-03
商业银行的公司治理05-29
1949年以来中国共产党关于工业化道路的认识演进_武力04-12
测量学试题库-附答案01-14
- 1六西格玛DM复习题1
- 2Getting Involved in College Life
- 3GFI+Reading+and+Writing+Workshop+Jiangxi...
- 4PEP6 Unit 1 My day A Let
- 5DM6-25x8(P)型卧式矿用耐磨多级离心泵
- 6Unit3 A day out-讲义(含答案)
- 7One day a young man was standing in the middle of1
- 8AE - Internet - Web - Server - Management - - - DM3C - 35
- 9雨山前洋房区区域DM文案再稿1
- 10Christmas Day
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- Workshop
- Getting
- Started
- EZSDK
- with
- 816
- day
- DM
- 2020小学心理健康教育工作计划最新(标准版)
- 医师变更表部队专用
- 冲压工艺及模具设计复习题答案
- 副科级干部个人工作总结精选.
- 关于白居易的小故事
- 【异乡好居】曼城租房之Lambert and Fairfield House留学生公寓解析
- 天然气发动机故障处理流程
- 2017年西南大学新闻传媒学院629新闻学考研题库
- 用矛盾分析法分析大学生的恋爱问题
- S73WS256NEEBAWTB0中文资料
- 如何设计散装烤鱼片项目可行性研究报告(技术工艺+设备选型+财务概算+厂区规划)方案
- 李约瑟之谜与中国经济的长期发展
- 首发广东省揭阳一中高一英语精选练习题nit5 in boo 1
- 2017-2022年镇江市医院市场前景调查及投融资战略研究报告
- 数据采集系统毕业设计论文
- 江苏省海门市包场高级中学高一地理《双休日任务型自主学习》导学单(11)
- 2018年北京航空航天大学971机械工程专业综合之自动控制原理考研核心题库
- 020208统计学及就业介绍及统计学人气院校
- 席慕容:七里香及赏析
- 浙江一级计算机等级考试操作题集合集