Skip to content

Commit

Permalink
add commands, enable hush, enable lzop compression
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Dec 20, 2023
1 parent 5ca3003 commit 8d44ff8
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 12 deletions.
2 changes: 2 additions & 0 deletions include/configs/isvp_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read ${baseaddr} 0x50000 0x300000; bootm ${baseaddr}; reset"

#define CONFIG_SYS_HUSH_PARSER 1

#if (defined(CONFIG_DDR2_128M) || defined(CONFIG_DDR3_128M))
#define CONFIG_EXTRA_SETTINGS \
"totalmem=128M\0" \
Expand Down
9 changes: 6 additions & 3 deletions include/configs/isvp_t20.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,16 @@
* Command configuration.
*/
#define CONFIG_CMD_NET /* networking support */
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
#define CONFIG_CMD_BOOTD /* bootd */
#define CONFIG_CMD_SAVEENV /* saveenv */

#define CONFIG_CMD_CONSOLE /* coninfo */
#define CONFIG_CMD_ECHO /* echo arguments */
#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_EXT4
#define CONFIG_CMD_LOADB /* loadb */
#define CONFIG_CMD_LOADS /* loads */
#define CONFIG_CMD_MEMORY /* md mm nm mw cp cmp crc base loop mtest */
Expand All @@ -256,13 +259,13 @@
/*#define CONFIG_CMD_I2C*/

/************************ USB CONFIG ***************************/
#undef CONFIG_CMD_USB
#define CONFIG_CMD_USB
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_DWC2
#define CONFIG_USB_DWC2_REG_ADDR 0x13500000
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
/* #define CONFIG_USB_STORAGE */
#define CONFIG_USB_STORAGE
#endif

/*#define CONFIG_AUTO_UPDATE 1*/
Expand Down Expand Up @@ -362,7 +365,7 @@

#define CONFIG_SPL_MAX_SIZE (26 * 1024)

#undef CONFIG_SPL_LZOP
#define CONFIG_SPL_LZOP
#ifdef CONFIG_SPL_LZOP
#define CONFIG_DECMP_BUFFER_ADRS 0x80200000
#endif
Expand Down
6 changes: 3 additions & 3 deletions include/configs/isvp_t21.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,13 @@
/*#define CONFIG_CMD_I2C*/

/************************ USB CONFIG ***************************/
#undef CONFIG_CMD_USB
#define CONFIG_CMD_USB
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_DWC2
#define CONFIG_USB_DWC2_REG_ADDR 0x13500000
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
/* #define CONFIG_USB_STORAGE */
#define CONFIG_USB_STORAGE
#endif

/*#define CONFIG_AUTO_UPDATE 1*/
Expand Down Expand Up @@ -446,7 +446,7 @@

#define CONFIG_SPL_MAX_SIZE (26 * 1024)

#undef CONFIG_SPL_LZOP
#define CONFIG_SPL_LZOP
#ifdef CONFIG_SPL_LZOP
#define CONFIG_DECMP_BUFFER_ADRS 0x80200000
#endif
Expand Down
9 changes: 6 additions & 3 deletions include/configs/isvp_t30.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,15 @@
*/
#define CONFIG_CMD_NET /* networking support */
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_BOOTD /* bootd */
#define CONFIG_CMD_SAVEENV /* saveenv */

#define CONFIG_CMD_CONSOLE /* coninfo */
#define CONFIG_CMD_ECHO /* echo arguments */
#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_EXT4
#define CONFIG_CMD_LOADB /* loadb */
#define CONFIG_CMD_LOADS /* loads */
#define CONFIG_CMD_MEMORY /* md mm nm mw cp cmp crc base loop mtest */
Expand All @@ -329,13 +332,13 @@
/*#define CONFIG_CMD_I2C*/

/************************ USB CONFIG ***************************/
#undef CONFIG_CMD_USB
#define CONFIG_CMD_USB
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_DWC2
#define CONFIG_USB_DWC2_REG_ADDR 0x13500000
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
/* #define CONFIG_USB_STORAGE */
#define CONFIG_USB_STORAGE
#endif

/*#define CONFIG_AUTO_UPDATE 1*/
Expand Down Expand Up @@ -435,7 +438,7 @@

#define CONFIG_SPL_MAX_SIZE (26 * 1024)

#undef CONFIG_SPL_LZOP
#define CONFIG_SPL_LZOP
#ifdef CONFIG_SPL_LZOP
#define CONFIG_DECMP_BUFFER_ADRS 0x80200000
#endif
Expand Down
11 changes: 8 additions & 3 deletions include/configs/isvp_t31.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,16 @@
#endif
#define CONFIG_CMD_WATCHDOG /* watchdog support */
#define CONFIG_CMD_NET /* networking support */
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
#define CONFIG_CMD_BOOTD /* bootd */
#define CONFIG_CMD_SAVEENV /* saveenv */

#define CONFIG_CMD_CONSOLE /* coninfo */
#define CONFIG_CMD_ECHO /* echo arguments */
#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_EXT4
/*#define CONFIG_CMD_JFFS2*/ /* JFFS2 support */
#define CONFIG_CMD_LOADB /* loadb */
#define CONFIG_CMD_LOADS /* loads */
Expand All @@ -536,13 +539,13 @@
/*#define CONFIG_CMD_FLOCK*/

/************************ USB CONFIG ***************************/
#undef CONFIG_CMD_USB
#define CONFIG_CMD_USB
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_DWC2
#define CONFIG_USB_DWC2_REG_ADDR 0x13500000
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
/* #define CONFIG_USB_STORAGE */
#define CONFIG_USB_STORAGE
#endif

/*#define CONFIG_AUTO_UPDATE 1*/
Expand Down Expand Up @@ -652,7 +655,9 @@
#define CONFIG_SPL_TEXT_BASE 0x80001000
#endif /*CONFIG_SPL_NOR_SUPPORT*/

#undef CONFIG_SPL_LZOP
#define CONFIG_SPL_MAX_SIZE (26 * 1024)

#define CONFIG_SPL_LZOP
#ifdef CONFIG_SPL_LZOP
#define CONFIG_DECMP_BUFFER_ADRS 0x80200000
#endif
Expand Down

0 comments on commit 8d44ff8

Please sign in to comment.