-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new release? #75
Comments
If Martijn agrees, I'll start building for the new release.
|
Yes I agree |
Seems like the IMX8 BL31 fails to compile on GCC 12 due to some warnings.
```
+ make PLAT=imx8mq CROSS_COMPILE=aarch64-linux-gnu- bl31
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make
rule.
make[1]: Entering directory '/tmp/Jumpdrive/build/u-boot/librem5/arm-trusted-
firmware'
CC plat/imx/imx8mq/imx8mq_bl31_setup.c
CC plat/imx/imx8mq/src.c
In file included from plat/imx/imx8mq/src.c:13:
In function 'mmio_read_8',
inlined from 'imx_soc_handler' at plat/imx/imx8mq/src.c:59:16:
include/lib/mmio.h:19:16: error: array subscript 0 is outside array bounds of
'volatile uint8_t[0]' {aka 'volatile unsigned char[]'} [-Werror=array-bounds]
19 | return *(volatile uint8_t*)addr;
| ^~~~~~~~~~~~~~~~~~~~~~~~
In function 'mmio_read_8',
inlined from 'imx_soc_handler' at plat/imx/imx8mq/src.c:61:17:
include/lib/mmio.h:19:16: error: array subscript 0 is outside array bounds of
'volatile uint8_t[0]' {aka 'volatile unsigned char[]'} [-Werror=array-bounds]
19 | return *(volatile uint8_t*)addr;
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:711: build/imx8mq/release/bl31/src.o] Error 1
make[1]: Leaving directory '/tmp/Jumpdrive/build/u-boot/librem5/arm-trusted-
firmware'
make: *** [Makefile:247: u-boot-librem5.bin] Error 2
```
|
@Danct12 using the following gets me past the
See this but I get
|
Okay, I got it to build successfully. In my case I needed the
|
Friendly request to make a new release, as I also ran into an issue with my Librem 5. |
@Danct12, @MartijnBraam any chance you could make a new release? there aren't a lot of changes between 0.8 and master[1], but it includes two useful fixes. The librem5 kernel upgrade is especially important since the kernel used in 0.8 will frequently cause jumpdrive to fail to boot on that device.
The text was updated successfully, but these errors were encountered: