From: Braden H. <hu...@ya...> - 2006-02-07 20:46:37
|
Ok so I have been able to build a new root_fs but I am having all kinds of trouble getting it to run on the gumstix. I have a basix 400 w/ bt. So here is a log of what I have done. Can someone PLEASE point me in the right direction here? I have done era all. The two errors are - unknown node type and the kernel panic!! Thanks LOG: GUM> era all Erase Flash Bank # 1 - Warning: 2 protected sectors will not be erased! .............................................................................................................................. done GUM> Unknown command '' - try 'help' GUM> GUM> md 40000 00040000: ffffffff ffffffff ffffffff ffffffff ................ 00040010: ffffffff ffffffff ffffffff ffffffff ................ 00040020: ffffffff ffffffff ffffffff ffffffff ................ 00040030: ffffffff ffffffff ffffffff ffffffff ................ 00040040: ffffffff ffffffff ffffffff ffffffff ................ 00040050: ffffffff ffffffff ffffffff ffffffff ................ 00040060: ffffffff ffffffff ffffffff ffffffff ................ 00040070: ffffffff ffffffff ffffffff ffffffff ................ 00040080: ffffffff ffffffff ffffffff ffffffff ................ 00040090: ffffffff ffffffff ffffffff ffffffff ................ 000400a0: ffffffff ffffffff ffffffff ffffffff ................ 000400b0: ffffffff ffffffff ffffffff ffffffff ................ 000400c0: ffffffff ffffffff ffffffff ffffffff ................ 000400d0: ffffffff ffffffff ffffffff ffffffff ................ 000400e0: ffffffff ffffffff ffffffff ffffffff ................ 000400f0: ffffffff ffffffff ffffffff ffffffff ................ GUM> md a2000000 a2000000: 00000000 00000000 00000000 00000000 ................ a2000010: 00000000 00000000 00000000 00000000 ................ a2000020: 00000000 00000000 00000000 00000000 ................ a2000030: 00000000 00000000 00000000 00000000 ................ a2000040: 00000000 00000000 00000000 00000000 ................ a2000050: 00000000 00000000 00000000 00000000 ................ a2000060: 00000000 00000000 00000000 00000000 ................ a2000070: 00000000 00000000 00000000 00000000 ................ a2000080: 00000000 00000000 00000000 00000000 ................ a2000090: 00000000 00000000 00000000 00000000 ................ a20000a0: 00000000 00000000 00000000 00000000 ................ a20000b0: 00000000 00000000 00000000 00000000 ................ a20000c0: 00000000 00000000 00000000 00000000 ................ a20000d0: 00000000 00000000 00000000 00000000 ................ a20000e0: 00000000 00000000 00000000 00000000 ................ a20000f0: 00000000 00000000 00000000 00000000 ................ GUM> a2000100: 00000000 00000000 00000000 00000000 ................ a2000110: 00000000 00000000 00000000 00000000 ................ a2000120: 00000000 00000000 00000000 00000000 ................ a2000130: 00000000 00000000 00000000 00000000 ................ a2000140: 00000000 00000000 00000000 00000000 ................ a2000150: 00000000 00000000 00000000 00000000 ................ a2000160: 00000000 00000000 00000000 00000000 ................ a2000170: 00000000 00000000 00000000 00000000 ................ a2000180: 00000000 00000000 00000000 00000000 ................ a2000190: 00000000 00000000 00000000 00000000 ................ a20001a0: 00000000 00000000 00000000 00000000 ................ a20001b0: 00000000 00000000 00000000 00000000 ................ a20001c0: 00000000 00000000 00000000 00000000 ................ a20001d0: 00000000 00000000 00000000 00000000 ................ a20001e0: 00000000 00000000 00000000 00000000 ................ a20001f0: 00000000 00000000 00000000 00000000 ................ GUM> md a40000 00a40000: ffffffff ffffffff ffffffff ffffffff ................ 00a40010: ffffffff ffffffff ffffffff ffffffff ................ 00a40020: ffffffff ffffffff ffffffff ffffffff ................ 00a40030: ffffffff ffffffff ffffffff ffffffff ................ 00a40040: ffffffff ffffffff ffffffff ffffffff ................ 00a40050: ffffffff ffffffff ffffffff ffffffff ................ 00a40060: ffffffff ffffffff ffffffff ffffffff ................ 00a40070: ffffffff ffffffff ffffffff ffffffff ................ 00a40080: ffffffff ffffffff ffffffff ffffffff ................ 00a40090: ffffffff ffffffff ffffffff ffffffff ................ 00a400a0: ffffffff ffffffff ffffffff ffffffff ................ 00a400b0: ffffffff ffffffff ffffffff ffffffff ................ 00a400c0: ffffffff ffffffff ffffffff ffffffff ................ 00a400d0: ffffffff ffffffff ffffffff ffffffff ................ 00a400e0: ffffffff ffffffff ffffffff ffffffff ................ 00a400f0: ffffffff ffffffff ffffffff ffffffff ................ GUM> loadb a2000000 ## Ready for binary (kermit) download to 0xA2000000 at 115200 bps... (Back at localhost.localdomain) ---------------------------------------------------- (./) C-Kermit>send root_fs_arm_nofpu ?File not found - "root_fs_arm_nofpu" (./) C-Kermit>path ?Not a command or macro name: "path" (./) C-Kermit>quit Closing /dev/ttyS0...OK [root@localhost gumstix-buildroot]# ll total 0 [root@localhost gumstix-buildroot]# cd .. [root@localhost gumstix]# cd gumstix-buildroot/ [root@localhost gumstix-buildroot]# kermit -l /dev/ttyS0 C-Kermit 8.0.209, 17 Mar 2003, for Red Hat Linux 8.0 Copyright (C) 1985, 2003, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/home/jekyll/gumstix/gumstix-buildroot/) C-Kermit>set speed 115200 /dev/ttyS0, 115200 bps (/home/jekyll/gumstix/gumstix-buildroot/) C-Kermit>send root_fs_arm_nofpu (/home/jekyll/gumstix/gumstix-buildroot/) C-Kermit>connect Connecting to /dev/ttyS0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- ## Total Size = 0x0035bb10 = 3521296 Bytes ## Start Addr = 0xA2000000 GUM> md 40000 00040000: ffffffff ffffffff ffffffff ffffffff ................ 00040010: ffffffff ffffffff ffffffff ffffffff ................ 00040020: ffffffff ffffffff ffffffff ffffffff ................ 00040030: ffffffff ffffffff ffffffff ffffffff ................ 00040040: ffffffff ffffffff ffffffff ffffffff ................ 00040050: ffffffff ffffffff ffffffff ffffffff ................ 00040060: ffffffff ffffffff ffffffff ffffffff ................ 00040070: ffffffff ffffffff ffffffff ffffffff ................ 00040080: ffffffff ffffffff ffffffff ffffffff ................ 00040090: ffffffff ffffffff ffffffff ffffffff ................ 000400a0: ffffffff ffffffff ffffffff ffffffff ................ 000400b0: ffffffff ffffffff ffffffff ffffffff ................ 000400c0: ffffffff ffffffff ffffffff ffffffff ................ 000400d0: ffffffff ffffffff ffffffff ffffffff ................ 000400e0: ffffffff ffffffff ffffffff ffffffff ................ 000400f0: ffffffff ffffffff ffffffff ffffffff ................ GUM> md a2000000 a2000000: 20051985 00000018 ed3c9364 00000000 ... ....d.<..... a2000010: 00000000 00000000 e0011985 0000002b ............+... a2000020: 7d266ee6 00000001 00000000 00000002 .n&}............ a2000030: 43e900ce 00000403 ddd49f3d 556683ff ...C....=.....fU a2000040: ff6e6962 e0021985 00000044 98f7fb1d bin.....D....... a2000050: 00000002 00000001 000041ed 00000000 .........A...... a2000060: 00000000 43e900ce 43e900ce 43e900ce .......C...C...C a2000070: 00000000 00000000 00000000 00000000 ................ a2000080: 00000000 0e4c2b34 e0011985 0000002c ....4+L.....,... a2000090: e0f1565f 00000001 00000001 00000003 _V.............. a20000a0: 43e8fecb 00000404 c233e63f 67a971d8 ...C....?.3..q.g a20000b0: 746f6f62 e0021985 00000044 98f7fb1d boot....D....... a20000c0: 00000003 00000001 000041fd 00000000 .........A...... a20000d0: 00000000 43e8fecb 43e8fecb 43e8fecb .......C...C...C a20000e0: 00000000 00000000 00000000 00000000 ................ a20000f0: 00000000 2a7de04a e0011985 0000002b ....J.}*....+... GUM> cp.b a2000000 40000 Usage: cp - memory copy GUM> Unknown command '' - try 'help' GUM> cp.b a2000000 40000 ${filesize} Copy to Flash... done GUM> md 40000 00040000: 20051985 00000018 ed3c9364 00000000 ... ....d.<..... 00040010: 00000000 00000000 e0011985 0000002b ............+... 00040020: 7d266ee6 00000001 00000000 00000002 .n&}............ 00040030: 43e900ce 00000403 ddd49f3d 556683ff ...C....=.....fU 00040040: ff6e6962 e0021985 00000044 98f7fb1d bin.....D....... 00040050: 00000002 00000001 000041ed 00000000 .........A...... 00040060: 00000000 43e900ce 43e900ce 43e900ce .......C...C...C 00040070: 00000000 00000000 00000000 00000000 ................ 00040080: 00000000 0e4c2b34 e0011985 0000002c ....4+L.....,... 00040090: e0f1565f 00000001 00000001 00000003 _V.............. 000400a0: 43e8fecb 00000404 c233e63f 67a971d8 ...C....?.3..q.g 000400b0: 746f6f62 e0021985 00000044 98f7fb1d boot....D....... 000400c0: 00000003 00000001 000041fd 00000000 .........A...... 000400d0: 00000000 43e8fecb 43e8fecb 43e8fecb .......C...C...C 000400e0: 00000000 00000000 00000000 00000000 ................ 000400f0: 00000000 2a7de04a e0011985 0000002b ....J.}*....+... GUM> fsload a2000000 boot/uImage ### JFFS2 loading 'boot/uImage' to 0xa2000000 Scanning JFFS2 FS: Unknown node type: 2005 len 24 offset 0x0 . Unknown node type: 2005 len 24 offset 0x20000 | Unknown node type: 2005 len 24 offset 0x40000 Unknown node type: 2005 len 24 offset 0x60000 / Unknown node type: 2005 len 24 offset 0x80000 Unknown node type: 2005 len 24 offset 0xa0000 - Unknown node type: 2005 len 24 offset 0xc0000 Unknown node type: 2005 len 24 offset 0xe0000 \ Unknown node type: 2005 len 24 offset 0x100000 . Unknown node type: 2005 len 24 offset 0x120000 | Unknown node type: 2005 len 24 offset 0x140000 Unknown node type: 2005 len 24 offset 0x160000 / Unknown node type: 2005 len 24 offset 0x180000 Unknown node type: 2005 len 24 offset 0x1a0000 .- Unknown node type: 2005 len 24 offset 0x1c0000 Unknown node type: 2005 len 24 offset 0x1e0000 \ Unknown node type: 2005 len 24 offset 0x200000 Unknown node type: 2005 len 24 offset 0x220000 | Unknown node type: 2005 len 24 offset 0x240000 Unknown node type: 2005 len 24 offset 0x260000 / Unknown node type: 2005 len 24 offset 0x280000 . Unknown node type: 2005 len 24 offset 0x2a0000 - Unknown node type: 2005 len 24 offset 0x2c0000 Unknown node type: 2005 len 24 offset 0x2e0000 .\ Unknown node type: 2005 len 24 offset 0x300000 Unknown node type: 2005 len 24 offset 0x320000 | Unknown node type: 2005 len 24 offset 0x340000 done. ### JFFS2 load complete: 766408 bytes loaded to 0xa2000000 GUM> boot ### JFFS2 loading 'boot/uImage' to 0xa2000000 ### JFFS2 load complete: 766408 bytes loaded to 0xa2000000 ## Booting image at a2000000 ... Image Name: uImage Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 766344 Bytes = 748.4 kB Load Address: a0008000 Entry Point: a0008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux................................................... done, booting the kernel. Linux version 2.6.15gum (jekyll@localhost.localdomain) (gcc version 3.4.4) #1 Tue Feb 7 13:09:14 MST 2006 CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE) Machine: The Gumstix Platform Memory policy: ECC disabled, Data cache writeback Memory clock: 99.53MHz (*27) Run Mode clock: 199.07MHz (*2) Turbo Mode clock: 199.07MHz (*1.0, inactive) CPU0: D VIVT undefined 5 cache CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets Built 1 zonelists Kernel command line: console=ttyS0,115200n8 root=1f02 rootfstype=jffs2 reboot=cold,hard PID hash table entries: 512 (order: 9, 8192 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 63232KB available (1281K code, 242K data, 60K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Initializing Cryptographic API io scheduler noop registered pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART pxa2xx-uart.3: ttyS3 at MMIO 0x41600000 (irq = 0) is a HWUART Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth) Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank Intel/Sharp Extended Query Table at 0x0031 Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled Using static partitions on Gumstix Flash ROM Creating 2 MTD partitions on "Gumstix Flash ROM": 0x00000000-0x00040000 : "Bootloader" 0x00040000-0x01000000 : "RootFS" NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 2, 16384 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered TCP bic registered Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2) |