DM8168 编译filesystem步骤
在板子跑起来之前,需要先编译好8168的文件系统。前提是已经设置好板子的类型等参数,详见《DM8168环境搭建》
1.进入<DVR_RDK_BASE>/dvr_rdk目录
make -s sys_all
NOTE: “-s” option is used to suppress detailed prints on the command line
该选项会清除重建DVD_RDK,以及其依赖包,有可能出现vpss not found 等错误,这时候需要先 make -s hdvpss_all ,然后执行该命令。
This will clean and rebuild the packages below
• Linux Uboot
• Linux PSP
• Syslink
• HDVPSS
• DVR RDK
2. make -s uboot_all
在ti816X_evm中出现如下三个文件表示完成
3. 利用tftp烧写uboot到nand
此时启动模式是SD卡启动,SW3拨码为0000010111(9~0高位到低位),SW4的nand拨码为1. 插入SD卡,打开minicom,启动,中断uboot,
TI8168_EVM# nand write.i 0x81000000 0x00580000 0x300000
TI8168_EVM# mw.b 0x81000000 0xFF 0x260000
TI8168_EVM# tftp 0x81000000 uboot_NAND_DM816X_TI_EVM
TI8168_EVM# nandecc hw 2
TI8168_EVM# nand erase 0x0 0x260000
TI8168_EVM# nand write.i 0x81000000 0x0 0x260000
TI8168_EVM# saveenv
(TI8168_EVM#
nand write.i 0x81000000 0x00580000 0x300000;
mw.b 0x81000000 0xFF 0x260000;
tftp 0x81000000 uboot_NAND_DM816X_TI_EVM; nandecc hw 2;
nand erase 0x0 0x260000;
nand write.i 0x81000000 0x0 0x260000)
4. nand启动uboot后烧写uImage
改变启动模式为nand启动,SW3拨码为0010010010(9~0高位到低位),SW4的nand拨码为1.打开minicom,拔掉SD卡,打开minicom,开启电源出现uboot启动信息,中断
TI8168_EVM# mw.b 0x81000000 0xFF 0x300000
TI8168_EVM# tftp 0x81000000 uImage_DM816X_TI_EVM
TI8168_EVM# nand erase 0x00580000 0x440000
(TI8168_EVM#
mw.b 0x81000000 0xFF 0x300000;tftp uImage_DM816X_TI_EVM;nand erase 0x00580000 0x440000;nand write.i 0x81000000 0x00580000 0x300000 )