/vendors/XX/YY defaults not updated
When I run petalinux-copy-autoconfig to propogate the hardware platform settings across to the PetaLinux software platform, the platform defaults in petalinux-dist/vendors/XXX/YYY are not updated
Problem Description
The platform defaults in petalinux-dist/vendors/XXX/YYY do not get updated when I run petalinux-copy-autoconfig. Why not? How do I update these settings.
Also,
After running petalinux-copy-autoconfig, and making various configuration changes, those changes are lost when I select a new platform.
Background
PetaLinux maintains two versions of your platform configs - the 'live' versions, which are used each time you actually build an image, and the saved 'default' settings.
The live configs exist throughout the source tree, and include the DTS file in arch/microblaze/boot/dts, as well as kernel configuration (linux-2.6.x/.config).
The default settings live in vendors/XXX/YYY.
When you select a new platform in menuconfig, the saved configs for that platform from vendors/XXX/YYY are copied over the current live configs, and used for subsequent builds.
Workaround
When you make changes to kernel configurations, DTS files and so on, only the 'live' versions are modified.
You therefore must be sure to save them back down to the vendors/XXX/YYY directory before selecting a new platform, or else those changes will be lost.
This is achieved by running
$ petalinux-platform-config --update

