All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vitaly Bordug <vbordug@ru.mvista.com>
To: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: boot-time partitions and bootargs for 2.6.14
Date: Tue, 11 Oct 2005 17:10:02 +0400	[thread overview]
Message-ID: <434BB9AA.1090000@ru.mvista.com> (raw)
In-Reply-To: <434B635D.1000509@rftechnology.com.au>

Assuming the board is 8272ads, you could try the MTD cvs from 
infradead.org,
I used to add the map for this board - look into drivers/mtd/maps/pq2fads.c

Dmytro Bablinyuk wrote:
>> In that case you should have a u-boot line of
>>
>> mtdparts=physically_mapped_flash:1024k(Linux),4096k(FS),2048k(Unused),512k(U-Boot),512() 
> 
> 
> 
> Yep, I set
> mtdparts=phys_mapped_flash:1024k(Linux),4096k(FS),2048k(Unused),512k(U-Boot),512() 
> 
> 
> I got flash discovery working and I set 'CONFIG_MTD_CMDLINE_PARTS=y' but 
> kernel is not even attempting to parse 'mtdparts'. It's not calling 
> 'parse_cmdline_partitions' function. Even if I got wrong 'mtd-id', it 
> still should attempt to parse 'mtdparts' (well, at least I think so).
> 
> Here is output:
> 
> Kernel command line: console=ttyCPM0,115200 root=31:01 rw rootfstype=jffs2
> PID hash table entries: 512 (order: 9, 8192 bytes)
> Warning: real time clock seems stuck!
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 62720k available (1572k kernel code, 408k data, 96k init, 0k 
> highmem)
> Mount-cache hash table entries: 512
> NET: Registered protocol family 16
> JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
> JFFS2: default compression mode: priority
> fuse init (API version 7.2)
> Initializing Cryptographic API
> Generic RTC Driver v1.07
> Serial: CPM driver $Revision: 0.01 $
> ttyCPM0 at MMIO 0xf0011a00 (irq = 40) is a CPM UART
> ttyCPM1 at MMIO 0xf0011a20 (irq = 41) is a CPM UART
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
> loop: loaded (max 8 devices)
> physmap flash device: 800000 at ff800000
> Found: Intel I28F016S3
> phys_mapped_flash: Found 4 x8 devices at 0x0 in 32-bit bank
> RedBoot partition parsing not available
> eth0: FCC ENET Version 0.3, 00:04:9f:91:22:33
> mii_reg: 600eb881
> eth0: Phy @ 0x0, type Davicom DM9161E (0x0181b881)
> eth1: FCC ENET Version 0.3, 00:04:9f:51:22:33
> mii_reg: 618eb881
> eth1: Phy @ 0x3, type Davicom DM9161E (0x0181b881)
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 3, 32768 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
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> 
> Does anybody has any idea of why parsing of 'mtdparts' is not even started?
> 
> I have enabled debug macro:
> 
> /* debug macro */
> #if 1
> #define dbg(x) do { printk("DEBUG-CMDLINE-PART: "); printk x; } while(0)
> #else
> #define dbg(x)
> #endif
> 
> Thank you
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 


-- 
Sincerely,
Vitaly

  parent reply	other threads:[~2005-10-11 13: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
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 [this message]
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=434BB9AA.1090000@ru.mvista.com \
    --to=vbordug@ru.mvista.com \
    --cc=dmytro.bablinyuk@rftechnology.com.au \
    --cc=linuxppc-embedded@ozlabs.org \
    /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.