Fixed
Status Update
Comments
sj...@google.com <sj...@google.com>
ke...@google.com <ke...@google.com> #2
.
sj...@google.com <sj...@google.com> #3
.
ke...@google.com <ke...@google.com> #4
We're unable to reproduce this issue on Android Studio Canary 13.
Android Studio Arctic Fox | 2020.3.1 Canary 13
Build #AI-203.7148.57.2031.7242491, built on March 29, 2021
Runtime version: 11.0.8+0-b944-P17168821 amd64
Android Studio Arctic Fox | 2020.3.1 Canary 13
Build #AI-203.7148.57.2031.7242491, built on March 29, 2021
Runtime version: 11.0.8+0-b944-P17168821 amd64
sj...@google.com <sj...@google.com> #5
@4 OK updated to this now. Very easy to reproduce again.
See attached of how to reproduce it on canary 13 too:
Android Studio Arctic Fox | 2020.3.1 Canary 13
Build #AI-203.7148.57.2031.7242491, built on March 29, 2021
Runtime version: 11.0.8+10-b944.6842174 amd64
VM: OpenJDK 64-Bit Server VM by N/A
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4000M
Cores: 12
Registry: external.system.auto.import.disabled=true, ide.settings.move.mouse.on.default.button=true, debugger.watches.in.variables=false
Non-Bundled Plugins: Show As ..., String Manipulation, com.dubreuia, com.intellij.marketplace, org.jetbrains.kotlin, com.google.mad-scorecard, org.intellij.plugins.markdown
See attached of how to reproduce it on canary 13 too:
Android Studio Arctic Fox | 2020.3.1 Canary 13
Build #AI-203.7148.57.2031.7242491, built on March 29, 2021
Runtime version: 11.0.8+10-b944.6842174 amd64
VM: OpenJDK 64-Bit Server VM by N/A
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4000M
Cores: 12
Registry: external.system.auto.import.disabled=true, ide.settings.move.mouse.on.default.button=true, debugger.watches.in.variables=false
Non-Bundled Plugins: Show As ..., String Manipulation, com.dubreuia, com.intellij.marketplace, org.jetbrains.kotlin, com.google.mad-scorecard, org.intellij.plugins.markdown
ke...@google.com <ke...@google.com> #6
Is it still reproducible with the new Logcat in Studio Electric Eel?
sj...@google.com <sj...@google.com> #7
@6 You've deleted all the files I've uploaded here (or the website has). How can I check it out?
I don't remember what was written on the project a year ago...
Please restore the files so that I could check it out.
Also please stop deleting my files.
I don't remember what was written on the project a year ago...
Please restore the files so that I could check it out.
Also please stop deleting my files.
sj...@google.com <sj...@google.com> #8
The files were deleted due to expiration of the retention period for restricted attachments. They are not recoverable.
sj...@google.com <sj...@google.com> #9
@8 So disable this behavior or extend it to enough time till you answer and I can check it out.
Otherwise there is no point in writing here as you answer too late for me to check it out again, because you don't give me a chance to do it.
Otherwise there is no point in writing here as you answer too late for me to check it out again, because you don't give me a chance to do it.
Description
ec-rw {
compatible = "cros-ec,flash-layout";
type = "section";
offset = <0x40000>;
size = <0x40000>;
rw_fw: rw-fw {
type = "blob";
filename = "zephyr_rw.bin";
rw-fwid {
offset-from-sym = <&zephyr>, "current_image_data", <4>;
type = "text";
size = <32>;
text-label = "version";
};
};
};
The offset-from-sym provides three parameters:
- phandle of the entry to look at (containing ELF file)
- symbol table to look up in that ELF file (to get the offset)
- value to add to that offset (here, 4)
So rw-fwid is located *within* the zephyr_rw.bin blob at that position ((char *)¤t_image_data + 4).
This means that binman grabs that blob but then overwrites 32 bytes of it with the version string.
Finally, that rw-fwid needs to appear in the FMAP produced by the image, if that is not automatic.