Pārlūkot izejas kodu

synopsys-hsdk: add help text

Waldemar Brodkorb 3 nedēļas atpakaļ
vecāks
revīzija
2531dae863
3 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 1 1
      scripts/install.sh
  2. 5 0
      target/arc/Makefile
  3. 2 1
      target/arc/kernel/synopsys-hsdk

+ 1 - 1
scripts/install.sh

@@ -148,7 +148,7 @@ tgt=$2
 src=$3
 
 case $target {
-(atmel-ngw100|banana-pro|banana-pro-zero|orange-pi0|pcengines-apu|phytec-imx6|phytec-wega|raspberry-pi|raspberry-pi0|raspberry-pi2|raspberry-pi3|raspberry-pi3-64|raspberry-pi4|raspberry-pi4-64|raspberry-pi5|rockpi4-plus|solidrun-imx6|solidrun-clearfog|imgtec-ci20|hp-jornada|olpc-xo-1|default) ;;
+(atmel-ngw100|banana-pro|banana-pro-zero|orange-pi0|pcengines-apu|phytec-imx6|phytec-wega|raspberry-pi|raspberry-pi0|raspberry-pi2|raspberry-pi3|raspberry-pi3-64|raspberry-pi4|raspberry-pi4-64|raspberry-pi5|rockpi4-plus|solidrun-imx6|solidrun-clearfog|imgtec-ci20|hp-jornada|olpc-xo-1|synopsys-hsdk|default) ;;
 (*)
 	print -u2 "Unknown target '$target', exiting"
 	exit 1 ;;

+ 5 - 0
target/arc/Makefile

@@ -41,6 +41,11 @@ endif
 ifeq ($(ADK_TARGET_FS),archive)
 targethelp:
 	@echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)"
+ifeq ($(ADK_TARGET_SYSTEM_SYNOPSYS_HSDK),y)
+	@echo "In u-boot type after installation with scripts/install.sh to SD-card:"
+	@echo 'hsdk# ext4load mmc 0:1 $${loadaddr} boot/kernel'
+	@echo 'hsdk# bootm'
+endif
 endif
 ifeq ($(ADK_TARGET_FS),initramfs)
 targethelp:

+ 2 - 1
target/arc/kernel/synopsys-hsdk

@@ -14,4 +14,5 @@ CONFIG_ARC_CACHE_LINE_SHIFT=6
 CONFIG_ARC_HAS_ICACHE=y
 CONFIG_ARC_HAS_DCACHE=y
 CONFIG_ARC_CACHE_PAGES=y
-
+CONFIG_PTP_1588_CLOCK_OPTIONAL=y
+CONFIG_ETHTOOL_NETLINK=y