Skip to content
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

Problems generating uImage #12

Open
Vegz78 opened this issue Mar 9, 2020 · 2 comments
Open

Problems generating uImage #12

Vegz78 opened this issue Mar 9, 2020 · 2 comments

Comments

@Vegz78
Copy link

Vegz78 commented Mar 9, 2020

Hi,

I tried to follow the instructions here, but it fails when I try to generate uImage and I'm not able to decode the error message: https://ev3rt-git.github.io/get_started/

ERROR:
"$ make app=loader
configure: Generating Makefile.app from ../loader/Makefile.app.
configure: Generating app.c from ../loader/app.c.
configure: Generating app.h from ../loader/app.h.
configure: Generating app.cfg from ../loader/app.cfg.
make[1]: Entering directory '/home/pi/ev3rt-hrp2/base-workspace/OBJ'
rm -f #* *~ *.o cfg2_out.ld cfg3_out.ld ldscript.ld
rm -f hrp2 hrp2.syms hrp2.srec hrp2.bin
rm -f kernel_mem.c cfg2_out cfg2_out.tf cfg2_out.syms cfg2_out.srec
rm -f cfg3_out cfg3_out.tf cfg3_out.syms cfg3_out.srec
rm -f kernel_cfg.timestamp kernel_cfg.h kernel_cfg.c kernel_mem2.c kernel_cfg.h kernel_cfg.c kernel_mem3.c
rm -f cfg1_out.c cfg1_out cfg1_out.syms cfg1_out.srec
rm -f libkernel.a
rm -f makeoffset.s offset.h
make[1]: Leaving directory '/home/pi/ev3rt-hrp2/base-workspace/OBJ'
CC ../../arch/arm_gcc/common/start.S
CFG[1] cfg1_out.c
../../cfg/cfg/cfg: 1: ../../cfg/cfg/cfg: Syntax error: word unexpected (expecting ")")
make[1]: *** [Makefile:351: cfg1_out.c] Error 2
make: *** [Makefile:64: /home/pi/ev3rt-hrp2/base-workspace/../libkernel.a] Error 2"

Any help is appreciated!

Br,
Vegard

@YixiaoLi
Copy link
Contributor

Hello,
Thanks for reporting this.
It seems the cfg binary is not compatible with some environments like WSL1.
I have updated the cfg binary. Please try again.

@Vegz78
Copy link
Author

Vegz78 commented Mar 12, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants