Skip to contentSkip to conversation

ARM: initial Tegra support

RFC PATCH Superseded Antony Pavlov 2 participants 12 messages Sep 29, 2011 – Oct 6, 2011

Subsystems (3)

v1 of 20120528 Superseded Latest is v20120528 →

lore
Share & tools
lore
#0 lore raw

cover ARM: initial Tegra support

This series make possible to run barebox on the Toshiba AC100 smartbook. The smartbook is based on Tegra2 chipset.

This patches are very preliminary and lack many important things such mmu&cache support and clocksource programming;
so to start barebox you need u-boot for hardware initialisation.

Please comment the patches, particularly this easy-one:
[RFC PATCH 4/6] arm: cpuinfo: Cortex-A9 dirty hack

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

RFC PATCH 1/6 ARM: initial Tegra support

---
 arch/arm/Kconfig                            |    6 +
 arch/arm/Makefile                           |    1 +
 arch/arm/mach-tegra/Kconfig                 |    7 +
 arch/arm/mach-tegra/Makefile                |    2 +
 arch/arm/mach-tegra/clock.c                 |   59 ++++++
 arch/arm/mach-tegra/include/mach/debug_ll.h |   44 ++++
 arch/arm/mach-tegra/include/mach/iomap.h    |  292 +++++++++++++++++++++++++++
 arch/arm/mach-tegra/reset.c                 |   43 ++++
 8 files changed, 454 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-tegra/Kconfig
 create mode 100644 arch/arm/mach-tegra/Makefile
 create mode 100644 arch/arm/mach-tegra/clock.c
 create mode 100644 arch/arm/mach-tegra/include/mach/debug_ll.h
 create mode 100644 arch/arm/mach-tegra/include/mach/iomap.h
 create mode 100644 arch/arm/mach-tegra/reset.c
arch/arm/Kconfig +6 -0
index d123787..2b917ae 100644
@@ -71,6 +71,11 @@ config ARCH_VERSATILE
 	bool "ARM Versatile boards (ARM926EJ-S)"
 	select CPU_ARM926T
 
+config ARCH_TEGRA
+	bool "Nvidia Tegra-based boards"
+	select CPU_ARM926T
+	select HAS_DEBUG_LL
+
 endchoice
 
 source arch/arm/cpu/Kconfig
@@ -83,6 +88,7 @@ source arch/arm/mach-nomadik/Kconfig
 source arch/arm/mach-omap/Kconfig
 source arch/arm/mach-s3c24xx/Kconfig
 source arch/arm/mach-versatile/Kconfig
+source arch/arm/mach-tegra/Kconfig
 
 config ARM_ASM_UNIFIED
 	bool
arch/arm/Makefile +1 -0
index d25412d..1af73b9 100644
@@ -52,6 +52,7 @@ machine-$(CONFIG_ARCH_NETX)		:= netx
 machine-$(CONFIG_ARCH_OMAP)		:= omap
 machine-$(CONFIG_ARCH_S3C24xx)		:= s3c24xx
 machine-$(CONFIG_ARCH_VERSATILE)	:= versatile
+machine-$(CONFIG_ARCH_TEGRA)		:= tegra
 
 # Board directory name.  This list is sorted alphanumerically
 # by CONFIG_* macro name.
arch/arm/mach-tegra/Kconfig new file +7 -0
new file mode 100644
index 0000000..b0cc3cd
@@ -0,0 +1,7 @@
+if ARCH_TEGRA
+
+config ARCH_TEXT_BASE
+	hex
+	default 0x31fc0000
+
+endif
arch/arm/mach-tegra/Makefile new file +2 -0
new file mode 100644
index 0000000..11915e5
@@ -0,0 +1,2 @@
+obj-y += clock.o
+obj-y += reset.o
arch/arm/mach-tegra/clock.c new file +59 -0

59 lines not on this page · raw message

arch/arm/mach-tegra/include/mach/debug_ll.h new file +44 -0

44 lines not on this page · raw message

arch/arm/mach-tegra/include/mach/iomap.h new file +292 -0

292 lines not on this page · raw message

arch/arm/mach-tegra/reset.c new file +43 -0

43 lines not on this page · raw message

Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

RFC PATCH 2/6 dirty hack, fixme: disable mmu_cache_flush in arch/arm/cpu/start.c for Tegra

In reply to Antony Pavlov

Initial Tegra support has no initialisation routines, so it can't initialise the caches in the right way.

MMU & cache code in arch/arm/cpu/start.c hangs up a Tegra-based system.

---
 arch/arm/cpu/start.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/cpu/start.c +3 -0
index f8eb0a9..69fb5b0 100644
@@ -74,6 +74,8 @@ void __naked __bare_init reset(void)
 #ifdef CONFIG_ARCH_HAS_LOWLEVEL_INIT
 	arch_init_lowlevel();
 #endif
+
+#ifndef CONFIG_ARCH_TEGRA
 	__asm__ __volatile__ (
 		"bl __mmu_cache_flush;"
 		:
@@ -89,6 +91,7 @@ void __naked __bare_init reset(void)
 	r |= CR_B;
 #endif
 	set_cr(r);
+#endif
 
 #ifdef CONFIG_MACH_DO_LOWLEVEL_INIT
 	board_init_lowlevel();
Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw

Re: [RFC PATCH 2/6] dirty hack, fixme: disable mmu_cache_flush in arch/arm/cpu/start.c for Tegra

Quoted 2 lines · Antony Pavlov

Initial Tegra support has no initialisation routines, so it can't initialise the caches in the right way.

Not nice, but I currently do not see a much better way around this. I think this is ok for now.

Sascha

Quoted 38 lines

MMU & cache code in arch/arm/cpu/start.c hangs up a Tegra-based system.

---
 arch/arm/cpu/start.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/cpu/start.c +3 -0
index f8eb0a9..69fb5b0 100644
@@ -74,6 +74,8 @@ void __naked __bare_init reset(void)
 #ifdef CONFIG_ARCH_HAS_LOWLEVEL_INIT
 	arch_init_lowlevel();
 #endif
+
+#ifndef CONFIG_ARCH_TEGRA
 	__asm__ __volatile__ (
 		"bl __mmu_cache_flush;"
 		:
@@ -89,6 +91,7 @@ void __naked __bare_init reset(void)
 	r |= CR_B;
 #endif
 	set_cr(r);
+#endif
 
 #ifdef CONFIG_MACH_DO_LOWLEVEL_INIT
 	board_init_lowlevel();
Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#4 lore raw

RFC PATCH 3/6 ARM: Tegra: add Toshiba AC100 support

In reply to Antony Pavlov
---
 arch/arm/Makefile                        |    1 +
 arch/arm/boards/toshiba-ac100/Kconfig    |    9 ++++++
 arch/arm/boards/toshiba-ac100/Makefile   |    2 +
 arch/arm/boards/toshiba-ac100/board.c    |   34 +++++++++++++++++++++++
 arch/arm/boards/toshiba-ac100/config.h   |    5 +++
 arch/arm/boards/toshiba-ac100/serial.c   |   43 ++++++++++++++++++++++++++++++
 arch/arm/configs/toshiba_ac100_defconfig |   34 +++++++++++++++++++++++
 arch/arm/mach-tegra/Kconfig              |   12 ++++++++
 8 files changed, 140 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boards/toshiba-ac100/Kconfig
 create mode 100644 arch/arm/boards/toshiba-ac100/Makefile
 create mode 100644 arch/arm/boards/toshiba-ac100/board.c
 create mode 100644 arch/arm/boards/toshiba-ac100/config.h
 create mode 100644 arch/arm/boards/toshiba-ac100/serial.c
 create mode 100644 arch/arm/configs/toshiba_ac100_defconfig
arch/arm/Makefile +1 -0
index 1af73b9..6503fa2 100644
@@ -111,6 +111,7 @@ board-$(CONFIG_MACH_USB_A9263)			:= usb-a926x
 board-$(CONFIG_MACH_USB_A9G20)			:= usb-a926x
 board-$(CONFIG_MACH_VERSATILEPB)		:= versatile
 board-$(CONFIG_MACH_TX25)			:= karo-tx25
+board-$(CONFIG_MACH_TOSHIBA_AC100)		:= toshiba-ac100
 
 machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
 
arch/arm/boards/toshiba-ac100/Kconfig new file +9 -0
new file mode 100644
index 0000000..abba2cc
@@ -0,0 +1,9 @@
+if MACH_TOSHIBA_AC100
+
+config ARCH_TEXT_BASE
+	hex
+	default 0x01000000
+
+config BOARDINFO
+	default "Toshiba AC100 (Tegra2)"
+endif
arch/arm/boards/toshiba-ac100/Makefile new file +2 -0
new file mode 100644
index 0000000..9e14763
@@ -0,0 +1,2 @@
+obj-y += board.o
+obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o
arch/arm/boards/toshiba-ac100/board.c new file +34 -0
new file mode 100644
index 0000000..e3a5eba
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2011 Antony Pavlov <[email protected]>
+ *
+ * This file is part of barebox.
+ * See file CREDITS for list of people who contributed to this project.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#include <common.h>
+#include <types.h>
+#include <driver.h>
+#include <init.h>
+#include <asm/armlinux.h>
+#include <sizes.h>
+
+static int ac100_mem_init(void)
+{
+	arm_add_mem_device("ram0", 0x0, SZ_512M);
+
+	return 0;
+}
+mem_initcall(ac100_mem_init);
arch/arm/boards/toshiba-ac100/config.h new file +5 -0
new file mode 100644
index 0000000..25bb18f
@@ -0,0 +1,5 @@
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#endif	/* __CONFIG_H */
arch/arm/boards/toshiba-ac100/serial.c new file +43 -0

43 lines not on this page · raw message

arch/arm/configs/toshiba_ac100_defconfig new file +34 -0
new file mode 100644
index 0000000..7d4627a
@@ -0,0 +1,34 @@
+CONFIG_ARCH_TEGRA=y
+CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
+CONFIG_TEXT_BASE=0x01000000
+CONFIG_BROKEN=y
+CONFIG_EXPERIMENTAL=y
+CONFIG_PROMPT="toshiba ac100> "
+CONFIG_LONGHELP=y
+CONFIG_CMDLINE_EDITING=y
+CONFIG_AUTO_COMPLETE=y
+# CONFIG_ERRNO_MESSAGES is not set
+# CONFIG_DEFAULT_ENVIRONMENT is not set
+CONFIG_POLLER=y
+CONFIG_ENABLE_DEVICE_NOISE=y
+CONFIG_CMD_SLEEP=y
+# CONFIG_CMD_TRUE is not set
+# CONFIG_CMD_FALSE is not set
+# CONFIG_CMD_RM is not set
+# CONFIG_CMD_MKDIR is not set
+# CONFIG_CMD_RMDIR is not set
+# CONFIG_CMD_CP is not set
+# CONFIG_CMD_PWD is not set
+# CONFIG_CMD_MOUNT is not set
+# CONFIG_CMD_UMOUNT is not set
+# CONFIG_CMD_CLEAR is not set
+# CONFIG_CMD_ECHO is not set
+CONFIG_CMD_LOADB=y
+CONFIG_CMD_LOADY=y
+CONFIG_CMD_LOADS=y
+CONFIG_CMD_MEMINFO=y
+# CONFIG_CMD_BOOTM is not set
+CONFIG_CMD_RESET=y
+CONFIG_CMD_GO=y
+CONFIG_DRIVER_SERIAL_NS16550=y
+# CONFIG_SPI is not set
arch/arm/mach-tegra/Kconfig +12 -0
index b0cc3cd..eda786b 100644
@@ -4,4 +4,16 @@ config ARCH_TEXT_BASE
 	hex
 	default 0x31fc0000
 
+choice
+	prompt "Tegra Board Type"
+
+config MACH_TOSHIBA_AC100
+	bool "Toshiba AC100"
+	help
+	  Say Y here if you are using Toshiba AC100 smartbook.
+
+endchoice
+
+source arch/arm/boards/toshiba-ac100/Kconfig
+
 endif
Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#5 lore raw

RFC PATCH 4/6 arm: cpuinfo: Cortex-A9 dirty hack

In reply to Antony Pavlov
---
 arch/arm/cpu/cpuinfo.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
arch/arm/cpu/cpuinfo.c +9 -1
index e19b8de..25d2c3f 100644
@@ -101,7 +101,15 @@ static int do_cpuinfo(struct command *cmdtp, int argc, char *argv[])
 			if (arch > 0 && arch < 8)
 				architecture = post_arm7_archs[arch - 1];
 			else
-				architecture = "Unknown";
+				/*
+				 * see Cortex-A9 Technical Reference Manual:
+				 *  Main ID Register value fixed to 0x411fc090
+				 */
+				if (mainid == 0x411fc090) {
+					architecture = "Cortex-A9";
+				} else {
+					architecture = "Unknown";
+				}
                 }
         }
 
Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#6 lore raw

Re: [RFC PATCH 4/6] arm: cpuinfo: Cortex-A9 dirty hack

Quoted 13 lines · Antony Pavlov
---
 arch/arm/cpu/cpuinfo.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
arch/arm/cpu/cpuinfo.c +0 -0
index e19b8de..25d2c3f 100644
@@ -101,7 +101,15 @@ static int do_cpuinfo(struct command *cmdtp, int argc, char *argv[])
 			if (arch > 0 && arch < 8)
 				architecture = post_arm7_archs[arch - 1];
 			else

arch/arm/cpu/cpuinfo.c static int do_cpuinfo(struct command *cmdtp, int argc, char *argv[]) · line 112

Quoted 10 lines
arch/arm/cpu/cpuinfo.c +9 -1
-				architecture = "Unknown";
+				/*
+				 * see Cortex-A9 Technical Reference Manual:
+				 *  Main ID Register value fixed to 0x411fc090
+				 */
+				if (mainid == 0x411fc090) {
+					architecture = "Cortex-A9";
+				} else {
+					architecture = "Unknown";
+				}

For Cortex-A8 it seems to be 0x412fc085. Aybe you can have a look at arch/arm/kernel/setup.c in the kernel to see how it's done there. Would be good to catch the Cortex-A8 aswell with this patch.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#7 lore raw

Re: [RFC PATCH 4/6] arm: cpuinfo: Cortex-A9 dirty hack

Quoted 20 lines · Sascha Hauer
Quoted 19 lines · Antony Pavlov

---
 arch/arm/cpu/cpuinfo.c |   10 +++++++++-

 1 files changed, 9 insertions(+), 1 deletions(-)
arch/arm/cpu/cpuinfo.c +0 -0
index e19b8de..25d2c3f 100644
@@ -101,7 +101,15 @@ static int do_cpuinfo(struct command *cmdtp, int argc, char *argv[])
                       if (arch > 0 && arch < 8)
                               architecture = post_arm7_archs[arch - 1];

                      else
-                             architecture = "Unknown";
+                             /*
+                              * see Cortex-A9 Technical Reference Manual:
+                              *  Main ID Register value fixed to 0x411fc090
+                              */
+                             if (mainid == 0x411fc090) {

Quoted 9 lines
Quoted 4 lines

+                                     architecture = "Cortex-A9";
+                             } else {
+                                     architecture = "Unknown";
+                             }

For Cortex-A8 it seems to be 0x412fc085. Aybe you can have a look at arch/arm/kernel/setup.c in the kernel to see how it's done there. Would be good to catch the Cortex-A8 aswell with this patch.

Sorry, but now I think that my patch is completely wrong. The "Cortex A9" in __CPU core name__, not an __architecture name__. Really, "Cortex A9" has the "ARM v7" architecture.

I will fix my patch using linux/arch/arm/kernel/setup.c as a model.

To show cpu name we will need something like struct proc_info_list in linux:

struct cpu_ids {
    u32 cpu_id;
    u32 cpu_id_mask;
    const char *cpu_name;
} cpu_ids[] = {

{ 0x410fc050, 0xff0ffff0, "Cortex A5", },
{ 0x410fc090, 0xff0ffff0, "Cortex A9", },
{ 0x410fc0f0, 0xff0ffff0, "Cortex A15", },
...
}

Signature · 7 lines
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#8 lore raw

RFC PATCH 5/6 toshiba-ac100: add USB host support

In reply to Antony Pavlov
---
 arch/arm/boards/toshiba-ac100/board.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
arch/arm/boards/toshiba-ac100/board.c +18 -0
index e3a5eba..3fd720d 100644
@@ -24,6 +24,8 @@
 #include <init.h>
 #include <asm/armlinux.h>
 #include <sizes.h>
+#include <usb/ehci.h>
+#include <mach/iomap.h>
 
 static int ac100_mem_init(void)
 {
@@ -32,3 +34,19 @@ static int ac100_mem_init(void)
 	return 0;
 }
 mem_initcall(ac100_mem_init);
+
+#ifdef CONFIG_USB_EHCI
+static struct ehci_platform_data ehci_pdata = {
+	.flags = EHCI_HAS_TT,
+};
+#endif
+
+static int ac100_devices_init(void)
+{
+#ifdef CONFIG_USB_EHCI
+	add_generic_usb_ehci_device(-1, TEGRA_USB3_BASE, &ehci_pdata);
+#endif
+
+	return 0;
+}
+device_initcall(ac100_devices_init);
Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#9 lore raw

Re: [RFC PATCH 5/6] toshiba-ac100: add USB host support

Quoted 24 lines · Antony Pavlov
---
 arch/arm/boards/toshiba-ac100/board.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
arch/arm/boards/toshiba-ac100/board.c +4 -0
index e3a5eba..3fd720d 100644
@@ -24,6 +24,8 @@
 #include <init.h>
 #include <asm/armlinux.h>
 #include <sizes.h>
+#include <usb/ehci.h>
+#include <mach/iomap.h>
 
 static int ac100_mem_init(void)
 {
@@ -32,3 +34,19 @@ static int ac100_mem_init(void)
 	return 0;
 }
 mem_initcall(ac100_mem_init);
+
+#ifdef CONFIG_USB_EHCI

arch/arm/boards/toshiba-ac100/board.c static int ac100_mem_init(void) · line 48

Quoted 10 lines
arch/arm/boards/toshiba-ac100/board.c +10 -0
+static struct ehci_platform_data ehci_pdata = {
+	.flags = EHCI_HAS_TT,
+};
+#endif
+
+static int ac100_devices_init(void)
+{
+#ifdef CONFIG_USB_EHCI
+	add_generic_usb_ehci_device(-1, TEGRA_USB3_BASE, &ehci_pdata);
+#endif

Can we skip the ifdefs? I think the few additional bytes do not outweigh better readability of the source code.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#10 lore raw

RFC PATCH 6/6 toshiba-ac100_defconfig update: enable USB-related stuff

In reply to Antony Pavlov
---
 arch/arm/configs/toshiba_ac100_defconfig |   26 ++++++++++++++++++--------
 1 files changed, 18 insertions(+), 8 deletions(-)
arch/arm/configs/toshiba_ac100_defconfig +18 -8
index 7d4627a..48fd0b3 100644
@@ -14,21 +14,31 @@ CONFIG_ENABLE_DEVICE_NOISE=y
 CONFIG_CMD_SLEEP=y
 # CONFIG_CMD_TRUE is not set
 # CONFIG_CMD_FALSE is not set
-# CONFIG_CMD_RM is not set
-# CONFIG_CMD_MKDIR is not set
-# CONFIG_CMD_RMDIR is not set
-# CONFIG_CMD_CP is not set
-# CONFIG_CMD_PWD is not set
-# CONFIG_CMD_MOUNT is not set
-# CONFIG_CMD_UMOUNT is not set
 # CONFIG_CMD_CLEAR is not set
 # CONFIG_CMD_ECHO is not set
 CONFIG_CMD_LOADB=y
 CONFIG_CMD_LOADY=y
 CONFIG_CMD_LOADS=y
 CONFIG_CMD_MEMINFO=y
-# CONFIG_CMD_BOOTM is not set
+CONFIG_CMD_MD5SUM=y
+CONFIG_CMD_SHA1SUM=y
+CONFIG_CMD_BOOTM_ZLIB=y
+CONFIG_CMD_BOOTM_SHOW_TYPE=y
 CONFIG_CMD_RESET=y
 CONFIG_CMD_GO=y
+CONFIG_NET=y
+CONFIG_NET_DHCP=y
+CONFIG_NET_PING=y
+CONFIG_NET_TFTP=y
+CONFIG_NET_TFTP_PUSH=y
+CONFIG_NET_NETCONSOLE=y
 CONFIG_DRIVER_SERIAL_NS16550=y
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
 # CONFIG_SPI is not set
+CONFIG_ATA=y
+CONFIG_ATA_DISK=y
+CONFIG_USB=y
+CONFIG_USB_EHCI=y
+CONFIG_USB_STORAGE=y
+CONFIG_FS_FAT=y
Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#11 lore raw

Re: [RFC PATCH 6/6] toshiba-ac100_defconfig update: enable USB-related stuff

Quoted 4 lines · Antony Pavlov
---
 arch/arm/configs/toshiba_ac100_defconfig |   26 ++++++++++++++++++--------
 1 files changed, 18 insertions(+), 8 deletions(-)

Please add the defconfig as last patch without modifying it.

Sascha

Quoted 54 lines
arch/arm/configs/toshiba_ac100_defconfig +18 -8
index 7d4627a..48fd0b3 100644
@@ -14,21 +14,31 @@ CONFIG_ENABLE_DEVICE_NOISE=y
 CONFIG_CMD_SLEEP=y
 # CONFIG_CMD_TRUE is not set
 # CONFIG_CMD_FALSE is not set
-# CONFIG_CMD_RM is not set
-# CONFIG_CMD_MKDIR is not set
-# CONFIG_CMD_RMDIR is not set
-# CONFIG_CMD_CP is not set
-# CONFIG_CMD_PWD is not set
-# CONFIG_CMD_MOUNT is not set
-# CONFIG_CMD_UMOUNT is not set
 # CONFIG_CMD_CLEAR is not set
 # CONFIG_CMD_ECHO is not set
 CONFIG_CMD_LOADB=y
 CONFIG_CMD_LOADY=y
 CONFIG_CMD_LOADS=y
 CONFIG_CMD_MEMINFO=y
-# CONFIG_CMD_BOOTM is not set
+CONFIG_CMD_MD5SUM=y
+CONFIG_CMD_SHA1SUM=y
+CONFIG_CMD_BOOTM_ZLIB=y
+CONFIG_CMD_BOOTM_SHOW_TYPE=y
 CONFIG_CMD_RESET=y
 CONFIG_CMD_GO=y
+CONFIG_NET=y
+CONFIG_NET_DHCP=y
+CONFIG_NET_PING=y
+CONFIG_NET_TFTP=y
+CONFIG_NET_TFTP_PUSH=y
+CONFIG_NET_NETCONSOLE=y
 CONFIG_DRIVER_SERIAL_NS16550=y
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
 # CONFIG_SPI is not set
+CONFIG_ATA=y
+CONFIG_ATA_DISK=y
+CONFIG_USB=y
+CONFIG_USB_EHCI=y
+CONFIG_USB_STORAGE=y
+CONFIG_FS_FAT=y
Signature · 7 lines
1.7.6.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox