折腾好久
发现好多怪现象,尝试搜索google,说法也是各种都有 . 不知道有谁试成功过,请大神指教,
一个是 如果有boot.scr存在,无论里面的内容写mmcblk0p2还是写sda1 ,都是读sd卡上的rootfs启动。后来删掉boot.scr,抄了一个uEnv,可以找硬盘了。
一个是,有时候启动的时候硬盘无供电,日志停在wait /dev/sda1 ,感觉miniusb或者电源口都是这样。但是进入wait 那个阶段 拔电源,再插上,下次硬盘电源又供电了。(顺便说一下,2A电有时候还是有时硬盘会响,最后还是找了3A的才搞定,google到有人说插同时miniusb和电源2个,汗!). 配置sata_power_en = portB08<1><default><default><0> 确认是对的。
另一个是 硬盘有供电的话,启动到一半就不动了(rootfs是dd的sd卡)
最后一段日志是
[ 30.280000] disp: process 150 (er.ServerThread) has skipped the version handshake.
[ 30.300000] request_suspend_state: wakeup (3->0) at 30300265562 (1970-01-02 00:00:10.264397299 UTC)
[ 30.610000] wemac wemac.0: WARNING: no IRQ resource flags set.
[ 30.760000] wemac wemac.0: eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[ 30.880000] acc_open
[ 30.880000] acc_release
[ 31.080000] init: starting 'dhcpcd_eth'
[ 31.730000] sw_usb_enable_hcd: usbc_num = 2
[ 31.750000] rtw driver version=v3.4.2_3727.20120404
[ 31.750000] Build at: Mar 29 2013 15:09:17
[ 31.750000] ##########rtw_suspend_lock_init ###########
[ 31.770000] usbcore: registered new interface driver rtl8192cu
[ 33.320000] UMP<2>: New session opened
[ 33.420000] init: processing action 0x1dd1648 (property:sys.boot_completed=1)
[ 33.490000] init: starting 'preinstall'
[ 33.560000] init: command 'start' r=0
[ 33.580000] init: waitpid returned pid 381, status = 00000000
[ 33.610000] init: process 'preinstall', pid 381 exited
[ 36.220000] +rtw_drv_halt
[ 36.220000] ##########rtw_suspend_lock_uninit###########
[ 36.220000] usbcore: deregistering interface driver rtl8192cu
[ 36.240000] -rtw_drv_halt
[ 36.240000] sw_usb_disable_hcd: usbc_num = 2
[ 37.170000] UMP<2>: New session opened
[ 37.410000] init: service 'bootanim' is being killed
[ 37.450000] UMP<2>: Session closed
[ 37.450000] init: waitpid returned pid 120, status = 00000009
[ 37.480000] init: process 'bootanim', pid 120 exited
[ 38.700000] init: waitpid returned pid 73, status = 00000009
[ 38.700000] init: process 'debuggerd', pid 73 exited
[ 38.770000] init: process 'debuggerd' killing any children in process group
[ 38.770000] init: starting 'debuggerd'
[ 41.000000] eth0: no IPv6 routers present
|