imx53ltib及环境配置,ltib -c mfg烧写
来源:互联网 发布:政府大数据平台的建设 编辑:程序博客网 时间:2024/05/22 03:51
sudo visudo (CTRL + X)
%admin ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
必须在L2.6.35_11.09.01_ER_source 的上层目录运行:./L2.6.35_11.09.01_ER_source/install
再按照提示,运行./ltib,压缩源码默认安装在/opt/freescale/pkgs,必须创建此目录;
重装ltib时,出错信息如下(在host_config.log 里面):warning: waiting for transaction lockon /tmp/rpm-lucid/rpmdb/__db.000
prm数据库出现损坏导致,可能导致多数rpm软件的升级、安装或者删除都会有问题。此错误,请以root身份输入以下命令:
rm -rf /tmp/rpm-*
rpm --rebuilddb
若要重新安装ltib,先删除/opt/freescale/pkgs目录内所有内容;
2. Install the LTIB package not as root:
tar zxf <ltib_release>.tar.gz
./<ltib_release>/install
This command installs LTIB to your directory.
3. Build LTIB:
cd <LTIB directory>
./ltib -m config
uboot编译文件准备:./ltib -m prep -p u-boot
./ltib -c 的内核配置在system type\Freescale MXC Implementations项中,去掉imx50,51,53smk等于imx53loco不相关的板子编译配置
各模块的spec文件在ltib/dist/lfs-5.1/
解压后的源码在ltib/rpm/BUILD/下
内核编译的模块列表在ltib/config/userspace/packages.lkc,该目录下还有pkg_map,每个模块的入口
mkimage -A arm -Olinux -T kernel -C none -a 0x70008000 -e 0x70008000 –n "Linux-<kernel_version>"-d zImage uImage
>cd your_rootfs_dir
>tar -cjf rootfs.tar.bz2 *
mfgtool烧写系统
在目录mfgtool\Profiles\MX53 Linux Update\OS Firmware中,u-boot-mx53-loco.bin anduImage是工具自己使用的,
在该目录下一层OS Firmware\files中存放的才是烧写系统用的,具体的烧写过程:sd卡弹出,上电,连接usb线,按power开关,打开mfgtool(scan device:freescale imx53 usb bulkio device),插入sd卡,烧写
烧写过程文件:OS Firmware\ucl.xml,上层目录有plaer.ini,修改为:UCL_INSTALL_SECTION=MX53LOCO-SD
Update to the latest packages
Open up System -> Administration -> Update Manager
Click on Settings
Open the Updates Tab
Set 'Release upgrade' to 'Never'. That makes the option to upgrade to Karmic go away.
Close the settings dialog box.
Click on 'Check' to check for upgraded packages
Install host packages needed by LTIB
#!/bin/bash
# Install packages needed by LTIB
sudo aptitude -y install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo aptitude -y install libdbus-glib-1-dev liborbit2-dev intltool
sudo aptitude -y install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo aptitude -y install uuid-dev liblzo2-dev
sudo aptitude -y install tcl dpkg
# Packages required for 64-bit Ubuntu
# Do "uname -a" and see if the word "x86_64" shows up.
if uname -a|grep -sq 'x86_64'; then
sudo aptitude -y install ia32-libs libc6-dev-i386 lib32z1
fi
# The following recommended for Linux development.
# They are not required by LTIB.
sudo aptitude -y install gparted emacs22-nox openssh-server
sudo aptitude -y install nfs-common nfs-kernel-server lintian
sudo aptitude -y install git-core git-doc git-email git-gui gitk
sudo aptitude -y install diffstat indent tofrodos fakeroot doxygen uboot-mkimage
sudo aptitude -y install sendmail mailutils meld atftpd sharutils
sudo aptitude -y install manpages-dev manpages-posix manpages-posix-dev linux-doc
sudo aptitude -y install vnc4server xvnc4viewer
Configure tftp server
After installing atftpd, configure it by editing /etc/inetd.conf and /etc/default/atftpd.
In both files, change the default export path (it is either /usr/var/tftpboot or /var/lib/tftpboot) to /
Or change the default export path to whatever directory you want to be able to download from.
Then reboot your box.
Configure nfs server
To configure nfs server, add lines to /etc/exports like this (below example exports /home and everything under it.
/home *(rw,no_root_squash)
Then restart the nfs server:
sudo /etc/init.d/nfs-kernel-server restart
Using the Pre-Built Image
1 - Unpack the file "ubuntu_start_board.bin.tar.gz" located at /home/lucid/Desktop
(Ubuntu Vmware image) right clicking on file and selecting "Extract Here".
2 - Insert a 4GB or more SD card on PC.
3 - On a terminal window, use the following command to write the image to SD card:
$ sudo dd if=/home/lucid/Desktop/ubuntu_start_board.bin of=/dev/sdb
4 - Insert the SD card on i.MX53 Quick Start board. It will boot using VGA connector as
display output and Serial UART as debug terminal.
- imx53ltib及环境配置,ltib -c mfg烧写
- Linux Target Image Builder(LTIB)环境配置(待续)
- Linux Target Image Builder(LTIB)环境配置(待续)
- notepad++使用及配置C语言环境
- 飞凌ok6410_wince_2Gflash_256ddr操作系统开发环境配置及烧写自己定制的内核
- 关于LTIB安装配置经验
- LTIB
- MinGW 安装 及 NotePad++配置C/C ++环境 插件安装
- Redboot文件烧写及配置方法
- Ubuntu12.04安装Freescale LTIB环境
- Ubuntu10.04搭建ltib(MPC8315E)开发环境
- Eclipse C/C++及Python开发环境配置
- 配置C程序的编译环境,及怎样演示Demo
- ProtocolBuffer for Objective-C 运行环境配置及使用
- ProtocolBuffer for Objective-C 运行环境配置及使用
- ProtocolBuffer for Objective-C 运行环境配置及使用
- ProtocolBuffer for Objective-C 运行环境配置及使用
- ProtocolBuffer for Objective-C 运行环境配置及使用
- VIM使用系列之一—配置VIM下编程和代码阅读环境
- JS select实现跳转
- 读书笔记_CALL和RET指令
- hdu 1166 敌兵布阵
- oracle的DBMS_SQL中动态游标的使用资料搜集
- imx53ltib及环境配置,ltib -c mfg烧写
- IT 影响力
- 知名端口号
- Windows XP SP2 更新SP3后无法安装IIS解决办法
- Android项目实战之(1)-- 开发一个"快速冲浪"的程序
- scrollView默认显示最下方内容
- less 命令
- 在Service里面启动一个Activity
- oracle的split函数