bcm64: strip debug symbols to make sure .img file is multiple of 4 bytes
the raspberry pi4 firmware refuses to enable the GIC interrup controller for arm64 when the .img file is not a multiple of 4 bytes. yes, this is insane and nowhere documented.
This commit is contained in:
parent
5a0c2e2d17
commit
dfea95b3c2
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ LIB=\
|
|||
$p$CONF:DQ: $CONF.c $OBJ $LIB mkfile
|
||||
$CC $CFLAGS '-DKERNDATE='`{date -n} $CONF.c
|
||||
echo '# linking raw kernel' # H6: no headers, data segment aligned
|
||||
$LD -l -o $target -H6 -R0x10000 -T$loadaddr $OBJ $CONF.$O $LIB
|
||||
$LD -s -l -o $target -H6 -R0x10000 -T$loadaddr $OBJ $CONF.$O $LIB
|
||||
|
||||
s$p$CONF:DQ: $CONF.$O $OBJ $LIB
|
||||
echo '# linking kernel with symbols'
|
||||
|
|
Loading…
Reference in a new issue