Difference between revisions of "RidgeRun LeopardBoard SDK Hints"

From eLinux.org
Jump to: navigation, search
('Kernel panic' Unable to mount root fs when using NFS)
('USB Host mode' working)
Line 50: Line 50:
  
 
In order to accomplish USB host mode on Leopard, some hardware modifications need to be done. For more details visit:
 
In order to accomplish USB host mode on Leopard, some hardware modifications need to be done. For more details visit:
[http://designsomething.org/leopardboard/f/22/t/73.aspx leopardboard.org]
+
[http://designsomething.org/leopardboard/f/22/t/73.aspx USB Host Mode (HW)]
  
 
Besides the hardware modifications, the [[Media:usb_mouse.patch]] needs to be applied on kernel 2.6.29.
 
Besides the hardware modifications, the [[Media:usb_mouse.patch]] needs to be applied on kernel 2.6.29.
 +
 +
=== 'Leopard Board got bricked ' BOOTUBLStarting UART Boot... ===
 +
 +
Whenever UBL or the Uboot on a Leopard Board fail, this means that your board got bricked, however, there's an easy way to recover it. For information on how to recover your leopard, go to: [http://designsomething.org/leopardboard/f/22/t/97.aspx How to recover a bricked Leopard Board]

Revision as of 14:06, 10 December 2009

Solutions to known issues

'division by zero' in kernel error when I try to use ALSA input

This is a known issue that has been discussed on the ASOC mailing list. The problem is that the function davinci_pcm_enqueue_dma performs this operations:

data_type = prtd->params->data_type;
count = period_size / data_type;

The first time, data_type is set to zero, so we get the error Division by zero in kernel. This is the reason why the pipe arecord | aplay works after running arecord or aplay first.

Apply the Media:Asoc-davinci-pcm.patch to the kernel 2.6.29 to resolve this issue.

'Kernel panic' Unable to mount root fs when using NFS

This issue happens when NFS file system is used. Leopard Board does not have a MAC address assign, this issue can be detected by taking a look into the kernel log after booting the board:

1. MAC address is set to 00:00:00:00:00

[42949373.950000] dm9000 Ethernet Driver, V1.31
[42949374.080000] dm9000 dm9000: eth%d: Invalid ethernet MAC address. Please seg
[42949374.080000] eth0 (dm9000): not using net_device_ops yet
[42949374.090000] eth0: dm9000e at c780c000,c7810016 IRQ 73 MAC: 00:00:00:00:00)

2. Kernel panic error

[42949465.940000] Kernel panic - not syncing: VFS: Unable to mount root fs on u)

There are different ways of solving this issue:

1. Forced the leopard to get a MAC address: run the ping command in the u-boot console:

Leopard Board # ping <ip_address>   or 
Leopard Board # setenv bootcmd="ping 192.168.1.1;nboot KERNEL"

2. Apply the Media:mac_address.patch that generates a random MAC address for the leopard.

'USB Host mode' working

In order to accomplish USB host mode on Leopard, some hardware modifications need to be done. For more details visit: USB Host Mode (HW)

Besides the hardware modifications, the Media:usb_mouse.patch needs to be applied on kernel 2.6.29.

'Leopard Board got bricked ' BOOTUBLStarting UART Boot...

Whenever UBL or the Uboot on a Leopard Board fail, this means that your board got bricked, however, there's an easy way to recover it. For information on how to recover your leopard, go to: How to recover a bricked Leopard Board