Skip to contentSkip to conversation

igep003x: Falcon mode

PATCH In review Ladislav Michl 3 participants 3 messages Jun 25, 2017 – Jul 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igep003x: Falcon mode

Implement spl_start_uboot to let Falcon mode work.

---
 board/isee/igep003x/board.c       | 8 ++++++++
 configs/am335x_igep003x_defconfig | 1 +
 2 files changed, 9 insertions(+)
board/isee/igep003x/board.c +8 -0
index 2d0ebbf5ef..e33170d65f 100644
@@ -166,6 +166,14 @@ void sdram_init(void)
 		config_ddr(400, &ioregs_igep0034_lite, &ddr3_igep0034_lite_data,
 			&ddr3_igep0034_lite_cmd_ctrl_data, &ddr3_igep0034_lite_emif_reg_data, 0);
 }
+
+#ifdef CONFIG_SPL_OS_BOOT
+int spl_start_uboot(void)
+{
+	/* break into full u-boot on 'c' */
+	return serial_tstc() && serial_getc() == 'c';
+}
+#endif
 #endif
 
 /*
configs/am335x_igep003x_defconfig +1 -0
index df7d1c69af..8fc31461f1 100644
@@ -22,6 +22,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
+CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igep003x: Falcon mode

Hello Ladislav,

Am 25.06.2017 um 10:30 schrieb Ladislav Michl:

Quoted 7 lines

Implement spl_start_uboot to let Falcon mode work.

---
  board/isee/igep003x/board.c       | 8 ++++++++
  configs/am335x_igep003x_defconfig | 1 +
  2 files changed, 9 insertions(+)

Thanks!

bye,
Heiko

Quoted 33 lines
board/isee/igep003x/board.c +8 -0
index 2d0ebbf5ef..e33170d65f 100644
@@ -166,6 +166,14 @@ void sdram_init(void)
  		config_ddr(400, &ioregs_igep0034_lite, &ddr3_igep0034_lite_data,
  			&ddr3_igep0034_lite_cmd_ctrl_data, &ddr3_igep0034_lite_emif_reg_data, 0);
  }
+
+#ifdef CONFIG_SPL_OS_BOOT
+int spl_start_uboot(void)
+{
+	/* break into full u-boot on 'c' */
+	return serial_tstc() && serial_getc() == 'c';
+}
+#endif
  #endif
 
  /*
configs/am335x_igep003x_defconfig +1 -0
index df7d1c69af..8fc31461f1 100644
@@ -22,6 +22,7 @@ CONFIG_SPL_STACK_R=y
  CONFIG_SPL_EXT_SUPPORT=y
  CONFIG_SPL_I2C_SUPPORT=y
  CONFIG_SPL_MTD_SUPPORT=y
+CONFIG_SPL_OS_BOOT=y
  CONFIG_SPL_POWER_SUPPORT=y
  CONFIG_SPL_YMODEM_SUPPORT=y
  CONFIG_HUSH_PARSER=y
Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#2 lore raw
In reply to Ladislav Michl
Quoted 4 lines · Ladislav Michl

Implement spl_start_uboot to let Falcon mode work.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/4b51851b/attachment.sig>