All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards
@ 2024-06-26 15:15 Anand Moon
  2024-06-26 15:15 ` [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3 Anand Moon
  2024-06-26 15:37 ` [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Sam Protsenko
  0 siblings, 2 replies; 7+ messages in thread
From: Anand Moon @ 2024-06-26 15:15 UTC (permalink / raw)
  To: Jaehoon Chung, --Minkyu Kang; +Cc: Anand Moon, u-boot

Fix the issue where CONFIG_SYS_BOARD was incorrectly set on
Odroid XU3 boards, causing boot failure. This was resolved by
correcting the SYS_BOARD entry in Kconfig to load the correct
device tree source (dts) for the Odroid Exynos5422 Platforms.

Fixes: f76750d11133 ("Convert CONFIG_CONS_INDEX et al to Kconfig")
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
U-Boot 2024.07-rc5-00042-g80a111f426 (Jun 26 2024 - 15:03:09 +0530) for ODROID-XU3/XU4/HC1/HC2

CPU:   Exynos5422 @ 800 MHz
DRAM:  2 GiB
Core:  74 devices, 12 uclasses, devicetree: separate
MMC:   mmc@12200000: 0, mmc@12220000: 2
Loading Environment from MMC... Reading from MMC(2)... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Odroid XU3/XU4/HC1/HC2 based on Exynos5422
Type:  xu4
Boot device: MMC(2)
Net:   No ethernet found.
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc2 is current device
Scanning mmc 2:1...
Found U-Boot script /boot/boot.scr
2046 bytes read in 22 ms (90.8 KiB/s)
8104280 bytes read in 519 ms (14.9 MiB/s)
Failed to load '/boot/dtbs/exynos5422-smdk5420xu4.dtb'
SCRIPT FAILED: continuing...
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
Loading Boot0000 'mmc 2' failed
EFI boot manager: Cannot load any image
MMC Device 1 not found
no mmc device at slot 1
---
 board/samsung/smdk5420/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/samsung/smdk5420/Kconfig b/board/samsung/smdk5420/Kconfig
index a9d62fffa5..37d6bbbed1 100644
--- a/board/samsung/smdk5420/Kconfig
+++ b/board/samsung/smdk5420/Kconfig
@@ -1,7 +1,7 @@
 if TARGET_ODROID_XU3
 
 config SYS_BOARD
-	default "smdk5420"
+	default "odroid"
 
 config SYS_VENDOR
 	default "samsung"

base-commit: c53b344475734d0d29f522b7b1d80c5b8204442d
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3
  2024-06-26 15:15 [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Anand Moon
@ 2024-06-26 15:15 ` Anand Moon
  2024-06-26 15:39   ` Sam Protsenko
  2024-07-17  2:24   ` Minkyu Kang
  2024-06-26 15:37 ` [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Sam Protsenko
  1 sibling, 2 replies; 7+ messages in thread
From: Anand Moon @ 2024-06-26 15:15 UTC (permalink / raw)
  To: Jaehoon Chung, --Minkyu Kang; +Cc: Anand Moon, u-boot

Resolved a compilation issue where the build system attempted
to compile for the Odroid-XU3 platform instead of the specified
Exynos4412 platform due to an incorrect CONFIG_SYS_BOARD setting.
Updated the Makefile to ensure that compilation only occurs for
the Odroid-XU3 specified target platform.

Now, object files will be generated only when building for the
TARGET_ODROID platform.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
Tested om Odroid-U3 and Odroid-XU4.
---
 board/samsung/odroid/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/samsung/odroid/Makefile b/board/samsung/odroid/Makefile
index 5bf48313de..615c99f501 100644
--- a/board/samsung/odroid/Makefile
+++ b/board/samsung/odroid/Makefile
@@ -3,4 +3,4 @@
 # Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
 # Przemyslaw Marczak <p.marczak@samsung.com>
 
-obj-y	:= odroid.o
+obj-$(CONFIG_TARGET_ODROID)	:= odroid.o
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards
  2024-06-26 15:15 [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Anand Moon
  2024-06-26 15:15 ` [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3 Anand Moon
@ 2024-06-26 15:37 ` Sam Protsenko
  2024-07-13  7:51   ` Anand Moon
  1 sibling, 1 reply; 7+ messages in thread
From: Sam Protsenko @ 2024-06-26 15:37 UTC (permalink / raw)
  To: Anand Moon; +Cc: Jaehoon Chung, --Minkyu Kang, u-boot

On Wed, Jun 26, 2024 at 10:15 AM Anand Moon <linux.amoon@gmail.com> wrote:
>
> Fix the issue where CONFIG_SYS_BOARD was incorrectly set on
> Odroid XU3 boards, causing boot failure. This was resolved by
> correcting the SYS_BOARD entry in Kconfig to load the correct
> device tree source (dts) for the Odroid Exynos5422 Platforms.
>
> Fixes: f76750d11133 ("Convert CONFIG_CONS_INDEX et al to Kconfig")
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> ---
> U-Boot 2024.07-rc5-00042-g80a111f426 (Jun 26 2024 - 15:03:09 +0530) for ODROID-XU3/XU4/HC1/HC2
>
> CPU:   Exynos5422 @ 800 MHz
> DRAM:  2 GiB
> Core:  74 devices, 12 uclasses, devicetree: separate
> MMC:   mmc@12200000: 0, mmc@12220000: 2
> Loading Environment from MMC... Reading from MMC(2)... *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Model: Odroid XU3/XU4/HC1/HC2 based on Exynos5422
> Type:  xu4
> Boot device: MMC(2)
> Net:   No ethernet found.
> Hit any key to stop autoboot:  0
> switch to partitions #0, OK
> mmc2 is current device
> Scanning mmc 2:1...
> Found U-Boot script /boot/boot.scr
> 2046 bytes read in 22 ms (90.8 KiB/s)
> 8104280 bytes read in 519 ms (14.9 MiB/s)
> Failed to load '/boot/dtbs/exynos5422-smdk5420xu4.dtb'
> SCRIPT FAILED: continuing...
> No EFI system partition
> No EFI system partition
> Failed to persist EFI variables
> No EFI system partition
> Failed to persist EFI variables
> No EFI system partition
> Failed to persist EFI variables
> Loading Boot0000 'mmc 2' failed
> EFI boot manager: Cannot load any image
> MMC Device 1 not found
> no mmc device at slot 1
> ---

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>

>  board/samsung/smdk5420/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/samsung/smdk5420/Kconfig b/board/samsung/smdk5420/Kconfig
> index a9d62fffa5..37d6bbbed1 100644
> --- a/board/samsung/smdk5420/Kconfig
> +++ b/board/samsung/smdk5420/Kconfig
> @@ -1,7 +1,7 @@
>  if TARGET_ODROID_XU3
>
>  config SYS_BOARD
> -       default "smdk5420"
> +       default "odroid"
>
>  config SYS_VENDOR
>         default "samsung"
>
> base-commit: c53b344475734d0d29f522b7b1d80c5b8204442d
> --
> 2.44.0
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3
  2024-06-26 15:15 ` [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3 Anand Moon
@ 2024-06-26 15:39   ` Sam Protsenko
  2024-07-17  2:24   ` Minkyu Kang
  1 sibling, 0 replies; 7+ messages in thread
From: Sam Protsenko @ 2024-06-26 15:39 UTC (permalink / raw)
  To: Anand Moon; +Cc: Jaehoon Chung, --Minkyu Kang, u-boot

On Wed, Jun 26, 2024 at 10:15 AM Anand Moon <linux.amoon@gmail.com> wrote:
>
> Resolved a compilation issue where the build system attempted
> to compile for the Odroid-XU3 platform instead of the specified
> Exynos4412 platform due to an incorrect CONFIG_SYS_BOARD setting.
> Updated the Makefile to ensure that compilation only occurs for
> the Odroid-XU3 specified target platform.
>
> Now, object files will be generated only when building for the
> TARGET_ODROID platform.
>
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>

> Tested om Odroid-U3 and Odroid-XU4.
> ---
>  board/samsung/odroid/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/samsung/odroid/Makefile b/board/samsung/odroid/Makefile
> index 5bf48313de..615c99f501 100644
> --- a/board/samsung/odroid/Makefile
> +++ b/board/samsung/odroid/Makefile
> @@ -3,4 +3,4 @@
>  # Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
>  # Przemyslaw Marczak <p.marczak@samsung.com>
>
> -obj-y  := odroid.o
> +obj-$(CONFIG_TARGET_ODROID)    := odroid.o
> --
> 2.44.0
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards
  2024-06-26 15:37 ` [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Sam Protsenko
@ 2024-07-13  7:51   ` Anand Moon
  2024-07-17  2:23     ` Minkyu Kang
  0 siblings, 1 reply; 7+ messages in thread
From: Anand Moon @ 2024-07-13  7:51 UTC (permalink / raw)
  To: Sam Protsenko; +Cc: Jaehoon Chung, --Minkyu Kang, u-boot

Hi All,

On Wed, 26 Jun 2024 at 21:07, Sam Protsenko <semen.protsenko@linaro.org> wrote:
>
> On Wed, Jun 26, 2024 at 10:15 AM Anand Moon <linux.amoon@gmail.com> wrote:
> >
> > Fix the issue where CONFIG_SYS_BOARD was incorrectly set on
> > Odroid XU3 boards, causing boot failure. This was resolved by
> > correcting the SYS_BOARD entry in Kconfig to load the correct
> > device tree source (dts) for the Odroid Exynos5422 Platforms.
> >
> > Fixes: f76750d11133 ("Convert CONFIG_CONS_INDEX et al to Kconfig")
> > Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> > ---
> > U-Boot 2024.07-rc5-00042-g80a111f426 (Jun 26 2024 - 15:03:09 +0530) for ODROID-XU3/XU4/HC1/HC2
> >
> > CPU:   Exynos5422 @ 800 MHz
> > DRAM:  2 GiB
> > Core:  74 devices, 12 uclasses, devicetree: separate
> > MMC:   mmc@12200000: 0, mmc@12220000: 2
> > Loading Environment from MMC... Reading from MMC(2)... *** Warning - bad CRC, using default environment
> >
> > In:    serial
> > Out:   serial
> > Err:   serial
> > Model: Odroid XU3/XU4/HC1/HC2 based on Exynos5422
> > Type:  xu4
> > Boot device: MMC(2)
> > Net:   No ethernet found.
> > Hit any key to stop autoboot:  0
> > switch to partitions #0, OK
> > mmc2 is current device
> > Scanning mmc 2:1...
> > Found U-Boot script /boot/boot.scr
> > 2046 bytes read in 22 ms (90.8 KiB/s)
> > 8104280 bytes read in 519 ms (14.9 MiB/s)
> > Failed to load '/boot/dtbs/exynos5422-smdk5420xu4.dtb'
> > SCRIPT FAILED: continuing...
> > No EFI system partition
> > No EFI system partition
> > Failed to persist EFI variables
> > No EFI system partition
> > Failed to persist EFI variables
> > No EFI system partition
> > Failed to persist EFI variables
> > Loading Boot0000 'mmc 2' failed
> > EFI boot manager: Cannot load any image
> > MMC Device 1 not found
> > no mmc device at slot 1
> > ---
>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
>
Thanks

Gentle ping?

Thanks
-Anand

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards
  2024-07-13  7:51   ` Anand Moon
@ 2024-07-17  2:23     ` Minkyu Kang
  0 siblings, 0 replies; 7+ messages in thread
From: Minkyu Kang @ 2024-07-17  2:23 UTC (permalink / raw)
  To: Anand Moon; +Cc: --Minkyu Kang, Jaehoon Chung, Sam Protsenko, u-boot

Hi,


2024년 7월 13일 (토) 16:51, Anand Moon <linux.amoon@gmail.com>님이 작성:

> Hi All,
>
> On Wed, 26 Jun 2024 at 21:07, Sam Protsenko <semen.protsenko@linaro.org>
> wrote:
> >
> > On Wed, Jun 26, 2024 at 10:15 AM Anand Moon <linux.amoon@gmail.com>
> wrote:
> > >
> > > Fix the issue where CONFIG_SYS_BOARD was incorrectly set on
> > > Odroid XU3 boards, causing boot failure. This was resolved by
> > > correcting the SYS_BOARD entry in Kconfig to load the correct
> > > device tree source (dts) for the Odroid Exynos5422 Platforms.
> > >
> > > Fixes: f76750d11133 ("Convert CONFIG_CONS_INDEX et al to Kconfig")
> > > Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> > > ---
> > > U-Boot 2024.07-rc5-00042-g80a111f426 (Jun 26 2024 - 15:03:09 +0530)
> for ODROID-XU3/XU4/HC1/HC2
> > >
> > > CPU:   Exynos5422 @ 800 MHz
> > > DRAM:  2 GiB
> > > Core:  74 devices, 12 uclasses, devicetree: separate
> > > MMC:   mmc@12200000: 0, mmc@12220000: 2
> > > Loading Environment from MMC... Reading from MMC(2)... *** Warning -
> bad CRC, using default environment
> > >
> > > In:    serial
> > > Out:   serial
> > > Err:   serial
> > > Model: Odroid XU3/XU4/HC1/HC2 based on Exynos5422
> > > Type:  xu4
> > > Boot device: MMC(2)
> > > Net:   No ethernet found.
> > > Hit any key to stop autoboot:  0
> > > switch to partitions #0, OK
> > > mmc2 is current device
> > > Scanning mmc 2:1...
> > > Found U-Boot script /boot/boot.scr
> > > 2046 bytes read in 22 ms (90.8 KiB/s)
> > > 8104280 bytes read in 519 ms (14.9 MiB/s)
> > > Failed to load '/boot/dtbs/exynos5422-smdk5420xu4.dtb'
> > > SCRIPT FAILED: continuing...
> > > No EFI system partition
> > > No EFI system partition
> > > Failed to persist EFI variables
> > > No EFI system partition
> > > Failed to persist EFI variables
> > > No EFI system partition
> > > Failed to persist EFI variables
> > > Loading Boot0000 'mmc 2' failed
> > > EFI boot manager: Cannot load any image
> > > MMC Device 1 not found
> > > no mmc device at slot 1
> > > ---
> >
> > Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> >
> Thanks
>
> Gentle ping?
>
> Thanks
> -Anand


applied to u-boot-samsung.

Thanks.
Minkyu Kang.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3
  2024-06-26 15:15 ` [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3 Anand Moon
  2024-06-26 15:39   ` Sam Protsenko
@ 2024-07-17  2:24   ` Minkyu Kang
  1 sibling, 0 replies; 7+ messages in thread
From: Minkyu Kang @ 2024-07-17  2:24 UTC (permalink / raw)
  To: Anand Moon; +Cc: --Minkyu Kang, Jaehoon Chung, u-boot

Hi,


2024년 6월 27일 (목) 00:41, Anand Moon <linux.amoon@gmail.com>님이 작성:

> Resolved a compilation issue where the build system attempted
> to compile for the Odroid-XU3 platform instead of the specified
> Exynos4412 platform due to an incorrect CONFIG_SYS_BOARD setting.
> Updated the Makefile to ensure that compilation only occurs for
> the Odroid-XU3 specified target platform.
>
> Now, object files will be generated only when building for the
> TARGET_ODROID platform.
>
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> ---
> Tested om Odroid-U3 and Odroid-XU4.
> ---
>  board/samsung/odroid/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/samsung/odroid/Makefile b/board/samsung/odroid/Makefile
> index 5bf48313de..615c99f501 100644
> --- a/board/samsung/odroid/Makefile
> +++ b/board/samsung/odroid/Makefile
> @@ -3,4 +3,4 @@
>  # Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
>  # Przemyslaw Marczak <p.marczak@samsung.com>
>
> -obj-y  := odroid.o
> +obj-$(CONFIG_TARGET_ODROID)    := odroid.o
> --
> 2.44.0
>

applied to u-boot-samsung.

Thanks.
Minkyu Kang.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-17  2:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 15:15 [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Anand Moon
2024-06-26 15:15 ` [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3 Anand Moon
2024-06-26 15:39   ` Sam Protsenko
2024-07-17  2:24   ` Minkyu Kang
2024-06-26 15:37 ` [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Sam Protsenko
2024-07-13  7:51   ` Anand Moon
2024-07-17  2:23     ` Minkyu Kang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.