[PATCH v2] Add SCSI scan for ENV in EXT4 or FAT

2022-05-11 Thread rogier
From: Rogier Stam When having environment stored in EXT4 or FAT and using an AHCI or SCSI device / partition the scan would not be performed early enough and hence the device would not be recognized. This change adds the scan when the interface is "scsi" in a similar way to mmc_

Add SCSI scan for ENV in EXT4 or FAT

2022-05-11 Thread rogier
Hi This updated version of the patch fixes a problem noticed by Stefan Roese where the CI build fails for the dra7xx_hs_evm_usb_defconfig target if this patch is included Let me know if any other changes are needed. Thanks and regards Rogier

Re: [PATCH 2/2] Add SCSI scan for ENV in EXT4 or FAT

2022-05-11 Thread Rogier Stam
+#if defined(CONFIG_AHCI) || defined(CONFIG_SCSI) +   if (!strcmp(CONFIG_ENV_FAT_INTERFACE, "scsi")) +   scsi_scan(true); +#endif +#endif Anyway, let me know if you disagree. Thanks and regards Rogier On 21-04-2022 12:57, Pali Rohár wrote: On Thursday 21 April 2022

[PATCH 2/2] Add SCSI scan for ENV in EXT4 or FAT

2022-02-08 Thread Rogier Stam
When having environment stored in EXT4 or FAT and using an AHCI or SCSI device / partition the scan would not be performed early enough and hence the device would not be recognized. This change adds the scan when the interface is "scsi" in a similar way to mmc_initialize. Signed-off-

[PATCH 1/2] Fix Espressobin build for configs where ENV is not in SPI

2022-02-08 Thread Rogier Stam
CONFIG_ENV_IS_IN_SPI_FLASH is not defined This commit changes these files so that selecting a different location for the environment is possible. Signed-off-by: Rogier Stam --- arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 ++ board/Marvell/mvebu_armada-37xx/board.c | 4 +++- 2 files changed, 5

[PATCH 0/2] U-Boot ENV in EXT4 support for Expressobin (revised)

2022-02-08 Thread Rogier Stam
Hi Per comments of Stefan I have split the patch in two: - one for env file changes - one for espressobin related changes Let me know if any other changes are needed. Regards Rogier Rogier Stam (2): Fix Espressobin build for configs where ENV is not in SPI Add SCSI scan for ENV in EXT4 or

Re: [PATCH] U-Boot ENV in EXT4 support for Espressobin

2022-02-07 Thread Rogier Stam
Hi Per Pali's comments adapted the patch. This one also includes the changes necessary for storing ENV in FAT. I also added CONFIG_SCSI for both ext4 and fat should anyone want to use SCSI instead of AHCI. Regards Rogier On 07-02-2022 09:11, Rogier Stam wrote: Hi I was attemting to

[PATCH] U-Boot ENV in EXT4 support for Espressobin

2022-02-07 Thread Rogier Stam
had to force scsci_scan to ensure the AHCI disk / partitions could be found. Hope it will be considered to merge Regards Rogier Stam >From 460eb1fc6d5189750d2ce791e45c89792c476167 Mon Sep 17 00:00:00 2001 From: Rogier Stam Date: Mon, 31 Jan 2022 23:06:19 +0100 Subject: [PATCH] Fix Espresso