Re: [U-Boot] U-Boot hangs in start_armboot()

2008-12-11 Thread Roman Mashak
Hello 2008/12/12 Roman Mashak : [skip] > So I believe 'default_environment[]' has correct "baudrate" > environment set and on startup it will be picked up by > 'init_baudrate()' from $(UBOOT)/lib_arm/board.c Problem is fixed, it was due to a bug in the function configuring clock frequency, which

Re: [U-Boot] U-Boot hangs in start_armboot()

2008-12-11 Thread Roman Mashak
Hello 2008/12/12 Roman Mashak : > Certainly. > > * CPU is arm926ejs based processor with standard peripherals (UART, > I2C, timers etc.) > * our custom board > * U-Boot-1.3.4 Forgot to mention the serial settings in my board's configuration file: #define CONFIG_BAUDRATE 115200 #define CF

Re: [U-Boot] U-Boot hangs in start_armboot()

2008-12-11 Thread Roman Mashak
Hello 2008/12/11 Jean-Christophe PLAGNIOL-VILLARD : [skip] > First could you give us few information as which CPU, Target and U-Boot > version do you work on? Certainly. * CPU is arm926ejs based processor with standard peripherals (UART, I2C, timers etc.) * our custom board * U-Boot-1.3.4 -- R

Re: [U-Boot] U-Boot hangs in start_armboot()

2008-12-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:37 Thu 11 Dec , Roman Mashak wrote: > Hello > > 2008/12/11 Roman Mashak <[EMAIL PROTECTED]>: > > Briefly about the memory map: before remap NOR flash is at 0x0 and > > SDRAM 0x1000, after remap -- SDRAM is mapped at 0x0. I've built > > a U-Boot image linked to 0x0, as I want to loa

Re: [U-Boot] U-Boot hangs in start_armboot()

2008-12-11 Thread Roman Mashak
Hello 2008/12/11 Roman Mashak <[EMAIL PROTECTED]>: > Briefly about the memory map: before remap NOR flash is at 0x0 and > SDRAM 0x1000, after remap -- SDRAM is mapped at 0x0. I've built > a U-Boot image linked to 0x0, as I want to load it in RAM, so I linked > it to 0x0. > > Loading this ima

[U-Boot] U-Boot hangs in start_armboot()

2008-12-11 Thread Roman Mashak
Hello I've just come across a problem. I have ARM-based board with its originally shipped bootloader (not U-Boot, and having less functionality) placed in NOR flash. However it initializes CPU, memory controller, does remap. Briefly about the memory map: before remap NOR flash is at 0x0 and SDRAM