2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_ARM=y
|
2021-08-28 01:18:30 +00:00
|
|
|
CONFIG_SKIP_LOWLEVEL_INIT=y
|
2022-04-13 09:47:20 +00:00
|
|
|
CONFIG_COUNTER_FREQUENCY=24000000
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_ARCH_ROCKCHIP=y
|
2022-10-21 00:22:39 +00:00
|
|
|
CONFIG_TEXT_BASE=0x00200000
|
2021-07-11 03:14:30 +00:00
|
|
|
CONFIG_SPL_GPIO=y
|
2020-08-10 19:31:07 +00:00
|
|
|
CONFIG_NR_DRAM_BANKS=1
|
2023-02-17 14:58:06 +00:00
|
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x300000
|
2023-05-01 15:50:26 +00:00
|
|
|
CONFIG_SF_DEFAULT_SPEED=30000000
|
2020-07-07 13:50:49 +00:00
|
|
|
CONFIG_ENV_SIZE=0x8000
|
|
|
|
CONFIG_ENV_OFFSET=0x3F8000
|
2020-06-04 14:51:39 +00:00
|
|
|
CONFIG_ENV_SECT_SIZE=0x1000
|
2021-06-28 14:17:29 +00:00
|
|
|
CONFIG_DEFAULT_DEVICE_TREE="rk3399-roc-pc"
|
2023-02-17 14:58:06 +00:00
|
|
|
CONFIG_DM_RESET=y
|
2020-01-22 18:38:00 +00:00
|
|
|
CONFIG_ROCKCHIP_RK3399=y
|
2020-02-03 13:50:04 +00:00
|
|
|
CONFIG_TARGET_ROC_PC_RK3399=y
|
2023-02-17 14:58:06 +00:00
|
|
|
CONFIG_SPL_STACK=0x400000
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_DEBUG_UART_BASE=0xFF1A0000
|
|
|
|
CONFIG_DEBUG_UART_CLOCK=24000000
|
2020-06-04 14:51:40 +00:00
|
|
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
2021-08-08 18:20:14 +00:00
|
|
|
CONFIG_SPL_SPI=y
|
2021-08-23 14:25:31 +00:00
|
|
|
CONFIG_SYS_LOAD_ADDR=0x800800
|
2022-04-08 17:36:51 +00:00
|
|
|
CONFIG_DEBUG_UART=y
|
2020-07-07 13:50:48 +00:00
|
|
|
# CONFIG_ANDROID_BOOT_IMAGE is not set
|
configs:rockchip:roc-rk3399-pc:Enable more configs
This patch enables the following:
1) use preboot configuration to enable usb devices.
2) Enable USB configs so keyboards and other USB devices work,
update the number of ports of the usb root hub.
- with this addition the updated USB device Tree:
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
1 Hub (12 Mb/s, 0mA)
| U-Boot Root Hub
|
+-2 Hub (12 Mb/s, 100mA)
USB 2.0 Hub [MTT]
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
3) enable crypto RNG support.
4) Change SPI speed and frequency:
- increase the maximum SPI slave device speed,
SPI flash max frequency for the environment from 10Mhz to 30MHz.
- performance stats for speed update from 10MHz to 30MHz:
with 10Mhz speed update:
=> sf update 0x300000 0x800000 0x400000
4194304 bytes written, 0 bytes skipped in 36.819s, speed 119837 B/s
with 30Mhz speed update:
=> sf update 0x300000 0x800000 0x400000
4194304 bytes written, 0 bytes skipped in 20.319s, speed 220752 B/s
Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com>
Signed-off-by: Da Xue <da.xue@libretech.co>
Signed-off-by: dsx724 <da@lessconfused.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-09-15 07:23:19 +00:00
|
|
|
CONFIG_USE_PREBOOT=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-roc-pc.dtb"
|
|
|
|
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
2022-11-23 13:59:02 +00:00
|
|
|
CONFIG_MISC_INIT_R=y
|
2022-05-16 21:20:26 +00:00
|
|
|
CONFIG_SPL_MAX_SIZE=0x2e000
|
|
|
|
CONFIG_SPL_PAD_TO=0x7f8000
|
2022-05-27 14:19:45 +00:00
|
|
|
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
|
|
|
CONFIG_SPL_BSS_START_ADDR=0x400000
|
2022-05-19 19:09:22 +00:00
|
|
|
CONFIG_SPL_BSS_MAX_SIZE=0x2000
|
2019-08-20 03:47:02 +00:00
|
|
|
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
2022-05-26 17:13:21 +00:00
|
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_SPL_STACK_R=y
|
2020-07-21 15:06:04 +00:00
|
|
|
CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x20000
|
|
|
|
CONFIG_SPL_ENV_SUPPORT=y
|
2020-06-04 14:51:40 +00:00
|
|
|
CONFIG_SPL_SPI_LOAD=y
|
2019-08-25 16:03:24 +00:00
|
|
|
CONFIG_TPL=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_CMD_BOOTZ=y
|
|
|
|
CONFIG_CMD_GPT=y
|
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_USB=y
|
|
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
|
|
CONFIG_CMD_TIME=y
|
|
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
|
|
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
|
2020-06-04 14:51:39 +00:00
|
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
2019-11-13 03:46:36 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2020-07-21 15:06:04 +00:00
|
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_ROCKCHIP_GPIO=y
|
|
|
|
CONFIG_SYS_I2C_ROCKCHIP=y
|
roc-rk3399-pc: Enable USB3.0 Host
Enable USB3.0 Host support for ROC-RK3399-PC boards.
Tested USB3.0 SSD on Type C1 port on board.
=> usb start
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found
scanning bus dwc3 for devices... 6 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
=> usb tree
USB device tree:
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
1 Hub (480 Mb/s, 0mA)
| u-boot EHCI Host Controller
|
+-2 Hub (480 Mb/s, 100mA)
USB 2.0 Hub [MTT]
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Hub (480 Mb/s, 0mA)
| | VIA Labs, Inc. USB2.0 Hub
| |
| +-4 Hub (480 Mb/s, 100mA)
| | USB 2.0 Hub
| |
| +-5 (480 Mb/s, 100mA)
| VIA Technologies Inc. USB 2.0 BILLBOARD 0000000000000001
|
+-3 Hub (5 Gb/s, 0mA)
| VIA Labs, Inc. USB3.0 Hub
|
+-6 Mass Storage (5 Gb/s, 224mA)
JMicron External Disk 3.0 DB12345678A2
=> usb reset
resetting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found
scanning bus dwc3 for devices... 6 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2020-05-26 03:35:16 +00:00
|
|
|
CONFIG_MISC=y
|
2022-11-23 13:59:02 +00:00
|
|
|
CONFIG_ROCKCHIP_EFUSE=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_MMC_DW=y
|
|
|
|
CONFIG_MMC_DW_ROCKCHIP=y
|
|
|
|
CONFIG_MMC_SDHCI=y
|
|
|
|
CONFIG_MMC_SDHCI_ROCKCHIP=y
|
2020-11-22 13:03:45 +00:00
|
|
|
CONFIG_SF_DEFAULT_BUS=1
|
2020-02-06 18:42:52 +00:00
|
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
|
|
CONFIG_GMAC_ROCKCHIP=y
|
roc-rk3399-pc: Enable USB3.0 Host
Enable USB3.0 Host support for ROC-RK3399-PC boards.
Tested USB3.0 SSD on Type C1 port on board.
=> usb start
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found
scanning bus dwc3 for devices... 6 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
=> usb tree
USB device tree:
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
1 Hub (480 Mb/s, 0mA)
| u-boot EHCI Host Controller
|
+-2 Hub (480 Mb/s, 100mA)
USB 2.0 Hub [MTT]
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Hub (480 Mb/s, 0mA)
| | VIA Labs, Inc. USB2.0 Hub
| |
| +-4 Hub (480 Mb/s, 100mA)
| | USB 2.0 Hub
| |
| +-5 (480 Mb/s, 100mA)
| VIA Technologies Inc. USB 2.0 BILLBOARD 0000000000000001
|
+-3 Hub (5 Gb/s, 0mA)
| VIA Labs, Inc. USB3.0 Hub
|
+-6 Mass Storage (5 Gb/s, 224mA)
JMicron External Disk 3.0 DB12345678A2
=> usb reset
resetting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found
scanning bus dwc3 for devices... 6 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2020-05-26 03:35:16 +00:00
|
|
|
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
|
|
|
|
CONFIG_PHY_ROCKCHIP_TYPEC=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_PMIC_RK8XX=y
|
|
|
|
CONFIG_REGULATOR_PWM=y
|
|
|
|
CONFIG_REGULATOR_RK8XX=y
|
|
|
|
CONFIG_PWM_ROCKCHIP=y
|
2020-07-13 20:06:35 +00:00
|
|
|
# CONFIG_RAM_ROCKCHIP_DEBUG is not set
|
2022-12-14 17:50:48 +00:00
|
|
|
CONFIG_RAM_ROCKCHIP_LPDDR4=y
|
configs:rockchip:roc-rk3399-pc:Enable more configs
This patch enables the following:
1) use preboot configuration to enable usb devices.
2) Enable USB configs so keyboards and other USB devices work,
update the number of ports of the usb root hub.
- with this addition the updated USB device Tree:
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
1 Hub (12 Mb/s, 0mA)
| U-Boot Root Hub
|
+-2 Hub (12 Mb/s, 100mA)
USB 2.0 Hub [MTT]
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
3) enable crypto RNG support.
4) Change SPI speed and frequency:
- increase the maximum SPI slave device speed,
SPI flash max frequency for the environment from 10Mhz to 30MHz.
- performance stats for speed update from 10MHz to 30MHz:
with 10Mhz speed update:
=> sf update 0x300000 0x800000 0x400000
4194304 bytes written, 0 bytes skipped in 36.819s, speed 119837 B/s
with 30Mhz speed update:
=> sf update 0x300000 0x800000 0x400000
4194304 bytes written, 0 bytes skipped in 20.319s, speed 220752 B/s
Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com>
Signed-off-by: Da Xue <da.xue@libretech.co>
Signed-off-by: dsx724 <da@lessconfused.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-09-15 07:23:19 +00:00
|
|
|
CONFIG_DM_RNG=y
|
|
|
|
CONFIG_RNG_ROCKCHIP=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_BAUDRATE=1500000
|
|
|
|
CONFIG_DEBUG_UART_SHIFT=2
|
2022-12-04 14:39:03 +00:00
|
|
|
CONFIG_SYS_NS16550_MEM32=y
|
2019-12-21 07:54:38 +00:00
|
|
|
CONFIG_ROCKCHIP_SPI=y
|
2020-02-06 18:42:52 +00:00
|
|
|
CONFIG_SYSRESET=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_USB=y
|
|
|
|
CONFIG_USB_XHCI_HCD=y
|
|
|
|
CONFIG_USB_XHCI_DWC3=y
|
|
|
|
CONFIG_USB_EHCI_HCD=y
|
|
|
|
CONFIG_USB_EHCI_GENERIC=y
|
configs:rockchip:roc-rk3399-pc:Enable more configs
This patch enables the following:
1) use preboot configuration to enable usb devices.
2) Enable USB configs so keyboards and other USB devices work,
update the number of ports of the usb root hub.
- with this addition the updated USB device Tree:
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
1 Hub (12 Mb/s, 0mA)
| U-Boot Root Hub
|
+-2 Hub (12 Mb/s, 100mA)
USB 2.0 Hub [MTT]
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
3) enable crypto RNG support.
4) Change SPI speed and frequency:
- increase the maximum SPI slave device speed,
SPI flash max frequency for the environment from 10Mhz to 30MHz.
- performance stats for speed update from 10MHz to 30MHz:
with 10Mhz speed update:
=> sf update 0x300000 0x800000 0x400000
4194304 bytes written, 0 bytes skipped in 36.819s, speed 119837 B/s
with 30Mhz speed update:
=> sf update 0x300000 0x800000 0x400000
4194304 bytes written, 0 bytes skipped in 20.319s, speed 220752 B/s
Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com>
Signed-off-by: Da Xue <da.xue@libretech.co>
Signed-off-by: dsx724 <da@lessconfused.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-09-15 07:23:19 +00:00
|
|
|
CONFIG_USB_OHCI_HCD=y
|
|
|
|
CONFIG_USB_OHCI_GENERIC=y
|
roc-rk3399-pc: Enable USB3.0 Host
Enable USB3.0 Host support for ROC-RK3399-PC boards.
Tested USB3.0 SSD on Type C1 port on board.
=> usb start
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found
scanning bus dwc3 for devices... 6 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
=> usb tree
USB device tree:
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
1 Hub (480 Mb/s, 0mA)
| u-boot EHCI Host Controller
|
+-2 Hub (480 Mb/s, 100mA)
USB 2.0 Hub [MTT]
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Hub (480 Mb/s, 0mA)
| | VIA Labs, Inc. USB2.0 Hub
| |
| +-4 Hub (480 Mb/s, 100mA)
| | USB 2.0 Hub
| |
| +-5 (480 Mb/s, 100mA)
| VIA Technologies Inc. USB 2.0 BILLBOARD 0000000000000001
|
+-3 Hub (5 Gb/s, 0mA)
| VIA Labs, Inc. USB3.0 Hub
|
+-6 Mass Storage (5 Gb/s, 224mA)
JMicron External Disk 3.0 DB12345678A2
=> usb reset
resetting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found
scanning bus dwc3 for devices... 6 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2020-05-26 03:35:16 +00:00
|
|
|
CONFIG_USB_DWC3=y
|
|
|
|
CONFIG_USB_DWC3_GENERIC=y
|
2020-04-28 20:15:47 +00:00
|
|
|
CONFIG_USB_KEYBOARD=y
|
2019-07-26 07:43:54 +00:00
|
|
|
CONFIG_USB_HOST_ETHER=y
|
|
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
|
|
CONFIG_USB_ETHER_ASIX88179=y
|
|
|
|
CONFIG_USB_ETHER_MCS7830=y
|
|
|
|
CONFIG_USB_ETHER_RTL8152=y
|
|
|
|
CONFIG_USB_ETHER_SMSC95XX=y
|
2021-07-27 01:10:37 +00:00
|
|
|
CONFIG_USB_GADGET=y
|
2022-10-18 13:46:31 +00:00
|
|
|
CONFIG_VIDEO=y
|
2020-04-02 11:41:24 +00:00
|
|
|
CONFIG_DISPLAY=y
|
|
|
|
CONFIG_VIDEO_ROCKCHIP=y
|
|
|
|
CONFIG_DISPLAY_ROCKCHIP_HDMI=y
|
2020-04-28 20:15:47 +00:00
|
|
|
CONFIG_SPL_TINY_MEMSET=y
|
|
|
|
CONFIG_ERRNO_STR=y
|