From: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
To: Robin Gilks <robin.gilks@tait.co.nz>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: boot-time partitions and bootargs for 2.6.14
Date: Tue, 11 Oct 2005 13:10:27 +1000 [thread overview]
Message-ID: <434B2D23.2020208@rftechnology.com.au> (raw)
In-Reply-To: <434B12C5.2050809@tait.co.nz>
> struct map_info physmap_map = {
> .name = "fred",
> .size = WINDOW_SIZE,
> .buswidth = BUSWIDTH,
> .phys = WINDOW_ADDR,
> };
> and a command line something like:
> mtdparts=fred:1024k(Linux),4096k(FS),2048k(Unused),512k(U-Boot),512()
Thank you Robin,
Yes, I have 'working' jffs2.img (original from board).
I checked for spaces - it looks ok. It has 'physically_mapped_flash'.
What I think is the problem with no discovering the flash - it should
call 'add_mtd_partitions' in 'mtdpart.c' after finding the chip but it
is not calling it and looks like because it's not finding the flash
(8272ADS, Sharp 28F016SC).
I have:
...
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
$Id: ftl.c,v 1.55 2005/01/17 13:47:21 hvr Exp $
physmap flash device: 800000 at ff800000
eth0: FCC ENET Version 0.3, 00:04:9f:91:22:33
...
And probably I should expect something like this:
...
PPChameleon: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
PPChameleon: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
===> Creating 3 MTD partitions on "PPChameleon":
===> 0x00000000-0x00180000 : "linux"
===> 0x00180000-0x003c0000 : "user"
===> 0x003c0000-0x00400000 : "u-boot"
I may be missing something, from my understanding it should find the
chip before mounting root. And it looks like it couldn't find the chip.
Again, I may be wrong and very likely I missed something.
But I will really appreciate if somebody can help me with this.
next prev parent reply other threads:[~2005-10-11 3:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-10 23:05 boot-time partitions and bootargs for 2.6.14 Dmytro Bablinyuk
2005-10-10 23:46 ` Wolfgang Denk
2005-10-11 0:04 ` Dmytro Bablinyuk
2005-10-11 0:13 ` Dmytro Bablinyuk
2005-10-11 1:17 ` Robin Gilks
2005-10-11 3:10 ` Dmytro Bablinyuk [this message]
2005-10-11 3:24 ` Robin Gilks
2005-10-11 7:01 ` Dmytro Bablinyuk
2005-10-11 7:17 ` Wolfgang Denk
2005-10-11 7:33 ` Dmytro Bablinyuk
2005-10-11 13:10 ` Vitaly Bordug
2005-10-11 7:14 ` Wolfgang Denk
2005-10-11 1:02 ` Dmytro Bablinyuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=434B2D23.2020208@rftechnology.com.au \
--to=dmytro.bablinyuk@rftechnology.com.au \
--cc=linuxppc-embedded@ozlabs.org \
--cc=robin.gilks@tait.co.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.