I’ve found that u-boot mkimage doesn’t work on macos arm64 due to ASLR
mechanism.
Jessica, do you have any idea how to rewrite INIT_SECTION define to make it
compatible with ASLR mechanism?
(It is related to commit
https://github.com/u-boot/u-boot/commit/3b142045e8a7f0ab17b6099e9226296af45967d
I added some printf debugs to imagetool.c and recompiled with debug symbols:
struct image_type_params *imagetool_get_type(int type)
{
struct image_type_params **curr;
fprintf(stderr, "BEFORE INIT\n");
INIT_SECTION(image_type);
+fprintf(stderr, "AFTER INIT\n");
+
Hello,
I have observed that u-boot mkimage is broken on macos arm64, it generates
segfault every time.
Reproducing:
My MacOS environment:
% sw_vers
ProductName:macOS
ProductVersion: 11.6
BuildVersion: 20G165
% uname -s -r -m
Darwin 20.6.0 arm64
1. Build on macos arm64
% ex
Hello,
I have observed that u-boot mkimage is broken on macos arm64, it generates
segfault every time.
Reproducing:
My MacOS environment:
% sw_vers
ProductName:macOS
ProductVersion: 11.6
BuildVersion: 20G165
% uname -s -r -m
Darwin 20.6.0 arm64
1. Build on macos arm64
% ex
4 matches
Mail list logo