stamp9g20: added preliminary support for Taskit Stamp9G20.

This commit is contained in:
Ricardo Martins 2016-04-06 16:01:37 +01:00
parent 108bc4601d
commit 0d04b0f7c8
6 changed files with 2098 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/lauv-aux
/lauv-aux-rpi
/ntnu-b2xx
/stamp9g20

File diff suppressed because it is too large Load Diff

16
systems/stamp9g20/config Normal file
View File

@ -0,0 +1,16 @@
cfg_architecture='arm926ej-s'
cfg_storage='data0:ext4:/opt'
cfg_modules=''
cfg_services0='network dropbear storage upgrade syslog'
cfg_services1=''
cfg_services2=''
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools linux u-boot'
cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_target_linux_dtb='arch/arm/boot/dts/at91sam9g20ek.dts'
cfg_terminal='ttyS0'
cfg_target_uboot_config='stamp9g20'
cfg_partitions=\
(
root root0 512B 544MiB
data data0 544MiB -1
)

View File

@ -0,0 +1 @@
ttyS0 root:root 660 >terminal

View File

@ -0,0 +1,30 @@
diff --git a/include/configs/stamp9g20.h b/include/configs/stamp9g20.h
index 01085dc..2d2b38b 100644
--- a/include/configs/stamp9g20.h
+++ b/include/configs/stamp9g20.h
@@ -25,6 +25,8 @@
*/
#include <asm/hardware.h>
+#define CONFIG_SYS_GENERIC_BOARD
+
/*
* Warning: changing CONFIG_SYS_TEXT_BASE requires adapting the initial boot
* program. Since the linker has to swallow that define, we must use a pure
@@ -82,6 +84,8 @@
/* NAND flash settings */
#define CONFIG_NAND_ATMEL
+#define CONFIG_BCH
+#define CONFIG_NAND_ECC_BCH
#define CONFIG_SYS_NO_FLASH
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE ATMEL_BASE_CS3
@@ -242,6 +246,7 @@
#define CONFIG_CMD_USB
#define CONFIG_CMD_FAT
#define CONFIG_CMD_LED
+#define CONFIG_CMD_BOOTZ
#ifdef CONFIG_MACB
# define CONFIG_CMD_PING

View File

@ -0,0 +1,5 @@
cfg_hostname='stamp9g20-testbed'
cfg_eth_ext_ip='10.0.200.100'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'