linux - SMSC9514 is not detected on Beagleboard xm rev C -


i using linux kernel 3.2.0. ethernet works fine in uboot once control transfered kernel, see 3 ports found in boot logs no log finding 5 ports hub. log @ end of post.

i came accross posts , tried verify if proper voltage being given lan9514 chip. tested following commands

2cget -f -y 1 0x4b 0x76

to vaux2_dev_grp, , i2cget -f -y 1 0x4b 0x79

to vaux2_dedicated, , i2cget -f -y 1 0x4a 0xee

to leden. 0x2e , 0x05 first 2 , third value 0x22 (0x11 should ideal value turn on 3.3v smsc). ethernet works fine when use prebuilt image kernel 2.6.32. means hardware fine works here , in u-boot. can me in finding out change leden value in linux kernel.

[    1.548950] usbcore: registered new interface driver asix [    1.555664] usbcore: registered new interface driver cdc_ether [    1.562774] usbcore: registered new interface driver smsc95xx [    1.569641] usbcore: registered new interface driver net1080 [    1.576446] usbcore: registered new interface driver cdc_subset [    1.583312] usbcore: registered new interface driver zaurus [    1.589355] cdc_ncm: 04-aug-2011 [    1.593475] usbcore: registered new interface driver cdc_ncm [    1.601440] ehci_hcd: usb 2.0 'enhanced' host controller (ehci) driver [    3.622985] ehci-omap ehci-omap.0: omap-ehci host controller [    3.634338] ehci-omap ehci-omap.0: new usb bus registered, assigned bus number 1 [    3.642913] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 [    3.662139] ehci-omap ehci-omap.0: usb 2.0 started, ehci 1.00 [    3.669616] usb usb1: new usb device found, idvendor=1d6b, idproduct=0002 [    3.676879] usb usb1: new usb device strings: mfr=3, product=2, serialnumber=1 [    3.684539] usb usb1: product: omap-ehci host controller [    3.690185] usb usb1: manufacturer: linux 3.2.14 ehci_hcd [    3.695922] usb usb1: serialnumber: ehci-omap.0 [    3.706024] hub 1-0:1.0: usb hub found [    3.710296] hub 1-0:1.0: 3 ports detected [    3.749328] usbcore: registered new interface driver cdc_wdm [    3.755340] initializing usb mass storage driver... [    3.761291] usbcore: registered new interface driver usb-storage [    3.767761] usb mass storage support registered. [    3.774169] usbcore: registered new interface driver libusual [    3.781097] usbcore: registered new interface driver usbtest [    3.787200] udc: omap udc driver, version: 4 october 2004 (iso) (dma) [    3.798095] mousedev: ps/2 mouse device common mice [    3.812774] input: twl4030_pwrbutton /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0 [    3.828491] twl_rtc twl_rtc: power reset detected. [    3.834350] twl_rtc twl_rtc: enabling twl-rtc. [    3.843109] twl_rtc twl_rtc: rtc core: registered twl_rtc rtc0 [    3.851593] i2c /dev entries driver [    3.859161] driver 1-wire dallas network protocol. [    3.868804] omap watchdog timer rev 0x31: initial timeout 60 sec [    3.876678] twl4030_wdt twl4030_wdt: failed register misc device [    3.883575] twl4030_wdt: probe of twl4030_wdt failed error -16 [    4.231964] usbcore: registered new interface driver usbhid [    4.237976] usbhid: usb hid core driver [    4.242065] oprofile: hardware counters not available [    4.247406] oprofile: using timer interrupt. [    4.252655] tcp cubic registered [    4.256134] initializing xfrm netlink socket [    4.260772] net: registered protocol family 17 [    4.265655] net: registered protocol family 15 [    4.270690] registering dns_resolver key type [    4.276397] vfp support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [    4.284606] thumbee cpu extension supported. [    4.341247] clock: disabling unused clocks save power [    4.352722] regulator_init_complete: vdvi: incomplete constraints, leaving on [    4.360687] regulator_init_complete: vdac: incomplete constraints, leaving on [    4.372009] input: gpio-keys /devices/platform/gpio-keys/input/input1 [    4.382965] twl_rtc twl_rtc: setting system clock 2000-01-01 00:00:00 utc (946684800) [    4.394348] waiting 2sec before mounting root device... [    4.509857] mmc0: host not support reading read-only switch. assuming write-enable. [    4.521118] mmc0: new high speed sdhc card @ address 1234 [    4.531066] mmcblk0: mmc0:1234 sa04g 3.63 gib [    4.543792]  mmcblk0: p1 p2 p3 [    6.416442] kjournald starting.  commit interval 5 seconds [    6.434844] ext3-fs (mmcblk0p3): using internal journal [    6.441009] ext3-fs (mmcblk0p3): mounted filesystem ordered data mode [    6.448852] vfs: mounted root (ext3 filesystem) on device 179:3. [    6.455871] freeing init memory: 316k init: version 2.86 booting please wait: booting.. 

the revisions of xm required nen_usb_pwr line active high. rev c reverted active low, same earlier a/b/c revisions.

you can see patch updated behaviour in mainline here: https://github.com/torvalds/linux/commit/5fe8b4c19dc24e3bb873daf9e96a2439a83bbd79

various versions of these changes have been backported older versions of kernel.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -