HOW TO WRITE A BOOT-UP OR START-UP CODE FOR T1040RDB ??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HOW TO WRITE A BOOT-UP OR START-UP CODE FOR T1040RDB ??

Jump to solution
874 Views
loliyana_jay199
Contributor II

hellow sir, 

recently i joined the industry so i want to know that how to write a boot-up or start-up file for freescale t1040 with u-boot ??

Labels (1)
Tags (1)
1 Solution
660 Views
Pavel
NXP Employee
NXP Employee

U-boot is boot loader. It contains start-up code.

Usually modification of u-boot configuration is enough for using a new board. Configuration of the u-boot is available in the following folder in u-boot source: /include/configs/.

See attached file.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
660 Views
Pavel
NXP Employee
NXP Employee

Usually the following command sequence is used for SDK installing under Ubuntu 14:

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. mount SDK 2.0 .iso file
  2. cd <sdk-install-dir>.
  3. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. . fsl-setup-env -m t2080rdb
  2. bitbake fsl-image-minimal

 

This command sequence provides u-boot generation.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
661 Views
Pavel
NXP Employee
NXP Employee

U-boot is boot loader. It contains start-up code.

Usually modification of u-boot configuration is enough for using a new board. Configuration of the u-boot is available in the following folder in u-boot source: /include/configs/.

See attached file.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

660 Views
faizmajeed
Contributor III

Sir this contain only Header file. Can i get whole boot loader for RDBT1040.

Thank You

0 Kudos