I'm developing a custom board based around the imx6sx and I've used the Pins for i.MX tool Version 4 to describe the pinout. It's quite different from the sdb dev board because there are some different devices, gpios being used, memory setup and and so on.
Anyway, generating code from the Pin Tool gives a series of files: exported_registers.h, fsl_bitaccess.h, imx6sx-board.dtsi, imx6sx_registers.h, pin_mux.c and pin_mux.h.
However, if I am following the BSP porting guide, are those files needed ? Because the porting guide doesn't mention any of those files.
My approach so far has been to follow the BSP Porting guide and I can get a u-boot image with my custom DDR settings and calibration but when I flash it over to the device nothing happens in u boot, I don't get a console ( I changed the early_board_init_f to use UART2 which is we what want to use for our custom console uart). I used the dtsi generated by the Pin Mux tool, it seems quite different from the imx6sx dtsi though, so should I instead edit the imx6sx dtsi instead of including the Pin Mux Tool dtsi ?
I'm missing something but I'm not sure what. I don't know whether i should include the Pin Tool files or not; i thought just changing the pads, for example the uart pads, on the copy of the im6sx_sdb files I got following the Porting Guide and including the dtsi was enough. Is this approach wrong ?