Saturday, August 25, 2012

Board brings up

- Check all the jumpers with a good board since we don't have schematic.
- set environment first before download uImage using tftp
bcm5892# setenv ipaddr 10.100.100.55;setenv serverip 10.100.100.184;setenv ethaddr 00:0A:F7:00:01:66;setenv bootargs mem=128M console=ttyAMA0,115200n8 root=/dev/nfs rootdelay=3 nfsroot=10.100.100.184:/tftpboot/fs,tcp ip=10.100.100.55:10.100.100.184:10.100.100.1:255.255.255.0:equinox:eth0:off board=APOLLO12X debug earlyprink;setenv linux 'tftp 42000000 uImage; bootm'
Target address: 10.100.100.55 (nfsroot)
netmask: 255.255.255.0
gateway: 10.100.100.1
broadcast: 10.100.100.255
bcm5892# run linux
Ref.
Start up kernel syslog
12x12 Hardware Bringup and Test 
Setup 
Wrong Jumper causing USB to be disabled. Kernel can not assign irq 59 and time out after.
This is good syslog with 2 USB ports assigned by kernel.
[    8.911286] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.917897] bcm589x-ohci bcm589x-ohci.1: BCM589x USB-OHCI
[    8.923411] bcm589x-ohci bcm589x-ohci.1: new USB bus registered, assigned bus number 1
[    8.931594] bcm589x-ohci bcm589x-ohci.1: irq 59, io mem 0x000b1000
[    9.000544] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    9.007446] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.014692] usb usb1: Product: BCM589x USB-OHCI
[    9.019267] usb usb1: Manufacturer: Linux 3.0.17 BCM589x USB-OHCI
[    9.025381] usb usb1: SerialNumber: bcm589x
[    9.043711] hub 1-0:1.0: USB hub found
[    9.047677] hub 1-0:1.0: 1 port detected
[    9.057826] bcm589x-ohci bcm589x-ohci.2: BCM589x USB-OHCI
[    9.063339] bcm589x-ohci bcm589x-ohci.2: new USB bus registered, assigned bus number 2
[    9.071546] bcm589x-ohci bcm589x-ohci.2: irq 60, io mem 0x000b2000
[    9.140539] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    9.147455] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.154703] usb usb2: Product: BCM589x USB-OHCI
[    9.159284] usb usb2: Manufacturer: Linux 3.0.17 BCM589x USB-OHCI
[    9.165398] usb usb2: SerialNumber: bcm589x
[    9.183727] hub 2-0:1.0: USB hub found
[    9.187683] hub 2-0:1.0: 1 port detected
    [OK]
# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

No comments:

Post a Comment