diff mbox

configs: davinci: omapl138_lcdk: add random eth address support

Message ID 20170516175018.30220-1-s-anna@ti.com
State New
Headers show

Commit Message

Suman Anna May 16, 2017, 5:50 p.m. UTC
Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires
that the 'ethaddr' variable be defined. There are no e-fuses to store
the ethernet mac address for this platform, and neither is a MAC
address reserved in any format. So enable random MAC address support
so that networking boot can be supported.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 configs/omapl138_lcdk_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini May 16, 2017, 6:51 p.m. UTC | #1
On Tue, May 16, 2017 at 12:50:18PM -0500, Suman Anna wrote:

> Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires

> that the 'ethaddr' variable be defined. There are no e-fuses to store

> the ethernet mac address for this platform, and neither is a MAC

> address reserved in any format. So enable random MAC address support

> so that networking boot can be supported.

> 

> Signed-off-by: Suman Anna <s-anna@ti.com>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
Lokesh Vutla May 17, 2017, 2:39 a.m. UTC | #2
On Tuesday 16 May 2017 11:20 PM, Suman Anna wrote:
> Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires
> that the 'ethaddr' variable be defined. There are no e-fuses to store
> the ethernet mac address for this platform, and neither is a MAC
> address reserved in any format. So enable random MAC address support
> so that networking boot can be supported.
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh
Suman Anna June 5, 2017, 6:53 p.m. UTC | #3
Hi Tom, Peter,

On 05/16/2017 01:51 PM, Tom Rini wrote:
> On Tue, May 16, 2017 at 12:50:18PM -0500, Suman Anna wrote:
> 
>> Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires
>> that the 'ethaddr' variable be defined. There are no e-fuses to store
>> the ethernet mac address for this platform, and neither is a MAC
>> address reserved in any format. So enable random MAC address support
>> so that networking boot can be supported.
>>
>> Signed-off-by: Suman Anna <s-anna@ti.com>
> 
> Reviewed-by: Tom Rini <trini@konsulko.com>

I haven't seen this patch either in master or next branch yet. Just want
to make sure that this has not fallen into some cracks.

regards
Suman
Tom Rini June 6, 2017, 12:13 a.m. UTC | #4
On Tue, May 16, 2017 at 12:50:18PM -0500, Anna, Suman wrote:

> Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires

> that the 'ethaddr' variable be defined. There are no e-fuses to store

> the ethernet mac address for this platform, and neither is a MAC

> address reserved in any format. So enable random MAC address support

> so that networking boot can be supported.

> 

> Signed-off-by: Suman Anna <s-anna@ti.com>

> Reviewed-by: Tom Rini <trini@konsulko.com>

> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox

Patch

diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 0629f9636fd4..23fe084e5476 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -21,6 +21,7 @@  CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x28000
 CONFIG_SPI_FLASH=y