Hi. I am trying to compile uBoot for the mini2440 board - the compilation is going fine and uBoot.bin file is being created. But once I am trying to run this file (by loading it via supervivi) it is not working, while different compiled uBoot images I have found online are working fine. I have tried 2 different toolchain sets: one from FriendlyArm site and other one from CodeSourcery. Both comiplers are able to compile the code but the binary file is not working. I have moved futher and compiled kernel with the same tools (kernel sources from FriendlyArm site), but it is also not working. What can be the problem? Is it possible that compiler generates wrong binary image? Thanks
Cross Compiler
Try this toolchain: http://mini2440.netyxia.net/viewtopic.php?f=9&t=13 or Angstrom one. If none of those work, then the problem is something else, maybe compiling parameters or build enviroment.
Cristian, No luck with the netyxia compiler - u-boot compiled with this compiler is not working. I have done another test, compiled simple application that prints "Hello WORD" on the terminal with arm-920t-linux-gnueabi tools and executed it on mini2440 with linux - the program worked fine. I am a newbbie in embedded linux world, so I have no idea what does it mean.... Thanks!
What means "not working"? What have you tried? What steps you did to bring in the binaries into your target? What are the (maybe) error messages you see?
I have followed the steps from this article: http://bill.station51.net/index.php?post/2010/01/16/U-Boot-on-Mini2440. After executing the 'go 0x32000000' command in supervivi, the system just hangs without starting the u-boot. While using the same upload instructions, precompiled u-boot binary is working fine. Thanks, Alexey.