Thanks for the reply.
I have made the following changes in board.c file. Currently I disabled m4 resource.
sc_err_t board_system_config(sc_bool_t early, sc_rm_pt_t pt_boot)
{
sc_err_t err = SC_ERR_NONE;
/* This function configures the system. It usually partitions
resources according to the system design. It must be modified by
customers. Partitions should then be specified using the mkimage
-p option. */
/* Note the configuration here is for NXP test purposes */
sc_bool_t alt_config = SC_FALSE;
sc_bool_t no_ap = SC_FALSE;
/* Get boot parameters. See the Boot Flags section for defintition
of these flags.*/
(void) boot_get_data(NULL, NULL, NULL, NULL, NULL, NULL, &alt_config,
NULL, NULL, &no_ap);
board_print(3, "board_system_config(%d, %d)\n", early, alt_config);
/* Configure initial resource allocation (note additional allocation
and assignments can be made by the SCFW clients at run-time */
if (alt_config != SC_FALSE)
{
sc_rm_pt_t pt_a35;
#ifdef BOARD_RM_DUMP
rm_dump(pt_boot);
#endif
/* Mark all resources as not movable */
BRD_ERR(rm_set_resource_movable(pt_boot, SC_R_ALL, SC_R_ALL,
SC_FALSE));
BRD_ERR(rm_set_pad_movable(pt_boot, SC_P_ALL, SC_P_ALL,
SC_FALSE));
/* Allocate A35 partition */
BRD_ERR(rm_partition_alloc(pt_boot, &pt_a35, SC_FALSE, SC_TRUE,
SC_FALSE, SC_TRUE, SC_FALSE));
/* Mark all A35 subsystem resources as movable */
BRD_ERR(rm_set_subsys_rsrc_movable(pt_boot, SC_R_A35,
SC_TRUE));
BRD_ERR(rm_set_resource_movable(pt_boot, SC_R_GPT_0,
SC_R_GPT_0, SC_TRUE));
/* Move partition to be owned by SC */
BRD_ERR(rm_set_parent(pt_boot, pt_a35, SC_PT));
/* Move boot to be owned by a35 0 */
if (no_ap != SC_FALSE)
{
BRD_ERR(rm_set_parent(SC_PT, pt_boot, pt_a35));
}
#ifdef BOARD_RM_DUMP
rm_dump(pt_boot);
#endif
}
else
{
err = SC_ERR_UNAVAILABLE;
}
return err;
I am unable to write on the UART for SCU.