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: Reboot/Familiar - HOW??


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
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
IPv4 over IPv4 tunneling driver
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
mtdblock_open
ok
mtdblock_open
mtdblock_release
ok
mtdblock_open
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0xdb96 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x3e51 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x9df0 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x43fe id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x62b0 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0xf300 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x5a6d id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x8bb3 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0xd47e id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0xfbbd id
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
JFFS2: Erase block at 0x005c0000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01e80000: 0x1000 id
.
.
.
Inode #122 was a directory with children - removing those too...
Inode #123 was a directory with children - removing those too...
Inode #124 was a directory with children - removing those too...
Inode #125 was a directory with children - removing those too...
Inode #126 was a directory with children - removing those too...
Inode #127 was a directory with children - removing those too...
Inode #128 was a directory with children - removing those too...
Inode #133 was a directory with children - removing those too...
mtdblock_release
ok
VFS: Mounted root (jffs2 filesystem).
Warning: unable to mount devfs, err: -2
Freeing init memory: 68K
Warning: unable to open an initial console.
Erase at 0x01ec0000 failed immediately: -EROFS. Is the sector locked?
Erase at 0x01e80000 failed immediately: -EROFS. Is the sector locked?
Kernel panic: No init found.  Try passing init= option to kernel.

Any ideas?

Thanks a lot,
craig vanderborgh
voxware incorporated



Gary Thomas wrote:
> 
> On Wed, 2002-08-07 at 10:34, Craig Vanderborgh wrote:
> > Hello all:
> >
> > I am trying to boot Familiar 0.5.2 using Redboot.  I am using task-bootstrap-2.4.18-rmk3-hh8.jffs2
> > from handhelds.org, and have extracted the kernel from same and have created 2 fis partitions
> > in Redboot, one for the jffs2 image, the other for the kernel.  I cannot get these binaries
> > to work, although the "Ecos Embedded Linux Demo", which is supposed to be Familiar 0.4, did
> > seem to boot.  Does anyone know how to boot Familiar using Redboot?
> >
> 
> What doesn't work?  What does?
> 
> A lot more information would be required before any real help
> can be provided.
> 
> --
> ------------------------------------------------------------
> 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]