This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Reboot/Familiar - HOW??


On Wed, 2002-08-07 at 11:34, Craig Vanderborgh wrote:
> Gary, thanks a lot for your response.  I'm glad to oblige.  Here are some
> relevant details.  First, my iPAQ is an H3760, running a downloaded Redboot
> binary.  My flash image store looks as follows:
> 
> RedBoot> fis list
> Name              FLASH addr  Mem addr    Length      Entry point
> (reserved)        0x50000000  0x50000000  0x00040000  0x00000000
> RedBoot           0x50040000  0x00100000  0x00040000  0x00000000
> RedBoot config    0x51F80000  0x51F80000  0x00040000  0x00000000
> FIS directory     0x51FC0000  0x51FC0000  0x00040000  0x00000000
> jffs2             0x50100000  0x50100000  0x00DC0000  0x00000000
> zimage            0x50080000  0x00100000  0x000C0000  0x00000000
> 
> where "jffs2" is the contents of task-bootstrap-2.4.18-rmk3-hh8.jffs2,
> and "zimage" is the kernel image zImage-rmk3, extracted from the
> tarball.  I attempt to boot the kernel with:
> 
> RedBoot> ex -b 0x100000 -l 0x280000 -c "noinitrd root=/dev/mtdblock/3 init=/linuxrc console=ttySA0,38400" -w 5
> 
> and I see the following results:
> 
> About to start execution at 0xc0008000 - abort with ^C within 5 seconds
> Uncompressing Linux............................................. done, booting .
> Linux version 2.4.18-rmk2 (jamey@rockhopper.crl.dec.com) (gcc version 2.95.2 192
> Processor: Intel StrongARM-1110 revision 8
> Architecture: Compaq iPAQ H3600
> On node 0 totalpages: 4096
> zone(0): 4096 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: noinitrd root=/dev/mtdblock/3 init=/linuxrc console=ttySA00
> Warning: uninitialized Real Time Clock
> Console: colour dummy device 80x30
> Calibrating delay loop... 137.21 BogoMIPS
> Memory: 16MB = 16MB total
> Memory: 14564KB available (1154K code, 295K data, 68K init)
> Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
> Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> CPU clock: 206.400 MHz (0.000-206.400 MHz)
> Starting kswapd
> devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)
> devfs: boot_options: 0x1
> JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
> ttySA%d0 at MEM 0x80050000 (irq = 17) is a SA1100
> Console: switching to colour frame buffer device 40x30
> iPAQ H3600 keyboard driver v1.0.1
> pty: 256 Unix98 ptys configured
> block: 64 slots per queue, batch=16
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> SA1100 flash: probing 32-bit flash bus
> Using static partition definition
> Creating 4 MTD partitions on "SA1100 flash":
> 0x00000000-0x00040000 : "H3XXX boot firmware"
> mtd: Giving out device 0 to H3XXX boot firmware
> 0x00040000-0x000c0000 : "H3XXX kernel"
> mtd: Giving out device 1 to H3XXX kernel
> 0x000c0000-0x00100000 : "H3XXX params"
> mtd: Giving out device 2 to H3XXX params
> 0x00100000-0x02000000 : "H3XXX root jffs2"
> mtd: Giving out device 3 to H3XXX root jffs2

This part tells all.  The kernel you are trying to run doesn't know 
about the RedBoot/FIS structure.  This is something which can be turned 
on in the Linux kernel when it is built/configured.

The other thing I note is that your Linux kernel (zimage) overlaps
into the JFFS2 image.  You've probably written over the first 256K
of the JFFS2 file system as well.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]