Re: [U-Boot] Compiling fw_printenv tool

2014-01-14 Thread Alexey Smishlayev
Hello Detlev, On 2014.01.14. 12:54, Detlev Zundel wrote: Hi Alexey, Dear Detlev, I ran $ make HOSTCC=arm-none-linux-gnueabi-gcc env and got the tools/env/fw_printenv executable. But the Make command returned error: strip: Unable to recognise the format of the input file `fw_printenv' make[1]:

Re: [U-Boot] Compiling fw_printenv tool

2014-01-17 Thread Alexey Smishlayev
On 2014.01.17. 16:30, Detlev Zundel wrote: Hi Alexey, [...] I've googled it and sorted it out. The problem was that executable was dynamically linked and the *.so was not found on the embedded system. I compiled it with -static and it runs. I'm glad you solved the problem. I only like for su

[U-Boot] Compiling U-Boot

2013-11-27 Thread Alexey Smishlayev
ething I am doing wrong? Best regards, Alexey Smishlayev ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Compiling U-Boot

2013-11-27 Thread Alexey Smishlayev
Any clues on how to correct this one? Best regards Alexey Smishlayev ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Compiling fw_printenv tool

2013-11-29 Thread Alexey Smishlayev
nv, but it seem to be compiled for my host machine. On my device it says: # ./fw_printenv: line 1: syntax error: "(" unexpected How do I cross compile it for my embedded system? Do I just set the HOSTCC environment variable in the Makefile? Best regard

Re: [U-Boot] Compiling fw_printenv tool

2013-11-29 Thread Alexey Smishlayev
as to be set. However, I uploaded the unstripped executable to my embedded device, and ran: $ chmod a+x fw_printenv $ ./fw_printenv -sh: ./fw_printenv: not found I tried also manually stripping the executable. What could be this error related to? Best regards, Alexey Smishlayev On 2013.11.29.

[U-Boot] Creating U-Boot env image

2013-12-09 Thread Alexey Smishlayev
d I do to flash environment values directly to the board's NAND? Best regards, Alexey Smishlayev ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Creating U-Boot env image

2013-12-09 Thread Alexey Smishlayev
Dear Wolfgang Denk, On 2013.12.09. 22:12, Wolfgang Denk wrote: Dear Alexey Smishlayev, In message <52a5d4f1.7020...@xtech2.lv> you wrote: What should I do to flash environment values directly to the board's NAND? Why don't you just use "env import"? I didn&#x

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Alexey Smishlayev
production? That could be the most simple way to achieve what I want. Best regards, Alexey Smishlayev ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Alexey Smishlayev
Hello Mats, On 2013.12.10. 15:33, Mats Kärrman wrote: On: Tuesday, December 10, 2013 1:32 PM, Alexey Smishlayev wrote: I'm not sure, if that's not something simple, that's why I wrote to this list. I just don't know every little detail about using U-Boot. I was thi