From: Magnus Lilja Date: Thu, 30 Apr 2009 22:28:14 +0200 Subject: [U-Boot] U-boot -printk kernel crash dump using md on PDK In-Reply-To: <528f13590904301306i4812021cr29c569ea7ee2fbaf@mail.gmail.com> References: <528f13590904262208s66b17bdekac218fba7994d177@mail.gmail.com> <59b21cf20904282312m4b5e5442k26d67f42c3fe433d@mail.gmail.com> <528f13590904290948g23609a6et634913c2542fabaf@mail.gmail.com> <59b21cf20904291052p4ec69d38g3b3414a9435ea48d@mail.gmail.com> <528f13590904291636w1005c7e5o4de701f0153cc401@mail.gmail.com> <59b21cf20904300905o1abcbaccmdaa28d32316208cb@mail.gmail.com> <528f13590904300925lb7148eapf2eda301bd5cc30@mail.gmail.com> <59b21cf20904300931l7fd22cf9v90eea0a173dbc115@mail.gmail.com> <528f13590904301248o6403dac4re1858323b307f6d7@mail.gmail.com> <528f13590904301306i4812021cr29c569ea7ee2fbaf@mail.gmail.com> Message-ID: <59b21cf20904301328y5e76ba67hd57f13caeb373ece@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 2009/4/30 alfred steele : > Hi >> That's fine. >> Which linker script gets actually used for the layout in in case of >> nand_spl. Is it ?u-boot-nand.lds or u-boot.lds.? > > I am going back to the original intent of this thread, booting off the > linux kernel using TFTP. ?Here's is a dump of my ?U-boot ?env. ?Does > it look good enough for booting a ?linux kernel. ?WHat could be the > reason that the( md of the printk log does not show up the "console > =ttymxc0,115200" correctly. > It looks like its. just ?"ttymxc0,1152" as evident from the memory > dump i had sent ealier in this thread. > > =>printenv > > baudrate=115200 > netdev=eth0 > uboot=u-boot.bin > nfsroot=/tools/rootfs/rootfs-2.6.24 > bootargs_base=setenv bootargs console=ttymxc0,115200 > bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serveri > p}:${nfsroot} rw > bootcmd=run bootcmd_net > bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${tftp_server}: > ${kernel}; bootm > tftp_server=206.44.18.25 > kernel=uImage_spin2 > loadaddr=0x80008000 > bootdelay=5 > filesize=196828 > fileaddr=81000000 > ipaddr=206.44.18.31 > serverip=206.44.18.25 > loadaddr=0x80008000 > bootargs=root=/dev/nfs rw > stdin=serial > stdout=serial > stderr=serial I tend to load my kernels to 0x81000000 and not 0x80008000 but I don't know if that really matters. Other than that I think 'run bootcmd_net' should work. /Magnus