From e9bdfe72927eb5e286ad1797d4afa81c82773f80 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 13 Feb 2023 17:58:26 +0100 Subject: atmel-ngw100: fix sd card boot --- target/avr32/Makefile | 5 +++++ target/avr32/systems/atmel-ngw100 | 1 + 2 files changed, 6 insertions(+) (limited to 'target/avr32') diff --git a/target/avr32/Makefile b/target/avr32/Makefile index 1f055993d..75ec3679a 100644 --- a/target/avr32/Makefile +++ b/target/avr32/Makefile @@ -11,6 +11,11 @@ KERNEL:=$(LINUX_DIR)/arch/avr32/boot/images/uImage ifeq ($(ADK_TARGET_FS),archive) targethelp: @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)" + @echo "Use following command to install it on SD card:" + @echo "sudo ./scripts/install.sh $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" + @echo "U-Boot commands:" + @echo "set bootargs 'console=ttyS0 root=/dev/mmcblk0p1 ro rootwait'" + @echo "ext2load mmc 0:1 0x10300000 /boot/kernel; bootm 0x10300000" endif ifeq ($(ADK_TARGET_FS),nfsroot) targethelp: diff --git a/target/avr32/systems/atmel-ngw100 b/target/avr32/systems/atmel-ngw100 index 3c5808d90..28f06acf9 100644 --- a/target/avr32/systems/atmel-ngw100 +++ b/target/avr32/systems/atmel-ngw100 @@ -6,6 +6,7 @@ config ADK_TARGET_SYSTEM_ATMEL_NGW100 select ADK_TARGET_WITH_NET select ADK_TARGET_WITH_NETDEVICE select ADK_TARGET_WITH_BLOCK + select ADK_TARGET_WITH_SD select ADK_TARGET_KERNEL_UIMAGE select ADK_TARGET_KERNEL_WITH_COMPRESSION select ADK_HOST_BUILD_U_BOOT -- cgit v1.2.3