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?
Hi,
As far as I know the imx6q- <customer_board_name> .dtb file is found in the Linux source code it does not belong to U-boot.
Many of the pins are configured in the files found at board/freescale, for example board/freescale/mx6qsabreauto/mx6qsabreauto.c
The pads are configured using the functions :imx_iomux_v3_setup_multiple_pads.
Best Regards,
Alejandro