Skip to contentSkip to conversation

olimex_imx233_olinuxino: bump version

PATCH New Francois Perrad 4 participants 6 messages Nov 7, 2016 – Nov 10, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 olimex_imx233_olinuxino: bump version

---
 .../imx233_olinuxino/genimage-imx233_olinuxino.cfg |   1 +
 board/olimex/imx233_olinuxino/linux-3.18.config    | 152 ---------------------
 board/olimex/imx233_olinuxino/post-image.sh        |   3 -
 configs/olimex_imx233_olinuxino_defconfig          |  16 ++-
 4 files changed, 10 insertions(+), 162 deletions(-)
 delete mode 100644 board/olimex/imx233_olinuxino/linux-3.18.config
board/olimex/imx233_olinuxino/genimage-imx233_olinuxino.cfg +1 -0
index 78979dc..751fe86 100644
@@ -1,6 +1,7 @@
 image kernel.vfat {
   vfat {
     files = {
+      "imx23-olinuxino.dtb",
       "uImage"
     }
   }
board/olimex/imx233_olinuxino/linux-3.18.config deleted +0 -152

152 lines not on this page · raw message

board/olimex/imx233_olinuxino/post-image.sh +0 -3
index 703cbe7..948d770 100755
@@ -5,9 +5,6 @@ BOARD_NAME="$(basename ${BOARD_DIR})"
 GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg"
 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
 
-# Create symlink to "rename" kernel image
-ln -sf uImage.imx23-olinuxino ${BINARIES_DIR}/uImage
-
 rm -rf "${GENIMAGE_TMP}"
 
 genimage                           \
configs/olimex_imx233_olinuxino_defconfig +9 -7
index f74f422..e0a7b08 100644
@@ -2,6 +2,9 @@
 BR2_arm=y
 BR2_arm926t=y
 
+# Linux headers same as kernel, a 4.8 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y
+
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
 
@@ -9,15 +12,14 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 
 # Kernel
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.18.2"
-BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/imx233_olinuxino/linux-3.18.config"
-BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
-BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x42000000"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6"
+BR2_LINUX_KERNEL_DEFCONFIG="mxs"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx23-olinuxino"
+BR2_LINUX_KERNEL_UIMAGE=y
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x42000000"
 
 # Firmware for WiFi
 BR2_PACKAGE_LINUX_FIRMWARE=y
@@ -36,7 +38,7 @@ BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.01"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx23_olinuxino"
 BR2_TARGET_UBOOT_FORMAT_SD=y
  
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 olimex_imx233_olinuxino: use the common mxs genimage script

---
 .../imx233_olinuxino/genimage-imx233_olinuxino.cfg | 29 ----------------------
 board/olimex/imx233_olinuxino/post-image.sh        | 17 -------------
 configs/olimex_imx233_olinuxino_defconfig          |  2 +-
 3 files changed, 1 insertion(+), 47 deletions(-)
 delete mode 100644 board/olimex/imx233_olinuxino/genimage-imx233_olinuxino.cfg
 delete mode 100755 board/olimex/imx233_olinuxino/post-image.sh
board/olimex/imx233_olinuxino/genimage-imx233_olinuxino.cfg deleted +0 -29
deleted file mode 100644
index 751fe86..0000000
@@ -1,29 +0,0 @@
-image kernel.vfat {
-  vfat {
-    files = {
-      "imx23-olinuxino.dtb",
-      "uImage"
-    }
-  }
-  size = 5M
-}
-
-image sdcard.img {
-  hdimage {
-  }
-  partition boot {
-    	partition-type = 0x53
-    	image = "u-boot.sd"
-	size = 16M
-  }
-
-  partition kernel {
-    partition-type = 0xC
-    image = "kernel.vfat"
-  }
-
-  partition rootfs {
-    partition-type = 0x83
-    image = "rootfs.ext2"
-  }
-}
board/olimex/imx233_olinuxino/post-image.sh deleted +0 -17
deleted file mode 100755
index 948d770..0000000
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-BOARD_DIR="$(dirname $0)"
-BOARD_NAME="$(basename ${BOARD_DIR})"
-GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg"
-GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
-
-rm -rf "${GENIMAGE_TMP}"
-
-genimage                           \
-	--rootpath "${TARGET_DIR}"     \
-	--tmppath "${GENIMAGE_TMP}"    \
-	--inputpath "${BINARIES_DIR}"  \
-	--outputpath "${BINARIES_DIR}" \
-	--config "${GENIMAGE_CFG}"
-
-exit $?
configs/olimex_imx233_olinuxino_defconfig +1 -1
index e0a7b08..1040e5e 100644
@@ -46,5 +46,5 @@ BR2_TARGET_UBOOT_FORMAT_SD=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/olimex/imx233_olinuxino/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh"
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/2 olimex_imx233_olinuxino: bump version

In reply to Francois Perrad

Hello,

Quoted 8 lines · Francois Perrad
---
 .../imx233_olinuxino/genimage-imx233_olinuxino.cfg |   1 +
 board/olimex/imx233_olinuxino/linux-3.18.config    | 152 ---------------------
 board/olimex/imx233_olinuxino/post-image.sh        |   3 -
 configs/olimex_imx233_olinuxino_defconfig          |  16 ++-
 4 files changed, 10 insertions(+), 162 deletions(-)
 delete mode 100644 board/olimex/imx233_olinuxino/linux-3.18.config

Thanks, both patches applied to next!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
reviewer
#3 lore raw

PATCH 1/2 olimex_imx233_olinuxino: bump version

In reply to Francois Perrad

Hi Francois,

Quoted 7 lines · Francois Perrad
---
 .../imx233_olinuxino/genimage-imx233_olinuxino.cfg |   1 +
 board/olimex/imx233_olinuxino/linux-3.18.config    | 152 ---------------------
 board/olimex/imx233_olinuxino/post-image.sh        |   3 -
 configs/olimex_imx233_olinuxino_defconfig          |  16 ++-
 4 files changed, 10 insertions(+), 162 deletions(-)

Thanks for this patch!

Quoted 19 lines
board/olimex/imx233_olinuxino/linux-3.18.config deleted +0 -12
deleted file mode 100644
index d46d4d5..0000000
 
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-CONFIG_SYN_COOKIES=y
-CONFIG_CFG80211=y
-CONFIG_CFG80211_WEXT=y
 
-CONFIG_USB_USBNET=y
-CONFIG_USB_NET_SMSC95XX=y
-CONFIG_RTL8187=m

board/olimex/imx233_olinuxino/linux-3.18.config line 60

Quoted 10 lines
board/olimex/imx233_olinuxino/linux-3.18.config deleted +0 -10
-CONFIG_ATH_CARDS=m
-CONFIG_ATH9K_HTC=m
-CONFIG_RT2X00=m
-CONFIG_RT73USB=m
-CONFIG_RT2800USB=m
-CONFIG_RT2800USB_RT53XX=y
-CONFIG_RT2800USB_RT55XX=y
-CONFIG_RT2800USB_UNKNOWN=y
-CONFIG_RTL_CARDS=m
-CONFIG_RTL8192CU=m

After the removal of this defconfig, wifi is no longer functional by default.

It would be good to submit a follow up patch that adds a linux fragment file that enables the Wifi related options.

Thanks,

Fabio Estevam

#4 lore raw

PATCH 1/2 olimex_imx233_olinuxino: bump version

2016-11-10 15:54 GMT+01:00 Fabio Estevam <[email protected]>:

Quoted 45 lines

Hi Francois,

Quoted 7 lines · Francois Perrad
---
 .../imx233_olinuxino/genimage-imx233_olinuxino.cfg |   1 +
 board/olimex/imx233_olinuxino/linux-3.18.config    | 152 ---------------------
 board/olimex/imx233_olinuxino/post-image.sh        |   3 -
 configs/olimex_imx233_olinuxino_defconfig          |  16 ++-
 4 files changed, 10 insertions(+), 162 deletions(-)

Thanks for this patch!

Quoted 19 lines
board/olimex/imx233_olinuxino/linux-3.18.config deleted +0 -12
deleted file mode 100644
index d46d4d5..0000000
 
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-CONFIG_SYN_COOKIES=y
-CONFIG_CFG80211=y
-CONFIG_CFG80211_WEXT=y
 
-CONFIG_USB_USBNET=y
-CONFIG_USB_NET_SMSC95XX=y
-CONFIG_RTL8187=m

board/olimex/imx233_olinuxino/linux-3.18.config line 60

Quoted 10 lines
board/olimex/imx233_olinuxino/linux-3.18.config deleted +0 -10
-CONFIG_ATH_CARDS=m
-CONFIG_ATH9K_HTC=m
-CONFIG_RT2X00=m
-CONFIG_RT73USB=m
-CONFIG_RT2800USB=m
-CONFIG_RT2800USB_RT53XX=y
-CONFIG_RT2800USB_RT55XX=y
-CONFIG_RT2800USB_UNKNOWN=y
-CONFIG_RTL_CARDS=m
-CONFIG_RTL8192CU=m

After the removal of this defconfig, wifi is no longer functional by default.

Quoted 3 lines

It would be good to submit a follow up patch that adds a linux fragment file that enables the Wifi related options.

There are many variants of iMX233-OLinuXino board:
- MAXI with Ethernet 100Mb
- MINI without Ethernet
- MINI-WIFI with an additionnal module using a Realtek 8188
- MICRO (daughter board)
- NANO (daughter board)

I own only a MAXI, so I cannot do test with Wifi. With a MAXI, the wired ethernet works fine. Maybe, it's time to have more than one defconfig ?

Fran?ois

Quoted 7 lines

Thanks,

Fabio Estevam
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

reviewer
#5 lore raw

PATCH 1/2 olimex_imx233_olinuxino: bump version

Quoted 10 lines · Fran?ois Perrad

There are many variants of iMX233-OLinuXino board:
- MAXI with Ethernet 100Mb
- MINI without Ethernet
- MINI-WIFI with an additionnal module using a Realtek 8188
- MICRO (daughter board)
- NANO (daughter board)

I own only a MAXI, so I cannot do test with Wifi. With a MAXI, the wired ethernet works fine. Maybe, it's time to have more than one defconfig ?

I don't think we need more defconfigs. Just enabling the Wifi related config options in a linux fragment file should be enough.