* Unable to boot kernel 2.6 from u-boot 1.1.4 in Xilinx ML403 @ 2006-09-11 3:36 steve.alexander 0 siblings, 0 replies; 6+ messages in thread From: steve.alexander @ 2006-09-11 3:36 UTC (permalink / raw) To: linuxppc-embedded Wolfgang, Aleck, I think this patch http://ozlabs.org/pipermail/linuxppc-embedded/2006-August/023912.html explains the inability to use u-boot for the ml403 (and ml3xx) for the 2.6 kernel. -SteveA ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.3.1157101919.2423.linuxppc-embedded@ozlabs.org>]
* Unable to boot kernel 2.6 from u-boot 1.1.4 in Xilinx ML403 [not found] <mailman.3.1157101919.2423.linuxppc-embedded@ozlabs.org> @ 2006-09-01 17:35 ` Aleck Lin 0 siblings, 0 replies; 6+ messages in thread From: Aleck Lin @ 2006-09-01 17:35 UTC (permalink / raw) To: linuxppc-embedded Sorry ,that was a typo, I did use "uImage" Thanks, Aleck > > 1. When I directly download zImage.elf to the RAM and boot from there, I see ... > 2. When I tried to boot the zImage (sitting in the flash) from u-boot file When you use U-Boot, you should use the correct image (uImage). Best regards, Wolfgang Denk ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.5.1157076003.7568.linuxppc-embedded@ozlabs.org>]
* Unable to boot kernel 2.6 from u-boot 1.1.4 in Xilinx ML403 [not found] <mailman.5.1157076003.7568.linuxppc-embedded@ozlabs.org> @ 2006-09-01 2:28 ` Aleck Lin 2006-09-01 7:35 ` Wolfgang Denk ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Aleck Lin @ 2006-09-01 2:28 UTC (permalink / raw) To: linuxppc-embedded Hi, I'm working on booting kernel 2.6 on Xilinx. And I'm encountering a few problems.=20 1. When I directly download zImage.elf to the RAM and boot from there, I = see the kernel starts booting, but it complains about not being able to = mount /dev/sysace/disc0/part2 and thus kernel panic happens. The following is the output --------------------------------------------------------------- loaded at: 00400000 004D313C board data at: 004D1124 004D113C relocated to: 004050F8 00405110 zimage at: 0040580D 004D0AA8 avail ram: 004D4000 04000000 Linux/PPC load: console=3DttyS0,9600 ip=3Doff = root=3D/dev/xsysace/disc0/part2 rw Uncompressing Linux...done. Now booting the kernel [ 0.000000] Linux version 2.6.17.8 (aleck@sac.gdatech.com) (gcc = version 4.0.0 (DENX ELDK 4.0 4.0.0)) #2 Thu Aug 31 11:49:40 PDT 2006 [ 0.000000] Xilinx ML403 Reference System (Virtex-4 FX) [ 0.000000] Built 1 zonelists [ 0.000000] Kernel command line: console=3DttyS0,9600 ip=3Doff root=3D/dev/xsysace/disc0/part2 rw [ 0.000000] Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFEFC0 [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes) [ 0.000176] Console: colour dummy device 80x25 [ 0.000676] Dentry cache hash table entries: 8192 (order: 3, 32768 = bytes) [ 0.001452] Inode-cache hash table entries: 4096 (order: 2, 16384 = bytes) [ 0.015453] Memory: 63104k available (1268k kernel code, 468k data, = 80k init, 0k highmem) [ 0.204374] Mount-cache hash table entries: 512 [ 0.209943] NET: Registered protocol family 16 [ 0.218843] NET: Registered protocol family 2 [ 0.264481] IP route cache hash table entries: 512 (order: -1, 2048 bytes) [ 0.265267] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.265465] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.265569] TCP: Hash tables configured (established 2048 bind 1024) [ 0.265599] TCP reno registered [ 0.272471] io scheduler noop registered [ 0.272558] io scheduler anticipatory registered (default) [ 0.272626] io scheduler deadline registered [ 0.272759] io scheduler cfq registered [ 0.318755] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled [ 0.323749] serial8250.0: ttyS0 at MMIO 0xa0001003 (irq =3D 9) is a = 16450 [ 2.026296] RAMDISK driver initialized: 16 RAM disks of 65536K size = 1024 blocksize [ 2.117598] tun: Universal TUN/TAP device driver, 1.6 [ 2.177338] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 2.252474] mice: PS/2 mouse device common for all mice [ 2.314381] TCP bic registered [ 2.350802] NET: Registered protocol family 1 [ 2.402825] NET: Registered protocol family 17 [ 2.458051] VFS: Cannot open root device "xsysace/disc0/part2" or unknown-block(0,0) [ 2.549979] Please append a correct "root=3D" boot option [ 2.612426] Kernel panic - not syncing: VFS: Unable to mount root fs = on unknown-block(0,0) [ 2.711373] <0>Rebooting in 180 seconds..<NULL> ----------------------------------------------------------- 2. When I tried to boot the zImage (sitting in the flash) from u-boot = file (generated from the same source code as uImage.elf), as soon as it gives = the control to the kernel, no messages would come. I checked to make sure = that I had the right serial port setting (console=3DttyS0,9600), but still = nothing shows up. Here's the output of what I had (I turned on some extra debug msg in = u-boot) ------------------------------------------- ### No HW ID - assuming ML403 DRAM: 64 MB FLASH: 8 MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 5 =08=08=08 4 =08=08=08 3 =08=08=08 2 = =08=08=08 0=20 =3D> bootm 0xffa00000 ## Booting image at ffa00000 ... Image Name: Linux-2.6.17.8 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 832155 Bytes =3D 812.7 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Current stack ends at 0x03E62B70 =3D> set upper limit to 0x00800000 ## cmdline at 0x007FFF00 ... 0x007FFF3A memstart =3D 0x00000000 memsize =3D 0x04000000 flashstart =3D 0xFF800000 flashsize =3D 0x00800000 flashoffset =3D 0x00000000 sramstart =3D 0x00000000 sramsize =3D 0x00000000 bootflags =3D 0x40401003 procfreq =3D 300 MHz plb_busfreq =3D 100 MHz ethaddr =3D 00:0A:35:00:22:01 IP addr =3D 192.168.10.111 baudrate =3D 9600 bps No initrd ## Transferring control to Linux (at address 00000000) ... ------------------------------------------------------------ 3. Lastly, whenever I issue a reset command in u-boot, it just locks up = and hangs. I have to do a hardware reset every time. I'm wondering if the = reset vector is going to a wrong place. How would I check that? I'm fairly new to the whole embedded domain. Please feel free to help. = It would be much appreciated! Thanks. Aleck ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to boot kernel 2.6 from u-boot 1.1.4 in Xilinx ML403 2006-09-01 2:28 ` Aleck Lin @ 2006-09-01 7:35 ` Wolfgang Denk 2006-09-01 8:45 ` Ming Liu 2006-09-01 13:49 ` Jeff Angielski 2 siblings, 0 replies; 6+ messages in thread From: Wolfgang Denk @ 2006-09-01 7:35 UTC (permalink / raw) To: Aleck Lin; +Cc: linuxppc-embedded In message <000a01c6cd6e$5e1970a0$800101df@monstertop> you wrote: > > 1. When I directly download zImage.elf to the RAM and boot from there, I see ... > 2. When I tried to boot the zImage (sitting in the flash) from u-boot file When you use U-Boot, you should use the correct image (uImage). Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Every little picofarad has a nanohenry all its own. - Don Vonada ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Unable to boot kernel 2.6 from u-boot 1.1.4 in Xilinx ML403 2006-09-01 2:28 ` Aleck Lin 2006-09-01 7:35 ` Wolfgang Denk @ 2006-09-01 8:45 ` Ming Liu 2006-09-01 13:49 ` Jeff Angielski 2 siblings, 0 replies; 6+ messages in thread From: Ming Liu @ 2006-09-01 8:45 UTC (permalink / raw) To: linuxppc-embedded Hi Aleck, >1. When I directly download zImage.elf to the RAM and boot from there, I see >the kernel starts booting, but it complains about not being able to mount >/dev/sysace/disc0/part2 and thus kernel panic happens. > >The following is the output >--------------------------------------------------------------- >loaded at: 00400000 004D313C >board data at: 004D1124 004D113C >relocated to: 004050F8 00405110 >zimage at: 0040580D 004D0AA8 >avail ram: 004D4000 04000000 > >Linux/PPC load: console=ttyS0,9600 ip=off root=/dev/xsysace/disc0/part2 rw >Uncompressing Linux...done. >Now booting the kernel >[ 0.000000] Linux version 2.6.17.8 (aleck@sac.gdatech.com) (gcc version >4.0.0 (DENX ELDK 4.0 4.0.0)) #2 Thu Aug 31 11:49:40 PDT 2006 >[ 0.000000] Xilinx ML403 Reference System (Virtex-4 FX) >[ 0.000000] Built 1 zonelists >[ 0.000000] Kernel command line: console=ttyS0,9600 ip=off >root=/dev/xsysace/disc0/part2 rw >[ 0.000000] Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFEFC0 >[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes) >[ 0.000176] Console: colour dummy device 80x25 >[ 0.000676] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) >[ 0.001452] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) >[ 0.015453] Memory: 63104k available (1268k kernel code, 468k data, 80k >init, 0k highmem) >[ 0.204374] Mount-cache hash table entries: 512 >[ 0.209943] NET: Registered protocol family 16 >[ 0.218843] NET: Registered protocol family 2 >[ 0.264481] IP route cache hash table entries: 512 (order: -1, 2048 >bytes) >[ 0.265267] TCP established hash table entries: 2048 (order: 1, 8192 >bytes) >[ 0.265465] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) >[ 0.265569] TCP: Hash tables configured (established 2048 bind 1024) >[ 0.265599] TCP reno registered >[ 0.272471] io scheduler noop registered >[ 0.272558] io scheduler anticipatory registered (default) >[ 0.272626] io scheduler deadline registered >[ 0.272759] io scheduler cfq registered >[ 0.318755] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ >sharing disabled >[ 0.323749] serial8250.0: ttyS0 at MMIO 0xa0001003 (irq = 9) is a 16450 >[ 2.026296] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 >blocksize >[ 2.117598] tun: Universal TUN/TAP device driver, 1.6 >[ 2.177338] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> >[ 2.252474] mice: PS/2 mouse device common for all mice >[ 2.314381] TCP bic registered >[ 2.350802] NET: Registered protocol family 1 >[ 2.402825] NET: Registered protocol family 17 >[ 2.458051] VFS: Cannot open root device "xsysace/disc0/part2" or >unknown-block(0,0) >[ 2.549979] Please append a correct "root=" boot option >[ 2.612426] Kernel panic - not syncing: VFS: Unable to mount root fs on >unknown-block(0,0) >[ 2.711373] <0>Rebooting in 180 seconds..<NULL> >----------------------------------------------------------- > Try this: mount the CF card onto your PC and then goto the /dev folder on your root filesystem in the card. Here run the following commands as root: # mknod -m 660 console c 5 1 # mknod -m 660 xsa b 254 0 # mknod -m 660 xsa1 b 254 1 # mknod -m 660 xsa2 b 254 2 # mknod -m 660 xsa3 b 254 3 Now there should be a directory tts in your dev. If not create one "mkdir tts". Then do this in the dev/tts folder, # mknod -m 660 0 c 4 64 If you don't need CF card at all, the easiest method to solve it is to remove it from the linux kernel configuration. Regards Ming _________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to boot kernel 2.6 from u-boot 1.1.4 in Xilinx ML403 2006-09-01 2:28 ` Aleck Lin 2006-09-01 7:35 ` Wolfgang Denk 2006-09-01 8:45 ` Ming Liu @ 2006-09-01 13:49 ` Jeff Angielski 2 siblings, 0 replies; 6+ messages in thread From: Jeff Angielski @ 2006-09-01 13:49 UTC (permalink / raw) To: Aleck Lin; +Cc: linuxppc-embedded On Thu, 2006-08-31 at 19:28 -0700, Aleck Lin wrote: > Hi, > > I'm working on booting kernel 2.6 on Xilinx. And I'm encountering a few > problems. > > 1. When I directly download zImage.elf to the RAM and boot from there, I see > the kernel starts booting, but it complains about not being able to mount > /dev/sysace/disc0/part2 and thus kernel panic happens. Can u-boot access the systemace CF? Do the kernel statup messages show that the system ace driver is loaded and has successfully initialized? I don't see this in your boot message dump. Jeff Angielski The PTR Group ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-09-11 3:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-11 3:36 Unable to boot kernel 2.6 from u-boot 1.1.4 in Xilinx ML403 steve.alexander
[not found] <mailman.3.1157101919.2423.linuxppc-embedded@ozlabs.org>
2006-09-01 17:35 ` Aleck Lin
[not found] <mailman.5.1157076003.7568.linuxppc-embedded@ozlabs.org>
2006-09-01 2:28 ` Aleck Lin
2006-09-01 7:35 ` Wolfgang Denk
2006-09-01 8:45 ` Ming Liu
2006-09-01 13:49 ` Jeff Angielski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).