From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Berthelom Date: Fri, 04 May 2007 17:27:52 +0200 Subject: [U-Boot-Users] problem to load uImage but not zImage (onvirtex-4 board) In-Reply-To: <406A31B117F2734987636D6CCC93EE3C01700E4F@ehost011-3.exch011.intermedia.net> References: <10289563.post@talk.nabble.com> <528646bc0705021018k5bcc5995g7b4a824b357e567b@mail.gmail.com> <406A31B117F2734987636D6CCC93EE3C01700E4F@ehost011-3.exch011.intermedia.net> Message-ID: <463B50F8.8060604@cleode.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I find my problem! it was like you said a problem with the command line in u-boot. I had defined CONFIG_EXTRA_ENV_SETTINGS before CONFIG_BOOTARGS, that's it! and you have to do the opposite. Thanks for your help, Guillaume Berthelom Leonid a ?crit : > Grant is right - kernel command line (defined by u-boot variable > "bootargs") is also very important, though it's difficult to see how > wrong command line can crash printk(). It definitely can prevent serial > output from showing up on console though. > > Leonid. > > -----Original Message----- > From: u-boot-users-bounces at lists.sourceforge.net > [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Grant > Likely > Sent: Wednesday, May 02, 2007 10:19 AM > To: Guillaume Berthelom > Cc: u-boot-users at lists.sourceforge.net > Subject: Re: [U-Boot-Users] problem to load uImage but not zImage > (onvirtex-4 board) > > On 5/2/07, Guillaume Berthelom wrote: > >> When I load the zImage directly with xilinx xmd debugger, the kernel >> > start > >> without problem (if I don't have KGDB or SERIAL_TEXT_DEBUG option in >> > my > >> kernel config). But when I try to load the uImage with u-boot, the >> > kernel > >> start but crach befor I can see something on output. >> The kernel start because I debug it and the platform_init is ok, >> > setup_arch > >> too and it crach after ppc4xx_setup_arch at printk(KERN_INFO "Xilinx >> > ML403 > >> Reference System (Virtex-4 FX)\n") line when the kernel access in >> > printk.c. > >> I use the opb_uart16550 IP in my Xilinx design and the associat >> > drivers in > >> u-boot and linux. >> > > What are you passing for the kernel command line? > Can you post your .config? > > Cheers, > g. > >