Boot problem on SMDK2440 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
HiI'm trying to boot a 2.6.20.1 kernel on an SMDK2440 Board using a version of u-boot-1.0.0 modified by Samsung (but not supported by Samsung) to handle the NAND flash copy to SDRAM correctly. I start the boot using "bootp 30008000" to tftp zImage from my host PC to the board then "run nfscmd" to boot where nfscmd is "setenv bootargs console=ttySAC0 root=dev/nfs rw nfsroot=192.168.172.50:/home/kmorfitt/glo-nav/rootfs ip=192.168.172.10:192.168.172.50:192.168.172.50:255.255.255.0:glo-nav-1::off panic=5; bootm 30008000".
When I run "boot" after tftp-ing zImage most of the time I see nothing, not even the "Uncompressing Linux" message, but if I set the wrong machine number in the boot args I always see a "invalid machine ID" error message from the kernel so it's definitely trying to boot.
I've found though that if I use gdb to single-step through the uncompression code at the start of the kernel boot I always get the boot messages below. OK, it still fails to boot, which is another problem I'll post separately, but it's at least trying.
As the kernel uncompressor doesn't configure the ARM at all it must rely on u-boot to set it up correctly (proper clock speed, MMU off, watchdog off etc) so I suspect it's a u-boot problem but I wondered if anyone had seen this before or had any ideas?
Thanks KevinUncompressing Linux.............................................................................................. done, booting the kernel. Linux version 2.6.20.1 (kmorfitt@fearnside-laptop) (gcc version 4.1.0) #1 Wed Mar 21 22:08:22 GMT 2007
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177 Machine: SMDK2440 Memory policy: ECC disabled, Data cache writeback CPU S3C2440A (id 0x32440001) S3C244X: core 406.425 MHz, memory 135.475 MHz, peripheral 67.737 MHz S3C24XX Clocks, (c) 2004 Simtec Electronics CLOCK: Slow mode (2.116 MHz), fast, MPLL on, UPLL on CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets Built 1 zonelists. Total pages: 16256Kernel command line: console=ttySAC0 root=dev/nfs rw nfsroot=192.168.172.50:/home/kmorfitt/glo-nav/rootfs ip=192.168.172.10:192.168.172.50:192.168.172.50:255.255.255.0:glo-nav-1::off panic=5
irq: clearing pending ext status 00000100 irq: clearing subpending status 00000003 irq: clearing subpending status 00000002 PID hash table entries: 256 (order: 8, 1024 bytes) timer tcon=00500000, tcnt dc7f, tcfg 00000200,00000000, usec 000016ad Console: colour dummy device 80x30 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 61824KB available (2660K code, 271K data, 112K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics Registering sysclass DMA channel 0 at c4800000, irq 33 DMA channel 1 at c4800040, irq 34 DMA channel 2 at c4800080, irq 35 DMA channel 3 at c48000c0, irq 36 NET: Registered protocol family 16 S3C2410 Power Management, (c) 2004 Simtec Electronics S3C2440: Initialising architecture S3C2440: IRQ Support S3C2440: Clock Support, DVS off 0: xdreq0, channels 0--- 1: xdreq1, channels -1-- 2: sdi, channels 0123 3: spi0, channels -1-- 4: spi1, channels ---3 5: uart0, channels 0--- 6: uart1, channels -1-- 7: uart2, channels ---3 8: timer, channels 0-23 9: i2s-sdi, channels -12- 10: i2s-sdo, channels 0-2- 11: pcm-in, channels 0-2- 12: pcm-out, channels -1-3 13: mic-in, channels --23 14: usb-ep1, channels 0--- 15: usb-ep2, channels -1-- 16: usb-ep3, channels --2- 17: usb-ep4, channels ---3 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]