2010-09-13 23:50:35 no "images" directory created
alex litz (UNITED STATES)
Message: 93393
Hey all,
After installing the toolchain twice, making certain that the uClinux distributation matches, etc..., I'm having some issues compiling.
"make" yields an error near the end:
make[3]: Leaving directory `/home/alitz/ucLinux/uClinux-dist/user/play'
bfin-uclinux-gcc -Wl,-elf2flt -mcpu=bf526-0.0 pmap_dump.o -o pmap_dump
bfin-uclinux-gcc -Wl,-elf2flt -mcpu=bf526-0.0 pmap_set.o -o pmap_set
GEN /home/alitz/ucLinux/uClinux-dist/user/busybox/build-busybox-1.13.4/Makefile
Using /home/alitz/ucLinux/uClinux-dist/user/busybox/busybox-1.13.4 as source for busybox
make[4]: Leaving directory `/home/alitz/ucLinux/uClinux-dist/user/portmap/portmap_6.0'
make[3]: Leaving directory `/home/alitz/ucLinux/uClinux-dist/user/portmap'
make[4]: Leaving directory `/home/alitz/ucLinux/uClinux-dist/user/busybox/build-busybox-1.13.4'
make[3]: Leaving directory `/home/alitz/ucLinux/uClinux-dist/user/busybox'
make[2]: Leaving directory `/home/alitz/ucLinux/uClinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/alitz/ucLinux/uClinux-dist/user'
make: *** [subdirs] Error 1
Its creating the "linux" and "vmlinux" elf files under the linux.2.6.xx directory, but not creating the image files...doing a manual make image is also not yielding the desired results.
Any clues?
Cheers,
QuoteReplyEditDelete
2010-09-14 00:02:08 Re: no "images" directory created
Mike Frysinger (UNITED STATES)
Message: 93394
you didnt post enough of a log. you need to look up to figure out what the actual problem is.
or run `make single` so that the build aborts on an error.
QuoteReplyEditDelete
2010-09-14 00:27:02 Re: no "images" directory created
alex litz (UNITED STATES)
Message: 93395
Thanks Mike - I figured it out, apparently I didn't find the instructions on setting up the host system, though Im a bit confused on why I would need host header files to compile the target correctly - seems dangerous.
I am now able to compile, but it crashes when I load uImage into u-boot, and try to "go"....I will see if I can sift through the documentation on what I am doing wrong now.
Thanks,
QuoteReplyEditDelete
2010-09-14 00:36:02 Re: no "images" directory created
Mike Frysinger (UNITED STATES)
Message: 93397
you dont use 'go' on any file in images/. you use 'bootm' on uimages.
QuoteReplyEditDelete
2010-09-14 00:40:31 Re: no "images" directory created
alex litz (UNITED STATES)
Message: 93398
Thanks Mike, just figured that out as well....I gotta say, its neat to have this thing up and running...looking forward to porting it to our custom board
I am just wondering at this point, and I may start a topic on this, how does one deal with source control with all the third party-dependencies on the host system? Do you have to image the entire system, or is there documentation on how to pull out the dependencies...
Cheers,
Alex
QuoteReplyEditDelete
2010-09-14 00:45:04 Re: no "images" directory created
Mike Frysinger (UNITED STATES)
Message: 93399
new thread please