AnsweredAssumed Answered

U-boot modification for custom board

Question asked by Eugene Volkov on Mar 16, 2015
Latest reply on Mar 20, 2015 by alejandrolozano

Hello.

i.MX 6 BSP Porting Guide written about what I should rename imx6q- <customer_board_name> .dtb  in  boards.cfg file.

Where to find me a file that would rename it? I have not found it, but renamed it in boards.sfg.

Perhaps it is not right?

 

The second question. Maybe there is a guide how to change mx6 <customer_board> .c (add new driver initialization code, including

clock, iomux, and gpio)?

It is too difficult. In this file, a plurality of embedded files.

 

#include <common.h>

#include <asm/io.h>

#include <asm/arch/clock.h>

#include <asm/arch/imx-regs.h>

#include <asm/arch/iomux.h>

#include <asm/arch/mx6-pins.h>

#include <asm/arch/sys_proto.h>

#include <asm/errno.h>

#include <asm/gpio.h>

#include <asm/imx-common/iomux-v3.h>

#include <asm/imx-common/boot_mode.h>

#if CONFIG_I2C_MXC

#include <i2c.h>

#include <asm/imx-common/mxc_i2c.h>

#endif

#include <mmc.h>

#include <fsl_esdhc.h>

#include <miiphy.h>

#include <netdev.h>

 

#if defined(CONFIG_MX6DL) && defined(CONFIG_MXC_EPDC)

#include <lcd.h>

#include <mxc_epdc_fb.h>

#endif

#include <asm/arch/mxc_hdmi.h>

#include <asm/arch/crm_regs.h>

#include <linux/fb.h>

#include <ipu_pixfmt.h>

#include <asm/io.h>

#include <asm/arch/sys_proto.h>

......

 

How it all understand?

For example, I want to add a configuration iomux from IOMUX Tool.  What files need to edit?

Outcomes