From: alfred steele Date: Wed, 29 Apr 2009 18:36:05 -0500 Subject: [U-Boot] U-boot -printk kernel crash dump using md on PDK In-Reply-To: <59b21cf20904291052p4ec69d38g3b3414a9435ea48d@mail.gmail.com> References: <528f13590904262208s66b17bdekac218fba7994d177@mail.gmail.com> <59b21cf20904281003l58ed72d5ub222e6cc13508a7c@mail.gmail.com> <528f13590904281018k7d1d7c41oef711c3d39648898@mail.gmail.com> <59b21cf20904281031y1a81448dw2e750d335473d183@mail.gmail.com> <528f13590904281102k3a90e220n865dba306ee9fb@mail.gmail.com> <59b21cf20904281325x77290c67kf701ffee717e21e3@mail.gmail.com> <528f13590904281403g330e29a0r39278a99575fe064@mail.gmail.com> <59b21cf20904282312m4b5e5442k26d67f42c3fe433d@mail.gmail.com> <528f13590904290948g23609a6et634913c2542fabaf@mail.gmail.com> <59b21cf20904291052p4ec69d38g3b3414a9435ea48d@mail.gmail.com> Message-ID: <528f13590904291636w1005c7e5o4de701f0153cc401@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Magnus, > The mainline u-boot + my patches from early April does not contain any > driver for the i.MX31 NAND flash controller so that can't autodetect > any flash part at all. How does it boot out of NAND then? I am getting confused. By detection, i meant the basic init of the NFC and the NFCBUF and the associated initiliazation to pool the SPL off the NAND which further hand over to the uboot. > Follow the startup sequence in lib_arm/board.c:start_armboot and place > printf at strategic locations (unless you have a debugger which you > can single step in). How do i debug after u-boot relocates itself in RAM. I am getting this on using u-boot as the ELF file with arm-elf-gdb. I remember when i had the BDI3000 handy, i was getting a segfault when doing a "remote target :2001>. Please suggest. > CONFIG_NAND_SPL is defined in > nand_spl/board/freescale/mx31pdk/Makefile when it builds the second > phase loader. CONFIG_NAND_SPL is fine but CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT should not be defined in case we are booting out of NAND, right? Thanks.