Grant Likely | 2 Jan 09:00 2006
Picon

Re: [PATCH 8/8] Add support for Xilinx ML403 reference design

Florian wrote:
>> I don't have a public git tree at the moment for the xilinx virtex
>> stuff.  I can certainly create and maintain one if there is demand.  I
>> guess it depends on how many people want to colaborate on V2Pro/V4
>> support.  Anyone else interested?
> 
> 
> Yes. I am also working on a Virtex-4 system with Linux.
> Do you support also a Linux 2.4 tree?
Sorry, no.  I'm focusing on the 2.6 stuff.  IIRC, the Denx tree is
tracking the virtex support in 2.4.

Are you strictly working on 2.4?  Or are you interested in 2.6 as well?

Cheers,
g.

--

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761
venkatajagadeesh p | 2 Jan 12:52 2006
Picon

Cross Compiling driver for PPC

 Hi,
     We are trying to port a newly developed device driver for powerPC . We are unable to compile it for powerpc driver on Host platform. Please give us the way to compile the device driver

Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded <at> ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
HappyPhot | 2 Jan 15:29 2006
Picon

ELDK 4.0

Dear group,
  Can anybody tell how to get ELDK 4.0 ?
I seems need to go to somewhere to get the 
source code to compile, right? Could you give
me a way ?

thank you,
/HappyPhot
HappyPhot | 2 Jan 15:48 2006
Picon

VFS: Cannot open root device "31:03" or unknown-block(31,3)

Hi,
  I've suffered for many days and "google" almost every where.
I would like to boot from the flash with jffs2 (i.e. using jffs2 as my
root /) . But it alyaws shows:
VFS: Cannot open root device..... (whole message is as below)

  Anybody knows what may cause this ? Please help and
thank you.

/HappyPhot

==============(booting message)==================
.......
physmap flash device: 1000000 at 70000000
phys_mapped_flash: Found 2 x8 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
5 cmdlinepart partitions found on MTD device phys_mapped_flash
Creating 5 MTD partitions on "phys_mapped_flash":
0x00000000-0x00200000 : "k4"
mtd: Giving out device 0 to k4
0x00200000-0x00400000 : "k6"
mtd: Giving out device 1 to k6
0x00400000-0x00800000 : "rd"
mtd: Giving out device 2 to rd
0x00800000-0x00c00000 : "jffs2"
mtd: Giving out device 3 to jffs2
0x00c00000-0x02000000 : "others"
mtd: Giving out device 4 to others
VFS: Cannot open root device "31:03" or unknown-block(31,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(31,3)
 <0>Rebooting in 180 seconds..
========================================== 
David Jander | 2 Jan 16:57 2006
Picon

Re: VFS: Cannot open root device "31:03" or unknown-block(31,3)

On Monday 02 January 2006 15:48, HappyPhot wrote:
> Hi,
>   I've suffered for many days and "google" almost every where.
> I would like to boot from the flash with jffs2 (i.e. using jffs2 as my
> root /) . But it alyaws shows:
> VFS: Cannot open root device..... (whole message is as below)
>
>   Anybody knows what may cause this ? Please help and
> thank you.
>[...]

You omitted the interesting part of the log output, the bootarguments at the 
very beginning. What is the value of root= ?
Maybe you made the typical mistake of specifying /dev/mtd3 instead 
of /dev/mtdblock3, or you didn't compile in support for mtd access as a block 
device?

Greetings,

--

-- 
David Jander
Grant Likely | 2 Jan 17:26 2006
Picon

Re: [PATCH 8/8] Add support for Xilinx ML403 reference design

David H. Lynch Jr. wrote:
> Grant Likely wrote:
> 
>>David H. Lynch Jr. wrote:
> 
> 
>>Since the E-12 is a commercially available board, it would be useful to
>>have the patches on the ML, even if they don't get applied to mainline.
> 
> 
> 	So at what state should things be at before posting them ?
> 
> 	Right now:
> 		The basic E-12 stuff is complete - though it couls use some polish. It
> was based on the ML300 code, and almost certainly overlaps and conflicts
> with your ML403 work. I would be happy to reconcile them, but I would
> need to know what to work against.
If you want initial comments, then don't worry about polish; Send your
raw diff (in unified format please!) and put [RFC] in the subject line
so nobody mistakes it as stable code.  :)  I'll happily comment on it.

I'm sure it conflicts with my ML403 work considering I've moved from the
OCP to the platform bus.

> 
> 		I am not a git expert at this point. 
Neither am I.  :)

Try this:
install GIT:     http://linux.yyz.us/git-howto.html#installing_git
install Cogito:  http://www.kernel.org/pub/software/scm/cogito/README
easy user guide: http://wellington.pm.org/archive/200510/git/

> I am working against the 2.6.14.5
> source3 on kernel.org. There are numerous git trees what is the right one ?
I'm using Linus's tree, seeked to tag v2.6.14.

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

> 
> 	
> 		The serial/console drivers for the "Keyhole" - a bidirectional link
> between a Linux/Windows development host and the E-12, and the Xilinx
> UartLite are in (hopefully) late debugging, Output is probably complete,
> UartLite input needs testing, Keyhole input needs alot of work - among
> other things the host side is still only a display, so it is somewhat
> difficult to do the Linux input side.
> 

--

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761
HappyPhot | 3 Jan 03:48 2006
Picon

Re: VFS: Cannot open root device "31:03" or unknown-block(31,3)

> On Monday 02 January 2006 15:48, HappyPhot wrote:
>> Hi,
>>   I've suffered for many days and "google" almost every where.
>> I would like to boot from the flash with jffs2 (i.e. using jffs2 as my
>> root /) . But it alyaws shows:
>> VFS: Cannot open root device..... (whole message is as below)
>>
>>   Anybody knows what may cause this ? Please help and
>> thank you.
>>[...]
>
> You omitted the interesting part of the log output, the bootarguments at 
> the
> very beginning. What is the value of root= ?
> Maybe you made the typical mistake of specifying /dev/mtd3 instead
> of /dev/mtdblock3, or you didn't compile in support for mtd access as a 
> block
> device?
>

Hi, David and all,
  I've tried root=/dev/mtdblock3, root=/dev/mtd3, root=31:03 etc.  And 
"Caching
block device access to MTD devices" was also selected when 'make 
menuconfig'.
The results were the same.
  I use "phys_mapped_flash" and "mtdparts=phys_mapped_flash:2M(k4),2M(k6),
4M(rd),4M(jffs2),-(User_Data)". What is the "root=" I should use ?

  Also, I am wondering how the kernel knows "/dev/mtdblock3" is in my flash 
?
I think I never do any setting about this....

thank you ,
/HappyPhot
Brett McNerney | 3 Jan 04:43 2006

Custom Driver

I am need to create a driver to interface to custom hardware on a ml403 board.  I am first trying to just create a ipif register bank and access the registers from linux but am not having any luck of yet.  Has anyone successfully done this and if so explain how or supply a driver to do this and how to build it into the kernel?  I am new at this and am having great difficutly right now. 

Thanks for any help anyone can supply

Brett

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded <at> ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Grant Likely | 3 Jan 04:59 2006
Picon

Re: Custom Driver

Brett McNerney wrote:
> I am need to create a driver to interface to custom hardware on a ml403
> board.  I am first trying to just create a ipif register bank and access
> the registers from linux but am not having any luck of yet.  Has anyone
> successfully done this and if so explain how or supply a driver to do
> this and how to build it into the kernel?  I am new at this and am
> having great difficutly right now. 
> 
> Thanks for any help anyone can supply
Can you access your device from a debugger, or a no-os program (like a
bootloader)?  Did you call ioremap() to map the physical register
address into virtual memory?  Can you give more detail?

g.

--

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761
Grant Likely | 3 Jan 09:08 2006
Picon

Re: [PATCH 8/8] Add support for Xilinx ML403 reference design

Florian wrote:
>>> Yes. I am also working on a Virtex-4 system with Linux.
>>> Do you support also a Linux 2.4 tree?
>>
>>
>> Sorry, no.  I'm focusing on the 2.6 stuff.  IIRC, the Denx tree is
>> tracking the virtex support in 2.4.
>>
>> Are you strictly working on 2.4?  Or are you interested in 2.6 as well?
> 
> 
> I am working with the Montavista 2.4 sources.
> 2.6 is also possible but I read 2.6 is not better than 2.4 for embedded
> systems.
> We didn't make a final decision so you can convince me to try 2.6.
Nah, that sounds like to much work.  :)  Choose what works for you.  If
2.4 has the features you need then go for it.  (just keep in mind that
most new development it focused on 2.6)

g.

--

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761

Gmane