
Hi Fabio,
On Tuesday, April 9, 2013 2:46:21 PM, Fabio Estevam wrote:
On Tue, Apr 9, 2013 at 9:30 AM, Fabio Estevam festevam@gmail.com wrote:
Just tested v10 on mx31pdk.
As reported in v9 I start to get reboots and never reach the prompt.
Then I disabled watchdog options in mx31pdk.h and I get the following:
U-Boot 2013.04-rc1-14135-gab21c72-dirty (Apr 09 2013 - 09:23:01)
CPU: Freescale i.MX31 rev 2.0 at 532 MHz. Reset cause: POR Board: MX31PDK DRAM: 128 MiB NAND: 256 MiB In: serial Out: serial Err: serial Net:
(Board hangs here).
When I tested v9 and removed watchdog support I was able to get into the U-boot prompt.
I just added "#define DEBUG" in arch/arm/lib/board to start debugging this and for my surprise I can reach the prompt now:
U-Boot 2013.04-rc1-14135-gab21c72-dirty (Apr 09 2013 - 09:35:51)
U-Boot code: 87F00000 -> 87F2C34C BSS: -> 87F3137C CPU: Freescale i.MX31 rev 2.0 at 532 MHz. Reset cause: POR Board: MX31PDK monitor len: 0003137C ramsize: 08000000 TLB table from 87ff0000 to 87ff4000 Top of RAM usable for U-Boot at: 87ff0000 Reserving 196k for U-Boot at: 87fbe000 Reserving 640k for malloc() at: 87f1e000 Reserving 32 Bytes for Board Info at: 87f1dfe0 Reserving 160 Bytes for Global Data at: 87f1df40 New Stack Pointer is: 87f1df30 RAM Configuration: Bank #0: 80000000 128 MiB relocation Offset is: 000be000 monitor flash len: 000310F4 Now running in RAM - U-Boot at: 87fbe000 NAND: 256 MiB In: serial Out: serial Err: serial Net: smc911x-0 Hit any key to stop autoboot: 0 MX31PDK U-Boot >
I remember to have added "#define DEBUG" in v9 as well, so looks like the behavior between v9 and v10 is consistent.
Now we need to understand why the prompt is not reached without ""#define DEBUG".
CONFIG_SYS_NAND_U_BOOT_SIZE CONFIG_ENV_OFFSET --------------------------------------------------------------------------------