Re: [U-Boot] Environmentvar. "ipaddr" - microblaze

2010-03-23 Thread Horst Gall
> Horst: Give me step-by-step manual how to reach that fault. Hi Michal, in 'include/configs/microblaze_generic.h' is ipaddr defined: #define CONFIG_IPADDR 192.168.0.3 Now run uboot: setenv ipaddr 192.168.0.1 saveenv Reboot the board printenv (tells ipaddr 192.168.0.1) bdi

[U-Boot] Environmentvar. "ipaddr" - microblaze

2010-03-17 Thread Horst Gall
Hi Wolfgang, in "lib_microblaze/board.c board_init()" the function "env_relocate()" should be called before "getenv_IPaddr()" otherwise there is no chance to save an ip-address in the environment (like in lib_ppc/boar

[U-Boot] soft_spi.c crash while saveenv

2010-03-17 Thread Horst Gall
t". In case of writing to the spi-device the returned bytes are also written to the dout-pointer. The function "spi_flash_cmd()" in "drivers/mtd/spi/spi_flash.c" calls now this function with a NULL-pointer. I fiexed the problem in soft_spi.c and attached the file.

[U-Boot] uboot on microblaze, compilation error

2010-03-17 Thread Horst Gall
t.o (.text) ... When I change the "1" to "microblaze" it works: OUTPUT_ARCH(microblaze) ENTRY(_start) ... cpu/microblaze/start.o (.text) ... After "make ...config" my modification is overwritten. How can I fix