Discussion:
[edk2] PCD error in new BaseTools
Evan Lloyd
2015-08-28 17:35:29 UTC
Permalink
I have just tried updating our builds to use the latest BaseTools. (We were using a really old version)
I now get errors from .dsc files that used to work.
The lines in question look like:
gArmPlatformTokenSpaceGuid.PcdRamdiskSize|0x20000000
gArmPlatformTokenSpaceGuid.PcdRamdiskBase|(gArmPlatformTokenSpaceGuid.PcdArmLcdDdrFrameBase - gArmPlatformTokenSpaceGuid.PcdRamdiskSize)

The error for the second line asserts that "PCD (gArmPlatformTokenSpaceGuid.PcdRamdiskSize) is not defined in DSC file" despite the obvious definition in the immediately previous line.

My questions are:
1. Was this an intentional break in functionality, or an accident?
2. Is someone familiar with the Python code able to point me at the likely area of change that caused this, please?
3. Has anyone else seen this problem?

Regards,
Evan

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782


------------------------------------------------------------------------------
Gao, Liming
2015-09-01 03:35:50 UTC
Permalink
Evan:
I create this usage with the latest BaseTools. It can work. Build tool version: build.exe Version 0.60 Build 18320.

Could you let us know which version BaseTools is used? And, where to get your DSC file? I don't find such usage in EDKII ArmPkg and ArmPlatformPkg.

Thanks
Liming
-----Original Message-----
From: Evan Lloyd [mailto:***@arm.com]
Sent: Saturday, August 29, 2015 1:35 AM
To: edk2-***@lists.sourceforge.net
Subject: [edk2] PCD error in new BaseTools

I have just tried updating our builds to use the latest BaseTools. (We were using a really old version) I now get errors from .dsc files that used to work.
The lines in question look like:
gArmPlatformTokenSpaceGuid.PcdRamdiskSize|0x20000000
gArmPlatformTokenSpaceGuid.PcdRamdiskBase|(gArmPlatformTokenSpaceGuid.PcdArmLcdDdrFrameBase - gArmPlatformTokenSpaceGuid.PcdRamdiskSize)

The error for the second line asserts that "PCD (gArmPlatformTokenSpaceGuid.PcdRamdiskSize) is not defined in DSC file" despite the obvious definition in the immediately previous line.

My questions are:
1. Was this an intentional break in functionality, or an accident?
2. Is someone familiar with the Python code able to point me at the likely area of change that caused this, please?
3. Has anyone else seen this problem?

Regards,
Evan

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
Loading...