Skip to contentSkip to conversation

at91sam9263ek: enable useful commands

PATCH New Andreas Bießmann 1 participant 3 messages Jun 28, 2012 – Jul 9, 2012 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 at91sam9263ek: enable useful commands

---
 include/configs/at91sam9263ek.h |    2 --
 1 file changed, 2 deletions(-)
include/configs/at91sam9263ek.h +0 -2
index f2163f1..2d46502 100644
@@ -108,10 +108,8 @@
  * Command line configuration.
  */
 #include <config_cmd_default.h>
-#undef CONFIG_CMD_BDI
 #undef CONFIG_CMD_FPGA
 #undef CONFIG_CMD_IMI
-#undef CONFIG_CMD_IMLS
 #undef CONFIG_CMD_LOADS
 #undef CONFIG_CMD_SOURCE
 
Signature · 1 line
1.7.10
#2 lore raw

PATCH 2/2 at91sam9263ek: fix 'update' script

The old update script uses 'load_addr' which is never set. Use 'fileaddr' instead whic his automagically set by e.g. dhcp.

---
 include/configs/at91sam9263ek.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/at91sam9263ek.h +1 -1
index 2d46502..f93a436 100644
@@ -163,7 +163,7 @@
 	"update=" \
 		"protect off ${monitor_base} +${filesize};" \
 		"erase ${monitor_base} +${filesize};" \
-		"cp.b ${load_addr} ${monitor_base} ${filesize};" \
+		"cp.b ${fileaddr} ${monitor_base} ${filesize};" \
 		"protect on ${monitor_base} +${filesize}\0"
 
 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
Signature · 1 line
1.7.10
#1 lore raw

PATCH 1/2 at91sam9263ek: enable useful commands

In reply to Andreas Bießmann
Quoted 11 lines · Andreas Bie?mann
---
 include/configs/at91sam9263ek.h |    2 --
 1 file changed, 2 deletions(-)
include/configs/at91sam9263ek.h +0 -0
index f2163f1..2d46502 100644

include/configs/at91sam9263ek.h line 114

Quoted 7 lines
include/configs/at91sam9263ek.h +0 -2
@@ -108,10 +108,8 @@
  * Command line configuration.
  */
 #include <config_cmd_default.h>
-#undef CONFIG_CMD_BDI
 #undef CONFIG_CMD_FPGA
 #undef CONFIG_CMD_IMI
-#undef CONFIG_CMD_IMLS

NAK, enabling imls breaks all the configurations where NOR is not enabled:

---8<---
Configuring for at91sam9263ek_nandflash - Board: at91sam9263ek, Options:
AT91SAM9263,SYS_USE_NANDFLASH /home/abiessmann/source/git_projects/u-boot-atmel/include/mtd/cfi_flash.h:174:22:
error: unknown type name 'flash_info_t' /home/abiessmann/source/git_projects/u-boot-atmel/include/mtd/cfi_flash.h:174:43:
error: unknown type name 'flash_sect_t'
cmd_bootm.c:82:1: error: unknown type name 'flash_info_t' cmd_bootm.c:1164:2: error: unknown type name 'flash_info_t' cmd_bootm.c:1169:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function)
cmd_bootm.c:1171:11: error: request for member 'flash_id' in something not a structure or union
cmd_bootm.c:1171:25: error: 'FLASH_UNKNOWN' undeclared (first use in this function)
cmd_bootm.c:1173:23: error: request for member 'sector_count' in something not a structure or union
cmd_bootm.c:1175:22: error: request for member 'start' in something not a structure or union
--->8---