SX1 patches: use "serial#" for USB serial #;
use redundand environment storage; auto-set console on USB port (using preboot command)
This commit is contained in:
@@ -83,8 +83,6 @@
|
||||
#define CONFIG_USBD_PRODUCTID 0x5678
|
||||
#define CONFIG_USBD_MANUFACTURER "Siemens"
|
||||
#define CONFIG_USBD_PRODUCT_NAME "SX1"
|
||||
#define CONFIG_USBD_SERIAL_NUMBER "000000000001"
|
||||
|
||||
|
||||
/*
|
||||
* I2C configuration
|
||||
@@ -109,8 +107,8 @@
|
||||
#include <cmd_confdefs.h>
|
||||
#include <configs/omap1510.h>
|
||||
|
||||
#define CONFIG_BOOTDELAY 3
|
||||
#define CONFIG_BOOTARGS "mem=16M console=ttyS0,115200n8 root=/dev/mtdblock3 rw"
|
||||
#define CONFIG_PREBOOT "setenv stdout usbtty;setenv stdin usbtty"
|
||||
|
||||
/*
|
||||
* Miscellaneous configurable options
|
||||
@@ -174,4 +172,8 @@
|
||||
#define CFG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */
|
||||
#define CFG_ENV_OFFSET 0x20000 /* environment starts here */
|
||||
|
||||
/* Address and size of Redundant Environment Sector */
|
||||
#define CFG_ENV_SIZE_REDUND 0x20000
|
||||
#define CFG_ENV_OFFSET_REDUND 0x40000
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
Reference in New Issue
Block a user