Hi @jeremyzhou
Thanks for your prompt reply. I am able to generate bin file if using imx-flexspinor-normal-unsigned.bd as is. As I am using IMXRT1176 adn Flash address starts from 0x30000000 rather than 0x60000000. As soon as i change my start address to 0x30000000, I get Segmentation fault (core dumped)
My bd file looks like
options {
flags = 0x00;
startAddress = 0x30000000;
ivtOffset = 0x1000;
initialLoadSize = 0x2000;
//DCDFilePath = "dcd.bin";
# Note: This is required if the default entrypoint is not the Reset_Handler
# Please set the entryPointAddress to Reset_Handler address
// entryPointAddress = 0x60002411;
}
sources {
elfFile = extern(0);
}
section (0)
{
}
while imx-flexspinor-normal-unsigned.bd (that doesn't creates segmentation fault) is
options {
flags = 0x00;
startAddress = 0x30000000;
ivtOffset = 0x1000;
initialLoadSize = 0x2000;
//DCDFilePath = "dcd.bin";
# Note: This is required if the default entrypoint is not the Reset_Handler
# Please set the entryPointAddress to Reset_Handler address
// entryPointAddress = 0x30002000;
}
sources {
elfFile = extern(0);
}
section (0)
{
}
and my elftosb version is
elftosb 4.0.0
Copyright (c) 2004-2015 Freescale Semiconductor, Inc.
All rights reserved.
Any ideas what can be the issue ?