<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-15994</id>
	<title>Nabble - linuxppc-embedded</title>
	<updated>2009-10-22T04:18:33Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/linuxppc-embedded-f15994.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linuxppc-embedded-f15994.html" />
	<subtitle type="html">Linux on Embedded PowerPC Developers Mail List</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26008846</id>
	<title>Query: Does Linux kernel 2.6.31 support read/write/erase on ST make  M29W128GH Flash memory chip?</title>
	<published>2009-10-22T04:18:33Z</published>
	<updated>2009-10-22T04:18:33Z</updated>
	<author>
		<name>prakash bedge</name>
	</author>
	<content type="html">&lt;div&gt;Hi All,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I am searching for M29W128GH support in Linux kernel 2.6.31.&lt;/div&gt;
&lt;div&gt;On internet I am seeing that there is some patch work for fixup on write buffer coomand on M29W128GH. This shows that Linux kernel 2.6.31 supports the M29W128GH.&lt;/div&gt;
&lt;div&gt;But I am not seeing any memory mapping for M29W128GH.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Can anyone please tell me that whether Linux kernel 2.6.31 support the read/write/erase on M29W128GH? If yes how I can check that?&lt;/div&gt;
&lt;div&gt;Which of below files I should use for communicating with ST M29W128GH flash chip?&lt;/div&gt;
&lt;div&gt;cfi_cmdset_0001.c&lt;/div&gt;
&lt;div&gt;cfi_cmdset_0002.c&lt;/div&gt;
&lt;div&gt;cfi_cmdset_0020.c -- Looks like I shall use this but not confirm.&lt;/div&gt;
&lt;div&gt;cfi_probe.c&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I am novice to flash driver in kernel so might be not getting the exact details on M29W128GH. &lt;/div&gt;
&lt;div&gt;Expecting a help from seniors in this field.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks in advance.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks &amp;amp; Regards,&lt;/div&gt;
&lt;div&gt;Aakash&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Linuxppc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26008846&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.ozlabs.org/listinfo/linuxppc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.ozlabs.org/listinfo/linuxppc-dev&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query%3A-Does-Linux-kernel-2.6.31-support-read-write-erase-on-ST-make--M29W128GH-Flash-memory-chip--tp26008846p26008846.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26008834</id>
	<title>Execute In Place (XIP) support for PPC440x5</title>
	<published>2009-10-22T03:10:59Z</published>
	<updated>2009-10-22T03:10:59Z</updated>
	<author>
		<name>Mohit Mewada</name>
	</author>
	<content type="html">Hi List,
&lt;br&gt;&lt;br&gt;I am trying to port a board with PPC440x5 on linux-2.6.31. My board
&lt;br&gt;has 64MB of flash and 256KB of RAM. Since with this much RAM it is not
&lt;br&gt;possible to copy the kernel image to RAM and boot it from there. I was
&lt;br&gt;trying to figure-out option in the kernel which will allow me to
&lt;br&gt;execute it from flash itself.
&lt;br&gt;&lt;br&gt;I refered to &lt;a href=&quot;http://www.denx.de/wiki/publish/DULG/to-delete/ConfigureLinuxForXIP.html;&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.denx.de/wiki/publish/DULG/to-delete/ConfigureLinuxForXIP.html;&lt;/a&gt;&lt;br&gt;but the flags mentioned here are not present for PPC architecture. I
&lt;br&gt;found these flag only for ARM architecture.
&lt;br&gt;&lt;br&gt;So can anyone please tell me whether it is possible to have kernel
&lt;br&gt;executing from flash for PPC?
&lt;br&gt;If yes, then please let me know about any patch or something that will
&lt;br&gt;allow me &amp;nbsp;to do this?
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Thanks and Regards,
&lt;br&gt;Mohit Mewada
&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26008834&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.ozlabs.org/listinfo/linuxppc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.ozlabs.org/listinfo/linuxppc-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Execute-In-Place-%28XIP%29-support-for-PPC440x5-tp26008834p26008834.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25949218</id>
	<title>PPC440epx boot problem</title>
	<published>2009-10-18T11:40:20Z</published>
	<updated>2009-10-18T11:40:20Z</updated>
	<author>
		<name>allanw</name>
	</author>
	<content type="html">Hello, all,
&lt;br&gt;&lt;br&gt;I have got an EP440XS board. I have port the BSP based on Sequoia board. The uImage does not boot. cuImage boots, but it is stuck in the wrapper with the message &amp;quot;Finalizing device tree... flat tree at 0x784300&amp;quot; before the kernel image starts. How do I know that the address 0x784300 is correct? I am new to LINUX, where do I start to debug this?
&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;Allan
&lt;br&gt;&lt;br&gt;=&amp;gt; bootm
&lt;br&gt;## Booting image at 00200000 ...
&lt;br&gt;&amp;nbsp; &amp;nbsp;Image Name: &amp;nbsp; Linux-2.6.30.4
&lt;br&gt;&amp;nbsp; &amp;nbsp;Created: &amp;nbsp; &amp;nbsp; &amp;nbsp;2009-10-18 &amp;nbsp;14:53:32 UTC
&lt;br&gt;&amp;nbsp; &amp;nbsp;Image Type: &amp;nbsp; PowerPC Linux Kernel Image (gzip compressed)
&lt;br&gt;&amp;nbsp; &amp;nbsp;Data Size: &amp;nbsp; &amp;nbsp;1593840 Bytes = &amp;nbsp;1.5 MB
&lt;br&gt;&amp;nbsp; &amp;nbsp;Load Address: 00400000
&lt;br&gt;&amp;nbsp; &amp;nbsp;Entry Point: &amp;nbsp;00400460
&lt;br&gt;&amp;nbsp; &amp;nbsp;Verifying Checksum ... OK
&lt;br&gt;&amp;nbsp; &amp;nbsp;Uncompressing Kernel Image ... OK
&lt;br&gt;CPU clock-frequency &amp;lt;- 0x1fca0550 (533MHz)
&lt;br&gt;CPU timebase-frequency &amp;lt;- 0x1fca0550 (533MHz)
&lt;br&gt;/plb: clock-frequency &amp;lt;- 7f28154 (133MHz)
&lt;br&gt;/plb/opb: clock-frequency &amp;lt;- 3f940aa (67MHz)
&lt;br&gt;/plb/opb/ebc: clock-frequency &amp;lt;- 3f940aa (67MHz)
&lt;br&gt;/plb/opb/serial@ef600300: clock-frequency &amp;lt;- a8c000 (11MHz)
&lt;br&gt;/plb/opb/serial@ef600400: clock-frequency &amp;lt;- a8c000 (11MHz)
&lt;br&gt;/plb/opb/serial@ef600500: clock-frequency &amp;lt;- a8c000 (11MHz)
&lt;br&gt;/plb/opb/serial@ef600600: clock-frequency &amp;lt;- a8c000 (11MHz)
&lt;br&gt;Memory &amp;lt;- &amp;lt;0x0 0x0 0xffff000&amp;gt; (255MB)
&lt;br&gt;ethernet0: local-mac-address &amp;lt;- 00:10:ec:01:12:83
&lt;br&gt;ethernet1: local-mac-address &amp;lt;- 00:10:ec:81:12:83
&lt;br&gt;&lt;br&gt;zImage starting: loaded at 0x00400000 (sp: 0x07f2bb90)
&lt;br&gt;Allocating 0x3440ec bytes for kernel ...
&lt;br&gt;gunzipping (0x00000000 &amp;lt;- 0x0040e000:0x00777660)...done 0x32623c bytes
&lt;br&gt;&lt;br&gt;Linux/PowerPC load: $(bootargs) console=ttyS0,$(baudrate)
&lt;br&gt;Finalizing device tree... flat tree at 0x784300
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PPC440epx-boot-problem-tp25949218p25949218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25908766</id>
	<title>kernel oops issue in localbus driver</title>
	<published>2009-10-15T06:36:44Z</published>
	<updated>2009-10-15T06:36:44Z</updated>
	<author>
		<name>Bugzilla from fboudra@gmail.com</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a FPGA connected to a MPC8347 through localbus.
&lt;br&gt;&lt;br&gt;The following kernel oops occurs sometimes:
&lt;br&gt;&lt;br&gt;Unable to handle kernel paging request for data at address 0x7ddfecb0
&lt;br&gt;Faulting instruction address: 0xc00145f4
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#1]
&lt;br&gt;PREEMPT
&lt;br&gt;Modules linked in: ath_pci ath_rate_minstrel ath_hal wlan_acl
&lt;br&gt;wlan_ccmp wlan_scan_ap wlan_scan_sta wlan_tkip wlan_wep wlan_xauth
&lt;br&gt;wlan gpio localbus
&lt;br&gt;NIP: C00145F4 LR: D1083C74 CTR: 000001C3
&lt;br&gt;REGS: c700ddb0 TRAP: 0300 &amp;nbsp; Tainted: P &amp;nbsp; &amp;nbsp; &amp;nbsp; (2.6.18)
&lt;br&gt;MSR: 00009032 &amp;lt;EE,ME,IR,DR&amp;gt; &amp;nbsp;CR: 20024042 &amp;nbsp;XER: 20000000
&lt;br&gt;DAR: 7DDFECB0, DSISR: 22000000
&lt;br&gt;TASK = c7786810[345] 'femain' THREAD: c700c000
&lt;br&gt;GPR00: 00000000 C700DE60 C7786810 7DDFEBC8 C90620EC 00000F00 7DDFECAC
&lt;br&gt;7196E7E0
&lt;br&gt;GPR08: 0EECA261 D1090000 0021ED00 C00145D0 00001000 704C6206 00000000
&lt;br&gt;1005924D
&lt;br&gt;GPR16: C0034D7C 7DDFEBC8 C700DE9C 00000F00 00000000 C787A3C0 D1090000
&lt;br&gt;00000000
&lt;br&gt;GPR24: 00000000 D1090000 7DDFEBC8 D1090000 000003C0 C9062000 7DDFEBC8
&lt;br&gt;D108E954
&lt;br&gt;NIP [C00145F4] memcpy+0x24/0x9c
&lt;br&gt;LR [D1083C74] lbp_memcpy32_fromio+0x54/0x98 [localbus]
&lt;br&gt;Call Trace:
&lt;br&gt;[C700DE60] [C019B780] preempt_schedule_irq+0x64/0xa4 (unreliable)
&lt;br&gt;[C700DE80] [D10813C0] fpgadecenc_read+0x3ac/0x4b0 [localbus]
&lt;br&gt;--- Exception: 7ddfebc8 at 0xc700df40
&lt;br&gt;&amp;nbsp; &amp;nbsp; LR = _start+0x40000000/0xc
&lt;br&gt;[C700DEF0] [C005F4DC] vfs_read+0x9c/0x140 (unreliable)
&lt;br&gt;[C700DF10] [C005F840] sys_read+0x4c/0x90
&lt;br&gt;[C700DF40] [C000F89C] ret_from_syscall+0x0/0x38
&lt;br&gt;--- Exception: c01 at 0x300bb7dc
&lt;br&gt;&amp;nbsp; &amp;nbsp; LR = 0x3001ed40
&lt;br&gt;Instruction dump:
&lt;br&gt;4e800020 7c032040 418100a0 54a7e8ff 38c3fffc 3884fffc 41820028
&lt;br&gt;70c00003
&lt;br&gt;7ce903a6 40820054 80e40004 85040008 &amp;lt;90e60004&amp;gt; 95060008 4200fff0 70a50007
&lt;br&gt;&lt;br&gt;It seems there's an issue in the localbus driver (lbp_memcpy32_fromio
&lt;br&gt;is a wrapper function for the localbus memory access):
&lt;br&gt;&lt;br&gt;ssize_t lbp_memcpy_fromio(void *dest, void *source, __u32 count32)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* attempt to acquire the semaphore */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; down(&amp;sem_lb);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* critical region */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mb();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; memcpy_fromio(dest, source, count32 * 4);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mb();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* release the given semaphore */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; up(&amp;sem_lb);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Aren't we supposed to use down_interruptible() instead ?
&lt;br&gt;I didn't write the driver and would like to fix it.
&lt;br&gt;Any hints will be appreciated.
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;&lt;br&gt;Fathi
&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.ozlabs.org/listinfo/linuxppc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.ozlabs.org/listinfo/linuxppc-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kernel-oops-issue-in-localbus-driver-tp25908766p25908766.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25795025</id>
	<title>Re: Inherit U-boot's pcie config</title>
	<published>2009-10-07T14:47:10Z</published>
	<updated>2009-10-07T14:47:10Z</updated>
	<author>
		<name>dbrazeau</name>
	</author>
	<content type="html">I have tried pci=firmware as well, but kernel says &amp;quot; PCI: Unknown option `firmware' &amp;quot;. &amp;nbsp;I have also tried setting the PPC_PCI_PROBE_ONLY flag on ppc_pci_flags with no luck.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;dbrazeau wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I have U-boot setting up my pcie config the way i like. &amp;nbsp;I was wondering if there was some way to make linux inherit the bootloader/bios pcie config. &amp;nbsp;Currently when Linux boots it wipes out all the configuration that is done in U-boot. &amp;nbsp;I have tried using the kernel command pci=bios, but that doesn't seem work. &amp;nbsp;Is there any other kernel command line argument or kernel configuration that I can use to do this?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Inherit-U-boot%27s-pcie-config-tp25793903p25795025.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25793903</id>
	<title>Inherit U-boot's pcie config</title>
	<published>2009-10-07T13:34:00Z</published>
	<updated>2009-10-07T13:34:00Z</updated>
	<author>
		<name>dbrazeau</name>
	</author>
	<content type="html">I have U-boot setting up my pcie config the way i like. &amp;nbsp;I was wondering if there was some way to make linux inherit the bootloader/bios pcie config. &amp;nbsp;Currently when Linux boots it wipes out all the configuration that is done in U-boot. &amp;nbsp;I have tried using the kernel command pci=bios, but that doesn't seem work. &amp;nbsp;Is there any other kernel command line argument or kernel configuration that I can use to do this?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Inherit-U-boot%27s-pcie-config-tp25793903p25793903.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25659851</id>
	<title>Re: Problem with linux kernal Booting on ppc440x5 processor &amp; SRAM Memory</title>
	<published>2009-09-29T02:38:17Z</published>
	<updated>2009-09-29T02:38:17Z</updated>
	<author>
		<name>vneethv</name>
	</author>
	<content type="html">we have 16MB of SRAM from location 0x0 till 0x0FFFFFF. In this we r using the last 1 MB for the Simple bootloader to execute. We created a TLB for the entire 16Mb RAM while initializing the processor (from our simple bootloader.)i hope this is enough memory to boot linux. 
&lt;br&gt;&lt;br&gt;We tried changing the configuration of the crosstool and found its crashing at the same level again..please find the log below. We are diggin more now on t&lt;b&gt;he reason for DEAR and MSR having the same value&lt;/b&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Bootloader : Initialized the System
&lt;br&gt;Bootloader : Initialized the UART
&lt;br&gt;Bootloader : Copying Linux Image to RAM
&lt;br&gt;Bootloader : !!!!!!!!!!!!!!!!!!!!!!!!!!!
&lt;br&gt;Bootloader : Copying Image from FLASH to 0x400000 of SRAM is Done
&lt;br&gt;Bootloader : -KENTRY -
&lt;br&gt;&lt;br&gt;zImage starting: loaded at 0x00400000 (sp: 0x004deeb0)
&lt;br&gt;Allocating 0x1dad84 bytes for kernel ...
&lt;br&gt;gunzipping (0x00000000 &amp;lt;- 0x0040c000:0x004dd407)...done 0x1c31cc bytes
&lt;br&gt;&lt;br&gt;Linux/PowerPC load: console=ttyS0 root=/dev/ram
&lt;br&gt;Finalizing device tree... flat tree at 0x4eb300
&lt;br&gt;inside _setup_arch-begininginside _setup_arch-1inside skybeam_register_console function
&lt;br&gt;oodikkooo...inside _setup_arch-2&amp;lt;7&amp;gt;Top of RAM: 0x1a00000, Total RAM: 0x1a00000
&lt;br&gt;Zone PFN ranges:
&lt;br&gt;&amp;nbsp; DMA &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00000000 -&amp;gt; 0x00001a00
&lt;br&gt;&amp;nbsp; Normal &amp;nbsp; 0x00001a00 -&amp;gt; 0x00001a00
&lt;br&gt;Movable zone start PFN for each node
&lt;br&gt;early_node_map[1] active PFN ranges
&lt;br&gt;&amp;nbsp; &amp;nbsp; 0: 0x00000000 -&amp;gt; 0x00001a00
&lt;br&gt;MMU: Allocated 1088 bytes of context maps for 255 contexts
&lt;br&gt;Built 1 zonelists in Zone order, mobility grouping on. &amp;nbsp;Total pages: 6604
&lt;br&gt;Kernel command line: console=ttyS0 root=/dev/ram
&lt;br&gt;Unable to handle kernel paging request for data at address 0x00021000
&lt;br&gt;Faulting instruction address: 0xc010a7a4
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#1]
&lt;br&gt;PREEMPT PowerPC 44x Platform
&lt;br&gt;Modules linked in:
&lt;br&gt;NIP: c010a7a4 LR: c010dc30 CTR: 00000000
&lt;br&gt;REGS: c01bfeb0 TRAP: 0300 &amp;nbsp; Not tainted &amp;nbsp;(2.6.30)
&lt;br&gt;MSR: 00021000 &amp;lt;ME,CE&amp;gt; &amp;nbsp;CR: 24000044 &amp;nbsp;XER: 00000000
&lt;br&gt;DEAR: 00021000, ESR: 00000000
&lt;br&gt;TASK = c01a94b8[0] 'swapper' THREAD: c01be000
&lt;br&gt;GPR00: 00001180 c01bff60 c01a94b8 00021000 00000025 00000008 c0104948 00000000 
&lt;br&gt;GPR08: 2f72616d c0110000 c0155920 c01a0000 22000024 00000000 fffff104 00000000 
&lt;br&gt;GPR16: 00000000 00000000 00000000 00000000 fffffff8 000008b8 c010d738 c0104948 
&lt;br&gt;GPR24: 00001198 00001190 c018a001 c01c5498 000008c0 00001188 00021000 c01c42f0 
&lt;br&gt;NIP [c010a7a4] strchr+0x0/0x3c
&lt;br&gt;LR [c010dc30] match_token+0x138/0x228
&lt;br&gt;Call Trace:
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#2]
&lt;br&gt;PREEMPT PowerPC 44x Platform
&lt;br&gt;Modules linked in:
&lt;br&gt;NIP: 00000008 LR: 00000009 CTR: c010ca04
&lt;br&gt;REGS: c01bfa50 TRAP: 0400 &amp;nbsp; Not tainted &amp;nbsp;(2.6.30)
&lt;br&gt;MSR: 00021000 &amp;lt;ME,CE&amp;gt; &amp;nbsp;CR: 24004042 &amp;nbsp;XER: 00000000
&lt;br&gt;TASK = c01a94b8[0] 'swapper' THREAD: c01be000
&lt;br&gt;GPR00: 00000009 c01bfb00 c01a94b8 00000000 c01bfaf8 00000010 c01bfaf8 c01bfb7c 
&lt;br&gt;GPR08: ffffffff c01c628c ffffffff c01bfb00 24004048 00000000 c0152754 c0152838 
&lt;br&gt;GPR16: c0152604 c01528c4 c01bfc70 ffffffff c01b8628 c005bd94 00000004 c01c628c 
&lt;br&gt;GPR24: c01bfdb8 00000000 c016b96c c01bfb7c c01bfb10 c005be3c 00000010 c01c628c 
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Recursive die() failure, output suppressed
&lt;br&gt;---[ end trace 31fd0ba7d8756001 ]---
&lt;br&gt;Kernel panic - not syncing: Attempted to kill the idle task!
&lt;br&gt;Call Trace:
&lt;br&gt;[c01bf510] [c0005d5c] show_stack+0x4c/0x16c (unreliable)
&lt;br&gt;[c01bf550] [c002f15c] panic+0xa0/0x168
&lt;br&gt;[c01bf5a0] [c0032e98] do_exit+0x61c/0x638
&lt;br&gt;[c01bf5e0] [c000b60c] kernel_bad_stack+0x0/0x4c
&lt;br&gt;[c01bf610] [c000f310] bad_page_fault+0x90/0xd8
&lt;br&gt;[c01bf620] [c000e184] handle_page_fault+0x7c/0x80
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#3]
&lt;br&gt;PREEMPT PowerPC 44x Platform
&lt;br&gt;Modules linked in:
&lt;br&gt;NIP: 00000008 LR: 00000009 CTR: c010ca04
&lt;br&gt;REGS: c01bf170 TRAP: 0400 &amp;nbsp; Tainted: G &amp;nbsp; &amp;nbsp; &amp;nbsp;D &amp;nbsp; &amp;nbsp; (2.6.30)
&lt;br&gt;MSR: 00021000 &amp;lt;ME,CE&amp;gt; &amp;nbsp;CR: 24004042 &amp;nbsp;XER: 20000000
&lt;br&gt;TASK = c01a94b8[0] 'swapper' THREAD: c01be000
&lt;br&gt;GPR00: 00000009 c01bf220 c01a94b8 00000000 c01bf218 00000010 c01bf218 c01bf29c 
&lt;br&gt;GPR08: ffffffff c01c628c ffffffff c01bf220 24004048 00000000 c0152754 c0152838 
&lt;br&gt;GPR16: c0152604 c01528c4 c01bf390 ffffffff c01b8628 c005bd94 0000007c c01c628c 
&lt;br&gt;GPR24: c01bf4d8 00000000 00000009 c01bf29c c01bf230 c005be3c 00000010 c01c628c 
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#4]
&lt;br&gt;PREEMPT PowerPC 44x Platform
&lt;br&gt;Modules linked in:
&lt;br&gt;NIP: 00000008 LR: 00000009 CTR: c010ca04
&lt;br&gt;REGS: c01bed50 TRAP: 0400 &amp;nbsp; Tainted: G &amp;nbsp; &amp;nbsp; &amp;nbsp;D &amp;nbsp; &amp;nbsp; (2.6.30)
&lt;br&gt;MSR: 00021000 &amp;lt;ME,CE&amp;gt; &amp;nbsp;CR: 24004042 &amp;nbsp;XER: 20000000
&lt;br&gt;TASK = c01a94b8[0] 'swapper' THREAD: c01be000
&lt;br&gt;GPR00: 00000009 c01bee00 c01a94b8 00000000 c01bedf8 00000010 c01bedf8 c01bee7c 
&lt;br&gt;GPR08: ffffffff c01c628c ffffffff c01bee00 24004048 00000000 c0152754 c0152838 
&lt;br&gt;GPR16: c0152604 c01528c4 c01bef70 ffffffff c01b8628 c005bd94 00000000 c01c628c 
&lt;br&gt;GPR24: c01bf0b8 00000000 00000008 c01bee7c c01bee10 c005be3c 00000010 c01c628c 
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Recursive die() failure, output suppressed
&lt;br&gt;---[ end trace 31fd0ba7d8756002 ]---
&lt;br&gt;Kernel panic - not syncing: Attempted to kill the idle task!
&lt;br&gt;Call Trace:
&lt;br&gt;[c01be810] [c0005d5c] show_stack+0x4c/0x16c (unreliable)
&lt;br&gt;[c01be850] [c002f15c] panic+0xa0/0x168
&lt;br&gt;[c01be8a0] [c0032e98] do_exit+0x61c/0x638
&lt;br&gt;[c01be8e0] [c000b60c] kernel_bad_stack+0x0/0x4c
&lt;br&gt;[c01be910] [c000f310] bad_page_fault+0x90/0xd8
&lt;br&gt;[c01be920] [c000e184] handle_page_fault+0x7c/0x80
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#5]
&lt;br&gt;PREEMPT PowerPC 44x Platform
&lt;br&gt;Modules linked in:
&lt;br&gt;NIP: 00000008 LR: 00000009 CTR: c010ca04
&lt;br&gt;REGS: c01be470 TRAP: 0400 &amp;nbsp; Tainted: G &amp;nbsp; &amp;nbsp; &amp;nbsp;D &amp;nbsp; &amp;nbsp; (2.6.30)
&lt;br&gt;MSR: 00021000 &amp;lt;ME,CE&amp;gt; &amp;nbsp;CR: 24004042 &amp;nbsp;XER: 20000000
&lt;br&gt;TASK = c01a94b8[0] 'swapper' THREAD: c01be000
&lt;br&gt;GPR00: 00000009 c01be520 c01a94b8 00000000 c01be518 00000010 c01be518 c01be59c 
&lt;br&gt;GPR08: ffffffff c01c628c ffffffff c01be520 24004048 00000000 c0152754 c0152838 
&lt;br&gt;GPR16: c0152604 c01528c4 c01be690 ffffffff c01b8628 c005bd94 0000007c c01c628c 
&lt;br&gt;GPR24: c01be7d8 00000000 00000009 c01be59c c01be530 c005be3c 00000010 c01c628c 
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#6]
&lt;br&gt;PREEMPT PowerPC 44x Platform
&lt;br&gt;Modules linked in:
&lt;br&gt;NIP: 00000008 LR: 00000009 CTR: c010ca04
&lt;br&gt;REGS: c01be050 TRAP: 0400 &amp;nbsp; Tainted: G &amp;nbsp; &amp;nbsp; &amp;nbsp;D &amp;nbsp; &amp;nbsp; (2.6.30)
&lt;br&gt;MSR: 00021000 &amp;lt;ME,CE&amp;gt; &amp;nbsp;CR: 24004042 &amp;nbsp;XER: 20000000
&lt;br&gt;TASK = c01a94b8[0] 'swapper' THREAD: c01be000
&lt;br&gt;GPR00: 00000009 c01be100 c01a94b8 00000000 c01be0f8 00000010 c01be0f8 c01be17c 
&lt;br&gt;GPR08: ffffffff c01c628c ffffffff c01be100 24004048 00000000 c0152754 c0152838 
&lt;br&gt;GPR16: c0152604 c01528c4 c01be270 ffffffff c01b8628 c005bd94 00000000 c01c628c 
&lt;br&gt;GPR24: c01be3b8 00000000 00000008 c01be17c c01be110 c005be3c 00000010 c01c628c 
&lt;br&gt;Unable to handle kernel paging request for instruction fetch
&lt;br&gt;Faulting instruction address: 0x00000008
&lt;br&gt;Recursive die() failure, output suppressed
&lt;br&gt;Kernel panic - not syncing: Fatal exception in interrupt
&lt;br&gt;Call Trace:
&lt;br&gt;Rebooting in 180 seconds..
&lt;br&gt;/**************NEW LOG ****************************************/
&lt;br&gt;Thanks &amp; Regards
&lt;br&gt;Vineeth V
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;nilwil wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;The crosstool config says LINUX_DIR=linux-2.6.15.4, while the kernel config says 2.6.30. Assuming you are using the right kernel image, the reason I could see is having insufficient RAM.
&lt;br&gt;&lt;br&gt;How much RAM do you have? A typical Linux image (uncompressed) will take at least 1-2MB space. If you can't provide enough RAM for this, you might want to configure XIP (execute in place), to run the kernel from flash. However, this might require writing a flash driver for your NAND/NOR chip.
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-linux-kernal-Booting-on-ppc440x5-processor---SRAM-Memory-tp25530279p25659851.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25606389</id>
	<title>Re: Problem with linux kernal Booting on ppc440x5 processor &amp; SRAM Memory</title>
	<published>2009-09-24T21:36:52Z</published>
	<updated>2009-09-24T21:36:52Z</updated>
	<author>
		<name>nilwil</name>
	</author>
	<content type="html">The crosstool config says LINUX_DIR=linux-2.6.15.4, while the kernel config says 2.6.30. Assuming you are using the right kernel image, the reason I could see is having insufficient RAM.
&lt;br&gt;&lt;br&gt;How much RAM do you have? A typical Linux image (uncompressed) will take at least 1-2MB space. If you can't provide enough RAM for this, you might want to configure XIP (execute in place), to run the kernel from flash. However, this might require writing a flash driver for your NAND/NOR chip.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-linux-kernal-Booting-on-ppc440x5-processor---SRAM-Memory-tp25530279p25606389.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25561263</id>
	<title>Re: Problem with linux kernal Booting on ppc440x5 processor &amp; SRAM Memory</title>
	<published>2009-09-24T04:56:00Z</published>
	<updated>2009-09-24T04:56:00Z</updated>
	<author>
		<name>vneethv</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Please find the crosstool.config.txt file info below. And the kernel configuration file (&amp;quot;.config&amp;quot;) is attached.
&lt;br&gt;&lt;br&gt;AR=
&lt;br&gt;BINUTILS_DIR=binutils-2.16.1
&lt;br&gt;BINUTILS_EXTRA_CONFIG=
&lt;br&gt;BUILD=x86_64-unknown-linux-gnu
&lt;br&gt;BUILD_DIR=/home/sumesh/crosstool-0.43/build/powerpc-440-linux-gnu/gcc-4.2.4-glibc-2.3.6
&lt;br&gt;CC=
&lt;br&gt;DEJAGNU=
&lt;br&gt;EXTRA_TARGET_CFLAGS=
&lt;br&gt;GCC_BUILD=
&lt;br&gt;GCC_CORE_DIR=gcc-3.4.6
&lt;br&gt;GCC_DIR=gcc-4.2.4
&lt;br&gt;GCC_EXTRA_CONFIG=--with-cpu=440 --enable-cxx-flags=-mcpu=440
&lt;br&gt;GCC_HOST=
&lt;br&gt;GCC_LANGUAGES=c,c++
&lt;br&gt;GDB_DIR=gdb-6.5
&lt;br&gt;GLIBC_ADDON_OPTIONS==linuxthreads,
&lt;br&gt;GLIBC_DIR=glibc-2.3.6
&lt;br&gt;GLIBC_EXTRA_CC_ARGS=
&lt;br&gt;GLIBC_EXTRA_CONFIG=--without-fp
&lt;br&gt;GLIBC_EXTRA_ENV=
&lt;br&gt;JUST_DOWNLOAD=
&lt;br&gt;KERNELCONFIG=
&lt;br&gt;LINUX_DIR=linux-2.6.15.4
&lt;br&gt;LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
&lt;br&gt;NO_DOWNLOAD=
&lt;br&gt;PREFIX=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/powerpc-440-linux-gnu
&lt;br&gt;PTXDIST_DIR=
&lt;br&gt;SHARED_MODE=--enable-shared
&lt;br&gt;SRC_DIR=/home/sumesh/crosstool-0.43/build/powerpc-440-linux-gnu/gcc-4.2.4-glibc-2.3.6
&lt;br&gt;TARBALLS_DIR=/home/sky/downloads
&lt;br&gt;TARGET=powerpc-440-linux-gnu
&lt;br&gt;TARGET_CFLAGS=-O -mcpu=440
&lt;br&gt;TOP_DIR=/home/sumesh/crosstool-0.43
&lt;br&gt;USE_SYSROOT=
&lt;br&gt;&lt;br&gt;Please tell me if i am missing smthing in this.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Vineeth&lt;a href=&quot;http://old.nabble.com/file/p25561263/.config&quot; target=&quot;_top&quot;&gt;.config&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;nilwil wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;This could be a problem with the tool chain/kernel configuration you are using. What versions and configurations are you using for the tools and kernel?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-linux-kernal-Booting-on-ppc440x5-processor---SRAM-Memory-tp25530279p25561263.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25559877</id>
	<title>Re: Problem with linux kernal Booting on ppc440x5 processor &amp; SRAM Memory</title>
	<published>2009-09-24T04:42:25Z</published>
	<updated>2009-09-24T04:42:25Z</updated>
	<author>
		<name>nilwil</name>
	</author>
	<content type="html">This could be a problem with the tool chain/kernel configuration you are using. What versions and configurations are you using for the tools and kernel?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-linux-kernal-Booting-on-ppc440x5-processor---SRAM-Memory-tp25530279p25559877.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25530279</id>
	<title>Problem with linux kernal Booting on ppc440x5 processor &amp; SRAM Memory</title>
	<published>2009-09-21T03:35:49Z</published>
	<updated>2009-09-21T03:35:49Z</updated>
	<author>
		<name>vneethv</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am trying to port linux on IBM powerpc-440x5. I have this board which has this processor, a 16MB SRAM sits on location 0x0, uart and a flash.I have a simple bootloader which does the following.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 1. Initialize the processor (as part of it, we Generates the tlbs for UART,16MB flash,16MB SRAM)
&lt;br&gt;&amp;nbsp; &amp;nbsp; 2. Initialize the UART
&lt;br&gt;&amp;nbsp; &amp;nbsp; 3. Copy the simple-boot linux_image (binary file) from flash to 0x400000 location of SRAM.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 4. Kernel entry to 0x400000
&lt;br&gt;I also have a device tree structure file (image.dts) which i am passing while generating the linux image.
&lt;br&gt;It all went through and linux got extracted to the 0x0th location of SRAM. and started executing.
&lt;br&gt;(plz find the log below)
&lt;br&gt;&lt;br&gt;it always crashed @ &amp;quot;&lt;b&gt;Unable to handle kernel paging request for data at address 0x0xxxxxxx&amp;quot;&lt;/b&gt;&lt;br&gt;is there anything i have to change in the boot loader or kernel with respect to the MMU initialization ?
&lt;br&gt;&lt;br&gt;in the kernel code @ /arch/powerpc/kernel/head_44x.s; there is a comment saying &amp;quot;its trying to invalidate all the TLB entries except the one it currently working on&amp;quot;. Will it make any issues as in our case we have only one TLB for the entire 16MB sram, which will be the current working one..
&lt;br&gt;&lt;br&gt;Can someone suggest us some clue or details on this.
&lt;br&gt;&lt;br&gt;Thanks &amp; Regards,
&lt;br&gt;Vineeth
&lt;br&gt;&lt;br&gt;LINUX BOOT LOG
&lt;br&gt;----------------------------------------------------------------------------------------
&lt;br&gt;Initialized the System
&lt;br&gt;Initialized the UART
&lt;br&gt;Copying Linux Image to RAM &amp;gt; !!!!!!!!!!!!!!!!!!!!!!!!!!!
&lt;br&gt;Copying Image Done
&lt;br&gt;-KERNEL ENTRY-
&lt;br&gt;-
&lt;br&gt;zImage starting: loaded at 0x00400000 (sp: 0x004deeb0)
&lt;br&gt;Allocating 0x1dad84 bytes for kernel ...
&lt;br&gt;gunzipping (0x00000000 &amp;lt;- 0x0040c000:0x004dd3f1)...done 0x1c31cc bytes
&lt;br&gt;&lt;br&gt;Linux/PowerPC load: console=ttyS0 root=/dev/ram
&lt;br&gt;Finalizing device tree... flat tree at 0x4eb300
&lt;br&gt;id mach(): done
&lt;br&gt;inside skybeam_register_console function
&lt;br&gt;MMU:enterMMU:hw initMMU:mapinMMU:setioMMU:exitinside _setup_arch-begininginside _setup_arch-1inside _setup_arch-2setup_arch: bootmemarch: exit&amp;lt;7&amp;gt;Top of RAM: 0x1000000, Total RAM: 0x1000000
&lt;br&gt;Zone PFN ranges:
&lt;br&gt;&amp;nbsp;DMA &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00000000 -&amp;gt; 0x00001000
&lt;br&gt;&amp;nbsp;Normal &amp;nbsp; 0x00001000 -&amp;gt; 0x00001000
&lt;br&gt;Movable zone start PFN for each node
&lt;br&gt;early_node_map[1] active PFN ranges
&lt;br&gt;&amp;nbsp; &amp;nbsp;0: 0x00000000 -&amp;gt; 0x00001000
&lt;br&gt;MMU: Allocated 1088 bytes of context maps for 255 contexts
&lt;br&gt;Built 1 zonelists in Zone order, mobility grouping off. &amp;nbsp;Total pages: 4064
&lt;br&gt;Kernel command line: console=ttyS0 root=/dev/ram
&lt;br&gt;Unable to handle kernel paging request for data at address 0x00021000
&lt;br&gt;Faulting instruction address: 0xc010a7c4
&lt;br&gt;Oops: Kernel access of bad area, sig: 11 [#1]
&lt;br&gt;PREEMPT PowerPC 44x Platform
&lt;br&gt;Modules linked in:
&lt;br&gt;NIP: c010a7c4 LR: c010dc50 CTR: 00000000
&lt;br&gt;REGS: c01bfeb0 TRAP: 0300 &amp;nbsp; Not tainted &amp;nbsp;(2.6.30)
&lt;br&gt;MSR: 00021000 &amp;lt;ME,CE&amp;gt; &amp;nbsp;CR: 24000044 &amp;nbsp;XER: 00000000
&lt;br&gt;DEAR: 00021000, ESR: 00000000
&lt;br&gt;TASK = c01a94b8[0] 'swapper' THREAD: c01be000
&lt;br&gt;GPR00: 00001180 c01bff60 c01a94b8 00021000 00000025 00000008 c0104968 00000000
&lt;br&gt;GPR08: 2f72616d c0110000 c0155938 c01a0000 22000024 00000000 fffff104 00000000
&lt;br&gt;GPR16: 00000000 00000000 00000000 00000000 fffffff8 000008b8 c010d758 c0104968
&lt;br&gt;GPR24: 00001198 00001190 c018a001 c01c5498 000008c0 00001188 00021000 c01c42f0
&lt;br&gt;NIP [c010a7c4] strchr+0x0/0x3c
&lt;br&gt;LR [c010dc50] match_token+0x138/0x228
&lt;br&gt;Call Trace:
&lt;br&gt;[c01bff60] [c016b99c] 0xc016b99c (unreliable)
&lt;br&gt;[c01bffa0] [c0104a00] sort_extable+0x28/0x38
&lt;br&gt;[c01bffb0] [c01938ec] sort_main_extable+0x20/0x30
&lt;br&gt;[c01bffc0] [c018c734] start_kernel+0x140/0x288
&lt;br&gt;[c01bfff0] [c0000200] skpinv+0x190/0x1cc
&lt;br&gt;Instruction dump:
&lt;br&gt;7ca903a6 88040000 38a5ffff 38840001 2f800000 98090000 39290001 419e0010
&lt;br&gt;4200ffe4 98a90000 4e800020 4e800020 &amp;lt;88030000&amp;gt; 5484063e 7f802000 4d9e0020
&lt;br&gt;---[ end trace 31fd0ba7d8756001 ]---
&lt;br&gt;Kernel panic - not syncing: Attempted to kill the idle task!
&lt;br&gt;Call Trace:
&lt;br&gt;[c01bfd90] [c0005d5c] show_stack+0x4c/0x16c (unreliable)
&lt;br&gt;[c01bfdd0] [c002f17c] panic+0xa0/0x168
&lt;br&gt;[c01bfe20] [c0032eb8] do_exit+0x61c/0x638
&lt;br&gt;[c01bfe60] [c000b60c] kernel_bad_stack+0x0/0x4c
&lt;br&gt;[c01bfe90] [c000f310] bad_page_fault+0x90/0xd8
&lt;br&gt;[c01bfea0] [c000e184] handle_page_fault+0x7c/0x80
&lt;br&gt;[c01bff60] [c016b99c] 0xc016b99c
&lt;br&gt;[c01bffa0] [c0104a00] sort_extable+0x28/0x38
&lt;br&gt;[c01bffb0] [c01938ec] sort_main_extable+0x20/0x30
&lt;br&gt;[c01bffc0] [c018c734] start_kernel+0x140/0x288
&lt;br&gt;[c01bfff0] [c0000200] skpinv+0x190/0x1cc
&lt;br&gt;Rebooting in 180 seconds..
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-linux-kernal-Booting-on-ppc440x5-processor---SRAM-Memory-tp25530279p25530279.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25391806</id>
	<title>problem opening SPI driver on PowerPC 8313</title>
	<published>2009-09-10T15:04:29Z</published>
	<updated>2009-09-15T12:16:04Z</updated>
	<author>
		<name>ybisou</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I can't load the spi module using &amp;nbsp;a 2.6.27 kernel on a PowerPc 8313.
&lt;br&gt;When I try &amp;quot;MAKEDEV spi&amp;quot;, a few spi devices are created but when I try to open one of them it fails. I get : &amp;quot;can not open device: No such device or address&amp;quot;;
&lt;br&gt;&lt;br&gt;I also tried to load spi dynamically.
&lt;br&gt;I did something like this:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; insmod spi_mpc83xx.ko
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; mknod /dev/spi c 153 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; chmod 666 /dev/spi
&lt;br&gt;&lt;br&gt;When I tried to open the SPI dev, I got the same error &amp;quot;can not open device: No such device or address&amp;quot;;
&lt;br&gt;&lt;br&gt;Does anyone knows how I can at least debug this ? maybe a way to obtain a little more information on the errors ? the /var/log or dmesg did not help much.
&lt;br&gt;&lt;br&gt;PS&amp;gt; We can open i2c in the same way(ioctl) with no problem.
&lt;br&gt;&lt;br&gt;I appreciate your assistance.
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;Yan~</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem-opening-SPI-driver-on-PowerPC-8313-tp25391806p25391806.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25222798</id>
	<title>ltib, upgrade package</title>
	<published>2009-08-31T05:35:33Z</published>
	<updated>2009-08-31T05:35:33Z</updated>
	<author>
		<name>burkay</name>
	</author>
	<content type="html">hi,
&lt;br&gt;i am working on a mpc8313e. bsp of it contains some older packages. i need gstreamer good plugin 0.10.16 &amp;nbsp;but bsp offers 0.10.6. search everywhere but cannot find a working solution. tried to alter the spec file but it gives the rpm bad exit error. any help? </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ltib%2C-upgrade-package-tp25222798p25222798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25151403</id>
	<title>Re: mpc8313e nand flash</title>
	<published>2009-08-26T07:48:29Z</published>
	<updated>2009-08-26T07:48:29Z</updated>
	<author>
		<name>burkay</name>
	</author>
	<content type="html">i know this become weird but i find the configuration file. all my questions, all my answers, sorry for inconvenience &lt;img class='smiley' src='http://old.nabble.com/images/smiley/smiley_whistling.gif' /&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mpc8313e-nand-flash-tp25132364p25151403.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25151377</id>
	<title>Re: mpc8313e nand flash</title>
	<published>2009-08-26T07:06:48Z</published>
	<updated>2009-08-26T07:06:48Z</updated>
	<author>
		<name>burkay</name>
	</author>
	<content type="html">copying the files from nand to memory and using bootm, i solved the problem.
&lt;br&gt;now third question:)
&lt;br&gt;the uImage file is about 12 mb when i include the gstreamer package and its dependent ones, when trying to boot ramdisk incomplete write(-28!=32768)33554432 error occurs. i searched it and it is related to ramdisk size. how can i change the ramdisk size? or is there another better solution(with explanations please)?
&lt;br&gt;by the way i am using the bsp provided by freescale to create the ltib.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;burkay&quot;&gt;&lt;br&gt;today i changed bootloader to boot from nand in ltib configuration, burn the u-boot-nand.bin file to 0x0 position of nand flash, changed the switches to boot from nand and achieved to see the u-boot prompt. at the moment i need environment variables to boot to linux kernel, could anyone using this board and booting from nand paste his/her printenv output?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;burkay wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;hi all,
&lt;br&gt;&lt;br&gt;i try to use mpc8313e for media streaming purposes and when included gstreamer package, the rootfs.ext2.gz.uboot image becomes about 12M which cannot fit to 8M onchip nor flash. any answer to below two questiones appreciated:
&lt;br&gt;&lt;br&gt;1. to which memory locations i should burn the uImage, rootfs.ext2.gz.uboot and mpc8313erdb.dtb images on the nand flash that when configured the switches to boot from nand flash, it successfully boots to linux?
&lt;br&gt;&lt;br&gt;2. is there a way that burning the rootfs image to nand flash, other two images to nor flash, boot from nor (switches configured to boot from nor), and succesfully reach to linux terminal?
&lt;br&gt;&lt;br&gt;thanks in advance..
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mpc8313e-nand-flash-tp25132364p25151377.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25153412</id>
	<title>PPC driver - generic bus width</title>
	<published>2009-08-26T06:25:47Z</published>
	<updated>2009-08-26T06:25:47Z</updated>
	<author>
		<name>Alemao-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;Im trying to develop a driver for my device, and its data bus can be 8, 16
&lt;br&gt;or 32 bits. This information is passed through the device tree source.
&lt;br&gt;My code is like this:
&lt;br&gt;&lt;br&gt;struct device_info_t {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; void (*read)();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; void (*write)();
&lt;br&gt;};
&lt;br&gt;&lt;br&gt;static int __devinit device_probe()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prop = of_get_property(ofdev-&amp;gt;node, &amp;quot;bus-width&amp;quot;, &amp;size);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device-&amp;gt;bus_width = *prop;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (device-&amp;gt;bus_width) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 8:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device-&amp;gt;read &amp;nbsp;= in_8;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device-&amp;gt;write = out_8;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 16:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device-&amp;gt;read &amp;nbsp;= in_be16;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device-&amp;gt;write = out_be16;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 32:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device-&amp;gt;read &amp;nbsp;= in_be32;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device-&amp;gt;write = out_be32;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Can someone point me some driver that is doing something similar to the
&lt;br&gt;ideia shown above?
&lt;br&gt;&lt;br&gt;Or what Im doing wrong in my code? Cause Im getting erros (warnings) like:
&lt;br&gt;&lt;br&gt;cc1: warnings being treated as errors
&lt;br&gt;drivers/dev_test.c:37: warning: function declaration isn't a prototype
&lt;br&gt;drivers/dev_test.c:38: warning: function declaration isn't a prototype
&lt;br&gt;drivers/dev_test.c: In function 'device_probe':
&lt;br&gt;drivers/dev_test.c:113: warning: assignment from incompatible pointer
&lt;br&gt;type
&lt;br&gt;&lt;br&gt;PS: Im using a MPC8349, linux kernel 2.6.26
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Alemao
&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25153412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.ozlabs.org/listinfo/linuxppc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.ozlabs.org/listinfo/linuxppc-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PPC-driver---generic-bus-width-tp25153412p25153412.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25149248</id>
	<title>Re: mpc8313e nand flash</title>
	<published>2009-08-26T02:13:02Z</published>
	<updated>2009-08-26T02:13:02Z</updated>
	<author>
		<name>burkay</name>
	</author>
	<content type="html">today i changed bootloader to boot from nand in ltib configuration, burn the u-boot-nand.bin file to 0x0 position of nand flash, changed the switches to boot from nand and achieved to see the u-boot prompt. at the moment i need environment variables to boot to linux kernel, could anyone using this board and booting from nand paste his/her printenv output?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;burkay wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;hi all,
&lt;br&gt;&lt;br&gt;i try to use mpc8313e for media streaming purposes and when included gstreamer package, the rootfs.ext2.gz.uboot image becomes about 12M which cannot fit to 8M onchip nor flash. any answer to below two questiones appreciated:
&lt;br&gt;&lt;br&gt;1. to which memory locations i should burn the uImage, rootfs.ext2.gz.uboot and mpc8313erdb.dtb images on the nand flash that when configured the switches to boot from nand flash, it successfully boots to linux?
&lt;br&gt;&lt;br&gt;2. is there a way that burning the rootfs image to nand flash, other two images to nor flash, boot from nor (switches configured to boot from nor), and succesfully reach to linux terminal?
&lt;br&gt;&lt;br&gt;thanks in advance..
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mpc8313e-nand-flash-tp25132364p25149248.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25132364</id>
	<title>mpc8313e nand flash</title>
	<published>2009-08-25T04:05:51Z</published>
	<updated>2009-08-25T04:05:51Z</updated>
	<author>
		<name>burkay</name>
	</author>
	<content type="html">hi all,
&lt;br&gt;&lt;br&gt;i try to use mpc8313e for media streaming purposes and when included gstreamer package, the rootfs.ext2.gz.uboot image becomes about 12M which cannot fit to 8M onchip nor flash. any answer to below two questiones appreciated:
&lt;br&gt;&lt;br&gt;1. to which memory locations i should burn the uImage, rootfs.ext2.gz.uboot and mpc8313erdb.dtb images on the nand flash that when configured the switches to boot from nand flash, it successfully boots to linux?
&lt;br&gt;&lt;br&gt;2. is there a way that burning the rootfs image to nand flash, other two images to nor flash, boot from nor (switches configured to boot from nor), and succesfully reach to linux terminal?
&lt;br&gt;&lt;br&gt;thanks in advance..</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mpc8313e-nand-flash-tp25132364p25132364.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24858874</id>
	<title>NETDEV WATCHDOG eth2 transmit time out frequently occure for MPC8360</title>
	<published>2009-08-06T22:03:46Z</published>
	<updated>2009-08-09T21:15:47Z</updated>
	<author>
		<name>shailesh.panchal</name>
	</author>
	<content type="html">WE are using the MPC8360 processor, we are using the FOUR Ethernet port of MPC8360. 2 GMII Ethernet and 2 RMII Ethernet port. 
&lt;br&gt;&lt;br&gt;RMII Ethernet port is connected MAC layer with the device. We provide the clock to both port using the External Oscillator source 50 MHz. 
&lt;br&gt;&lt;br&gt;Problem: Some time the Ethernet port 2 is get the &amp;quot;NETDEV WATCHDOG eth2 transmit time out&amp;quot; error, once this error occur, it continually occur. As per our observation, when the we are try to transmit more packet to Ethernet port for the long duration then then this type error occur. So how we can resolve it. please provide the solution for this problem.
&lt;br&gt;&lt;br&gt;wait for replay
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;shailesh</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NETDEV-WATCHDOG-eth2-transmit-time-out-frequently-occure-for-MPC8360-tp24858874p24858874.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24840829</id>
	<title>PPC MPC8349 : Add DMA features for DiskOnChip tffs drivers.</title>
	<published>2009-08-06T01:06:30Z</published>
	<updated>2009-08-06T01:06:30Z</updated>
	<author>
		<name>eija_flight</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I have difficulties when try to add mDOC DMA support for our architecture (PPC MPC83XX).
&lt;br&gt;&lt;br&gt;The file is in 2.6.27 linux kernel source &amp;nbsp;/drivers/tffs/tffsarch.h and tffsarch.c
&lt;br&gt;&lt;br&gt;Based on the example codes (for Intel PXA27x &amp;quot;Mainstone&amp;quot; board), we need to enable call to tffs_dmasw(), which then use __dmasw_bread() and __dmasw_bwrite() &amp;nbsp;routine.
&lt;br&gt;&lt;br&gt;After we add the necessary macros, then we insmod the modules :
&lt;br&gt;&lt;br&gt;$insmod tffs.ko
&lt;br&gt;&lt;br&gt;everything run smoothly :
&lt;br&gt;&lt;br&gt;.....
&lt;br&gt;tffs: mDOC driver 1100.85
&lt;br&gt;tffs: will not use IRQ
&lt;br&gt;tffs: mDOC found
&lt;br&gt;tffs: Socket 0 in addr 0xf1000000
&lt;br&gt;tffs: Device 0x0: 7782400 512-byte sectors, h/w sector 512 bytes
&lt;br&gt;tffs: C/H/S 916 177 48
&lt;br&gt;tffs: use major device number 100
&lt;br&gt;tffsa: tffsa1 tffsa2
&lt;br&gt;.....
&lt;br&gt;&lt;br&gt;, but when we've enabled the DMA :
&lt;br&gt;&lt;br&gt;$ insmod tffs.ko tffs_dma_mode=3
&lt;br&gt;&lt;br&gt;, an error occured. Here is the dump messages from dmesg command :
&lt;br&gt;&lt;br&gt;.....
&lt;br&gt;tffs: mDOC driver 1100.85
&lt;br&gt;tffs: will not use IRQ
&lt;br&gt;tffs: mDOC not found
&lt;br&gt;tffs: flInit() error 60
&lt;br&gt;tffs: No DiskOnChips found
&lt;br&gt;.....
&lt;br&gt;&lt;br&gt;are we missed any other thing beside the macro definition of tffs_dmasw()? &amp;nbsp;we've done nothing but simple dump messages in the __dmasw_bread() and __dmasw_bwrite() just to inform us that it does accessed when the drivers need to use DMA.
&lt;br&gt;&lt;br&gt;Any help will be appreciated,
&lt;br&gt;Thanks </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PPC-MPC8349-%3A-Add-DMA-features-for-DiskOnChip-tffs-drivers.-tp24840829p24840829.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24831644</id>
	<title>help on support Compact flash(memory mapped mode) access in linux</title>
	<published>2009-08-05T09:13:07Z</published>
	<updated>2009-08-05T09:13:07Z</updated>
	<author>
		<name>Aravind Kumar</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;This is regarding Sandisk Compact flash(Memory mapped mode) driver support in linux,which has to support file system. 
&lt;br&gt;&lt;br&gt;I am using linux version 2.6.22.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;I am describing hardware configuration below:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;The CF is connected directly to MPC8250 CPU (PowerQUICC II,Freescale), via (60x bus).
&lt;br&gt;It is connected in Memory mapped Mode, with 16-bit data lines interface.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;CF is connected directly to CPU like SDRAM on 60x bus. 
&lt;br&gt;The memory controller of the MPC8250 is utilized for controlling accesses to Compact Flash without the aid of a PCMCIA or ATA controller device.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;The queries are :
&lt;br&gt;1. What is the appropriate driver? Is there any open source driver available in Linux to make use for this mode?
&lt;br&gt;2. Is there any procedure on how to integrate compact flash in Linux?
&lt;br&gt;3. I have working u-boot cf driver, which has read and write sector routines which does raw read/write from CF ?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;I am able to boot (u-boot) system from CF.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Also Currently U-boot supports raw read/write sectors routines. So How to port CF driver from u-boot to Linux?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thank you very much in Advance.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Regards,
&lt;br&gt;Aravind</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/help-on-support-Compact-flash%28memory-mapped-mode%29-access-in-linux-tp24831644p24831644.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24472942</id>
	<title>Kernel 2.6 fail in NFS with xps_ethernetlite</title>
	<published>2009-07-13T20:10:57Z</published>
	<updated>2009-07-13T20:10:57Z</updated>
	<author>
		<name>intermilan</name>
	</author>
	<content type="html">My system on a ML 410 board (V4FX60) is very basic: 256M ddr with MPMC, xps_ethernetlite ... build with BSB in EDK 11.1. The cable into the Marvell ethernet Phy is from a 100M switch (so xps_ethernetliet should work).
&lt;br&gt;&lt;br&gt;My kernel (version 2..6.29 got from git tree at &lt;a href=&quot;http://git.xilinx.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.xilinx.com&lt;/a&gt;) boot up command is: &amp;nbsp;&amp;quot;root=/dev/nfs nfsaddrs=10.0.10.1:10.0.1.16:10.0.0.1:255.255.0.0 rw nfsroot=/exports/rootfs console=ttyS0,38400&amp;quot; with which I have no problem in booting up a 2.4 Kernel using NFS (with plb_ethernet though, the 2.4 kernel I get, as in the BYU project, does not support xps_ethernetlite ip).
&lt;br&gt;&lt;br&gt;I get the message:
&lt;br&gt;&amp;nbsp; xilinx_emaclite 81000000.ethernet: Device Tree Probing 'ethernet'
&lt;br&gt;&amp;nbsp; xilinx_emaclite 81000000.ethernet: MAC address is now &amp;nbsp;2: 0: 0: 0: 0: 0
&lt;br&gt;&amp;nbsp; xilinx_emaclite 81000000.ethernet: using fifo mode.
&lt;br&gt;&amp;nbsp; eth0 (): not using net_device_ops yet
&lt;br&gt;&amp;nbsp; xilinx_emaclite 81000000.ethernet: Xilinx EMACLite at 0x81000000 mapped to 0xD1020000, irq=17
&lt;br&gt;&amp;nbsp; mice: PS/2 mouse device common for all mice
&lt;br&gt;&amp;nbsp; TCP cubic registered
&lt;br&gt;&amp;nbsp; NET: Registered protocol family 17
&lt;br&gt;&amp;nbsp; RPC: Registered udp transport module.
&lt;br&gt;&amp;nbsp; RPC: Registered tcp transport module.
&lt;br&gt;&amp;nbsp; IP-Config: Complete:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;device=eth0, addr=10.0.10.1, mask=255.255.0.0, gw=10.0.0.1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;host=10.0.10.1, domain=, nis-domain=(none),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bootserver=10.0.1.16, rootserver=10.0.1.16, rootpath=
&lt;br&gt;&lt;br&gt;&amp;nbsp; Looking up port of RPC 100003/2 on 10.0.1.16
&lt;br&gt;&amp;nbsp; Looking up port of RPC 100005/1 on 10.0.1.16
&lt;br&gt;&amp;nbsp; rpcbind: server 10.0.1.16 not responding, timed out
&lt;br&gt;&amp;nbsp; Root-NFS: Unable to get mountd port number from server, using default
&lt;br&gt;&lt;br&gt;&amp;nbsp; Root-NFS: Server returned error -5 while mounting /exports/rootfs
&lt;br&gt;&amp;nbsp; VFS: Unable to mount root fs via NFS, trying floppy.
&lt;br&gt;&lt;br&gt;&amp;nbsp; VFS: Cannot open root device &amp;quot;nfs&amp;quot; or unknown-block(2,0)
&lt;br&gt;&amp;nbsp; Please append a correct &amp;quot;root=&amp;quot; boot option;
&lt;br&gt;&lt;br&gt;(With Kernel 2.4 and PLB_Ethernet, NFS can be mounted after &amp;quot;looking up port&amp;quot;)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Then I tried downloading a image file which contains &amp;nbsp;a RamDisk but has the same boot command. Again, NFS fail, but the kernel boots up on the root file system provided by the RamDisk, with the message:
&lt;br&gt;&lt;br&gt;&amp;nbsp; IP-Config: Complete:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;device=eth0, addr=10.0.10.1, mask=255.255.0.0, gw=10.0.0.1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;host=10.0.10.1, domain=, nis-domain=(none),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bootserver=10.0.1.16, rootserver=10.0.1.16, rootpath=
&lt;br&gt;&lt;br&gt;Since the IP-Config seems to be complete, I try to &amp;quot;ping&amp;quot; the IP of the board (10.0.10.1) from another machine A (10.0.1.16) in the domain - the board can not be pinged by A with the error &amp;quot;Destination Host Unreachable&amp;quot;. Then I use the board to ping another machine B (10.0.1.18) in the domian. It turned out B can be pinged by the board. After board get response from B, wiredly A is able to get response from the board suddenly.
&lt;br&gt;&lt;br&gt;Why initially no machine can ping the board, but after the board pings a machie, other machines can ping the board? Does the command &amp;quot;ping&amp;quot; do something like resetting Phy?
&lt;br&gt;&lt;br&gt;Given that &amp;quot;ping&amp;quot; has a problem, I should not be supprised that NFS fail. But how should I solve it? Am I using the wrong boot up command for NFS? Is the kernel compilation missing something? Is it a bug with regard to the 2.6 kernel drivers for xps_ethernetlite? 
&lt;br&gt;&lt;br&gt;I can replicate the problem with a smaller board, Digilent's FX12 evaulation board.
&lt;br&gt;&lt;br&gt;Here is one more experiment:
&lt;br&gt;&amp;nbsp; 1) Initially, after the board boots up, a machine A can not ping the board;
&lt;br&gt;&amp;nbsp; 2) Rather than pinging the machine A from the board, I execute &amp;quot;rdate -sp 206.246.118.250&amp;quot; (weirdly, the system date is not updated ...). Then the machine A is able to ping the board.
&lt;br&gt;&lt;br&gt;I try to mount NFS after booting up with RamDisk. I can ping 10.0.1.16 but I can not mount the directory (the settings on 10.0.1.16 is good since I'm always able to boot Kernel 2.4 with NFS).
&lt;br&gt;1) &amp;nbsp;if I do &amp;quot;mount 10.0.1.16:/exports/rootfs /mnt/temp&amp;quot;, I get error
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; rpcbind: server localhost not responding, timed out
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; RPC: failed to contact local rpcbind server (errno 5).
&lt;br&gt;&lt;br&gt;2) if I do &amp;quot;mount -o nolock 10.0.1.16:/exports/rootfs /mnt/temp&amp;quot;, I get no error message,
&lt;br&gt;Then I enter /mnt/temp to do a &amp;quot;ls&amp;quot;, I get error: &amp;nbsp;&amp;quot;nfs: server 10.0.1.16 not responding, still trying&amp;quot;.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;It seems that although I can ping the machine, there is still something wrong ... </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Kernel-2.6-fail-in-NFS-with-xps_ethernetlite-tp24472942p24472942.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24432729</id>
	<title>Problem with JTAG - mpc8315e</title>
	<published>2009-07-10T12:11:01Z</published>
	<updated>2009-07-10T12:11:01Z</updated>
	<author>
		<name>Raphael Amorim</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I've started the bring-up process in my board. All power sources are up and the JTAG interface is OK. &amp;nbsp;I'm getting the following result, the &amp;nbsp;JTAG starts and tries to stop the processor, but it doesn't stop.
&lt;br&gt;&lt;br&gt;I put BDI2000 log below.
&lt;br&gt;&lt;br&gt;- CONFIG: loading configuration file passed
&lt;br&gt;- CONFIG: loading register definition passed
&lt;br&gt;- TARGET: processing user reset request
&lt;br&gt;- BDI asserts HRESET
&lt;br&gt;- Reset JTAG controller passed
&lt;br&gt;- Bypass check: 0x00000001 =&amp;gt; 0x00000001
&lt;br&gt;- JTAG exists check passed
&lt;br&gt;- IDCODE is 0x268B401D
&lt;br&gt;- BDI removes HRESET
&lt;br&gt;- PVR is 0x80850020
&lt;br&gt;- SVR is 0x80B40012
&lt;br&gt;- BDI sets breakpoint at 0xFFF00100
&lt;br&gt;- BDI resumes program execution
&lt;br&gt;- COP status is 0x01
&lt;br&gt;- Waiting for target stop failed
&lt;br&gt;- TARGET: Break at boot vector failed, freeze forced
&lt;br&gt;- TARGET: Target PVR is 0x80850020
&lt;br&gt;- TARGET: resetting target passed
&lt;br&gt;- TARGET: processing target startup ....
&lt;br&gt;- COP status is 0x01
&lt;br&gt;*** Core is freezed, no restart possible
&lt;br&gt;# PPC: timeout while waiting for freeze
&lt;br&gt;*** TARGET: processing target startup failed
&lt;br&gt;# PPC: timeout while waiting for freeze
&lt;br&gt;- TARGET: target will be restarted in 10 sec
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;I've attached the BDI2000 configuration file. &lt;a href=&quot;http://old.nabble.com/file/p24432729/mpc8315e_atmx.cfg&quot; target=&quot;_top&quot;&gt;mpc8315e_atmx.cfg&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-JTAG---mpc8315e-tp24432729p24432729.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23827753</id>
	<title>MPC8313ERDB board reset problem</title>
	<published>2009-06-02T01:48:35Z</published>
	<updated>2009-06-02T01:48:35Z</updated>
	<author>
		<name>Deepak Gopalakrishnan</name>
	</author>
	<content type="html">Hi im using mpc8313erdb board. and i have modified the u-boot 1.3.0 code to suit my needs. But the problem is that now as soon as power up the board, &amp;nbsp;the initial msgs are dumped on the telnet...and then as soon as the prompt is displayed....it resets....and keeps on doing the same...
&lt;br&gt;the thing is i dont know what change has caused this....it would be of great help if anyone can guide me identify wat component have i messed up...
&lt;br&gt;&lt;br&gt;thanks and regards in advance
&lt;br&gt;Deepak G
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MPC8313ERDB-board-reset-problem-tp23827753p23827753.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23421319</id>
	<title>initramfs without compression</title>
	<published>2009-05-07T00:02:41Z</published>
	<updated>2009-05-07T00:02:41Z</updated>
	<author>
		<name>Mirek23</name>
	</author>
	<content type="html">Dear All,
&lt;br&gt;&lt;br&gt;I am using linux kernel 2.6.23 on my ppc405 for around two years. Up to now I was using Linux with build (gzipped) initramfs. Such an image kernel (gzipped compressed by default) is however too big and it does not 
&lt;br&gt;fit to my Flash memory. I have tried to compress the entire image with lzma compression and it looks much better. I have however difficulties with the initramfs which I want to keep uncompressed during the kernel built process.
&lt;br&gt;&lt;br&gt;Does anybody have some experience with that i.e. how to use the uncompressed initramfs.
&lt;br&gt;&lt;br&gt;Thank you for any hint.
&lt;br&gt;&lt;br&gt;M. </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/initramfs-without-compression-tp23421319p23421319.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22711300</id>
	<title>irq_of_parse_and_map usage - on mpc5121</title>
	<published>2009-03-25T14:20:43Z</published>
	<updated>2009-03-25T14:20:43Z</updated>
	<author>
		<name>slouchez</name>
	</author>
	<content type="html">Hello, I have an application where I receive a pulse routed by the CPLD to IRQ1 and I need to assign a virtual interrupt for the driver that needs it (the driver part's OK, I see the instance in /proc/interrupts). 
&lt;br&gt;The new interrupt entry has been created in the dts file as well but I still need to relate the actual interrupt to the virtual interrupt I call in the driver...
&lt;br&gt;I see the topic has already been covered - for example:
&lt;br&gt;&lt;br&gt;&amp;quot;..........Laxmikant Rashinkar wrote:
&lt;br&gt;&amp;gt; But with the newer linux, request_irq() works only for 17, 18 &amp; 19. cat /proc/interrupts shows that none of the interrupts above are in use.
&lt;br&gt;&amp;gt; Any pointers on why request_irq() is behaving thus?
&lt;br&gt;Note that you need to get the raw IRQ number from the device tree now,
&lt;br&gt;and map it to a virtual IRQ number using irq_of_parse_and_map.
&lt;br&gt;That is the number you pass to request_irq()...............&amp;quot;
&lt;br&gt;&lt;br&gt;That's exactly my need - but I don't know how to do it. Is there sample/ tutorial code - and where to put it in the file system - be available?
&lt;br&gt;Thanks in advance</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/irq_of_parse_and_map-usage---on-mpc5121-tp22711300p22711300.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22645204</id>
	<title>Video recording application on MPC8xxx (basic architecture Q:)</title>
	<published>2009-03-22T04:34:36Z</published>
	<updated>2009-03-22T04:34:36Z</updated>
	<author>
		<name>Wolfgang Rostek</name>
	</author>
	<content type="html">Hi group,
&lt;br&gt;&lt;br&gt;I'm looking to get some initial advice to see
&lt;br&gt;if my approach for an application seems reasonable.
&lt;br&gt;&lt;br&gt;It is an video recording application with minimum
&lt;br&gt;processing logic but high throughput.
&lt;br&gt;&lt;br&gt;A PowerPC 8xxx board should shuffle a video stream
&lt;br&gt;to disk drives.
&lt;br&gt;&lt;br&gt;At the import interface the video sensor provides
&lt;br&gt;data in 200 Hz * ~0,5 MB. They are available via
&lt;br&gt;dual-port RAMs to the local bus of the board. 
&lt;br&gt;Each RAM bank is reflecting a video frame and 
&lt;br&gt;accessible by the 32-bit local bus.
&lt;br&gt;&lt;br&gt;The processor should shuffle this to the SATA II
&lt;br&gt;connected drives. A continuous stream of at least
&lt;br&gt;130 MB/s over 1 h needs to be written. The drives
&lt;br&gt;with this raw data are frequently moved to another
&lt;br&gt;machine processing the raw data offline. The board
&lt;br&gt;will not do any other task.
&lt;br&gt;&lt;br&gt;It would be nice if it could be done with standard
&lt;br&gt;tools. A single (Freescale) board, standard Linux
&lt;br&gt;and at most two SATA II connectors used at the
&lt;br&gt;board.
&lt;br&gt;&lt;br&gt;Is this a reasonable scenario and some performance
&lt;br&gt;discussions available. Especially the data flow
&lt;br&gt;within the PPC and capabilities of the Linux drivers.
&lt;br&gt;&lt;br&gt;Thanks in advance
&lt;br&gt;Wolfgang R. &amp;nbsp;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-recording-application-on-MPC8xxx-%28basic-architecture-Q%3A%29-tp22645204p22645204.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21830936</id>
	<title>virtual i2c support for PCA9541 i2c demux</title>
	<published>2009-02-04T05:55:26Z</published>
	<updated>2009-02-04T05:55:26Z</updated>
	<author>
		<name>vladko</name>
	</author>
	<content type="html">Hi, 
&lt;br&gt;&lt;br&gt;I'm running linux-2.6.26 on custom 460EX based board. 
&lt;br&gt;This platform has PCA9541 i2c demux behind the PCA9548 I2C mux on I2C bus 0. 
&lt;br&gt;I'm wondering how can I add the demux to the virtual i2c tree (as far as I know there is no driver for this demux)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Vladimir</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/virtual-i2c-support-for-PCA9541-i2c-demux-tp21830936p21830936.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21830554</id>
	<title>Linux 2.6-xlnx git : trouble running binaries</title>
	<published>2009-02-04T05:32:51Z</published>
	<updated>2009-02-04T05:32:51Z</updated>
	<author>
		<name>lepolac</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I'm currently running a 2.6-xlnx kernel on a PowerPC 440 board, with a ramdisk.
&lt;br&gt;The system is running correctly.
&lt;br&gt;I added some binaries in the ramdisk, compiled with powerpc-linux-gcc.
&lt;br&gt;&lt;br&gt;But I can't run them, when I try to, here's what it comes :
&lt;br&gt;&lt;br&gt;root:/bin&amp;gt; ./helloppc
&lt;br&gt;./helloppc: not found
&lt;br&gt;&lt;br&gt;(helloppc is just a simple helloworld in C)
&lt;br&gt;&lt;br&gt;The file seems to be right though : 
&lt;br&gt;&lt;br&gt;root:/bin&amp;gt; ls -lisa helloppc
&lt;br&gt;&amp;nbsp; &amp;nbsp;1485 &amp;nbsp; 10 -rwxrwxrwx &amp;nbsp; &amp;nbsp;1 root &amp;nbsp; &amp;nbsp; root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9230 Jan &amp;nbsp;1 00:02 helloppc
&lt;br&gt;&lt;br&gt;xilinx@xilinx:~/V5FX/apps/hello$ file helloppc 
&lt;br&gt;helloppc: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), not stripped
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I don't understand what i'm doing wrong. Do I have to use busybox to add my application ? Is there a special way to install it ? 
&lt;br&gt;&lt;br&gt;Thanks in advance for your help.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linux-2.6-xlnx-git-%3A-trouble-running-binaries-tp21830554p21830554.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21806220</id>
	<title>Re: FS_ENET ERROR(s) 0x12 at second NFS RPC port lookup (100005/1)</title>
	<published>2009-02-03T01:13:38Z</published>
	<updated>2009-02-03T01:13:38Z</updated>
	<author>
		<name>sasa'</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Remi Lefevre wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Ok, I'm sorry, I have incorrectly set the 60x pipeline depth to 0
&lt;br&gt;instead of 1 in BCR register.
&lt;br&gt;It works fine now. The side effect is interesting to know...
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;rémi
&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-embedded mailing list
&lt;br&gt;Linuxppc-embedded@ozlabs.org
&lt;br&gt;&lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Hi remi,
&lt;br&gt;have you solved putting the bit of the 60x pipeline depth to '0' (depth of one) or to '1' (depth of zero)??
&lt;br&gt;Anyway, i've got your &amp;nbsp;identical problem but i cannot solve it through your suggested modification of the pipeline depth.
&lt;br&gt;Have you found anything else about this???
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FS_ENET-ERROR%28s%29-0x12-at-second-NFS-RPC-port-lookup-%28100005-1%29-tp19745983p21806220.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21540312</id>
	<title>Re: XIlinx EMAC mainline Linux 2.6.26</title>
	<published>2009-01-19T02:30:47Z</published>
	<updated>2009-01-19T02:30:47Z</updated>
	<author>
		<name>xavier.vvv</name>
	</author>
	<content type="html">Hi Joachim,
&lt;br&gt;Could you tell me how did you selected support for xilinx emac driver in the denx tree?
&lt;br&gt;Thanks a lot
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Joachim Meyer wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Ok, forget it.....it worked the whole time....my fault.
&lt;br&gt;&lt;br&gt;Greez
&lt;br&gt;_____________________________________________________________________
&lt;br&gt;Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
&lt;br&gt;&lt;a href=&quot;http://smartsurfer.web.de/?mc=100071&amp;distributionid=000000000066&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://smartsurfer.web.de/?mc=100071&amp;distributionid=000000000066&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-embedded mailing list
&lt;br&gt;Linuxppc-embedded@ozlabs.org
&lt;br&gt;&lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XIlinx-EMAC-mainline-Linux-2.6.26-tp19552311p21540312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21398407</id>
	<title>When do i need the DMA Buffer</title>
	<published>2009-01-11T04:00:27Z</published>
	<updated>2009-01-11T04:00:27Z</updated>
	<author>
		<name>wael showair</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;i have MPC8555 processor, also i have linux-kernel 2.6.19-rc5 on my board.i want to use the DMA on my board, just a simple example is enough for me but during my reading on how to use the DMA i have some questions:
&lt;br&gt;1. The DMA buffer is always needed for all kind of buses or not? (I think this is valid in the ISA bus but not in the PCI bus, plz correct me if i m wrong?)
&lt;br&gt;Note that my target is to transfer data from memory location to another memory location &amp; it will be an overhead if i copy the data from the src to the DMA buffer then from the DMA buffer to the Destination.
&lt;br&gt;isn't there any other way to avoid using that DMA buffer &amp; to copy data from src to dest directly?
&lt;br&gt;i read the documentation of my board &amp; it tells me that it contain DMA engine which &amp;quot;is capable of transferring blocks of data from any legal address range to any
&lt;br&gt;other legal address range.&amp;quot;
&lt;br&gt;&lt;br&gt;2. i have read DMA-API.txt in the linux Documentation folder but i m little confused about the APIs that exist in this file. Actually, it is stated in this file the following: 
&lt;br&gt;&amp;quot;This document describes the DMA API.This API is split into two pieces. &amp;nbsp;Part I describes the API and the corresponding pci_ API&amp;quot;.
&lt;br&gt;&lt;br&gt;so if the DMA controller is connected to the PCI bus, am i obligated to use the pci_API &amp; for any other case (like ISA bus or any other bus types) shall i use this generic API?
&lt;br&gt;also what r the benefits of these APIs over the normal kmalloc? specially that i have read the following section in the DMA-mapping.txt:
&lt;br&gt;&amp;quot;If you acquired your memory via the page allocator
&lt;br&gt;(i.e. __get_free_page*()) or the generic memory allocators
&lt;br&gt;(i.e. kmalloc() or kmem_cache_alloc()) then you may DMA to/from
&lt;br&gt;that memory using the addresses returned from those routines.&amp;quot;
&lt;br&gt;&lt;br&gt;thanks in advance for ur help</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/When-do-i-need-the-DMA-Buffer-tp21398407p21398407.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21224282</id>
	<title>Re: yaboot: text mode or graphics mode?</title>
	<published>2008-12-30T14:45:59Z</published>
	<updated>2008-12-30T14:45:59Z</updated>
	<author>
		<name>Matt Sealey</name>
	</author>
	<content type="html">sumedh tirodkar wrote:
&lt;br&gt;&amp;gt; I just found out that openfirmware boots into graphics mode(non-text
&lt;br&gt;&amp;gt; mode). Now i wish to switch back to text mode. how do i do this?
&lt;br&gt;&lt;br&gt;Unfortunately unless you are running some kind of yaboot-accessible or 
&lt;br&gt;firmware-accessible x86 BIOS emulation, this isn't possible.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Matt
&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-embedded mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21224282&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaboot%3A-text-mode-or-graphics-mode--tp21106439p21224282.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21223293</id>
	<title>RE: virtex uImage and serial ports</title>
	<published>2008-12-30T13:18:33Z</published>
	<updated>2008-12-30T13:18:33Z</updated>
	<author>
		<name>Joshua Lamorie</name>
	</author>
	<content type="html">Gidday John,
&lt;br&gt;&lt;br&gt;Thanks for the clue. &amp;nbsp;This works. &amp;nbsp;Now to get a proper 2.6 style (with udev, sysfs and all those new fangled things) root filesystem up and running. &amp;nbsp;It boots fine with my old 2.4 style buildroot/busybox filesystem.
&lt;br&gt;&lt;br&gt;Thanks again.
&lt;br&gt;&lt;br&gt;Joshua
&lt;br&gt;&lt;br&gt;On Tuesday, 30 December, 2008 14:23, &amp;quot;John Linn&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;John.Linn@...&lt;/a&gt;&amp;gt; said:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It's been a while, but here's what I remember.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You have to have SERIAL_OF* turned on in the kernel configuration to get
&lt;br&gt;&amp;gt; the code to work.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then the device tree gets parsed by of_serial.c functions for the 16550
&lt;br&gt;&amp;gt; uart.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- John
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: Joshua Lamorie [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jpl@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; Sent: Tuesday, December 30, 2008 12:14 PM
&lt;br&gt;&amp;gt;&amp;gt; To: John Linn
&lt;br&gt;&amp;gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: RE: virtex uImage and serial ports
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Gidday John,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks for the pointer. &amp;nbsp;I think I have already gone through every
&lt;br&gt;&amp;gt; possible page on the wiki, without
&lt;br&gt;&amp;gt;&amp;gt; finding my answer. &amp;nbsp;There are some great pointers however, such as
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://xilinx.wikidot.com/debugging-kernel-boot-problems&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xilinx.wikidot.com/debugging-kernel-boot-problems&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As far as I can tell, if I do 'make uImage', there is no code built
&lt;br&gt;&amp;gt; into vmlinux that will parse the
&lt;br&gt;&amp;gt;&amp;gt; device tree and set up the serial ports (at least as far as I can see
&lt;br&gt;&amp;gt; with objdump -S). &amp;nbsp;When it
&lt;br&gt;&amp;gt;&amp;gt; boots, there is no console output and __log_buf doesn't show any
&lt;br&gt;&amp;gt; serial ports detected during the
&lt;br&gt;&amp;gt;&amp;gt; initialization of the serial driver.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Which leads to my question, how does the 8250 serial driver get the
&lt;br&gt;&amp;gt; information about the attached
&lt;br&gt;&amp;gt;&amp;gt; serial ports from the dtb? &amp;nbsp;Which part of the code parses the dtb,
&lt;br&gt;&amp;gt; finds the &amp;quot;ns16550&amp;quot; and
&lt;br&gt;&amp;gt;&amp;gt; updates/builds the platform_device information for the 8250 serial
&lt;br&gt;&amp;gt; port driver?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Joshua
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Tuesday, 30 December, 2008 13:16, &amp;quot;John Linn&amp;quot;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;John.Linn@...&lt;/a&gt;&amp;gt; said:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hi Joshua,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Have you looked at our wiki site at &lt;a href=&quot;http://xilinx.wikidot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xilinx.wikidot.com&lt;/a&gt;&amp;nbsp;as we
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; quite a bit of information there.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The ML405 board is a V2Pro chip so it should be pretty close to what
&lt;br&gt;&amp;gt; you
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; want using the default kernel config for virtex4.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I haven't tested the console at 115,200 as I use it at 9600.
&lt;br&gt;&amp;gt; Shouldn't
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; be a problem, but may not hurt to stay at 9600 to get it working.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; There are pages on the wiki about using u-boot with the kernel also
&lt;br&gt;&amp;gt; as
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; it sounds like that's what you're doing.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; John
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxppc-embedded-bounces+john.linn=xilinx.com@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; [mailto:linuxppc-embedded-
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces+john.linn=xilinx.com@...&lt;/a&gt;] On Behalf Of Joshua
&lt;br&gt;&amp;gt; Lamorie
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Sent: Wednesday, December 24, 2008 3:48 PM
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Subject: virtex uImage and serial ports
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Gidday there,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I am trying to get 2.6.27(ish) running on my custom Virtex-II Pro
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; platform (I call it Q5). &amp;nbsp;I already
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; have many years of running 2.4.26 and booting from u-boot.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; The problem is getting the console running. &amp;nbsp;I have a device tree
&lt;br&gt;&amp;gt; blob
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; built and loaded into memory,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; and by peeking at __log_buf I can see that it is reading this okay
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; (i.e. it is correctly finding my
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; interrupt controller). &amp;nbsp;However, by the time it goes to mount the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ramdisk as root, it complains that
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; there is no console.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I'm fairly certain /chosen has stdout pointing to the correct UART,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; and the console arguments are
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; ttyS0,115200.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; In looking through the code however, I cannot figure out how the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; uImage code actually initializes the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; serial-ports for the XILINX_VIRTEX_GENERIC_BOARD. &amp;nbsp;As I understand
&lt;br&gt;&amp;gt; it,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the only place where
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; serial_console_init is called, is within platform_init, and this
&lt;br&gt;&amp;gt; isn't
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; called for uImage.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; So, three questions.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; 1) How is the serial driver supposed to know where the platforms
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; serial ports are?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; 2) If I wanted to scrap u-boot and just copy kernel/ramdisk/dtb to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; memory, which kernel make target
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; should I use? &amp;nbsp;dtbImage, simpleImage?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; 3) What is the best, most modern image to build that should be used
&lt;br&gt;&amp;gt; by
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; u-boot?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Thanks in advance
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Joshua
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; p.s. I've been trying with kernel.org mainline, xilinx git and denx
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ELDK xenomai (2.6.24). &amp;nbsp;U-boot is
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; built from latest git source. &amp;nbsp;DTS file built from XPS 9.1i with
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; latest service packs, and turned
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; into DTB with latest dtc source from git.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Xiphos Technologies
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; (514) 847-9474 x227
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; (514) 848-9644 fax
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; www.xiphos.com
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; The information transmitted is intended only for the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; person or entity to which it is addressed and may contain
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; confidential and/or privileged material. &amp;nbsp;If you have
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; received this in error, please contact the sender and delete
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; this communication and any copy immediately. Thank you.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Linuxppc-embedded mailing list
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; This email and any attachments are intended for the sole use of the
&lt;br&gt;&amp;gt; named
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; recipient(s) and contain(s) confidential information that may be
&lt;br&gt;&amp;gt; proprietary,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; privileged or copyrighted under applicable law. If you are not the
&lt;br&gt;&amp;gt; intended
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; recipient, do not read, copy, or forward this email message or any
&lt;br&gt;&amp;gt; attachments.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Delete this email message and any attachments immediately.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Linuxppc-embedded mailing list
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Xiphos Technologies
&lt;br&gt;&amp;gt;&amp;gt; (514) 847-9474 x227
&lt;br&gt;&amp;gt;&amp;gt; (514) 848-9644 fax
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; www.xiphos.com
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; The information transmitted is intended only for the
&lt;br&gt;&amp;gt;&amp;gt; person or entity to which it is addressed and may contain
&lt;br&gt;&amp;gt;&amp;gt; confidential and/or privileged material. &amp;nbsp;If you have
&lt;br&gt;&amp;gt;&amp;gt; received this in error, please contact the sender and delete
&lt;br&gt;&amp;gt;&amp;gt; this communication and any copy immediately. Thank you.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This email and any attachments are intended for the sole use of the named
&lt;br&gt;&amp;gt; recipient(s) and contain(s) confidential information that may be proprietary,
&lt;br&gt;&amp;gt; privileged or copyrighted under applicable law. If you are not the intended
&lt;br&gt;&amp;gt; recipient, do not read, copy, or forward this email message or any attachments.
&lt;br&gt;&amp;gt; Delete this email message and any attachments immediately.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Linuxppc-embedded mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Xiphos Technologies
&lt;br&gt;(514) 847-9474 x227
&lt;br&gt;(514) 848-9644 fax
&lt;br&gt;&lt;br&gt;www.xiphos.com
&lt;br&gt;_______________________________________________
&lt;br&gt;The information transmitted is intended only for the
&lt;br&gt;person or entity to which it is addressed and may contain
&lt;br&gt;confidential and/or privileged material. &amp;nbsp;If you have
&lt;br&gt;received this in error, please contact the sender and delete
&lt;br&gt;this communication and any copy immediately. Thank you.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-embedded mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21223293&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/virtex-uImage-and-serial-ports-tp21164039p21223293.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21221945</id>
	<title>RE: virtex uImage and serial ports</title>
	<published>2008-12-30T11:23:07Z</published>
	<updated>2008-12-30T11:23:07Z</updated>
	<author>
		<name>John Linn</name>
	</author>
	<content type="html">It's been a while, but here's what I remember.
&lt;br&gt;&lt;br&gt;You have to have SERIAL_OF* turned on in the kernel configuration to get
&lt;br&gt;the code to work.
&lt;br&gt;&lt;br&gt;Then the device tree gets parsed by of_serial.c functions for the 16550
&lt;br&gt;uart.
&lt;br&gt;&lt;br&gt;-- John
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Joshua Lamorie [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jpl@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Tuesday, December 30, 2008 12:14 PM
&lt;br&gt;&amp;gt; To: John Linn
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: virtex uImage and serial ports
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Gidday John,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the pointer. &amp;nbsp;I think I have already gone through every
&lt;/div&gt;possible page on the wiki, without
&lt;br&gt;&amp;gt; finding my answer. &amp;nbsp;There are some great pointers however, such as
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://xilinx.wikidot.com/debugging-kernel-boot-problems&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xilinx.wikidot.com/debugging-kernel-boot-problems&lt;/a&gt;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As far as I can tell, if I do 'make uImage', there is no code built
&lt;br&gt;into vmlinux that will parse the
&lt;br&gt;&amp;gt; device tree and set up the serial ports (at least as far as I can see
&lt;br&gt;with objdump -S). &amp;nbsp;When it
&lt;br&gt;&amp;gt; boots, there is no console output and __log_buf doesn't show any
&lt;br&gt;serial ports detected during the
&lt;br&gt;&amp;gt; initialization of the serial driver.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Which leads to my question, how does the 8250 serial driver get the
&lt;br&gt;information about the attached
&lt;br&gt;&amp;gt; serial ports from the dtb? &amp;nbsp;Which part of the code parses the dtb,
&lt;br&gt;finds the &amp;quot;ns16550&amp;quot; and
&lt;br&gt;&amp;gt; updates/builds the platform_device information for the 8250 serial
&lt;br&gt;port driver?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Joshua
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Tuesday, 30 December, 2008 13:16, &amp;quot;John Linn&amp;quot;
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;John.Linn@...&lt;/a&gt;&amp;gt; said:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hi Joshua,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Have you looked at our wiki site at &lt;a href=&quot;http://xilinx.wikidot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xilinx.wikidot.com&lt;/a&gt;&amp;nbsp;as we
&lt;br&gt;&amp;gt; &amp;gt; quite a bit of information there.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The ML405 board is a V2Pro chip so it should be pretty close to what
&lt;br&gt;you
&lt;br&gt;&amp;gt; &amp;gt; want using the default kernel config for virtex4.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I haven't tested the console at 115,200 as I use it at 9600.
&lt;br&gt;Shouldn't
&lt;br&gt;&amp;gt; &amp;gt; be a problem, but may not hurt to stay at 9600 to get it working.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; There are pages on the wiki about using u-boot with the kernel also
&lt;br&gt;as
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; it sounds like that's what you're doing.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt; John
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxppc-embedded-bounces+john.linn=xilinx.com@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; [mailto:linuxppc-embedded-
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces+john.linn=xilinx.com@...&lt;/a&gt;] On Behalf Of Joshua
&lt;/div&gt;Lamorie
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Sent: Wednesday, December 24, 2008 3:48 PM
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Subject: virtex uImage and serial ports
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Gidday there,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I am trying to get 2.6.27(ish) running on my custom Virtex-II Pro
&lt;br&gt;&amp;gt; &amp;gt; platform (I call it Q5). &amp;nbsp;I already
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; have many years of running 2.4.26 and booting from u-boot.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; The problem is getting the console running. &amp;nbsp;I have a device tree
&lt;/div&gt;blob
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; built and loaded into memory,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and by peeking at __log_buf I can see that it is reading this okay
&lt;br&gt;&amp;gt; &amp;gt; (i.e. it is correctly finding my
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; interrupt controller). &amp;nbsp;However, by the time it goes to mount the
&lt;br&gt;&amp;gt; &amp;gt; ramdisk as root, it complains that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; there is no console.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm fairly certain /chosen has stdout pointing to the correct UART,
&lt;br&gt;&amp;gt; &amp;gt; and the console arguments are
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; ttyS0,115200.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; In looking through the code however, I cannot figure out how the
&lt;br&gt;&amp;gt; &amp;gt; uImage code actually initializes the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; serial-ports for the XILINX_VIRTEX_GENERIC_BOARD. &amp;nbsp;As I understand
&lt;/div&gt;it,
&lt;br&gt;&amp;gt; &amp;gt; the only place where
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; serial_console_init is called, is within platform_init, and this
&lt;br&gt;isn't
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; called for uImage.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; So, three questions.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 1) How is the serial driver supposed to know where the platforms
&lt;br&gt;&amp;gt; &amp;gt; serial ports are?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 2) If I wanted to scrap u-boot and just copy kernel/ramdisk/dtb to
&lt;br&gt;&amp;gt; &amp;gt; memory, which kernel make target
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; should I use? &amp;nbsp;dtbImage, simpleImage?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 3) What is the best, most modern image to build that should be used
&lt;/div&gt;by
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; u-boot?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks in advance
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Joshua
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; p.s. I've been trying with kernel.org mainline, xilinx git and denx
&lt;br&gt;&amp;gt; &amp;gt; ELDK xenomai (2.6.24). &amp;nbsp;U-boot is
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; built from latest git source. &amp;nbsp;DTS file built from XPS 9.1i with
&lt;br&gt;&amp;gt; &amp;gt; latest service packs, and turned
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; into DTB with latest dtc source from git.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Xiphos Technologies
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; (514) 847-9474 x227
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; (514) 848-9644 fax
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; www.xiphos.com
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; The information transmitted is intended only for the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; person or entity to which it is addressed and may contain
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; confidential and/or privileged material. &amp;nbsp;If you have
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; received this in error, please contact the sender and delete
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; this communication and any copy immediately. Thank you.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Linuxppc-embedded mailing list
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; This email and any attachments are intended for the sole use of the
&lt;/div&gt;named
&lt;br&gt;&amp;gt; &amp;gt; recipient(s) and contain(s) confidential information that may be
&lt;br&gt;proprietary,
&lt;br&gt;&amp;gt; &amp;gt; privileged or copyrighted under applicable law. If you are not the
&lt;br&gt;intended
&lt;br&gt;&amp;gt; &amp;gt; recipient, do not read, copy, or forward this email message or any
&lt;br&gt;attachments.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Delete this email message and any attachments immediately.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Linuxppc-embedded mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Xiphos Technologies
&lt;br&gt;&amp;gt; (514) 847-9474 x227
&lt;br&gt;&amp;gt; (514) 848-9644 fax
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; www.xiphos.com
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; The information transmitted is intended only for the
&lt;br&gt;&amp;gt; person or entity to which it is addressed and may contain
&lt;br&gt;&amp;gt; confidential and/or privileged material. &amp;nbsp;If you have
&lt;br&gt;&amp;gt; received this in error, please contact the sender and delete
&lt;br&gt;&amp;gt; this communication and any copy immediately. Thank you.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Linuxppc-embedded mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21221945&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-embedded@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/virtex-uImage-and-serial-ports-tp21164039p21221945.html" />
</entry>

</feed>
