Skip to contentSkip to conversation

configs: ls1021atwr: Enable ID EEPROM for SD boot

PATCH New Yuan Yao 3 participants 11 messages Sep 23, 2015 – Oct 30, 2015

lore
Share & tools
lore

Yuan Yao

author
#0 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

I2C1 can work on ls102xa rev2.0 SD boot, so add
ID EEPROM for SD boot.

---
 include/configs/ls1021atwr.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/ls1021atwr.h +0 -2
index 7dcb719..59e704e 100644
@@ -278,7 +278,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C3		/* enable I2C bus 3 */
 
 /* EEPROM */
-#ifndef CONFIG_SD_BOOT
 #define CONFIG_ID_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #define CONFIG_SYS_EEPROM_BUS_NUM		1
@@ -286,7 +285,6 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
-#endif
 
 /*
  * MMC
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Quoted 22 lines · Yuan Yao

I2C1 can work on ls102xa rev2.0 SD boot, so add
ID EEPROM for SD boot.

---
 include/configs/ls1021atwr.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/ls1021atwr.h +0 -1
index 7dcb719..59e704e 100644
@@ -278,7 +278,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C3		/* enable I2C bus 3 */
 
 /* EEPROM */
-#ifndef CONFIG_SD_BOOT
 #define CONFIG_ID_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #define CONFIG_SYS_EEPROM_BUS_NUM		1

include/configs/ls1021atwr.h line 290

Quoted 7 lines
include/configs/ls1021atwr.h +0 -1
@@ -286,7 +285,6 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
-#endif
 
 /*
  * MMC

What would happen if you run the new u-boot image on earlier SoC? Do you need to check SVR in function mac_read_from_eeprom()?

York

author
#2 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi york,

The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the customer. Also the rev1.0 has since gone out of production.
So we don't have necessary to support rev1.0 because no one will or possibly to use rev1.0.

Best Regards,
Yuan Yao

Quoted 42 lines

-----Original Message-----
From: York Sun [mailto:yorksun at freescale.com]
Sent: Thursday, October 15, 2015 5:22 AM
To: Yuan Yao-B46683 <[email protected]>; Wang Huan-B18965 <[email protected]>
Cc: u-boot at lists.denx.de
Subject: Re: [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

Quoted 21 lines · Yuan Yao

I2C1 can work on ls102xa rev2.0 SD boot, so add ID EEPROM for SD boot.

---
 include/configs/ls1021atwr.h | 2 --
 1 file changed, 2 deletions(-)
(quoted diff) +0 -0

b/include/configs/ls1021atwr.h index 7dcb719..59e704e 100644

include/configs/ls1021atwr.h +0 -1
@@ -278,7 +278,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C3		/* enable I2C bus 3 */
 
 /* EEPROM */
-#ifndef CONFIG_SD_BOOT
 #define CONFIG_ID_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #define CONFIG_SYS_EEPROM_BUS_NUM		1

include/configs/ls1021atwr.h line 290

Quoted 7 lines
include/configs/ls1021atwr.h +0 -1
@@ -286,7 +285,6 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
-#endif
 
 /*
  * MMC

What would happen if you run the new u-boot image on earlier SoC? Do you need to check SVR in function mac_read_from_eeprom()?

York

#3 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Quoted 6 lines · On 10/15/2015 12:55 AM, Yuan Yao-B46683 wrote:

Hi york,

The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the customer. Also the rev1.0 has since gone out of production.
So we don't have necessary to support rev1.0 because no one will or possibly to use rev1.0.

OK.

York

#4 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi Yuan

Quoted 8 lines · York Sun
Quoted 5 lines · On 10/15/2015 12:55 AM, Yuan Yao-B46683 wrote:

Hi york,

The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the customer. Also the rev1.0 has since gone out of production.
So we don't have necessary to support rev1.0 because no one will or possibly to use rev1.0.

Just to make this clear, the boards we bought all show :

CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)

When you mention "rev1.0 haven't delivery to the customer" are
you not referring to Rev 1.0 silicon ?

Regards
Sinan Akman

Quoted 10 lines
Quoted 1 line

OK.

York
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

author
#5 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi Sinan Akman,

Yes, I mean the Rev 1.0 silicon.
Sorry, I can't guarantee that there aren't any boards with Rev1.0 silicon are in user's hands.
Because we have also delivery very little board with Rev1.0 silicon to customer or developer for developing, assessing and verifying in the early stages. Also we haven't support Rev1.0 in our SDK now.

Thanks.

Best Regards,
Yuan Yao

Quoted 44 lines

-----Original Message-----
From: Sinan Akman [mailto:sinan at writeme.com]
Sent: Friday, October 16, 2015 3:37 AM
To: Sun York-R58495 <[email protected]>; Yuan Yao-B46683 <[email protected]>; Wang Huan-B18965 <[email protected]>
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi Yuan

Quoted 6 lines · York Sun
Quoted 3 lines · On 10/15/2015 12:55 AM, Yuan Yao-B46683 wrote:

Hi york,

The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the

customer.

Quoted 2 lines
Quoted 2 lines

Also the rev1.0 has since gone out of production.
So we don't have necessary to support rev1.0 because no one will or

possibly to use rev1.0.

Just to make this clear, the boards we bought all show :

CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)

When you mention "rev1.0 haven't delivery to the customer" are you not
referring to Rev 1.0 silicon ?

Regards
Sinan Akman

Quoted 10 lines
Quoted 1 line

OK.

York
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#6 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi Yuan

Quoted 5 lines · Yao Yuan

Hi Sinan Akman,

Yes, I mean the Rev 1.0 silicon.
Sorry, I can't guarantee that there aren't any boards with Rev1.0 silicon are in user's hands.
Because we have also delivery very little board with Rev1.0 silicon to customer or developer for developing, assessing and verifying in the early stages.

Thanks for the follow up on this, but I don't think that there were only
very few rev1.0 boards delivered. These were the boards bought from distributor and during the time span of many weeks.

I don't know the details and the impact of this patch exactly but
if the patch will break any rev1.0 board I don't think this would be acceptable. There are definitely enough number of rev1.0 boards made generally available (not specifically for early adapters etc) that we should not break u-boot running on them.

Quoted 1 line

Also we haven't support Rev1.0 in our SDK now.

Sorry, but this is a bit irrelevant here. I'd expect u-boot mainline
does not necessarily follow what your SDK stops supporting. If u-boot supported rev1.0 boards and if there are still many of
them out there I see no reason to break this.

Regards
Sinan Akman

Quoted 52 lines

Thanks.

Best Regards,
Yuan Yao

Quoted 25 lines

-----Original Message-----
From: Sinan Akman [mailto:sinan at writeme.com]
Sent: Friday, October 16, 2015 3:37 AM
To: Sun York-R58495 <[email protected]>; Yuan Yao-B46683 <[email protected]>; Wang Huan-B18965 <[email protected]>
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi Yuan

Quoted 5 lines · York Sun
Quoted 3 lines · On 10/15/2015 12:55 AM, Yuan Yao-B46683 wrote:

Hi york,

The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the

customer.

Quoted 2 lines
Quoted 2 lines

Also the rev1.0 has since gone out of production.
So we don't have necessary to support rev1.0 because no one will or

possibly to use rev1.0.

Just to make this clear, the boards we bought all show :

Quoted 16 lines

CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)

When you mention "rev1.0 haven't delivery to the customer" are you not
referring to Rev 1.0 silicon ?

Regards
Sinan Akman

Quoted 8 lines

OK.

York
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#7 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Quoted 20 lines · Sinan Akman

Hi Yuan

Quoted 5 lines · Yao Yuan

Hi Sinan Akman,

Yes, I mean the Rev 1.0 silicon.
Sorry, I can't guarantee that there aren't any boards with Rev1.0 silicon are in user's hands.
Because we have also delivery very little board with Rev1.0 silicon to customer or developer for developing, assessing and verifying in the early stages.

Thanks for the follow up on this, but I don't think that there were only
very few rev1.0 boards delivered. These were the boards bought from distributor and during the time span of many weeks.

I don't know the details and the impact of this patch exactly but
if the patch will break any rev1.0 board I don't think this would be acceptable. There are definitely enough number of rev1.0 boards made generally available (not specifically for early adapters etc) that we should not break u-boot running on them.

Quoted 7 lines
Quoted 1 line

Also we haven't support Rev1.0 in our SDK now.

Sorry, but this is a bit irrelevant here. I'd expect u-boot mainline
does not necessarily follow what your SDK stops supporting. If u-boot supported rev1.0 boards and if there are still many of
them out there I see no reason to break this.

Yuan,

Please test the patch on rev 1.0 SoC and make changes if needed. This feature has been disabled for rev 1.0.

York

author
#8 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi york,

I have tested the patch on Rev1.0.

It seems there is no effect for Rev1.0.
Just the ID EEPROM can't work and will print some error info for I2C1. There isn't any effect for others.
Is it acceptable?

Best Regards,
Yuan Yao

Quoted 49 lines

-----Original Message-----
From: York Sun [mailto:yorksun at freescale.com]
Sent: Monday, October 19, 2015 11:02 PM
To: sinan at writeme.com; Yuan Yao-B46683 <[email protected]>; Wang Huan-B18965 <[email protected]>
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

Quoted 8 lines · Sinan Akman

Hi Yuan

Quoted 4 lines · Yao Yuan

Hi Sinan Akman,

Yes, I mean the Rev 1.0 silicon.
Sorry, I can't guarantee that there aren't any boards with Rev1.0 silicon are

in user's hands.

Quoted 1 line
Quoted 1 line

Because we have also delivery very little board with Rev1.0 silicon to

customer or developer for developing, assessing and verifying in the early stages.

Quoted 11 lines

Thanks for the follow up on this, but I don't think that there were
only very few rev1.0 boards delivered. These were the boards bought from distributor and during the time span of many weeks.

I don't know the details and the impact of this patch exactly but
if the patch will break any rev1.0 board I don't think this would be acceptable. There are definitely enough number of rev1.0 boards made generally available (not specifically for early adapters etc) that we should not break u-boot running on them.

Quoted 7 lines
Quoted 1 line

Also we haven't support Rev1.0 in our SDK now.

Sorry, but this is a bit irrelevant here. I'd expect u-boot
mainline does not necessarily follow what your SDK stops supporting. If u-boot supported rev1.0 boards and if there are still many of
them out there I see no reason to break this.

Yuan,

Please test the patch on rev 1.0 SoC and make changes if needed. This feature has been disabled for rev 1.0.

York

#9 lore raw

PATCH 1/1 configs: ls1021atwr: Enable ID EEPROM for SD boot

That's good. Thanks.

York

-------- Original message --------
From: Yuan Yao-B46683
Date:10/20/2015 8:59 PM (GMT-08:00)
To: Sun York-R58495 , sinan at writeme.com, Wang Huan-B18965
Cc: u-boot at lists.denx.de
Subject: RE: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

Hi york,

I have tested the patch on Rev1.0.

It seems there is no effect for Rev1.0.
Just the ID EEPROM can't work and will print some error info for I2C1. There isn't any effect for others.
Is it acceptable?

Best Regards,
Yuan Yao

Quoted 49 lines

-----Original Message-----
From: York Sun [mailto:yorksun at freescale.com]
Sent: Monday, October 19, 2015 11:02 PM
To: sinan at writeme.com; Yuan Yao-B46683 <[email protected]>; Wang Huan-B18965 <[email protected]>
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

Quoted 8 lines · Sinan Akman

Hi Yuan

Quoted 4 lines · Yao Yuan

Hi Sinan Akman,

Yes, I mean the Rev 1.0 silicon.
Sorry, I can't guarantee that there aren't any boards with Rev1.0 silicon are

in user's hands.

Quoted 1 line
Quoted 1 line

Because we have also delivery very little board with Rev1.0 silicon to

customer or developer for developing, assessing and verifying in the early stages.

Quoted 11 lines

Thanks for the follow up on this, but I don't think that there were
only very few rev1.0 boards delivered. These were the boards bought from distributor and during the time span of many weeks.

I don't know the details and the impact of this patch exactly but
if the patch will break any rev1.0 board I don't think this would be acceptable. There are definitely enough number of rev1.0 boards made generally available (not specifically for early adapters etc) that we should not break u-boot running on them.

Quoted 7 lines
Quoted 1 line

Also we haven't support Rev1.0 in our SDK now.

Sorry, but this is a bit irrelevant here. I'd expect u-boot
mainline does not necessarily follow what your SDK stops supporting. If u-boot supported rev1.0 boards and if there are still many of
them out there I see no reason to break this.

Yuan,

Please test the patch on rev 1.0 SoC and make changes if needed. This feature has been disabled for rev 1.0.

York