This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Redboot partition table not detected
- From: Mike C <smith dot not dot western at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 30 Apr 2007 14:58:44 +1200
- Subject: [ECOS] Redboot partition table not detected
Hi,
I have an IXP465 board, 32MB Flash, running Redboot 1.02. I have
compiled a 2.4.31 based kernel to support "Redboot partition table
parsing" but when I start the kernel it does not pick it up. See logs
below:
RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.02 - built 16:09:14, Jul 17 2006
Platform: ADI Sidewinder IXP465 Reference Platform (XScale) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x00000000-0x08000000, [0x00028870-0x07fc1000] available
FLASH: 0x50000000 - 0x54000000, 516 blocks of 0x00020000 bytes each.
RedBoot>
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0x50000000 0x50000000 0x00080000 0x00000000
zImage 0x50080000 0x50080000 0x00200000 0x02400000
ramdisk 0x50280000 0x50280000 0x00A00000 0x02400000
config 0x50C80000 0x50C80000 0x00080000 0xFFFFFFFF
logs 0x50D00000 0x50D00000 0x00800000 0xFFFFFFFF
FIS directory 0x53F60000 0x53F60000 0x0001F000 0x00000000
RedBoot config 0x53F7F000 0x53F7F000 0x00001000 0x00000000
When I start linux I get:
IXP4xx Flash: Found 1 x16 devices at 0x2000000 in 16-bit mode
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x8000,blocks=4
1: offset=0x20000,size=0x20000
,blocks=255
2: offset=0x2000000,size=0x8000,blocks=4
3: offset=0x2020000,size=0x20000,blocks=255
Using buffer write method
No RedBoot partition table detected in IXP4xx Flash
Using static MTD partitions.
Creating 3 MTD partitions on "IXP4xx Flash":
0x00000000-0x00080000 : "RedBoot"
0x03f60000-0x03f7f000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force
read-only
0x03f7f000-0x03f80000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary
-- force read-only
And /proc/mtd reflects that:
# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "RedBoot"
mtd1: 0001f000 00020000 "FIS directory"
mtd2: 00001000 00020000 "RedBoot config"
I realise this is due to it not finding the RedBoot partition table, but
I cannot figure out why it can't find it.
Any ideas?
Thanks,
Mike
p.s. Also I notice that the email list program rejects Gmail messages,
citing "Invalid mime type "text/html" detected in message text or
attachment. Please send plain text messages only.". This is quite
frustrating as the only way I can send this email is through another
account with inconsistent from: headers.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss