
xieqinick@gmail.com wrote:
From: Nick Xie nick@khadas.com
Add devicetree support for Khadas Edge. Khadas Edge is an expandable Rockchip RK3399 board with goldfinger.
Tested-by: Chris Webb chris@arachsys.com
Here's the boot log of TPL -> SPL -> U-Boot proper -> Linux on a 4GB Edge board booting from an SD card:
U-Boot TPL 2019.10-rc1-00003-g3027e6a322 (Jul 30 2019 - 15:36:43) Trying to boot from BOOTROM Returning to boot ROM...
U-Boot SPL 2019.10-rc1-00003-g3027e6a322 (Jul 30 2019 - 15:36:43 +0100) Trying to boot from MMC1
U-Boot 2019.10-rc1-00003-g3027e6a322 (Jul 30 2019 - 15:36:43 +0100)
Model: Khadas Edge DRAM: 3.9 GiB Cannot find regulator pwm init_voltage MMC: dwmmc@fe310000: 2, dwmmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Khadas Edge rockchip_dnl_key_pressed: adc_channel_single_shot fail! Net: No ethernet found. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0(part 0) is current device ** No partition table - mmc 0 ** switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found /boot/extlinux/extlinux.conf Retrieving file: /boot/extlinux/extlinux.conf 182 bytes read in 10 ms (17.6 KiB/s) 1: Linux Retrieving file: /boot/Image 17600520 bytes read in 749 ms (22.4 MiB/s) append: root=179:1 rw console=uart8250,mmio32,0xff1a0000 init=/bin/bash Retrieving file: /boot/rk3399-khadas-edge.dtb 55654 bytes read in 10 ms (5.3 MiB/s) ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Device Tree to 00000000f5f14000, end 00000000f5f24965 ... OK
Starting kernel ...
[ 1.333076] rockchip-drm display-subsystem: failed to bind ff940000.hdmi (ops dw_hdmi_rockchip_ops): -517 [ 1.343026] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing [ 1.652854] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed bash: cannot set terminal process group (-1): Not a tty bash: no job control in this shell bash-4.4#
Best wishes,
Chris.