I am trying to switch from LTIB to Yocto on a custom imx28 board. I have the LTIB u-boot with imx bootlets working on sdcard.
The only thing I had to change was define NO_DCDC_BATT_SOURCE in power_prep.c otherwise u-boot would keep reseting.
Booting a sdcard with u-boot 2013.10 results in u-boot failing to initialize with no output on the console.
I added some debug messages and found that it keeps failing at the same line.
In spl_power_init.c, mxs_power_set_vddx(&mxs_vddio_cfg, 3300, 3150) is called and fails at the following line:
cur_target = readl(cfg->reg);
The same sdcard will start loading the kernel fine on the imx28evk.
Any help would be appreciated.