On Mon, 12 Dec 2016 05:35:01 +0000 Luke Kenneth Casson Leighton <[email protected]> wrote:
> add console=ttyS2 to the kernel parameters, also earlyprintk is really > helpful (but you have to have the right options compiled in the kernel > to use it). > Ok, I retried with this, and now the serial console works (thanks): => setenv console 'ttyS2,115200n8' => setenv fdtfile rk3288-firefly.dtb => run bootcmd switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr reading /boot.scr 1575 bytes read in 5 ms (307.6 KiB/s) ## Executing script at 00000000 Mainline u-boot / new-style environment detected. reading vmlinuz 3701000 bytes read in 282 ms (12.5 MiB/s) reading dtbs/rk3288-firefly.dtb 36029 bytes read in 23 ms (1.5 MiB/s) reading initrd.gz 19320863 bytes read in 1448 ms (12.7 MiB/s) Booting the Debian installer... ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 1ed92000, end 1ffff01f ... OK Loading Device Tree to 1ed86000, end 1ed91cbc ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x500 [ 0.000000] Linux version 4.7.0-1-armmp ([email protected]) (gcc version 5.4.1 20160904 (Debian 5.4.1-2) [...] Except the ethernet doesn't works. There are errors in dmesg: ~ # dmesg | grep mac [ 4.297647] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing [ 4.320114] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing [ 4.564811] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing [ 4.948387] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing [ 5.231706] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing The modules are loaded: ~ # lsmod Module Size Used by dwc2 148927 0 udc_core 10223 1 dwc2 usbcore 194998 1 dwc2 dwmac_rk 6607 0 stmmac_platform 4518 1 dwmac_rk phy_rockchip_usb 4208 2 leds_gpio 3550 0 stmmac 96039 2 dwmac_rk,stmmac_platform usb_common 3531 3 dwc2,udc_core,usbcore dw_mmc_rockchip 4211 0 dw_mmc_pltfm 2485 1 dw_mmc_rockchip dw_mmc 25394 1 dw_mmc_pltfm But I don't see any ethernet devices: ~ # ip link show 1: lo: <LOOPBACK> mtu 65536 qdisc noop qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 It's possible that is related to this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821311 But it should be already fixed, so I'm not sure. Someone have already seen this problem? TIA, Diego. -- Diego Roversi <[email protected]>

