Skip to contentSkip to conversation

configs: pandaboard: use mdev for automatic module loading

PATCH New Peter Korsgaard 3 participants 9 messages Mar 15, 2016 – Jul 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 configs: pandaboard: use mdev for automatic module loading

The omap2plus kernel defconfig builds most drivers as modules, so we need (automatic) module loading to be able to use usb/display/..

---
 configs/pandaboard_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/pandaboard_defconfig +1 -0
index 3223d2b..3a6e383 100644
@@ -3,6 +3,7 @@ BR2_cortex_a9=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyO2"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh"
 BR2_LINUX_KERNEL=y
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/3 configs: pandaboard: use mdev for automatic module loading

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

The omap2plus kernel defconfig builds most drivers as modules, so we need (automatic) module loading to be able to use usb/display/..

Committed all 3, thanks.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#2 lore raw

PATCH 2/3 configs: pandaboard: configure eth0 at startup

In reply to Peter Korsgaard

Now that we have modules (including usb/net) loaded automatically, we can enable dhcp on eth0.

---
 configs/pandaboard_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/pandaboard_defconfig +1 -0
index 3a6e383..3727e3d 100644
@@ -5,6 +5,7 @@ BR2_ARM_ENABLE_VFP=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyO2"
+BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
Signature · 1 line
2.7.0
#3 lore raw

PATCH 2/3 configs: pandaboard: configure eth0 at startup

Peter, All,

On 2016-03-15 22:39 +0100, Peter Korsgaard spake thusly:

Quoted 4 lines

Now that we have modules (including usb/net) loaded automatically, we can enable dhcp on eth0.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 configs/pandaboard_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/pandaboard_defconfig +1 -0
index 3a6e383..3727e3d 100644
@@ -5,6 +5,7 @@ BR2_ARM_ENABLE_VFP=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyO2"
+BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
Signature · 6 lines
2.7.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/3 configs: pandaboard: use mdev for automatic module loading

In reply to Peter Korsgaard

Peter, All,

On 2016-03-15 22:39 +0100, Peter Korsgaard spake thusly:

Quoted 4 lines

The omap2plus kernel defconfig builds most drivers as modules, so we need (automatic) module loading to be able to use usb/display/..

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 configs/pandaboard_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/pandaboard_defconfig +1 -0
index 3223d2b..3a6e383 100644
@@ -3,6 +3,7 @@ BR2_cortex_a9=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyO2"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh"
 BR2_LINUX_KERNEL=y
Signature · 6 lines
2.7.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#5 lore raw

PATCH 3/3 configs: pandaboard: bump kernel to 4.5

In reply to Peter Korsgaard

Notice: We cannot move to u-boot 2016.03 without changing the boot setup as 2016.03 broke legacy boot on omap4.

---
 configs/pandaboard_defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
configs/pandaboard_defconfig +2 -2
index 3727e3d..973d41d 100644
@@ -2,14 +2,14 @@ BR2_arm=y
 BR2_cortex_a9=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyO2"
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.5"
 BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
 BR2_LINUX_KERNEL_ZIMAGE=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
Signature · 1 line
2.7.0
#6 lore raw

PATCH 3/3 configs: pandaboard: bump kernel to 4.5

Peter, All,

On 2016-03-15 22:39 +0100, Peter Korsgaard spake thusly:

Quoted 4 lines

Notice: We cannot move to u-boot 2016.03 without changing the boot setup as 2016.03 broke legacy boot on omap4.

Regards,
Yann E. MORIN.

Quoted 32 lines
---
 configs/pandaboard_defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
configs/pandaboard_defconfig +2 -2
index 3727e3d..973d41d 100644
@@ -2,14 +2,14 @@ BR2_arm=y
 BR2_cortex_a9=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyO2"
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.5"
 BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
 BR2_LINUX_KERNEL_ZIMAGE=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
Signature · 6 lines
2.7.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#7 lore raw

PATCH 3/3 configs: pandaboard: bump kernel to 4.5

In reply to Peter Korsgaard

Hello Peter,

Quoted 4 lines · On Tue, 15 Mar 2016 22:39:56 +0100 Peter Korsgaard <[email protected]> wrote:

Notice: We cannot move to u-boot 2016.03 without changing the boot setup as 2016.03 broke legacy boot on omap4.

You are the last one who bumped this defconfig, and now it fails to build with gcc 8.x:

https://gitlab.com/buildroot.org/buildroot/-/jobs/259853955

Probably needs another update of the kernel :-)

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#8 lore raw

PATCH 3/3 configs: pandaboard: bump kernel to 4.5

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello Peter,

Quoted 3 lines · On Tue, 15 Mar 2016 22:39:56 +0100 Peter Korsgaard <[email protected]> wrote:

Notice: We cannot move to u-boot 2016.03 without changing the boot setup as 2016.03 broke legacy boot on omap4.

Quoted 8 lines
Quoted 1 line

You are the last one who bumped this defconfig, and now it fails to build with gcc 8.x:

https://gitlab.com/buildroot.org/buildroot/-/jobs/259853955

Probably needs another update of the kernel :-)

Indeed. I've dug out my pandaboard from under the dust and send a patch bumping the kernel to 4.19:

https://patchwork.ozlabs.org/patch/1138954/

Thanks!

Signature · 1 line
Bye, Peter Korsgaard