[U-Boot] setenv only works in command line. Not working when called in the code

2013-08-06 Thread Julyberry
Hello, I am adding a new library which is being called in common/main.c. In that library, I am updating U-Boot environment variables which are accessed from Linux as well. While getenv() always works fine, but setenv() does not work. The value is not updated. setenv works correctly if I use it

Re: [U-Boot] How to create a library with already built library

2013-07-24 Thread Julyberry
Thanks. I was able to link the target by modifying the main Makefile. I will look for how to subscribe the other mailing list. -- View this message in context: http://u-boot.10912.n7.nabble.com/How-to-create-a-library-with-already-built-library-tp159486p159977.html Sent from the U-Boot mailin

Re: [U-Boot] How to create a library with already built library

2013-07-17 Thread Julyberry
Thanks for the reply. Could you help with find the Makefile where it links the already built library? I tried to modify the main Makefile but it looks it tries to generate the library. Thanks, -- View this message in context: http://u-boot.10912.n7.nabble.com/How-to-create-a-library-with-alr

[U-Boot] How to create a library with already built library

2013-07-16 Thread Julyberry
Hello, I am new to U-Boot and try to add some codes for implementing some logic as a feature. This entry routine of this new code will be called from main_loop in common. To achieve this, there are some new codes that I am adding to u-boot/lib/libua(new folder) and I also need to link an already