Skip to contentSkip to conversation

arm: ls1021atwr: Add distro boot support

PATCH New Alison Wang 3 participants 5 messages May 26, 2017 – Aug 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: ls1021atwr: Add distro boot support

This patch includes common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support distro boot which automatically scan boot.scr from storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script on LS1021ATWR board.

---
 configs/ls1021atwr_nor_defconfig         |  1 +
 configs/ls1021atwr_sdcard_ifc_defconfig  |  1 +
 configs/ls1021atwr_sdcard_qspi_defconfig |  1 +
 include/configs/ls1021atwr.h             | 81 ++++++++++++++++++++++++++++++--
 4 files changed, 81 insertions(+), 3 deletions(-)
configs/ls1021atwr_nor_defconfig +1 -0
index c56533a..dcacdac 100644
@@ -44,3 +44,4 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_DISTRO_DEFAULTS=y
configs/ls1021atwr_sdcard_ifc_defconfig +1 -0
index 9809c60..616bec6 100644
@@ -56,3 +56,4 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_DISTRO_DEFAULTS=y
configs/ls1021atwr_sdcard_qspi_defconfig +1 -0
index 5ccfc96..293e735 100644
@@ -63,3 +63,4 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_DISTRO_DEFAULTS=y
include/configs/ls1021atwr.h +78 -3

104 lines not on this page · raw message

Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 arm: ls1021atwr: Add distro boot support

Quoted 8 lines · Alison Wang

This patch includes common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support distro boot which automatically scan boot.scr from storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script on LS1021ATWR board.

---

Wouldn't it be helpful to document the steps for distro boot in board README file?

York

#2 lore raw

PATCH 1/1 arm: ls1021atwr: Add distro boot support

Hi, York,

Quoted 5 lines · Alison Wang
Quoted 4 lines

This patch includes common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support distro boot which automatically scan boot.scr from storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script on LS1021ATWR

Quoted 9 lines

board.

Quoted 4 lines

---

Wouldn't it be helpful to document the steps for distro boot in board README file?

[Alison Wang] As doc/README.distro gives enough descriptions, I think board README file couldn't give more.

Thanks.

Best Regards,
Alison Wang

#3 lore raw

PATCH 1/1 arm: ls1021atwr: Add distro boot support

Quoted 12 lines · Alison Wang

Hi, York,

Quoted 7 lines
Quoted 5 lines · Alison Wang

This patch includes common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support distro boot which automatically scan boot.scr from storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script on LS1021ATWR

board.

Quoted 1 line
Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

---

Wouldn't it be helpful to document the steps for distro boot in board README file?

[Alison Wang] As doc/README.distro gives enough descriptions, I think board README file couldn't give more.

OK. Let me check if there is something new since last time I tried.

York

Applied
#4 lore raw

PATCH 1/1 arm: ls1021atwr: Add distro boot support

In reply to Alison Wang
Quoted 8 lines · Alison Wang

This patch includes common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support distro boot which automatically scan boot.scr from storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script on LS1021ATWR board.

---

Applied to fsl-qoriq master. Thanks.

York