mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-30 12:30:14 +00:00
arm-bsp/corstone700-mps3: Enabling NXP ISP1763 USB host controller in linux
This commit adds usb host in the v5.6 kernel as a machine feature to support the USB host controller and mass storage for MPS3 board. The kernel binary size increase with this hence wks file updated. The node for USB controller is added to device tree in the TF-A and updated the sha to reflect it. Change-Id: Iad3348f8dc599d5642ddfa0c5199485eeaca0991 Signed-off-by: lakshmi Kailasanathan <lakshmi.Kailasanathan@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
4cde2c189e
commit
f2abff9da8
@@ -9,4 +9,9 @@ require conf/machine/include/corstone700.inc
|
|||||||
# MACHINE_FEATURES_remove = "eth_lan9115"
|
# MACHINE_FEATURES_remove = "eth_lan9115"
|
||||||
MACHINE_FEATURES += "eth_lan9115"
|
MACHINE_FEATURES += "eth_lan9115"
|
||||||
|
|
||||||
|
# default feature used: usb_host
|
||||||
|
# add the following line to local.conf to disable the feature:
|
||||||
|
# MACHINE_FEATURES_remove = "usb_host"
|
||||||
|
MACHINE_FEATURES += "usb_host"
|
||||||
|
|
||||||
TFA_TARGET_PLATFORM = "fpga"
|
TFA_TARGET_PLATFORM = "fpga"
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ TFA_INSTALL_TARGET = "fip.bin"
|
|||||||
LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
|
LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
|
||||||
|
|
||||||
# TF-A v2.3 is not used because the following commit is needed:
|
# TF-A v2.3 is not used because the following commit is needed:
|
||||||
# corstone700: splitting the platform support into FVP and FPGA
|
# fdts: corstone700: add NXP isp1763 node to device tree
|
||||||
SRCREV_tfa = "ef93cfa3a2591084307a41e64f1cbba327310749"
|
SRCREV_tfa = "a6f65b11529b618ff04017f64054dc661c489068"
|
||||||
|
|
||||||
PV = "2.3+git${SRCPV}"
|
PV = "2.3+git${SRCPV}"
|
||||||
|
|
||||||
|
|||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
CONFIG_SCSI=y
|
||||||
|
CONFIG_BLK_DEV_SD=y
|
||||||
|
CONFIG_USB=y
|
||||||
|
CONFIG_USB_STORAGE=y
|
||||||
|
CONFIG_USB_ISP1760=y
|
||||||
|
CONFIG_USB_ISP1760_HOST_ROLE=y
|
||||||
|
CONFIG_USB_GADGET=y
|
||||||
|
CONFIG_USB_MASS_STORAGE=y
|
||||||
@@ -59,4 +59,9 @@ KERNEL_FEATURES_append_corstone700-mps3 = " \
|
|||||||
'bsp/arm-platforms/corstone700/xip_dhcp_cmdline.cfg \
|
'bsp/arm-platforms/corstone700/xip_dhcp_cmdline.cfg \
|
||||||
bsp/arm-platforms/corstone700/eth_lan9115.scc', \
|
bsp/arm-platforms/corstone700/eth_lan9115.scc', \
|
||||||
'bsp/arm-platforms/corstone700/xip_cmdline.cfg', \
|
'bsp/arm-platforms/corstone700/xip_cmdline.cfg', \
|
||||||
|
d)} \
|
||||||
|
${@bb.utils.contains('MACHINE_FEATURES', \
|
||||||
|
'usb_host', \
|
||||||
|
'bsp/arm-platforms/corstone700/usb_host.cfg', \
|
||||||
|
'', \
|
||||||
d)}"
|
d)}"
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ part --source rawcopy --sourceparams="file=fip.bin-corstone700" --no-table --ali
|
|||||||
part --source rawcopy --sourceparams="file=${IMGDEPLOYDIR}/arm-reference-image-${MACHINE}.cramfs-xip" --no-table --fixed-size 2
|
part --source rawcopy --sourceparams="file=${IMGDEPLOYDIR}/arm-reference-image-${MACHINE}.cramfs-xip" --no-table --fixed-size 2
|
||||||
|
|
||||||
# Rawcopy of the kernel binary
|
# Rawcopy of the kernel binary
|
||||||
part --source rawcopy --sourceparams="file=xipImage" --no-table --fixed-size 3
|
part --source rawcopy --sourceparams="file=xipImage" --no-table --fixed-size 4
|
||||||
|
|||||||
Reference in New Issue
Block a user