Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER
@ 2025-08-04 11:37 Hans-Heinrich Hansen
  2025-08-04 18:31 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Hans-Heinrich Hansen @ 2025-08-04 11:37 UTC (permalink / raw)
  To: buildroot@buildroot.org


[-- Attachment #1.1: Type: text/plain, Size: 154 bytes --]

Is someone working on Advantech EIO-IS200-DRIVER (https://github.com/ADVANTECH-Corp/eio-is200-linux-kernel-driver) for buildroot?

Best regards,
Hans

[-- Attachment #1.2: Type: text/html, Size: 1185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER
  2025-08-04 11:37 [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER Hans-Heinrich Hansen
@ 2025-08-04 18:31 ` Peter Korsgaard
       [not found]   ` <FR5P281MB5078D44083ABDE1AAC41FC828722A@FR5P281MB5078.DEUP281.PROD.OUTLOOK.COM>
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2025-08-04 18:31 UTC (permalink / raw)
  To: Hans-Heinrich Hansen; +Cc: buildroot@buildroot.org

>>>>> "Hans-Heinrich" == Hans-Heinrich Hansen <hhansen@avt-nbg.de> writes:

 > Is someone working on Advantech EIO-IS200-DRIVER
 > (https://github.com/ADVANTECH-Corp/eio-is200-linux-kernel-driver) for
 > buildroot?

Not that I am aware of. What specific issues are you running into
(besides the general issue of a not-so-clear out-of-tree kernel module)?

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER
       [not found]   ` <FR5P281MB5078D44083ABDE1AAC41FC828722A@FR5P281MB5078.DEUP281.PROD.OUTLOOK.COM>
@ 2025-08-05  6:04     ` Peter Korsgaard
  2025-08-06  6:14       ` Hans-Heinrich Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2025-08-05  6:04 UTC (permalink / raw)
  To: Hans-Heinrich Hansen, buildroot

>>>>> "Hans-Heinrich" == Hans-Heinrich Hansen <hhansen@avt-nbg.de> writes:

Hello Hans,

Please keep Buildroot discussion on the mailing list, thanks.

 > Hi Peter,
 > my problem is indeed the "out-of-tree kernel module". Btw. I've tried
 > it with loadable module support enabled and disabled.

You will need to enable modules support in your kernel in order to build
and load external modules.

 > It seems that the eio-is200 is not used by the buildroot process.
 > I've followed the buildroot instructions. I'm sure that I've made a
 > mistake. Please can you check my attached configuraton files?

For reference, the custom package is:

################################################################################
#
# eio_is200_driver
#
################################################################################

EIO_IS200_DRIVER_VERSION = 082e737c59aa92bba2c29db46a06cdd0e5beb600
EIO_IS200_DRIVER_DEPENDENCIES = linux
EIO_IS200_DRIVER_SITE = $(call github,ADVANTECH-Corp,eio-is200-linux-kernel-driver,$(EIO_IS200_DRIVER_VERSION))
EIO_IS200_DRIVER_LICENSE = GPL-2.0
EIO_IS200_DRIVER_LICENSE_FILES = COPYING

$(eval $(kernel-module))
$(eval $(generic-package))

Which looks sensible to me (didn't check the details of the upstream
eio-is100-linux-kernel-driver Makefiles). Does it build some kernel
modules? What happens if you modprobe/insmod them?

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER
  2025-08-05  6:04     ` Peter Korsgaard
@ 2025-08-06  6:14       ` Hans-Heinrich Hansen
  2025-08-06  7:37         ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Hans-Heinrich Hansen @ 2025-08-06  6:14 UTC (permalink / raw)
  To: Peter Korsgaard, buildroot@buildroot.org


[-- Attachment #1.1: Type: text/plain, Size: 2814 bytes --]

Hello Peter,

thank you for your assistance!

I've enabled again the loadable module support (CONFIG_MODULES=y), but it seems that the source code (EIO_IS200_DRIVER_SITE = $(call github,ADVANTECH-Corp,eio-is200-linux-kernel-driver,$(EIO_IS200_DRIVER_VERSION))) isn't downloaded. I think that it must be found in the output/build/buildroot-config/br2/external folder, but my output/build/buildroot-config/br2/external shows only the following directories and header files. All header files (created by buildroot?) are empty:
.:
eio  names.h
./eio:
is200
./eio/is200:
driver
./eio/is200/driver:
path.h  version.h

There must be an issue with my configuration, but I can't find it out. The folders "buildroot" and "buildroot-external"(attached zip file) are located in the same directory. "buildroot" contains the latest buildroot version. I've built it with "make BR2_EXTERNAL=../buildroot-external". Please do you have any idea how to proceed?

Yes, the EIO_IS200_DRIVER should build some kernel modules (thermal, watchdog, ...) for a newer Advantech embedded board.

Thank you,
Hans

________________________________
Von: Peter Korsgaard <peter@korsgaard.com>
Gesendet: Dienstag, 5. August 2025 08:04
An: Hans-Heinrich Hansen <hhansen@avt-nbg.de>; buildroot@buildroot.org <buildroot@buildroot.org>
Betreff: Re: AW: Buildroot with Advantech EIO-IS200-DRIVER

>>>>> "Hans-Heinrich" == Hans-Heinrich Hansen <hhansen@avt-nbg.de> writes:

Hello Hans,

Please keep Buildroot discussion on the mailing list, thanks.

 > Hi Peter,
 > my problem is indeed the "out-of-tree kernel module". Btw. I've tried
 > it with loadable module support enabled and disabled.

You will need to enable modules support in your kernel in order to build
and load external modules.

 > It seems that the eio-is200 is not used by the buildroot process.
 > I've followed the buildroot instructions. I'm sure that I've made a
 > mistake. Please can you check my attached configuraton files?

For reference, the custom package is:

################################################################################
#
# eio_is200_driver
#
################################################################################

EIO_IS200_DRIVER_VERSION = 082e737c59aa92bba2c29db46a06cdd0e5beb600
EIO_IS200_DRIVER_DEPENDENCIES = linux
EIO_IS200_DRIVER_SITE = $(call github,ADVANTECH-Corp,eio-is200-linux-kernel-driver,$(EIO_IS200_DRIVER_VERSION))
EIO_IS200_DRIVER_LICENSE = GPL-2.0
EIO_IS200_DRIVER_LICENSE_FILES = COPYING

$(eval $(kernel-module))
$(eval $(generic-package))

Which looks sensible to me (didn't check the details of the upstream
eio-is100-linux-kernel-driver Makefiles). Does it build some kernel
modules? What happens if you modprobe/insmod them?

--
Bye, Peter Korsgaard

[-- Attachment #1.2: Type: text/html, Size: 7680 bytes --]

[-- Attachment #2: buildroot-external.zip --]
[-- Type: application/x-zip-compressed, Size: 3650 bytes --]

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER
  2025-08-06  6:14       ` Hans-Heinrich Hansen
@ 2025-08-06  7:37         ` Peter Korsgaard
  2025-08-06 10:45           ` Hans-Heinrich Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2025-08-06  7:37 UTC (permalink / raw)
  To: Hans-Heinrich Hansen; +Cc: buildroot@buildroot.org

>>>>> "Hans-Heinrich" == Hans-Heinrich Hansen <hhansen@avt-nbg.de> writes:

 > Hello Peter,
 > thank you for your assistance!

 > I've enabled again the loadable module support (CONFIG_MODULES=y), but
 > it seems that the source code (EIO_IS200_DRIVER_SITE = $(call
 > github,ADVANTECH-Corp,eio-is200-linux-kernel-driver,$(EIO_IS200_DRIVER_VERSION)))
 > isn't downloaded. I think that it must be found in the
 > output/build/buildroot-config/br2/external folder, but my
 > output/build/buildroot-config/br2/external shows only the following
 > directories and header files. All header files (created by buildroot?)
 > are empty:

No, the output/build/buildroot-config is simply an internal
implementation detail of the kconfig configuration system we are reusing
from the Linux kernel. Your package tarball should be in
output/dl/eio_is200_driver (unless you have customized BR2_DL_DIR) and
get extracted in
output/build/eio_is200_driver-082e737c59aa92bba2c29db46a06cdd0e5beb600
when building (if enabled in your .config)

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER
  2025-08-06  7:37         ` Peter Korsgaard
@ 2025-08-06 10:45           ` Hans-Heinrich Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans-Heinrich Hansen @ 2025-08-06 10:45 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: buildroot@buildroot.org


[-- Attachment #1.1: Type: text/plain, Size: 1483 bytes --]

Thank you Peter,

I've found the issue! The name in the Config.in was not correct.

Thanks for your support,
Hans


________________________________
Von: Peter Korsgaard <peter@korsgaard.com>
Gesendet: Mittwoch, 6. August 2025 09:37
An: Hans-Heinrich Hansen <hhansen@avt-nbg.de>
Cc: buildroot@buildroot.org <buildroot@buildroot.org>
Betreff: Re: AW: AW: Buildroot with Advantech EIO-IS200-DRIVER

>>>>> "Hans-Heinrich" == Hans-Heinrich Hansen <hhansen@avt-nbg.de> writes:

 > Hello Peter,
 > thank you for your assistance!

 > I've enabled again the loadable module support (CONFIG_MODULES=y), but
 > it seems that the source code (EIO_IS200_DRIVER_SITE = $(call
 > github,ADVANTECH-Corp,eio-is200-linux-kernel-driver,$(EIO_IS200_DRIVER_VERSION)))
 > isn't downloaded. I think that it must be found in the
 > output/build/buildroot-config/br2/external folder, but my
 > output/build/buildroot-config/br2/external shows only the following
 > directories and header files. All header files (created by buildroot?)
 > are empty:

No, the output/build/buildroot-config is simply an internal
implementation detail of the kconfig configuration system we are reusing
from the Linux kernel. Your package tarball should be in
output/dl/eio_is200_driver (unless you have customized BR2_DL_DIR) and
get extracted in
output/build/eio_is200_driver-082e737c59aa92bba2c29db46a06cdd0e5beb600
when building (if enabled in your .config)

--
Bye, Peter Korsgaard

[-- Attachment #1.2: Type: text/html, Size: 3727 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2025-08-06 10:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-04 11:37 [Buildroot] Buildroot with Advantech EIO-IS200-DRIVER Hans-Heinrich Hansen
2025-08-04 18:31 ` Peter Korsgaard
     [not found]   ` <FR5P281MB5078D44083ABDE1AAC41FC828722A@FR5P281MB5078.DEUP281.PROD.OUTLOOK.COM>
2025-08-05  6:04     ` Peter Korsgaard
2025-08-06  6:14       ` Hans-Heinrich Hansen
2025-08-06  7:37         ` Peter Korsgaard
2025-08-06 10:45           ` Hans-Heinrich Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox