Built u-boot for Karo TX25 module from KARO-TX25-2017-08-17 release.
Flashed SPL image to NAND, attached BDI3000 debugger, see a SIGABRT is raised at /arch/arm/crt0.S line 96. Looks like it's failing to zero the global data which is being allocated at the top of SRAM (128 Kbyte internal RAM of IMX25 0x78000000 - 0x78020000).
Moving the global data store to SDRAM (bank 0) still get the same issue trying to zero the memory.
The only workaround I could find was removing the zeroing of global data from crt0.S and adding
memset((void *)gd, '\0', sizeof(gd_t));
to the board_init_f function in tx25.c.
Slightly baffled as to why I am unable to write to SRAM or SDRAM when in crt0.S but works fine from board_init_f.
Built u-boot for Karo TX25 module from KARO-TX25-2017-08-17 release. Flashed SPL image to NAND, attached BDI3000 debugger, see a SIGABRT is raised at /arch/arm/crt0.S line 96. Looks like it's failing to zero the global data which is being allocated at the top of SRAM (128 Kbyte internal RAM of IMX25 0x78000000 - 0x78020000). Moving the global data store to SDRAM (bank 0) still get the same issue trying to zero the memory. The only workaround I could find was removing the zeroing of global data from crt0.S and adding
to the board_init_f function in tx25.c.
Slightly baffled as to why I am unable to write to SRAM or SDRAM when in crt0.S but works fine from board_init_f.