Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/tools/amebasmart/imagetool: Add configuration for package type2…
… - DDR 1. print package type before download/erase operation package type will be printed in the download log as below: Internal flash size: 16 MB + External flash size: 32 MB --> Package 1. Internal flash size: 32 MB + External flash size: 64 MB --> Package 2:DDR. 2. skip flash checking when addr > 0x0A000000 flash checking is ignored if only download images to external flash. This is the request from SDA when implementing external flash feature. More details please refer to Samsung#6220 3. If the image size exceed module flash size, report error and stop download. error log will be printed if end addr > 0x0C000000 for package 1 and 0x0E000000 for package 2 DDR Calculation formula: package 1 has a flash size of 16+32MB, the max addr can be assigned is (0x0A000000+32 * 1024 * 1024) = 0x0C000000. package 2 has a flash size of 32+64MB, the max addr can be assigned is (0x0A000000+64 * 1024 * 1024) = 0x0E000000. 4. package 1 is not able to download image to address between 0x09000000 to 0x0A000000 due to invalid flash mapping. package 2 can download between 0x09000000 to 0x0A000000, because the package 2 has 32MB internal flash: 0x08000000+32 * 1024 * 1024 = 0x0A000000, while package 1 only has 16MB internal flash: 0x08000000+16 * 1024 * 1024 = 0x09000000. Test ok on package 1/package 2/EVB
- Loading branch information