Tried to build the BCT file, but it is not working. The cmd is:
sudo ./nvflash --buildbct PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.cfg bct_new_test --deviceid 0x40
Nvflash 4.13.0000 started
building bct
Unsupported parameters
BuildBct: bct_new_test file created successfully.
The output file is not working. Need to know that how to generate the new BCT file for new DDR3 memory.
As per the help,
./nvflash --cmdhelp --updatebct
Nvflash 4.13.0000 started
used to update some section of system bct(bctsection) from bct specified
this command is run in 3pserver. As of now, bctsection can be SDRAM which
updates SdramParams and NumSdramSets field of bct, DEVPARAM updates
DevParams, DevType and NumParamSets fields, SIGNEDSECTION updates the complete
signed section of bct and BOOTDEVINFO updates BlockSizeLog2, PageSizeLog2 and
PartitionSize fields and BLINFO which must be used with --download command.
Only SIGNEDSECTION can be updated for secure (PKC/SBK fused) devices.
The doubt is:
In nvflash cmd, how to send these details:
DEVPARAM
SIGNEDSECTION
BOOTDEVINFO
BLINFO
and hash details.
creating partition: EBT
bootloader status: BCT is full; no more bootloaders can be added (code: 16) message: CreatePartition 1911 flags: 0
unable to do create partition
command failure/warning: create failed
My observation is each time when I ran getbct the output file checksum varies. So eventhough the size of the bct file is same but for the same device (working device) if I ran --getbct twice I received two different bct files (both doesn’t seems to work when I flash it back).
Hello, Jeslin Paul:
That error is expected since bct read from device already contains BL parameters and again you are filling the bct with same BL info having same partition id in flash.cfg which it will not allow and throw error as shown in description as to why you are filling info which is already present.
May I know what’s the use case for you to readbct? You can flash the device by raw bct.