The U-boot provided by Freescale can be downloaded in the following link:
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/
1 - Set the cross compiler environment variables. When using Yocto, it can be made by the following command (see more details at Yocto Trainning Yocto Training - HOME )
source /opt/poky/1.7/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi
2 - Download the source code using "git clone":
git clone http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git
3 - Create a local branch based on some remote branch. In this example, lets use branch origin/imx_v2014.04_3.14.28_1.0.0_ga
cd uboot-imx
git checkout -b imx_v2014.04_3.14.28_1.0.0_ga_local origin/imx_v2014.04_3.14.28_1.0.0_ga
4 - Configure the project with the board you want to build. All board are listed on file boards.cfg. Check the exactly name of the choosen board and add "_config" to build the project. In this example, lets use mx6qsabresd
make mx6qsabresd_config
make
5 - The binary file will be generated and will be located at project root folder. The generated file in this case will be u-boot.imx
6 - More details can be found on files
doc/README.imx6
doc/README.imximage
README
The U-boot project is developed and maintained by Denx Computer Systems can be downloaded in the following link:
http://git.denx.de/?p=u-boot.git;a=summary
1 - Set the cross compiler environment variables. When using Yocto, it can be made by the following command (see more details at Yocto Trainning Yocto Training - HOME )
source /opt/poky/1.7/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi
2 - Download the source code using "git clone":
git clone http://git.denx.de/u-boot.git
3 - Check the name of the board on "configs" folder. In this case lets use mx6qsabresd_config
make mx6qsabresd_config
make
4 - The binary file will be generated and will be located at project root folder. The generated file in this case will be u-boot.imx
Hello Manuel,
Both has their points.
The main line is the most updated in terms of U-boot (it-self). It has support from community or directly from Denx.
The NXP U-boot has support for all NXP boards and has support from NXP.
Regards,
Rogerio
Hi,
I need to rotate the u-boot console display message on the display connected to the system and so I follow the uboot file “README”,
=======================================
CONFIG_LCD_ROTATION
Sometimes, for example if the display is mounted in portrait mode or even if it's mounted landscape but rotated by 180degree, we need to rotate our content of the display relative to the framebuffer, so that user can read the messages which are printed out.
========================================
to add the following define in file “./include/configs/nitrogen6_max.h”
#define CONFIG_LCD_ROTATION
After added the above define, I added the fbcon parameter in the “/proc/cmdline” as shown below,
ubuntu@nitrogen:~$ cat /proc/cmdline
fbcon=rotate:1 console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait fixrtc cpu=6Q board=nitrogen6_max mxc_hdmi.only_cea=1 root=/dev/mmcblk0p1 wlcore.mac=00:19:b8:81:fc:28 splash plymouth.ignore-serial-consoles loglevel=4 reset_cause=0x1
After all the above work, the u-boot display is still cannot rotate. Anyone can help on this?
Regards
llks