stamp9g20: added preliminary support for Taskit Stamp9G20.
This commit is contained in:
parent
108bc4601d
commit
0d04b0f7c8
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@
|
|||||||
/lauv-aux
|
/lauv-aux
|
||||||
/lauv-aux-rpi
|
/lauv-aux-rpi
|
||||||
/ntnu-b2xx
|
/ntnu-b2xx
|
||||||
|
/stamp9g20
|
||||||
|
2045
systems/stamp9g20/cfg/linux-3.14.cfg
Normal file
2045
systems/stamp9g20/cfg/linux-3.14.cfg
Normal file
File diff suppressed because it is too large
Load Diff
16
systems/stamp9g20/config
Normal file
16
systems/stamp9g20/config
Normal 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
|
||||||
|
)
|
1
systems/stamp9g20/fs/etc/mdev.conf
Normal file
1
systems/stamp9g20/fs/etc/mdev.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
ttyS0 root:root 660 >terminal
|
@ -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
|
5
systems/stamp9g20/stamp9g20-testbed.cfg
Normal file
5
systems/stamp9g20/stamp9g20-testbed.cfg
Normal 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'
|
Reference in New Issue
Block a user