arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
--- include/configs/ls1012afrdm.h | 5 +++++ include/configs/ls1012aqds.h | 4 ++++ include/configs/ls1012ardb.h | 4 ++++ include/configs/ls1021aiot.h | 3 +++ include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ include/configs/ls1043aqds.h | 4 ++++ include/configs/ls1043ardb.h | 4 ++++ include/configs/ls1046aqds.h | 4 ++++ include/configs/ls1046ardb.h | 4 ++++ include/configs/ls2080aqds.h | 3 +++ include/configs/ls2080ardb.h | 3 +++ 12 files changed, 44 insertions(+)
include/configs/ls1012afrdm.h +5 -0
@@ -42,6 +42,11 @@#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2#endif +#define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +#define CONFIG_CMD_MEMINFO #define CONFIG_CMD_MEMTEST #define CONFIG_SYS_MEMTEST_START 0x80000000
include/configs/ls1012aqds.h +4 -0
@@ -154,6 +154,10 @@#define CONFIG_SYS_SCSI_MAX_LUN 1#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +#define CONFIG_PCIE1 /* PCIE controller 1 */ #define CONFIG_PCIE_LAYERSCAPE /* Use common FSL Layerscape PCIe code */ #define FSL_PCIE_COMPAT "fsl,ls1043a-pcie"
include/configs/ls1012ardb.h +4 -0
@@ -67,6 +67,10 @@#define CONFIG_SYS_SCSI_MAX_LUN 1#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +#define CONFIG_PCIE1 /* PCIE controller 1 */ #define CONFIG_PCIE_LAYERSCAPE /* Use common FSL Layerscape PCIe code */ #define FSL_PCIE_COMPAT "fsl,ls1043a-pcie"
include/configs/ls1021aiot.h +3 -0
@@ -180,6 +180,9 @@#define CONFIG_CMD_FAT #define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT /* SPI */ #if defined(CONFIG_QSPI_BOOT ) || defined(CONFIG_SD_BOOT_QSPI )
include/configs/ls1021aqds.h +3 -0
@@ -398,6 +398,9 @@ unsigned long get_board_ddr_clk(void);#define CONFIG_GENERIC_MMC #define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT /* SPI */ #if defined(CONFIG_QSPI_BOOT ) || defined(CONFIG_SD_BOOT_QSPI )
include/configs/ls1021atwr.h +3 -0
@@ -299,6 +299,9 @@#define CONFIG_GENERIC_MMC #define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT /* SPI */ #if defined(CONFIG_QSPI_BOOT ) || defined(CONFIG_SD_BOOT_QSPI )
include/configs/ls1043aqds.h +4 -0
@@ -100,6 +100,10 @@ unsigned long get_board_ddr_clk(void);#define CONFIG_DOS_PARTITION #define CONFIG_BOARD_LATE_INIT +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +/* EEPROM */ #define CONFIG_ID_EEPROM #define CONFIG_SYS_I2C_EEPROM_NXID
include/configs/ls1043ardb.h +4 -0
@@ -310,6 +310,10 @@#define SCSI_DEV_ID 0x9170#define CONFIG_SCSI_DEV_LIST {SCSI_VEND_ID, SCSI_DEV_ID} +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +#include <asm/fsl_secure_boot.h> #endif /* __LS1043ARDB_H__ */
include/configs/ls1046aqds.h +4 -0
@@ -143,6 +143,10 @@ unsigned long get_board_ddr_clk(void);#define CONFIG_DOS_PARTITION #define CONFIG_BOARD_LATE_INIT +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +/* EEPROM */ #define CONFIG_ID_EEPROM #define CONFIG_SYS_I2C_EEPROM_NXID
include/configs/ls1046ardb.h +4 -0
@@ -225,6 +225,10 @@#define CONFIG_SYS_SCSI_MAX_LUN 1#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +#define CONFIG_BOOTCOMMAND "sf probe 0:0;sf read $kernel_load" \ "$kernel_start $kernel_size;" \ "bootm $kernel_load"
include/configs/ls2080aqds.h +3 -0
@@ -63,6 +63,9 @@ unsigned long get_board_ddr_clk(void);#define CONFIG_SYS_SCSI_MAX_LUN 1#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT /* undefined CONFIG_FSL_DDR_SYNC_REFRESH for simulator */
include/configs/ls2080ardb.h +3 -0
@@ -71,6 +71,9 @@ unsigned long get_board_sys_clk(void);#define CONFIG_SYS_SCSI_MAX_LUN 1#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT /* undefined CONFIG_FSL_DDR_SYNC_REFRESH for simulator */
Signature · 1 line
2.7.4
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Hi Prabhakar Kushwaha,
Quoted 6 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>
Quoted 13 lines
--- include/configs/ls1012afrdm.h | 5 +++++ include/configs/ls1012aqds.h | 4 ++++ include/configs/ls1012ardb.h | 4 ++++ include/configs/ls1021aiot.h | 3 +++ include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ include/configs/ls1043aqds.h | 4 ++++ include/configs/ls1043ardb.h | 4 ++++ include/configs/ls1046aqds.h | 4 ++++ include/configs/ls1046ardb.h | 4 ++++ include/configs/ls2080aqds.h | 3 +++ include/configs/ls2080ardb.h | 3 +++
I'm not sure this is the expected way today...
Quoted 7 lines
12 files changed, 44 insertions(+)include/configs/ls1012afrdm.h +0
-0
include/configs/ls1012afrdm.h line 49
Quoted 8 lines
include/configs/ls1012afrdm.h +5
-0@@ -42,6 +42,11 @@#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2#endif +#define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +
These are the common (not board specific) things and I think today we expect it to come through the Kconfig instead of the old config files.
[...]
Signature · 2 lines
Regards, Igor.
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Quoted 35 lines · Igor Grinberg
Hi Prabhakar Kushwaha,
Quoted 6 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>Quoted 13 lines
--- include/configs/ls1012afrdm.h | 5 +++++ include/configs/ls1012aqds.h | 4 ++++ include/configs/ls1012ardb.h | 4 ++++ include/configs/ls1021aiot.h | 3 +++ include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ include/configs/ls1043aqds.h | 4 ++++ include/configs/ls1043ardb.h | 4 ++++ include/configs/ls1046aqds.h | 4 ++++ include/configs/ls1046ardb.h | 4 ++++ include/configs/ls2080aqds.h | 3 +++ include/configs/ls2080ardb.h | 3 +++I'm not sure this is the expected way today...
Quoted 10 lines
12 files changed, 44 insertions(+)include/configs/ls1012afrdm.h +0
-0@@ -42,6 +42,11 @@#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2#endif
Quoted 8 lines
include/configs/ls1012afrdm.h line 49
Quoted 5 lines
include/configs/ls1012afrdm.h +5
-0+#define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +These are the common (not board specific) things and I think today we expect it to come through the
Kconfiginstead of the old config files.
Igor,
They are not totally common. The board has to support the device. I would recommend to use Kconfig as well if such config is in Kconfig. However it is not the case here.
York
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Quoted 45 lines · york sun
Quoted 35 lines · Igor Grinberg
Hi Prabhakar Kushwaha,
Quoted 6 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>Quoted 13 lines
--- include/configs/ls1012afrdm.h | 5 +++++ include/configs/ls1012aqds.h | 4 ++++ include/configs/ls1012ardb.h | 4 ++++ include/configs/ls1021aiot.h | 3 +++ include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ include/configs/ls1043aqds.h | 4 ++++ include/configs/ls1043ardb.h | 4 ++++ include/configs/ls1046aqds.h | 4 ++++ include/configs/ls1046ardb.h | 4 ++++ include/configs/ls2080aqds.h | 3 +++ include/configs/ls2080ardb.h | 3 +++I'm not sure this is the expected way today...
Quoted 10 lines
12 files changed, 44 insertions(+)include/configs/ls1012afrdm.h +0
-0@@ -42,6 +42,11 @@#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2#endif Quoted 8 lines
include/configs/ls1012afrdm.h line 49
Quoted 5 lines
include/configs/ls1012afrdm.h +5
-0+#define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +These are the common (not board specific) things and I think today we expect it to come through the
Kconfiginstead of the old config files.
Quoted 5 lines
Igor,
They are not totally common. The board has to support the device. I would recommend to use
Kconfigas well if such config is inKconfig. However it is not the case here.
Right. They are not in Kconfig yet...
We are making efforts to move stuff to Kconfig. Care to land a hand and move these ones to Kconfig?
Signature · 2 lines
Regards, Igor.
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Quoted 48 lines · Igor Grinberg
Quoted 47 lines · york sun
Quoted 35 lines · Igor Grinberg
Hi Prabhakar Kushwaha,
Quoted 6 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>Quoted 13 lines
--- include/configs/ls1012afrdm.h | 5 +++++ include/configs/ls1012aqds.h | 4 ++++ include/configs/ls1012ardb.h | 4 ++++ include/configs/ls1021aiot.h | 3 +++ include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ include/configs/ls1043aqds.h | 4 ++++ include/configs/ls1043ardb.h | 4 ++++ include/configs/ls1046aqds.h | 4 ++++ include/configs/ls1046ardb.h | 4 ++++ include/configs/ls2080aqds.h | 3 +++ include/configs/ls2080ardb.h | 3 +++I'm not sure this is the expected way today...
Quoted 10 lines
12 files changed, 44 insertions(+)include/configs/ls1012afrdm.h +0
-0@@ -42,6 +42,11 @@#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2#endif Quoted 8 lines
include/configs/ls1012afrdm.h line 49
Quoted 5 lines
include/configs/ls1012afrdm.h +5
-0+#define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +These are the common (not board specific) things and I think today we expect it to come through the
Kconfiginstead of the old config files.Igor,
Quoted 8 lines
Quoted 3 lines
They are not totally common. The board has to support the device. I would recommend to use
Kconfigas well if such config is inKconfig. However it is not the case here.Right. They are not in
Kconfigyet...
We are making efforts to move stuff toKconfig. Care to land a hand and move these ones toKconfig?
Can't promise. I have been doing just that for powerpc. Still have many left.
York
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Quoted 53 lines · york sun
Quoted 52 lines · Igor Grinberg
Quoted 50 lines · york sun
Quoted 35 lines · Igor Grinberg
Hi Prabhakar Kushwaha,
Quoted 6 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>Quoted 13 lines
--- include/configs/ls1012afrdm.h | 5 +++++ include/configs/ls1012aqds.h | 4 ++++ include/configs/ls1012ardb.h | 4 ++++ include/configs/ls1021aiot.h | 3 +++ include/configs/ls1021aqds.h | 3 +++ include/configs/ls1021atwr.h | 3 +++ include/configs/ls1043aqds.h | 4 ++++ include/configs/ls1043ardb.h | 4 ++++ include/configs/ls1046aqds.h | 4 ++++ include/configs/ls1046ardb.h | 4 ++++ include/configs/ls2080aqds.h | 3 +++ include/configs/ls2080ardb.h | 3 +++I'm not sure this is the expected way today...
Quoted 10 lines
12 files changed, 44 insertions(+)include/configs/ls1012afrdm.h +0
-0@@ -42,6 +42,11 @@#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2#endif Quoted 8 lines
include/configs/ls1012afrdm.h line 49
Quoted 5 lines
include/configs/ls1012afrdm.h +5
-0+#define CONFIG_DOS_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_EFI_PARTITION +#define CONFIG_CMD_GPT +These are the common (not board specific) things and I think today we expect it to come through the
Kconfiginstead of the old config files.Igor,
They are not totally common. The board has to support the device. I would recommend to use
Kconfigas well if such config is inKconfig. However it is not the case here.
Quoted 7 lines
Quoted 4 lines
Right. They are not in
Kconfigyet...
We are making efforts to move stuff toKconfig. Care to land a hand and move these ones toKconfig?Can't promise. I have been doing just that for powerpc. Still have many left.
Yeah, great job on those patches! Thanks!
I think it is still worth waiting instead of applying and moving afterwards...
Signature · 2 lines
Regards, Igor.
york sun
AppliedPATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
In reply to Prabhakar KushwahaQuoted 7 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>---
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Quoted 10 lines · york sun
Quoted 7 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>---
Applied to fsl-qoriq master, awaiting upstream. Thanks.
Well, of course it is your call, but that's sad.
Why not request people to move things to Kconfig?
I would suggest removing these from scripts/config_whitelist.txt...
Signature · 2 lines
Regards, Igor.
PATCH 1/1 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Quoted 10 lines · Igor Grinberg
Quoted 9 lines · york sun
Quoted 7 lines · Prabhakar Kushwaha
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A.
Also enable DOS partition for LS1012AFRDM boards.
Signed-off-by Prabhakar Kushwaha <[email protected]>---
Quoted 6 lines
Quoted 1 line
Applied to fsl-qoriq master, awaiting upstream. Thanks.
Well, of course it is your call, but that's sad.
Why not request people to move things toKconfig?I would suggest removing these from
scripts/config_whitelist.txt...
The problem with the partition table and related options is that it ends up being a non-trivial conversion to do and remain size neutral. Patrick, have you had a chance to look at your patch again? 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/20170123/d7f4d096/attachment.sig>