我正在使用linux内核3.2.0。以太网在uboot中工作正常但是一旦控制转移到内核,我看到启动日志中找到3个端口但没有找到5个端口集线器的日志。该日志位于帖子的末尾。
我遇到了一些帖子并试图验证是否给LAN9514芯片提供了合适的电压。我用以下命令测试了它
2cget -f -y 1 0x4b 0x76
获取VAUX2_DEV_GRP,和 i2cget -f -y 1 0x4b 0x79
获得VAUX2_DEDICATED,和 i2cget -f -y 1 0x4A 0xEE
获得LEDEN。 前两个得到0x2e和0x05,第三个值是0x22(0x11应该是为SMSC打开3.3V的理想值)。 现在,当我使用内置2.6.32的预构建映像时,以太网工作正常。这意味着硬件很好,因为它在这里和U-boot中工作。任何人都可以帮我找到改变linux内核中LEDEN值的确切位置。
[ 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 for all mice
[ 3.812774] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0
[ 3.828491] twl_rtc twl_rtc: Power up reset detected.
[ 3.834350] twl_rtc twl_rtc: Enabling TWL-RTC.
[ 3.843109] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 3.851593] i2c /dev entries driver
[ 3.859161] Driver for 1-wire Dallas network protocol.
[ 3.868804] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 3.876678] twl4030_wdt twl4030_wdt: Failed to register misc device
[ 3.883575] twl4030_wdt: probe of twl4030_wdt failed with 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 the 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 to 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 as /devices/platform/gpio-keys/input/input1
[ 4.382965] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 4.394348] Waiting 2sec before mounting root device...
[ 4.509857] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 4.521118] mmc0: new high speed SDHC card at 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 with 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..
答案 0 :(得分:0)
XM的早期版本要求nEN_USB_PWR线为高电平有效。 rev C恢复为低电平有效,与之前的A / B / C修订相同。
您可以在此处看到在主线中更新此行为的修补程序:https://github.com/torvalds/linux/commit/5fe8b4c19dc24e3bb873daf9e96a2439a83bbd79
这些更改的各种版本已被反向移植到旧版本的内核。