02-23-2011 02:12 AM
First time I am porting linux on ML507.
I could able to compile the kernel successfully, and generated kernel image.
I have then downloaded image on ML507 with XMD, But after run command I'm not able to see anything on Hyperterminal
which I set for 9600 baudrate, following are the output I got after downloading image on board
Connected to "ppc" target. id = 0
Starting GDB server for "ppc" target (id = 0) at TCP port no 1234
XMD% dow simpleImage.virtex440-ml507.elf
System Reset .... DONE
Downloading Program -- simpleImage.virtex440-ml507.elf
section, .text: 0x00800000-0x00808d5f
section, .data: 0x00809000-0x0080abef
section, __builtin_cmdline: 0x0080abf0-0x0080adef
section, .kernel:dtb: 0x0080adf0-0x0080dd7c
section, .kernel:vmlinux.strip: 0x0080e000-0x009c8492
section, .bss: 0x009c9000-0x009d5ddb
Setting PC with Program Start Address 0x00800000
Info:Processor started. Type "stop" to stop processor
02-28-2011 04:18 PM
You don't provide much detail. You may have to use the kernel debug page on the wiki to debug the problem.
If you're using the Xilinx provided reference design then you should be able to get there pretty easy. If not, then you should be using everything we give you before you do anything on your own.
03-01-2011 08:53 PM
As per your suggesstion I'm trying to follow the step given in "Debugging Kernel Boot Problems"
Where I should search for device tree file ?
As per few document on web I searched the device tree file in project/ppc440_0/libsrc/ but I could not get the device tree file
Where I should search, Is there anything I need to do in EDK after compiling kernel and before downloading it using XMD ?
03-04-2011 08:57 AM
03-07-2011 03:38 AM
I have created some slides at:
You may find some some answers to why no output is being displayed in the slides.
Ensure you kernel dts file matches your baud rate
Ensure as shown in the slides your SDK output is set to your uart or perhaps you want output to display on XMD, in which case leave it as is (see slides).
Best regards and good luck!
03-10-2011 03:37 AM
Dear sir, thanx for reply,
I was trying to pull device tree bsp folder through EDK, to XPS
But whatever procedure I got from http://xilinx.wikidot.com/device-tree-generator
I could not able to complete, because I have EDK 10.1 where as the procedure was give for EDK 12
like there is one step given 'Export Hardware Design to SDK' from project submenu
but I could not find any such submenu
What shall I do
03-11-2011 06:55 AM
Here's what the wiki says....
Starting in EDK 12.4, it's not possible to generate the device tree from the EDK. It must be generated in the SDK which can be launched from the EDK (or other ways).
The menu you can't find is in the SDK, not the EDK. The other information should work as shown below...
After getting the device tree generator from git://git.xilinx.com/device-tree.git, you will need to copy the 'bsp' directory and contents so that it can be used by XPS. The simplest approach is to copy the 'bsp' directory to the top of your project directory.2
NOTE: Under Centos 5 or Ubuntu, you have to softlink the libdb library. In Centos 5, run "ln -s /lib/libdb-4.3.so /lib/libdb-4.1.so" to get the dts generator to finish under certain circumstances.
cp -r bsp <path to project>/
If your project is currently open in XPS, you will need to close and re-open the project for XPS to notice the changes.
03-17-2011 01:59 AM
for device tree generation
I followed following steps before getting stuck again
1.Export Hardware Design to SDK', completed
2.added $PROJECT/bsptop directory to repository
3. 'Rescan Repositories'
4. created 'Xilinx Board Support Package" by selecting "device tree" in board support package OS without any error.
After that it is written as bellow
To use the device tree generator, select 'device-tree' in the pull down menu labeled 'OS' in the Software Platform Settings dialog box in XPS.
But I could not able to find out device-tree option Software Platform Settings->Software PLatform-> OS.
waiting for reply
thanx in advance