* [U-Boot-Users] 1.1.4 and 2.6 kernel
@ 2006-06-27 8:43 alfred hitch
2006-06-27 8:50 ` Wolfgang Denk
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: alfred hitch @ 2006-06-27 8:43 UTC (permalink / raw)
To: u-boot
Hi All,
I am trying to get 2.6 kernel boot on a plattfor very similar to ixdp425.
We already have u-boot 1.1.1 and 2.4 kernel working for us. But, while
trying to get the 2.6 working.
I get the Booting image at XXXX
XXXX
Starting Kernel ...
And after that nothing.
At this stage I am expecting the "Uncompressing Linux ......"
What could be going wrong ? Same board, if I put in 2.4 on a 1.1.4 version
u-boot, it boots fine.
Is it some tty redirection issue ??
Only change from IXDP425 board is sdram configuration and ttyS1 for console
instead of ttyS0.
Suspecting later but then 2.4 shouldnt' have also booted up ?
I am new to u-boot and would appreciate some help on issue. any pointers ?
Regards,
Alfred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060627/4a50fc06/attachment.htm
^ permalink raw reply [flat|nested] 16+ messages in thread* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-27 8:43 [U-Boot-Users] 1.1.4 and 2.6 kernel alfred hitch @ 2006-06-27 8:50 ` Wolfgang Denk 2006-06-27 10:35 ` Ilya Yanok 2006-06-27 17:27 ` Michael Schwingen 2 siblings, 0 replies; 16+ messages in thread From: Wolfgang Denk @ 2006-06-27 8:50 UTC (permalink / raw) To: u-boot In message <29f916510606270143g5d143086oaa336b93f2225495@mail.gmail.com> you wrote: > > I am trying to get 2.6 kernel boot on a plattfor very similar to ixdp425. > We already have u-boot 1.1.1 and 2.4 kernel working for us. But, while > trying to get the 2.6 working. This is a Linux issue, then, and off topic here. > I am new to u-boot and would appreciate some help on issue. any pointers ? This is not a U-Boot issue. [But check your boot arguments, especially any console= arguments, and your root file system for corresponding device nodes.] > ------=_Part_22541_24787346.1151397818795 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > Hi All,<br> > <br> And *never* again post HTML here. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "There are three principal ways to lose money: wine, women, and engi- neers. While the first two are more pleasant, the third is by far the more certain." - Baron Rothschild, ca. 1800 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-27 8:43 [U-Boot-Users] 1.1.4 and 2.6 kernel alfred hitch 2006-06-27 8:50 ` Wolfgang Denk @ 2006-06-27 10:35 ` Ilya Yanok 2006-06-27 10:47 ` alfred hitch 2006-06-27 17:27 ` Michael Schwingen 2 siblings, 1 reply; 16+ messages in thread From: Ilya Yanok @ 2006-06-27 10:35 UTC (permalink / raw) To: u-boot alfred hitch wrote: > I am trying to get 2.6 kernel boot on a plattfor very similar to ixdp425. > We already have u-boot 1.1.1 and 2.4 kernel working for us. But, while > trying to get the 2.6 working. > > I get the Booting image at XXXX > XXXX > Starting Kernel ... > > And after that nothing. > > At this stage I am expecting the "Uncompressing Linux ......" Looks like kernel doesn't use serial console, have you provided correct console= boot argument? > What could be going wrong ? Same board, if I put in 2.4 on a 1.1.4 > version u-boot, it boots fine. > > Is it some tty redirection issue ?? > Only change from IXDP425 board is sdram configuration and ttyS1 for > console instead of ttyS0. > Suspecting later but then 2.4 shouldnt' have also booted up ? I'm pretty sure that serial device of your board was renamed from ttyS to something more specific in 2.6 kernel. Check this. Second possible reason is that you don't have boot arguments support in u-boot (your 2.4 kernel may have precompiled boot arguments, check kernel configuration). Ilya. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-27 10:35 ` Ilya Yanok @ 2006-06-27 10:47 ` alfred hitch 2006-06-27 11:14 ` Ilya Yanok 2006-06-27 11:18 ` Andreas Schweigstill 0 siblings, 2 replies; 16+ messages in thread From: alfred hitch @ 2006-06-27 10:47 UTC (permalink / raw) To: u-boot Hi Ilya, Thanks for your reply. Can you please help me understand what params you are referring to ? I had changed my u-boot configs file to use: #define CONFIG_BOOTARGS "console=ttyS1,115200 root=/dev/mtdblock4 rw, mem=64M at 0x00000000" Note the change from default ttyS0 to ttyS1. And linux bootargs I see xconf as : console=ttyS1,115200 root=/dev/mtdblock4 mem=64M at 0x00000000 So, they look more or less ok ?? With same u-boot I can get 2.4 working. So, what could I be missing here. Wolfgang: Apologise for html mail, my mistake. But I do see this issue as falling on the line between u-boot and linux. Not sure if linux guys will also push me to u-boot back again. So, please see if you can offer some advice. Regards, Alfred On 6/27/06, Ilya Yanok <ilya.yanok@gmail.com> wrote: > alfred hitch wrote: > > I am trying to get 2.6 kernel boot on a plattfor very similar to ixdp425. > > We already have u-boot 1.1.1 and 2.4 kernel working for us. But, while > > trying to get the 2.6 working. > > > > I get the Booting image at XXXX > > XXXX > > Starting Kernel ... > > > > And after that nothing. > > > > At this stage I am expecting the "Uncompressing Linux ......" > Looks like kernel doesn't use serial console, have you provided correct > console= boot argument? > > > What could be going wrong ? Same board, if I put in 2.4 on a 1.1.4 > > version u-boot, it boots fine. > > > > Is it some tty redirection issue ?? > > Only change from IXDP425 board is sdram configuration and ttyS1 for > > console instead of ttyS0. > > Suspecting later but then 2.4 shouldnt' have also booted up ? > > I'm pretty sure that serial device of your board was renamed from ttyS > to something more specific in 2.6 kernel. Check this. > > Second possible reason is that you don't have boot arguments support in > u-boot (your 2.4 kernel may have precompiled boot arguments, check > kernel configuration). > > Ilya. > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-27 10:47 ` alfred hitch @ 2006-06-27 11:14 ` Ilya Yanok 2006-06-27 11:18 ` Andreas Schweigstill 1 sibling, 0 replies; 16+ messages in thread From: Ilya Yanok @ 2006-06-27 11:14 UTC (permalink / raw) To: u-boot alfred hitch wrote: > I had changed my u-boot configs file to use: > #define CONFIG_BOOTARGS "console=ttyS1,115200 > root=/dev/mtdblock4 rw, mem=64M at 0x00000000" > > Note the change from default ttyS0 to ttyS1. > > And linux bootargs I see xconf as : > console=ttyS1,115200 root=/dev/mtdblock4 mem=64M at 0x00000000 If you have precompiled boot arguments in your kernel then it is surely no u-boot issue. Have you enabled support for serial console on 8250 port? Please, do not answer in this list anymore as your issue is surely kernel specific. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-27 10:47 ` alfred hitch 2006-06-27 11:14 ` Ilya Yanok @ 2006-06-27 11:18 ` Andreas Schweigstill 1 sibling, 0 replies; 16+ messages in thread From: Andreas Schweigstill @ 2006-06-27 11:18 UTC (permalink / raw) To: u-boot Dear Alfred! alfred hitch schrieb: > Note the change from default ttyS0 to ttyS1. Have you enabled PXA serial ports in your Linux configuration? And also the "Console on PXA serial port" option? I have just taken a look into 2.6.15 and have found out that the PXA serial ports are also named ttyS, so it should be okay. Regards Andreas Schweigstill -- Dipl.-Phys. Andreas Schweigstill Schweigstill IT | Embedded Systems Schauenburgerstra?e 116, D-24118 Kiel, Germany Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436 Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-27 8:43 [U-Boot-Users] 1.1.4 and 2.6 kernel alfred hitch 2006-06-27 8:50 ` Wolfgang Denk 2006-06-27 10:35 ` Ilya Yanok @ 2006-06-27 17:27 ` Michael Schwingen 2006-06-28 2:19 ` alfred hitch 2 siblings, 1 reply; 16+ messages in thread From: Michael Schwingen @ 2006-06-27 17:27 UTC (permalink / raw) To: u-boot alfred hitch wrote: > Hi All, > > I am trying to get 2.6 kernel boot on a plattfor very similar to ixdp425. > We already have u-boot 1.1.1 and 2.4 kernel working for us. But, while > trying to get the 2.6 working. > > I get the Booting image at XXXX > XXXX > Starting Kernel ... > > And after that nothing. > > At this stage I am expecting the "Uncompressing Linux ......" > > What could be going wrong ? Same board, if I put in 2.4 on a 1.1.4 > version u-boot, it boots fine. > > Is it some tty redirection issue ?? > Only change from IXDP425 board is sdram configuration and ttyS1 for > console instead of ttyS0. > Suspecting later but then 2.4 shouldnt' have also booted up ? Maybe. I just ran into similar problems. Since I had trouble getting a kernel to boot on my custom IXP425 board, I borrowed a IXDP425 board last weekend and tried that. I have: - IXDP425 board with redboot in flash - a working kernel that can be booted by redboot via tftp. Replacing redboot by u-boot (pulled from git last week), the kernel is started, but the early output (like "uncompressing kernel") does not appear on any of the UART ports. When the kernel finally has the console set up, the messages appear - but if it panics before that point, there is no output at all. Tracing into the kernel startup using gdb + bdi2000, I found no obvious reason as to why this happens, but I did not have enough time to really dig into the problem - and since I found the reason for my hang, this has now moved down in priority a bit. I can boorow the IXDP425 board again if absolutely necessary. My guess would be that u-boot leaves the hardware in some different state than redboot, so that the early UART output in the linux kernel fails, but this is only a guess. However, since this happens only with u-boot and not with redboot, it does not seem to be a pure linux problem. As a sidenote, the SDRAM config for the IXDP425 seems wrong to me: the board has 256MB SDRAM, but config.h shows only 16MB? cu Michael ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-27 17:27 ` Michael Schwingen @ 2006-06-28 2:19 ` alfred hitch 2006-06-28 6:47 ` Wolfgang Denk ` (2 more replies) 0 siblings, 3 replies; 16+ messages in thread From: alfred hitch @ 2006-06-28 2:19 UTC (permalink / raw) To: u-boot Hi Michael, Everyone, Thanks for your replies. Michael: Looks like we do have something in common. This is a very serious observation. So, correct me if I a wrong. Did the same kernel give you traces with redboot but not u-boot. (We are together) Did same kernel crash later on with u-boot and not redboot ? As in I am curious to know that did change in boot loader cause some other issue apart from crash also ? Hey guys, looks there is more to it than just saying linux issue. Is someone else out there running u-boot 1.1.4 successfully with 2.6 kernel ?? What could be going wrong ?? Cheers, Alfred On 6/27/06, Michael Schwingen <rincewind@discworld.dascon.de> wrote: > alfred hitch wrote: > > Hi All, > > > > I am trying to get 2.6 kernel boot on a plattfor very similar to ixdp425. > > We already have u-boot 1.1.1 and 2.4 kernel working for us. But, while > > trying to get the 2.6 working. > > > > I get the Booting image at XXXX > > XXXX > > Starting Kernel ... > > > > And after that nothing. > > > > At this stage I am expecting the "Uncompressing Linux ......" > > > > What could be going wrong ? Same board, if I put in 2.4 on a 1.1.4 > > version u-boot, it boots fine. > > > > Is it some tty redirection issue ?? > > Only change from IXDP425 board is sdram configuration and ttyS1 for > > console instead of ttyS0. > > Suspecting later but then 2.4 shouldnt' have also booted up ? > Maybe. > > I just ran into similar problems. Since I had trouble getting a kernel > to boot on my custom IXP425 board, I borrowed a IXDP425 board last > weekend and tried that. > > I have: > - IXDP425 board with redboot in flash > - a working kernel that can be booted by redboot via tftp. > > Replacing redboot by u-boot (pulled from git last week), the kernel is > started, but the early output (like "uncompressing kernel") does not > appear on any of the UART ports. > > When the kernel finally has the console set up, the messages appear - > but if it panics before that point, there is no output at all. > > Tracing into the kernel startup using gdb + bdi2000, I found no obvious > reason as to why this happens, but I did not have enough time to really > dig into the problem - and since I found the reason for my hang, this > has now moved down in priority a bit. I can boorow the IXDP425 board > again if absolutely necessary. > > My guess would be that u-boot leaves the hardware in some different > state than redboot, so that the early UART output in the linux kernel > fails, but this is only a guess. However, since this happens only with > u-boot and not with redboot, it does not seem to be a pure linux problem. > > > As a sidenote, the SDRAM config for the IXDP425 seems wrong to me: the > board has 256MB SDRAM, but config.h shows only 16MB? > > cu > Michael > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-28 2:19 ` alfred hitch @ 2006-06-28 6:47 ` Wolfgang Denk 2006-06-28 7:03 ` Marc Leeman 2006-06-28 7:18 ` Michael Schwingen 2 siblings, 0 replies; 16+ messages in thread From: Wolfgang Denk @ 2006-06-28 6:47 UTC (permalink / raw) To: u-boot In message <29f916510606271919t6a3f40c7t4013d4591a09e6be@mail.gmail.com> you wrote: > > Hey guys, looks there is more to it than just saying linux issue. Maybe. Maybe not. > Is someone else out there running u-boot 1.1.4 successfully with 2.6 kernel ?? Of course. We run 2.6 on many, many PowerPC, some ARM, and a few ColdFire and MIPS systems. No problems. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. - Karl Lehenbauer ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-28 2:19 ` alfred hitch 2006-06-28 6:47 ` Wolfgang Denk @ 2006-06-28 7:03 ` Marc Leeman 2006-06-28 7:18 ` Michael Schwingen 2 siblings, 0 replies; 16+ messages in thread From: Marc Leeman @ 2006-06-28 7:03 UTC (permalink / raw) To: u-boot > Hey guys, looks there is more to it than just saying linux issue. > Is someone else out there running u-boot 1.1.4 successfully with 2.6 kernel ?? Running all 2.4 and 2.6 kernels since the release of 1.1.4 without problems. -- greetz, marc I haven't heard of anything like anything happening before. My planet doesn't even go to the moon anymore. Crichton - Through the Looking Glass scorpius.homelinux.org 2.6.17 #2 PREEMPT Thu Jun 22 07:18:33 CEST 2006 GNU/Linux -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20060628/5dcdfb49/attachment.pgp ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-28 2:19 ` alfred hitch 2006-06-28 6:47 ` Wolfgang Denk 2006-06-28 7:03 ` Marc Leeman @ 2006-06-28 7:18 ` Michael Schwingen 2006-06-30 4:16 ` alfred hitch 2006-07-23 12:48 ` [U-Boot-Users] 1.1.4 and 2.6 kernel - missing startup messages - solved! Michael Schwingen 2 siblings, 2 replies; 16+ messages in thread From: Michael Schwingen @ 2006-06-28 7:18 UTC (permalink / raw) To: u-boot alfred hitch wrote: > Hi Michael, Everyone, > > Thanks for your replies. > Michael: Looks like we do have something in common. This is a very > serious observation. So, correct me if I a wrong. Did the same kernel > give you traces with redboot but not u-boot. (We are together) > Correct. I could change between redboot and u-boot and observe this behaviour. > Did same kernel crash later on with u-boot and not redboot ? As in I > am curious to know that did change in boot loader cause some other > issue apart from crash also ? > No. Once I corrected the startup issues (which turned out to be a typo in the commandline arguments), the kernel started up fine (I did not test further than mounting the root fs). cu Michael ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-28 7:18 ` Michael Schwingen @ 2006-06-30 4:16 ` alfred hitch 2006-06-30 6:04 ` alfred hitch 2006-07-23 12:48 ` [U-Boot-Users] 1.1.4 and 2.6 kernel - missing startup messages - solved! Michael Schwingen 1 sibling, 1 reply; 16+ messages in thread From: alfred hitch @ 2006-06-30 4:16 UTC (permalink / raw) To: u-boot Hi All, I am still at logger heads with this issue. Michael: What was ur typo ?? And just wondering if kernel default command line wasn't configured for u ? Someone else also posted today on mailing list on kernel arg's not being passed ? Observations looks similar for now. Cheers, Alfred On 6/28/06, Michael Schwingen <rincewind@discworld.dascon.de> wrote: > alfred hitch wrote: > > Hi Michael, Everyone, > > > > Thanks for your replies. > > Michael: Looks like we do have something in common. This is a very > > serious observation. So, correct me if I a wrong. Did the same kernel > > give you traces with redboot but not u-boot. (We are together) > > > Correct. I could change between redboot and u-boot and observe this > behaviour. > > > Did same kernel crash later on with u-boot and not redboot ? As in I > > am curious to know that did change in boot loader cause some other > > issue apart from crash also ? > > > No. Once I corrected the startup issues (which turned out to be a typo > in the commandline arguments), the kernel started up fine (I did not > test further than mounting the root fs). > > cu > Michael ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-30 4:16 ` alfred hitch @ 2006-06-30 6:04 ` alfred hitch 2006-06-30 9:59 ` Stefan Roese 0 siblings, 1 reply; 16+ messages in thread From: alfred hitch @ 2006-06-30 6:04 UTC (permalink / raw) To: u-boot Hi All, I am sending dumps of my logs and what I did.. Anyone can give any pointers, I will really appreciate it. Boot up log: ----------------------- U-Boot 1.1.1.2 (Nov 17 2004 - 12:54:00) sB_CONFIG: 32MB_2CHIP ---------------------------- U-Boot code: 00F80000 -> 00F90E64 BSS: -> 00F92374 RAM Configuration: Bank #0: 00000000 16 MB Flash: 32 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 => setenv bootargs 'console=ttySAC01,115200 root=/dev/mtdblock4 rw, mem=64M at 0x00000000' => bootm 0x50040000 ## Booting image at 50040000 ... Image Name: Linux Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 951276 Bytes = 929 kB Load Address: 01600000 Entry Point: 01600000 Verifying Checksum ... OK OK Starting kernel ... [And an eternal blank screen after this] I created uImage using this command: ->> u-boot-mkimage -A arm -O linux -T kernel -C none -a 0x01600000 -e 0x01600000 -n "Linux" -d ./zImage uImage Image Name: Linux Created: Fri Jun 30 12:16:18 2006 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 951276 Bytes = 928.98 kB = 0.91 MB Load Address: 0x01600000 Entry Point: 0x01600000 Do we need to change any steps in 2.6 (v/s 2.4) for creating uImage ? Could / do my load address etc need to be changed ? Cheers, Alfred ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-30 6:04 ` alfred hitch @ 2006-06-30 9:59 ` Stefan Roese 2006-07-01 5:09 ` alfred hitch 0 siblings, 1 reply; 16+ messages in thread From: Stefan Roese @ 2006-06-30 9:59 UTC (permalink / raw) To: u-boot Hi Alfred, On Friday 30 June 2006 08:04, alfred hitch wrote: > I am sending dumps of my logs and what I did.. > Anyone can give any pointers, I will really appreciate it. > > Boot up log: > ----------------------- > > U-Boot 1.1.1.2 (Nov 17 2004 - 12:54:00) Pretty old. A major update of the IXP4xx port was done a few weeks ago. Please try to port your board support to the current version. > sB_CONFIG: 32MB_2CHIP > ---------------------------- > U-Boot code: 00F80000 -> 00F90E64 BSS: -> 00F92374 > RAM Configuration: > Bank #0: 00000000 16 MB > Flash: 32 MB > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Hit any key to stop autoboot: 0 > => setenv bootargs 'console=ttySAC01,115200 root=/dev/mtdblock4 rw, Try "ttyS0" or "ttyS1" as console parameter. <snip> > I created uImage using this command: > > ->> u-boot-mkimage -A arm -O linux -T kernel -C none -a 0x01600000 -e > 0x01600000 -n "Linux" -d ./zImage uImage Why didn't you just type "make uImage"? This result in a proper uImage to boot from U-Boot. BTW: We are using current U-Boot and current Linux 2.6 kernel on different IXP4xx boards without any problems (e.g. ixdpg425, pdnb3). Best regards, Stefan ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel 2006-06-30 9:59 ` Stefan Roese @ 2006-07-01 5:09 ` alfred hitch 0 siblings, 0 replies; 16+ messages in thread From: alfred hitch @ 2006-07-01 5:09 UTC (permalink / raw) To: u-boot Hi, I have tried 1.1.4 also. Tried ttyS1 Well only change from ixdp425 is memory related stuff and ttyS1 instead of default ttyS0 for console redirection. I am really puzzled on this issue. Can someone please give me any pointers ?? Cheers,, Alfred On 6/30/06, Stefan Roese <sr@denx.de> wrote: > Hi Alfred, > > On Friday 30 June 2006 08:04, alfred hitch wrote: > > I am sending dumps of my logs and what I did.. > > Anyone can give any pointers, I will really appreciate it. > > > > Boot up log: > > ----------------------- > > > > U-Boot 1.1.1.2 (Nov 17 2004 - 12:54:00) > > Pretty old. A major update of the IXP4xx port was done a few weeks ago. Please > try to port your board support to the current version. > > > sB_CONFIG: 32MB_2CHIP > > ---------------------------- > > U-Boot code: 00F80000 -> 00F90E64 BSS: -> 00F92374 > > RAM Configuration: > > Bank #0: 00000000 16 MB > > Flash: 32 MB > > *** Warning - bad CRC, using default environment > > > > In: serial > > Out: serial > > Err: serial > > Hit any key to stop autoboot: 0 > > => setenv bootargs 'console=ttySAC01,115200 root=/dev/mtdblock4 rw, > > Try "ttyS0" or "ttyS1" as console parameter. > > <snip> > > > I created uImage using this command: > > > > ->> u-boot-mkimage -A arm -O linux -T kernel -C none -a 0x01600000 -e > > 0x01600000 -n "Linux" -d ./zImage uImage > > Why didn't you just type "make uImage"? This result in a proper uImage to boot > from U-Boot. > > BTW: We are using current U-Boot and current Linux 2.6 kernel on different > IXP4xx boards without any problems (e.g. ixdpg425, pdnb3). > > Best regards, > Stefan > ^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot-Users] 1.1.4 and 2.6 kernel - missing startup messages - solved! 2006-06-28 7:18 ` Michael Schwingen 2006-06-30 4:16 ` alfred hitch @ 2006-07-23 12:48 ` Michael Schwingen 1 sibling, 0 replies; 16+ messages in thread From: Michael Schwingen @ 2006-07-23 12:48 UTC (permalink / raw) To: u-boot Michael Schwingen wrote: >> Did same kernel crash later on with u-boot and not redboot ? As in I >> am curious to know that did change in boot loader cause some other >> issue apart from crash also ? >> >> > No. Once I corrected the startup issues (which turned out to be a typo > in the commandline arguments), the kernel started up fine (I did not > test further than mounting the root fs). > > cu > Michael > Just for the record: my problems have disappeared now. It turns out the problem was caused by the LL_DEBUG code in Linux, which expects the UART to be enabled and initialized. Now, when u-boot and kernel disagree about which UART is to be used for console output, the kernel messages simply disappear. This was complicated by the fact that the kernel LL_DEBUG code for IXP4xx always uses UART1, while my board only has UART2 connected, and I configured the IXDP425 board for a similar setup. I modified my u-boot to always initialize both UARTS - that way, you can at least see the messages on boards that have both UARTS connected. As long as noone writes to the unused UART, this should not cause any harm. The reason why I got no "normal" console output was a typo in the "mem=..." commandline parameter, which lead to errors early in memory management initialization in the kernel. cu Michael ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2006-07-23 12:48 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-06-27 8:43 [U-Boot-Users] 1.1.4 and 2.6 kernel alfred hitch 2006-06-27 8:50 ` Wolfgang Denk 2006-06-27 10:35 ` Ilya Yanok 2006-06-27 10:47 ` alfred hitch 2006-06-27 11:14 ` Ilya Yanok 2006-06-27 11:18 ` Andreas Schweigstill 2006-06-27 17:27 ` Michael Schwingen 2006-06-28 2:19 ` alfred hitch 2006-06-28 6:47 ` Wolfgang Denk 2006-06-28 7:03 ` Marc Leeman 2006-06-28 7:18 ` Michael Schwingen 2006-06-30 4:16 ` alfred hitch 2006-06-30 6:04 ` alfred hitch 2006-06-30 9:59 ` Stefan Roese 2006-07-01 5:09 ` alfred hitch 2006-07-23 12:48 ` [U-Boot-Users] 1.1.4 and 2.6 kernel - missing startup messages - solved! Michael Schwingen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox