sata commands in uboot in 12.09.01.01 ltib

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

sata commands in uboot in 12.09.01.01 ltib

ソリューションへジャンプ
4,069件の閲覧回数
frankmiller
Contributor IV

Greetings,

We have a custom board that is based on the Sabre SDB.  We are building uboot and a kernel using the 12.09.01.01 ltib and its all booting up fine.  However, our uboot image does not seem to have the 'sata' commands enabled.  How would we go about enabling them or switching our uboot to the mainline tree to get  those commands?

Thanks,

FM

0 件の賞賛
返信
1 解決策
1,057件の閲覧回数
lily_zhang
NXP Employee
NXP Employee

Please enable SATA command option into U-Boot. Meanwhile, you can change configuraiton and store the boot command into SATA.  Take MX6Q SabreSD board as the example, the following changes are needed.

diff --git a/include/configs/mx6q_sabresd.h b/include/configs/mx6q_sabresd.h

index 0cd57d9..68e7bec 100644

--- a/include/configs/mx6q_sabresd.h

+++ b/include/configs/mx6q_sabresd.h

@@ -103,7 +103,7 @@

#define CONFIG_CMD_CLOCK

#define CONFIG_REF_CLK_FREQ CONFIG_MX6_HCLK_FREQ

-/* #define CONFIG_CMD_SATA */

+#define CONFIG_CMD_SATA

#undef CONFIG_CMD_IMLS

#define CONFIG_CMD_IMX_DOWNLOAD_MODE

@@ -300,9 +300,9 @@

#define CONFIG_SYS_NO_FLASH

/* Monitor at beginning of flash */

-#define CONFIG_FSL_ENV_IN_MMC

+/* #define CONFIG_FSL_ENV_IN_MMC */

/* #define CONFIG_FSL_ENV_IN_NAND */

-/* #define CONFIG_FSL_ENV_IN_SATA */

+#define CONFIG_FSL_ENV_IN_SATA

#define CONFIG_ENV_SECT_SIZE    (8 * 1024)

#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE

Lily

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,058件の閲覧回数
lily_zhang
NXP Employee
NXP Employee

Please enable SATA command option into U-Boot. Meanwhile, you can change configuraiton and store the boot command into SATA.  Take MX6Q SabreSD board as the example, the following changes are needed.

diff --git a/include/configs/mx6q_sabresd.h b/include/configs/mx6q_sabresd.h

index 0cd57d9..68e7bec 100644

--- a/include/configs/mx6q_sabresd.h

+++ b/include/configs/mx6q_sabresd.h

@@ -103,7 +103,7 @@

#define CONFIG_CMD_CLOCK

#define CONFIG_REF_CLK_FREQ CONFIG_MX6_HCLK_FREQ

-/* #define CONFIG_CMD_SATA */

+#define CONFIG_CMD_SATA

#undef CONFIG_CMD_IMLS

#define CONFIG_CMD_IMX_DOWNLOAD_MODE

@@ -300,9 +300,9 @@

#define CONFIG_SYS_NO_FLASH

/* Monitor at beginning of flash */

-#define CONFIG_FSL_ENV_IN_MMC

+/* #define CONFIG_FSL_ENV_IN_MMC */

/* #define CONFIG_FSL_ENV_IN_NAND */

-/* #define CONFIG_FSL_ENV_IN_SATA */

+#define CONFIG_FSL_ENV_IN_SATA

#define CONFIG_ENV_SECT_SIZE    (8 * 1024)

#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE

Lily

0 件の賞賛
返信
1,057件の閲覧回数
frankmiller
Contributor IV

Many thanks, this works fine!

FM

0 件の賞賛
返信
1,057件の閲覧回数
tonyzheng
NXP Employee
NXP Employee

learn a lot!

0 件の賞賛
返信