armv8: ls2085a: Add support of random MAC address for QDS and RDB
PATCH 2/2 armv8: ls2085a: Add support of random MAC address for QDS and RDB
Add support of setting RANDOM MAC address if env variable not available.
--- include/configs/ls2085a_common.h | 4 ++++ 1 file changed, 4 insertions(+)
include/configs/ls2085a_common.h +4 -0
@@ -173,6 +173,10 @@ unsigned long long get_qixis_addr(void);#define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000#define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000 +/* Add Random lib for random MAC address */ +#define CONFIG_LIB_RAND +#define CONFIG_NET_RANDOM_ETHADDR +/* * Carve out a DDR region which will not be used by u-boot/Linux *
Signature · 1 line
1.9.1
PATCH 2/2 armv8: ls2085a: Add support of random MAC address for QDS and RDB
Hi,
Quoted 12 lines · Prabhakar Kushwaha
Add support of setting RANDOM MAC address if env variable not available.
Signed-off-by Prabhakar Kushwaha <[email protected]>--- include/configs/ls2085a_common.h | 4 ++++ 1 file changed, 4 insertions(+)include/configs/ls2085a_common.h +0
-0
include/configs/ls2085a_common.h unsigned long long get_qixis_addr(void); · line 179
Quoted 7 lines
include/configs/ls2085a_common.h +4
-0@@ -173,6 +173,10 @@ unsigned long long get_qixis_addr(void);#define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000#define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000 +/* Add Random lib for random MAC address */ +#define CONFIG_LIB_RAND +#define CONFIG_NET_RANDOM_ETHADDR +
Can you please add such in the boards' defconfig files instead?
include/configs/ls2085a_common.h unsigned long long get_qixis_addr(void);
Quoted 4 lines
include/configs/ls2085a_common.h +0
-1/* * Carve out a DDR region which will not be used by u-boot/Linux * --
Regards,
Bin
PATCH 2/2 armv8: ls2085a: Add support of random MAC address for QDS and RDB
Regards,
Prabhakar
Quoted 29 lines
-----Original Message-----
From: Bin Meng [mailto:bmeng.cn at gmail.com]
Sent: Wednesday, October 07, 2015 1:56 PM
To: Kushwaha Prabhakar-B32579 <[email protected]>
Cc: U-Boot Mailing List <[email protected]>; Sun York-R58495 <[email protected]>
Subject: Re: [U-Boot] [PATCH 2/2] armv8: ls2085a: Add support of random MAC address for QDS and RDBHi,
Quoted 16 lines · Prabhakar Kushwaha
Add support of setting RANDOM MAC address if env variable not available.
Signed-off-by Prabhakar Kushwaha <[email protected]>--- include/configs/ls2085a_common.h | 4 ++++ 1 file changed, 4 insertions(+)include/configs/ls2085a_common.h +0
-0@@ -173,6 +173,10 @@ unsigned long long get_qixis_addr(void);#define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000#define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000
Quoted 7 lines
include/configs/ls2085a_common.h unsigned long long get_qixis_addr(void); · line 176
Quoted 1 line
include/configs/ls2085a_common.h +1
-0+/* Add Random lib for random MAC address */ #define
CONFIG_LIB_RANDinclude/configs/ls2085a_common.h unsigned long long get_qixis_addr(void); · line 179
Quoted 2 lines
include/configs/ls2085a_common.h +2
-0+#define CONFIG_NET_RANDOM_ETHADDR +Can you please add such in the boards' defconfig files instead?
Ls2085a_common.h is included by boards'd defconfig i.e. ls2085aqds.h and ls2085rdb.h. As this piece is common so added in ls2085a_common.h
--prabhakar
PATCH 2/2 armv8: ls2085a: Add support of random MAC address for QDS and RDB
Quoted 36 lines · Kushwaha Prabhakar
Regards,
PrabhakarQuoted 31 lines
-----Original Message-----
From: Bin Meng [mailto:bmeng.cn at gmail.com]
Sent: Wednesday, October 07, 2015 1:56 PM
To: Kushwaha Prabhakar-B32579 <[email protected]>
Cc: U-Boot Mailing List <[email protected]>; Sun York-R58495 <[email protected]>
Subject: Re: [U-Boot] [PATCH 2/2] armv8: ls2085a: Add support of random MAC address for QDS and RDBHi,
Quoted 13 lines · Prabhakar Kushwaha
Add support of setting RANDOM MAC address if env variable not available.
Signed-off-by Prabhakar Kushwaha <[email protected]>--- include/configs/ls2085a_common.h | 4 ++++ 1 file changed, 4 insertions(+)include/configs/ls2085a_common.h +0
-0include/configs/ls2085a_common.h unsigned long long get_qixis_addr(void); · line 176
Quoted 4 lines
include/configs/ls2085a_common.h +1
-0@@ -173,6 +173,10 @@ unsigned long long get_qixis_addr(void);#define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000#define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000 +/* Add Random lib for random MAC address */ #define
CONFIG_LIB_RAND
Quoted 8 lines
Quoted 5 lines
include/configs/ls2085a_common.h unsigned long long get_qixis_addr(void); · line 179
Quoted 2 lines
include/configs/ls2085a_common.h +2
-0+#define CONFIG_NET_RANDOM_ETHADDR +Can you please add such in the boards' defconfig files instead?
Ls2085a_common.his included by boards'd defconfig i.e.ls2085aqds.handls2085rdb.h. As this piece is common so added inls2085a_common.h
I mean defconfig files in configs/, not include/configs/
Quoted 3 lines
--prabhakar
Regards,
Bin